1
mirror of https://github.com/mpv-player/mpv synced 2024-10-02 16:25:33 +02:00
mpv/video
wm4 ef3d121c9e vaapi: treat cropped decoder output slightly more correctly
Work around that FFmpeg doesn't distinguish between surface and cropped
size. The decoder always aligns the surface size to something
"convenient" (e.g. 16 for h264), and to get to the correct cropped size,
the output image's width/height is reduced. Using the cropped size
instead of the real surface size breaks the libva API in certain cases,
so we simply store and use the original size in our per-surface struct.

(If data is cropped on the left/top borders, hw decoding will simply
display these - FFmpeg doesn't let us do better.)
2015-06-29 15:13:45 +02:00
..
decode demux: merge extradata fields 2015-06-21 18:06:14 +02:00
filter vf_sub: minor simplification 2015-06-05 18:59:13 +02:00
out x11: remove trailing spaces 2015-06-29 15:09:28 +02:00
csputils.c csputils: improve contrast semantics for limited range output 2015-04-29 22:09:09 +02:00
csputils.h Update license headers 2015-04-13 12:10:01 +02:00
fmt-conversion.c Update license headers 2015-04-13 12:10:01 +02:00
fmt-conversion.h Update license headers 2015-04-13 12:10:01 +02:00
hwdec.h RPI support 2015-03-29 16:09:56 +02:00
image_writer.c screenshots: add option to prevent 16 bit output 2015-04-29 21:05:04 +02:00
image_writer.h screenshots: add option to prevent 16 bit output 2015-04-29 21:05:04 +02:00
img_format.c Update license headers 2015-04-13 12:10:01 +02:00
img_format.h Update license headers 2015-04-13 12:10:01 +02:00
img_fourcc.h build: deal with endian mess 2014-07-10 00:58:56 +02:00
mp_image_pool.c Update license headers 2015-04-13 12:10:01 +02:00
mp_image_pool.h video: introduce failure path for image allocations 2014-06-17 22:43:43 +02:00
mp_image.c mp_image: remove some unused interlacing flags 2015-04-23 22:06:14 +02:00
mp_image.h mp_image: remove some unused interlacing flags 2015-04-23 22:06:14 +02:00
sws_utils.c sws_utils: re-use avcolorspace for sws colorspaces 2015-05-04 01:34:25 +02:00
sws_utils.h vf_scale: libswscale is being stupid 2015-03-01 22:32:38 +01:00
vaapi.c vaapi: treat cropped decoder output slightly more correctly 2015-06-29 15:13:45 +02:00
vaapi.h video: reduce error message when loading hwdec backend fails 2015-06-20 22:26:57 +02:00
vdpau_functions.inc vo_vdpau: directly get surface size from surface for screenshots 2015-06-05 22:34:16 +02:00
vdpau_mixer.c vdpau: retrieve mixer parameters directly from the hw surface 2015-05-28 21:54:02 +02:00
vdpau_mixer.h vdpau: retrieve mixer parameters directly from the hw surface 2015-05-28 21:54:02 +02:00
vdpau.c video: reduce error message when loading hwdec backend fails 2015-06-20 22:26:57 +02:00
vdpau.h video: reduce error message when loading hwdec backend fails 2015-06-20 22:26:57 +02:00