1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-06 06:08:23 +00:00
mpv/video/out/opengl
wm4 47f2f554a3 vo_opengl: handle alpha with odd bit widths too
Since alpha isn't pulled through the colormatrix (maybe it should?), we
reject alpha formats with odd sizes, such as yuva444p10.

But the awful tex_mul path in vo_opengl does this anyway (at some points
even explicitly), which means there will be a subtle difference in
handling of 16 bit yuv alpha formats. Make it consistent and always
apply the range adjustment to the alpha component. This also means odd
sizes like 10 bit are supported now.

This assumes alpha uses the same "shifted" range as the yuv color
channels for depths larger than 8 bit. I'm not sure whether this is
actually the case.
2015-12-19 16:11:34 +01:00
..
common.c vo_opengl: split backend code from common.c to context.c 2015-12-19 14:14:12 +01:00
common.h vo_opengl: cocoa: output premultiplied alpha 2015-12-19 14:14:12 +01:00
context_angle.c vo_opengl: prefix per-backend source files with context_ 2015-12-19 14:14:12 +01:00
context_cocoa.c vo_opengl: cocoa: output premultiplied alpha 2015-12-19 14:14:12 +01:00
context_drm_egl.c vo_opengl: prefix per-backend source files with context_ 2015-12-19 14:14:12 +01:00
context_dxinterop.c vo_opengl: prefix per-backend source files with context_ 2015-12-19 14:14:12 +01:00
context_rpi.c vo_opengl: prefix per-backend source files with context_ 2015-12-19 14:14:12 +01:00
context_rpi.h vo_opengl: prefix per-backend source files with context_ 2015-12-19 14:14:12 +01:00
context_w32.c vo_opengl: prefix per-backend source files with context_ 2015-12-19 14:14:12 +01:00
context_wayland.c vo_opengl: prefix per-backend source files with context_ 2015-12-19 14:14:12 +01:00
context_x11.c vo_opengl: prefix per-backend source files with context_ 2015-12-19 14:14:12 +01:00
context_x11egl.c vo_opengl: prefix per-backend source files with context_ 2015-12-19 14:14:12 +01:00
context.c vo_opengl: split backend code from common.c to context.c 2015-12-19 14:14:12 +01:00
context.h vo_opengl: split backend code from common.c to context.c 2015-12-19 14:14:12 +01:00
egl_helpers.c vo_opengl: x11egl: retrieve framebuffer depth 2015-12-19 14:14:12 +01:00
egl_helpers.h vo_opengl: x11egl: retrieve framebuffer depth 2015-12-19 14:14:12 +01:00
header_fixes.h vo_opengl: vaapi: redo how EGL extensions are loaded 2015-09-27 16:18:06 +02:00
hwdec_dxva2.c client API: rename GL_MP_D3D_interfaces 2015-09-24 21:07:37 +02:00
hwdec_osx.c videotoolbox: make decoder format customizable 2015-11-17 21:21:19 +01:00
hwdec_vaegl.c vo_opengl: never load vaapi GLX interop by default 2015-11-09 11:58:38 +01:00
hwdec_vaglx.c vo_opengl: never load vaapi GLX interop by default 2015-11-09 11:58:38 +01:00
hwdec_vdpau.c vo_opengl: never load vaapi GLX interop by default 2015-11-09 11:58:38 +01:00
hwdec.c videotoolbox: make decoder format customizable 2015-11-17 21:21:19 +01:00
hwdec.h videotoolbox: make decoder format customizable 2015-11-17 21:21:19 +01:00
lcms.c
lcms.h
nnedi3_weights.bin vo_opengl: implement NNEDI3 prescaler 2015-11-05 17:38:20 +01:00
nnedi3.c vo_opengl: require --enable-gpl3 for nnedi 2015-12-03 09:32:40 +01:00
nnedi3.h vo_opengl: require --enable-gpl3 for nnedi 2015-12-03 09:32:40 +01:00
osd.c
osd.h
superxbr.c vo_opengl: fix superxbr on GLES 2015-11-21 20:45:08 +01:00
superxbr.h vo_opengl: fix 10-bit video prescaling 2015-11-09 22:48:40 +01:00
utils.c vo_opengl: fix shader compilation regression 2015-12-08 03:18:47 +01:00
utils.h vo_opengl: handle GL_ARB_uniform_buffer_object with low GLSL versions 2015-11-09 16:24:01 +01:00
video_shaders.c vo_opengl: fix shader compilation regression 2015-12-08 03:18:47 +01:00
video_shaders.h vo_opengl: remove sharpen scalers, add sharpen sub-option 2015-09-23 22:43:27 +02:00
video.c vo_opengl: handle alpha with odd bit widths too 2015-12-19 16:11:34 +01:00
video.h vo_opengl: make LOOKUP_TEXTURE_SIZE configurable 2015-12-07 23:48:18 +01:00