summaryrefslogtreecommitdiffstats
path: root/video/mp_image.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-12-27 01:27:59 +0100
committerwm4 <wm4@nowhere>2013-01-13 20:04:13 +0100
commit1800761a6501f2c39d65257f707de148a77bca47 (patch)
treea1eb9e047c4aec540ee84c1017f041c50db41aa5 /video/mp_image.h
parent61e59cd92c779a4684ebfa554feacc0a4e8d3c78 (diff)
downloadmpv-1800761a6501f2c39d65257f707de148a77bca47.tar.bz2
mpv-1800761a6501f2c39d65257f707de148a77bca47.tar.xz
mp_image: remove mp_image.bpp
This field contained the "average" bit depth per pixel. It serves no purpose anymore. Remove it. Only vo_opengl_old still uses this in order to allocate a buffer that is shared between all planes.
Diffstat (limited to 'video/mp_image.h')
-rw-r--r--video/mp_image.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/video/mp_image.h b/video/mp_image.h
index dd2c451a0b..d51996c226 100644
--- a/video/mp_image.h
+++ b/video/mp_image.h
@@ -58,7 +58,6 @@ typedef struct mp_image {
struct mp_imgfmt_desc fmt;
// fields redundant to fmt, for convenience or compatibility
- unsigned char bpp; // bits/pixel. NOT depth! for RGB it will be n*8
unsigned int imgfmt;
int num_planes;
int chroma_x_shift; // horizontal