Skip to content

Commit

Permalink
avutil/hwcontext_vt: add pixel format map for full range YUV420P
Browse files Browse the repository at this point in the history
Signed-off-by: Zhao Zhili <[email protected]>
  • Loading branch information
quink-black committed Jan 12, 2024
1 parent 13c1fea commit bba5a56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libavutil/hwcontext_videotoolbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ static const struct {
enum AVPixelFormat pix_fmt;
} cv_pix_fmts[] = {
{ kCVPixelFormatType_420YpCbCr8Planar, false, AV_PIX_FMT_YUV420P },
{ kCVPixelFormatType_420YpCbCr8PlanarFullRange, true, AV_PIX_FMT_YUV420P },
{ kCVPixelFormatType_422YpCbCr8, false, AV_PIX_FMT_UYVY422 },
{ kCVPixelFormatType_32BGRA, true, AV_PIX_FMT_BGRA },
#ifdef kCFCoreFoundationVersionNumber10_7
Expand Down

0 comments on commit bba5a56

Please sign in to comment.