mpv/video/out/gpu
nanahi ca7aeb71ee video/out/gpu/video: fix chroma offset rotation matrix calculation
82231fd74d mentioned that for the "rot"
transform flip=true must be set, which "makes no sense at all".

The reason this is happening is that the rotation matrix calculation
is only valid for the 2D coordinate system where y axis is 90 degrees
counterclockwise from x axis, but the coordinate system of chroma
offset has its origin at top-left so it is the opposite, which results
in the rotation going to the opposite way. Setting flip=true fixes the
rotation direction, but results in a flipped y coordinate.

Fix this by reversing the rotation angle for chroma offset rotation
matrix calculation. This also allows removing some duplicated code.
2024-11-11 02:30:26 +01:00
..
context.c video/out/gpu/context: prefer vulkan over opengl when reasonable 2024-10-23 19:09:20 +00:00
context.h vo_gpu_next: add a pass_colorspace override for drm 2024-11-04 19:35:28 +00:00
d3d11_helpers.c d3d11_helpers: remove leftover variables 2024-10-06 18:24:33 +02:00
d3d11_helpers.h d3d11_helpers: remove not needed compatibility define 2024-09-24 00:21:19 +02:00
error_diffusion.c
error_diffusion.h
hwdec.c meson: require Vulkan loader/headers >= 1.3.238 2024-09-14 17:20:16 +02:00
hwdec.h vo: hwdec: add AVHWDeviceType property to hwdecs 2024-08-10 14:24:36 -07:00
lcms.c vo_gpu: add missing PL_COLOR_TRC_ST428 case in lcms 2024-03-01 18:11:43 +00:00
lcms.h lcms: check for null arg in gl_parse_3dlut_size 2024-05-09 21:21:40 +02:00
libmpv_gpu.c vo_gpu: restore dovi mapping directly on image_params after init 2024-09-03 17:08:28 +02:00
libmpv_gpu.h
osd.c
osd.h
ra.c
ra.h
shader_cache.c
shader_cache.h
spirv.c video/out/gpu/spirv: fix warning: zero size arrays are an extension 2024-03-19 08:58:18 +01:00
spirv.h
spirv_shaderc.c
user_shaders.c
user_shaders.h
utils.c
utils.h
video.c video/out/gpu/video: fix chroma offset rotation matrix calculation 2024-11-11 02:30:26 +01:00
video.h vo_gpu{,_next}: convert scale options to type choice 2024-09-14 17:06:07 +02:00
video_shaders.c
video_shaders.h