summaryrefslogtreecommitdiffstats
path: root/video/img_format.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-06-30 18:38:23 +0200
committerwm4 <wm4@nowhere>2017-06-30 18:38:23 +0200
commitc61520b6bd51d2ab8ba1fa14d89170844ebd159b (patch)
tree3de3822bc2a1f79886039253d4b479f592b061cd /video/img_format.h
parent2ef0ff3ad593d99d644f1bb31093de026c89e634 (diff)
downloadmpv-c61520b6bd51d2ab8ba1fa14d89170844ebd159b.tar.bz2
mpv-c61520b6bd51d2ab8ba1fa14d89170844ebd159b.tar.xz
img_format: drop some unused things
Diffstat (limited to 'video/img_format.h')
-rw-r--r--video/img_format.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/video/img_format.h b/video/img_format.h
index b6f5b9b2fa..3da37d1d36 100644
--- a/video/img_format.h
+++ b/video/img_format.h
@@ -66,8 +66,6 @@
#define MP_IMGFLAG_PAL 0x8000
// planes don't contain real data
#define MP_IMGFLAG_HWACCEL 0x10000
-// Set if the chroma resolution is lower than luma resolution. Unset for non-YUV.
-#define MP_IMGFLAG_SUBSAMPLED 0x20000
// Like MP_IMGFLAG_YUV_P, but RGB. This can be e.g. AV_PIX_FMT_GBRP. The planes
// are always shuffled (G - B - R [- A]).
#define MP_IMGFLAG_RGB_P 0x40000
@@ -92,9 +90,6 @@ struct mp_imgfmt_desc {
int8_t bpp[MP_MAX_PLANES]; // bits per pixel
int8_t plane_bits; // number of bits in use for plane 0
int8_t component_bits; // number of bits per component (0 if uneven)
- int8_t component_full_bits; // number of bits per component including
- // internal padding (0 if uneven)
- int8_t components[MP_MAX_PLANES]; // number of components for each plane
// chroma shifts per plane (provided for convenience with planar formats)
int8_t xs[MP_MAX_PLANES];
int8_t ys[MP_MAX_PLANES];