diff options
author | wm4 <wm4@nowhere> | 2012-12-27 01:27:59 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-01-13 20:04:13 +0100 |
commit | 1800761a6501f2c39d65257f707de148a77bca47 (patch) | |
tree | a1eb9e047c4aec540ee84c1017f041c50db41aa5 /video/img_format.h | |
parent | 61e59cd92c779a4684ebfa554feacc0a4e8d3c78 (diff) | |
download | mpv-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/img_format.h')
-rw-r--r-- | video/img_format.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/video/img_format.h b/video/img_format.h index 6512cbf244..f09c3f55d7 100644 --- a/video/img_format.h +++ b/video/img_format.h @@ -66,7 +66,6 @@ struct mp_imgfmt_desc { int8_t chroma_xs, chroma_ys; // chroma shift (i.e. log2 of chroma pixel size) int8_t align_x, align_y; // pixel size to get byte alignment and to get // to a pixel pos where luma & chroma aligns - int8_t avg_bpp; int8_t bytes[MP_MAX_PLANES]; // bytes per pixel (MP_IMGFLAG_BYTE_ALIGNED) int8_t bpp[MP_MAX_PLANES]; // bits per pixel int8_t plane_bits; // number of bits in use for plane 0 |