This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit de319afee123fd5779c2196ea6b6d53adf8828f0 Author: Wu Jianhua <[email protected]> AuthorDate: Sun Sep 6 12:08:56 2026 +0800 Commit: jianhuaw <[email protected]> CommitDate: Sun Nov 29 10:42:10 2026 +0000 avcodec/vvc_parser: report 16-bit pixel formats Signed-off-by: Wu Jianhua <[email protected]> --- libavcodec/vvc_parser.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libavcodec/vvc_parser.c b/libavcodec/vvc_parser.c index 474f409e08..4cab3dd71f 100644 --- a/libavcodec/vvc_parser.c +++ b/libavcodec/vvc_parser.c @@ -78,6 +78,11 @@ static const enum AVPixelFormat pix_fmts_14bit[] = { AV_PIX_FMT_YUV422P14, AV_PIX_FMT_YUV444P14 }; +static const enum AVPixelFormat pix_fmts_16bit[] = { + AV_PIX_FMT_GRAY16, AV_PIX_FMT_YUV420P16, + AV_PIX_FMT_YUV422P16, AV_PIX_FMT_YUV444P16 +}; + static int get_format(const H266RawSPS *sps) { switch (sps->sps_bitdepth_minus8) { @@ -89,6 +94,8 @@ static int get_format(const H266RawSPS *sps) return pix_fmts_12bit[sps->sps_chroma_format_idc]; case 6: return pix_fmts_14bit[sps->sps_chroma_format_idc]; + case 8: + return pix_fmts_16bit[sps->sps_chroma_format_idc]; } return AV_PIX_FMT_NONE; } -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
