0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00
mpv/video
wm4 0a7c5a130e video: properly pass through ICC data
The same should happen with any other side data that matters to mpv,
otherwise filters will drop it.

(No, don't try to argue that mpv should use AVFrame. That won't work.)

ffmpeg_garbage() is copy&paste from frame_new_side_data() in FFmpeg
(roughly feed201849b8f91), because it's not public API. The name
reflects my opinion about FFmpeg's API.

In mp_image_to_av_frame(), change the too-fragile

  *new_ref = (struct mp_image){0};

into explicitly zeroing out the fields that are "transferred" to the
created AVFrame.
2017-10-16 16:36:51 +02:00
..
decode video: properly pass through ICC data 2017-10-16 16:36:51 +02:00
filter video: add mp_image_params.hw_flags and add an example 2017-10-16 15:02:12 +02:00
out vo_gpu: remove some minor dead code 2017-10-16 11:00:02 +02:00
csputils.c video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
csputils.h video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
fmt-conversion.c hwdec: add mediacodec hardware decoder for IMGFMT_MEDIACODEC frames 2017-10-09 18:36:54 +02:00
fmt-conversion.h
hwdec.c video: add mp_image_params.hw_flags and add an example 2017-10-16 15:02:12 +02:00
hwdec.h video: add mp_image_params.hw_flags and add an example 2017-10-16 15:02:12 +02:00
image_loader.c
image_loader.h
image_writer.c
image_writer.h
img_format.c img_format: AV_PIX_FMT_PAL8 is RGB 2017-10-09 15:15:53 +02:00
img_format.h hwdec: add mediacodec hardware decoder for IMGFMT_MEDIACODEC frames 2017-10-09 18:36:54 +02:00
mp_image_pool.c vf_vavpp: use libavutil hw frames API for frame pool and upload 2017-09-29 18:17:51 +02:00
mp_image_pool.h vf_vavpp: use libavutil hw frames API for frame pool and upload 2017-09-29 18:17:51 +02:00
mp_image.c video: properly pass through ICC data 2017-10-16 16:36:51 +02:00
mp_image.h video: add mp_image_params.hw_flags and add an example 2017-10-16 15:02:12 +02:00
sws_utils.c build: add preliminary LGPL mode 2017-09-21 13:56:27 +02:00
sws_utils.h video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
vaapi.c vaapi: Use libva2 message callbacks 2017-10-09 21:35:47 +02:00
vaapi.h vaapi: replace error macro implementation 2017-09-30 16:07:00 +02:00
vdpau_functions.inc
vdpau_mixer.c video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
vdpau_mixer.h video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
vdpau.c
vdpau.h Add checks for HAVE_GPL to various GPL-only source files 2017-10-10 15:51:16 +02:00