mpv/video/out/opengl
Niklas Haas 241d5ebc46
vo_opengl: adjust the rules for linearization
Two changes, compounded into one since they affect the same logic:

1. Never use linearization for HDR downscaling
2. Always use linearization for interpolation

Instead of fixing p->use_linear at the beginning of pass_render_frame,
we flip it on "dynamically" as needed. I plan on killing this
p->use_linear frame (along with other per-pass metadata) and moving them
into their own struct for tracking the "current" state of the video, but
that's a separate/upcoming refactor.

As a small bonus, reduce some code duplication in the interpolation
logic.

Fixes #4631
2017-07-24 23:26:15 +02:00
..
angle_dynamic.c
angle_dynamic.h
common.c vo_opengl: enable compute shader for mesa 2017-07-25 04:07:26 +08:00
common.h vo_opengl: enable compute shader for mesa 2017-07-25 04:07:26 +08:00
context.c vo_opengl: support compute shaders 2017-07-24 17:19:31 +02:00
context.h
context_angle.c context_angle: fix fallback to D3D9 device 2017-05-16 22:59:15 +10:00
context_cocoa.c
context_drm_egl.c
context_dxinterop.c context_dxinterop: lock rendertarget after present when swapping buffers 2017-06-18 20:54:44 +02:00
context_mali_fbdev.c
context_rpi.c
context_vdpau.c
context_w32.c
context_wayland.c
context_x11.c
context_x11egl.c
cuda_dynamic.c
cuda_dynamic.h vo_opengl: hwdec_cuda: Support separate decode and display devices 2017-06-03 16:41:03 +02:00
egl_helpers.c
egl_helpers.h
formats.c video: get rid of swapped packed YUV 2017-06-30 18:01:29 +02:00
formats.h vo_opengl: remove mp_imgfmt_desc and IMGFLAG_ usage 2017-06-30 17:56:42 +02:00
gl_headers.h vo_opengl: support HDR peak detection 2017-07-24 17:19:31 +02:00
hwdec.c vo_opengl: do not use vaapi-over-GLX 2017-07-07 12:29:29 +02:00
hwdec.h vo_opengl: do not use vaapi-over-GLX 2017-07-07 12:29:29 +02:00
hwdec_cuda.c vo_opengl: hwdec_cuda: Support separate decode and display devices 2017-06-03 16:41:03 +02:00
hwdec_d3d11egl.c d3d: add support for new libavcodec hwaccel API 2017-06-08 21:51:25 +02:00
hwdec_d3d11eglrgb.c d3d: UWP support for D3D11VA 2017-06-30 18:57:37 +02:00
hwdec_dxva2egl.c vo_opengl: hwdec_dxva2egl: probe whether ANGLE mapping works 2017-07-10 15:32:09 +02:00
hwdec_dxva2gldx.c d3d: add support for new libavcodec hwaccel API 2017-06-08 21:51:25 +02:00
hwdec_ios.m vo_opengl: restructure format setup 2017-06-30 17:07:55 +02:00
hwdec_osx.c vo_opengl: restructure format setup 2017-06-30 17:07:55 +02:00
hwdec_rpi.c vo_opengl: drop TLS usage 2017-05-11 17:47:33 +02:00
hwdec_vaegl.c vo_opengl: restructure format setup 2017-06-30 17:07:55 +02:00
hwdec_vaglx.c vo_opengl: do not use vaapi-over-GLX 2017-07-07 12:29:29 +02:00
hwdec_vdpau.c
lcms.c
lcms.h
osd.c vo_opengl: osd: use new VAO mechanism 2017-07-22 21:55:38 +02:00
osd.h vo_opengl: osd: remove stale declaration 2017-07-23 00:02:02 +02:00
user_shaders.c vo_opengl: support user compute shaders 2017-07-24 17:19:34 +02:00
user_shaders.h vo_opengl: support user compute shaders 2017-07-24 17:19:34 +02:00
utils.c vo_opengl: enable compute shader for mesa 2017-07-25 04:07:26 +08:00
utils.h vo_opengl: support HDR peak detection 2017-07-24 17:19:31 +02:00
video.c vo_opengl: adjust the rules for linearization 2017-07-24 23:26:15 +02:00
video.h vo_opengl: support HDR peak detection 2017-07-24 17:19:31 +02:00
video_shaders.c vo_opengl: enable compute shader for mesa 2017-07-25 04:07:26 +08:00
video_shaders.h vo_opengl: implement compute shader based EWA kernel 2017-07-24 17:19:31 +02:00