summaryrefslogtreecommitdiffstats
path: root/video/img_format.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/img_format.h')
-rw-r--r--video/img_format.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/img_format.h b/video/img_format.h
index cd2ebf5360..0d8c699850 100644
--- a/video/img_format.h
+++ b/video/img_format.h
@@ -86,6 +86,8 @@ 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)
// chroma shifts per plane (provided for convenience with planar formats)
int8_t xs[MP_MAX_PLANES];
int8_t ys[MP_MAX_PLANES];