diff options
author | wm4 <wm4@nowhere> | 2015-03-09 22:47:33 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-03-09 22:47:33 +0100 |
commit | cfa44f4e9077d712be5c1c3cf9a4d7bbe79e605e (patch) | |
tree | 549d8be04ac7a9c69a7b7838dddf25d5627e3a82 /video/img_format.h | |
parent | b9307b71753f205baaac99f8e803774c7efdebeb (diff) | |
download | mpv-cfa44f4e9077d712be5c1c3cf9a4d7bbe79e605e.tar.bz2 mpv-cfa44f4e9077d712be5c1c3cf9a4d7bbe79e605e.tar.xz |
vo_opengl: move minor helper to common code
The generic image format code should cary most of the "knowledge" about
image formats.
Diffstat (limited to 'video/img_format.h')
-rw-r--r-- | video/img_format.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/img_format.h b/video/img_format.h index 7d0762c3ce..e734185045 100644 --- a/video/img_format.h +++ b/video/img_format.h @@ -66,6 +66,8 @@ #define MP_IMGFLAG_PAL 0x8000 // planes don't contain real data; planes[3] contains an API-specific pointer #define MP_IMGFLAG_HWACCEL 0x10000 +// Set if the chroma resolution is lower than luma resolution. Unset for non-YUV. +#define MP_IMGFLAG_SUBSAMPLED 0x20000 // Exactly one of these bits is set in mp_imgfmt_desc.flags #define MP_IMGFLAG_COLOR_CLASS_MASK \ |