diff options
Diffstat (limited to 'video/img_format.h')
-rw-r--r-- | video/img_format.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/video/img_format.h b/video/img_format.h index 39d0a4bdad..5f097d43ff 100644 --- a/video/img_format.h +++ b/video/img_format.h @@ -125,6 +125,11 @@ struct mp_regular_imgfmt { // Type of each component. enum mp_component_type component_type; + // See mp_imgfmt_get_forced_csp(). Normally code should use + // mp_image_params.colors. This field is only needed to map the format + // unambiguously to FFmpeg formats. + enum mp_csp forced_csp; + // Size of each component in bytes. uint8_t component_size; |