Files
FFmpeg/libavfilter
Kacper Michajłow d7b8f4a9ba avfilter/vf_colorspace: refuse a primaries conversion that does not fit the fixed point
The linear RGB to RGB matrix is stored as int16 with 14 fractional
bits, so a coefficient of 2 or more wraps around. The conversion from
the XYZ basis of SMPTE ST 428-1 to BT.709 has one of 3.15, and a
neutral (126, 128, 128) came out as (99, 143, 64). Check the
coefficients before narrowing them and refuse the conversion. Fast mode
does not use the matrix and is not checked, and a refused conversion
forgets the primaries, so that the next frame is refused too instead of
using the matrix left behind.

Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
2026-10-28 19:22:28 +00:00
..
2026-10-24 23:45:47 +00:00
…
…
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
…
…
…
…
…
…
…
…
…
…
2025-08-03 13:48:47 +02:00
…
…
…
…
…
…
…
…
…
…
…
2025-08-03 13:48:47 +02:00
…
…
2025-08-03 13:48:47 +02:00
…
2025-08-03 13:48:47 +02:00
…
…
…
…
…
…
2025-10-16 18:41:19 +02:00
2026-05-15 20:29:29 +02:00
2026-05-15 20:29:29 +02:00
…
…
2025-08-03 13:48:47 +02:00
…
…
2026-09-16 19:02:27 +00:00
…
…
…
2026-10-14 17:59:13 +00:00