1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-20 14:56:55 +00:00
mpv/video
Niklas Haas dfe846f9de vo_gpu_next: add support for hardware decoding
There are two major ways of going about this:

1. Expose the native ra_gl/ra_pl/ra_d3d11 objects to the pre-existing
   hwdec mappers, and then add code in vo_gpu_next to rewrap those
   ra_tex objects into pl_tex.

2. Wrap the underlying pl_opengl/pl_d3d11 into a ra_pl object and expose
   it to the hwdec mappers, then directly use the resulting pl_tex.

I ultimately opted for approach 1 because it enables compatibility with
more hardware decoders, specifically including ones that use native
OpenGL calls currently. The second approach only really works with
cuda_vk and vaapi_pl.
2022-03-03 13:06:05 +01:00
..
decode vo_gpu: hwdec: load hwdec interops on-demand by default 2022-02-17 20:02:32 -08:00
filter vo_gpu: hwdec: load hwdec interops on-demand by default 2022-02-17 20:02:32 -08:00
out vo_gpu_next: add support for hardware decoding 2022-03-03 13:06:05 +01:00
csputils.c csputils: add mappings for DCI-P3 (ST.431-2) and P3-D65 (ST.432-1) 2020-12-30 20:03:54 +02:00
csputils.h csputils: add MP_CHROMA_TOPLEFT 2020-12-02 01:36:29 +01:00
cuda.c
d3d.c
d3d.h
fmt-conversion.c
fmt-conversion.h
hwdec.c vo_gpu: hwdec: load hwdec interops on-demand by default 2022-02-17 20:02:32 -08:00
hwdec.h vo_gpu: hwdec: load hwdec interops on-demand by default 2022-02-17 20:02:32 -08:00
image_loader.c
image_loader.h
image_writer.c image_writer: replace deprecated av_init_packet() 2022-01-10 22:56:52 +01:00
image_writer.h
img_format.c
img_format.h
mp_image_pool.c
mp_image_pool.h
mp_image.c mp_image: fix mp_image_plane_w/h 2022-02-24 18:36:28 +01:00
mp_image.h mp_image: add dolbyvision metadata 2022-01-09 13:06:27 +01:00
repack.c osdep: rename MP_UNREACHABLE 2021-11-03 15:15:20 +01:00
repack.h
sws_utils.c sws_utils: work around libswscale corrupting memory yet again 2020-09-17 15:24:27 +02:00
sws_utils.h sws_utils: work around libswscale corrupting memory yet again 2020-09-17 15:24:27 +02:00
vaapi.c
vaapi.h
vdpau_functions.inc
vdpau_mixer.c
vdpau_mixer.h
vdpau.c
vdpau.h
zimg.c csputils: add MP_CHROMA_TOPLEFT 2020-12-02 01:36:29 +01:00
zimg.h zimg: add slice threading and use it by default 2020-07-15 22:59:17 +02:00