[FFmpeg-devel] [PATCH v2 3/7] avutil/imgutils: fix av_image_fill_black() for some pixel formats
Stefano Sabatini
stefasab at gmail.com
Thu Dec 7 00:47:13 EET 2023
On date Wednesday 2023-12-06 09:22:16 +0100, Marton Balint wrote:
> - Fixes YA formats, because previous code always assumed alpha as the 4th
> component.
> - Fixes PAL format (as long as 0 is black, as in a systematic palette), because
> previous code assumed it as limited Y.
> - Fixes XYZ format because it does not need nonzero chroma components
> - Fixes xv30be as the bitstream mode got merged to the non-bitstream mode.
>
> Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
> libavutil/imgutils.c | 49 +++++++++++++++--------------------------
> tests/ref/fate/imgutils | 14 ++++++------
> 2 files changed, 25 insertions(+), 38 deletions(-)
Still LGTM.
More information about the ffmpeg-devel
mailing list