1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-04 06:08:26 +02:00
Niklas Haas a69b08790b avfilter/vf_tinterlace: support full-range YUV
This filter, when used in the "pad" mode, currently makes the
distinction between limited and full range solely by testing for YUVJ
pixel formats at link setup time. This is deprecated and should be
improved to perform the detection based on the per-frame metadata.

In order to make this distinction based on color range metadata, which
is only known at the time of filtering frames, for simplicity, we simply
allocate two copies of the "black" frame - one for limited range and the
other for full range metadata. This could be done more dynamically (e.g.
as-needed or simply by blitting the appropriate pixel value directly),
but this change is relatively simple and preserves the structure of the
existing code.

This commit actually fixes a bug in FATE - the new output is correct for
the first time. The previous md5 ref was of a frame that incorrectly
combined full-range pixel data with limited-range black fields. The
corresponding result has been updated.

Signed-off-by: Niklas Haas <git@haasn.dev>
2022-12-20 14:02:37 +01:00
..
aic
amv
ast
2022-11-06 14:39:27 +01:00
2022-11-06 14:39:27 +01:00
2022-11-06 14:39:27 +01:00
crc
dpx
2022-07-19 12:27:18 +02:00
2022-03-17 13:04:44 -03:00
2022-03-25 18:18:44 +01:00
2022-03-16 21:03:37 +01:00
2022-03-16 21:03:37 +01:00
imf
2022-11-03 21:16:10 +10:00
2022-07-19 12:27:18 +02:00
jv
lfg
m4v
md5
2022-07-19 12:27:18 +02:00
2022-09-20 11:26:00 +02:00
opt
2022-03-15 09:42:29 -03:00
2022-07-19 12:27:18 +02:00
2022-07-19 12:27:18 +02:00
ptx
rl2
2022-10-02 20:27:36 +02:00
sha
2022-11-06 14:39:27 +01:00
smc
2022-09-13 14:50:01 +02:00
2022-09-13 14:50:01 +02:00
2022-09-13 14:50:01 +02:00
2022-09-13 14:50:01 +02:00
2022-09-13 14:50:01 +02:00
2022-09-13 14:50:01 +02:00
2022-09-13 14:50:01 +02:00
2022-09-13 14:50:01 +02:00
tea
thp
2022-11-06 14:39:27 +01:00
url
vb
vp4
vp5
vp7
vqc
2022-11-07 16:08:35 +11:00
w64
yop