diff options
author | wm4 <wm4@nowhere> | 2017-06-30 17:13:58 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-06-30 17:56:42 +0200 |
commit | 6eb0bbe312c8422f3180b530126e1dfebb47295e (patch) | |
tree | cdac4beaefa37c4e07c2c7c91c04fc8fe830e67d /video/out/opengl/formats.h | |
parent | 0c0a06140c8460115d5ce357a8adfc4d8c1bae69 (diff) | |
download | mpv-6eb0bbe312c8422f3180b530126e1dfebb47295e.tar.bz2 mpv-6eb0bbe312c8422f3180b530126e1dfebb47295e.tar.xz |
vo_opengl: remove mp_imgfmt_desc and IMGFLAG_ usage
These were weird due to their past, and often undefined or ill-defined.
Time to get rid of them.
Diffstat (limited to 'video/out/opengl/formats.h')
-rw-r--r-- | video/out/opengl/formats.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/opengl/formats.h b/video/out/opengl/formats.h index d86577547b..5bb3bcb4a3 100644 --- a/video/out/opengl/formats.h +++ b/video/out/opengl/formats.h @@ -58,6 +58,8 @@ int gl_bytes_per_pixel(GLenum format, GLenum type); struct gl_imgfmt_desc { int num_planes; const struct gl_format *planes[4]; + // Chroma pixel size (1x1 is 4:4:4) + uint8_t chroma_w, chroma_h; // Component storage size in bits (possibly padded). For formats with // different sizes per component, this is arbitrary. For padded formats // like P010 or YUV420P10, padding is included. |