[FFmpeg-devel] [PATCH v2] avcodec/cuvidddec: Guess pixel format based on probed bit depth and chroma sampling
Timo Rothenpieler
timo at rothenpieler.org
Fri Aug 2 16:57:10 EEST 2024
On 02/08/2024 15:31, Roman Arzumanyan wrote:
> Hello world,
>
> Please find v2 of the previous patch attached.
> Both bit depth and chroma sampling (420 and 444 as supported by Nvdec) are
> now taken into account when selecting sw_pix_fmt.
It's actually AV_PIX_FMT_YUV444P16 for both 10 and 12 bit, due to how
the bits are aligned opposite to what ffmpeg expects in
AV_PIX_FMT_YUV444P10.
No need to resend for that, will ammend locally.
More information about the ffmpeg-devel
mailing list