1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-24 17:06:58 +00:00
mpv/video/out
Niklas Haas 362015cd77
vo_opengl: abstract hook texture access behind macro
This macro takes care of rotation, swizzling, integer conversion and
normalization automatically. I found the performance impact to be
nonexistant for superxbr and debanding, although rotation *did* have an
impact due to the extra matrix multiplication. (So it gets skipped where
possible)

All of the internal hooks have been rewritten to use this new mechanism,
and the prescaler hooks have finally been separated from each other.
This also means the prescale FBO kludge is no longer required.

This fixes image corruption for image formats like 0bgr, and also fixes
prescaling under rotation. (As well as other user hooks that have
orientation-dependent access)

The "raw" attributes (tex, tex_pos, pixel_size) are still un-rotated, in
case something needs them, but ideally the hooks should be rewritten to
use the new API as much as possible. The hooked texture has been renamed
from just NAME to NAME_raw to make script authors notice the change (and
also deemphasize direct texture access).

This is also a step towards getting rid of the use_integer pass.
2016-05-15 20:42:08 +02:00
..
cocoa os x: handle multiple dropped files on the window 2016-04-30 18:58:06 +02:00
opengl vo_opengl: abstract hook texture access behind macro 2016-05-15 20:42:08 +02:00
wayland Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
win32 mpv_talloc.h: rename from talloc.h 2016-01-11 21:05:55 +01:00
aspect.c aspect: rework --video-unscaled 2016-04-10 18:29:20 +02:00
aspect.h Update license headers 2015-04-13 12:10:01 +02:00
bitmap_packer.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
bitmap_packer.h
cocoa_common.h vo_opengl: cocoa: switch to new internal API 2015-10-01 22:42:25 +02:00
cocoa_common.m cocoa: get fps only from dislaylink 2016-01-14 11:11:43 +01:00
d3d_shader_420p.h vo_direct3d: support NV12 with shaders 2015-03-02 19:09:18 +01:00
d3d_shader_nv12.h vo_direct3d: support NV12 with shaders 2015-03-02 19:09:18 +01:00
d3d_shader_yuv.hlsl vo_direct3d: support NV12 with shaders 2015-03-02 19:09:18 +01:00
dither.c Change GPL/LGPL dual-licensed files to LGPL 2016-01-19 18:36:34 +01:00
dither.h
drm_common.c Change GPL/LGPL dual-licensed files to LGPL 2016-01-19 18:36:34 +01:00
drm_common.h Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
filter_kernels.c filter_kernels: improve the gaussian function 2016-01-07 12:17:34 +01:00
filter_kernels.h filter_kernels.h: adjust the license 2016-01-19 18:41:11 +01:00
vo_caca.c video/out: remove an unused parameter 2015-10-03 18:20:16 +02:00
vo_direct3d.c vo_direct3d: remove passing device to decoder 2016-05-09 18:59:10 +02:00
vo_drm.c Change GPL/LGPL dual-licensed files to LGPL 2016-01-19 18:36:34 +01:00
vo_image.c mpv_talloc.h: rename from talloc.h 2016-01-11 21:05:55 +01:00
vo_lavc.c vo_lavc: fix build on Libav 2016-04-15 19:35:29 +02:00
vo_null.c video/out: remove an unused parameter 2015-10-03 18:20:16 +02:00
vo_opengl_cb.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
vo_opengl.c vo_opengl: fix NULL deref on certain init failures 2016-05-11 17:12:59 +02:00
vo_rpi.c vo_rpi: rename mutex/cond variables 2016-04-26 17:12:01 +02:00
vo_sdl.c video: remove some useless old RGB formats 2016-01-25 10:43:35 +01:00
vo_vaapi.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
vo_vdpau.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
vo_wayland.c video: remove some useless old RGB formats 2016-01-25 10:43:35 +01:00
vo_x11.c vo_xv, vo_x11: warn that these VOs should not be used 2016-03-06 19:22:15 +01:00
vo_xv.c vo_xv, vo_x11: warn that these VOs should not be used 2016-03-06 19:22:15 +01:00
vo.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
vo.h video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
w32_common.c win32: make taskbar progress indication optional 2016-05-08 17:05:20 +02:00
w32_common.h vo_direct3d: fix operation 2015-10-31 12:52:02 +01:00
wayland_common.c wayland: use the advertised size in fullscreen 2016-05-08 19:47:08 +02:00
wayland_common.h Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
win_state.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
win_state.h
x11_common.c x11: tell GNOME to use dark window decorations 2016-05-09 20:39:59 +02:00
x11_common.h x11: move vo->input_ctx accesses to x11->input_ctx 2016-03-15 22:11:31 +01:00
x11_icon.bin