mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
vo_opengl: move minor helper to common code
The generic image format code should cary most of the "knowledge" about image formats.
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user