update SVT-AV1 to latest version of 2.3.0 from 2.2.1
[goodguy/cinelerra.git] / cinelerra-5.1 / thirdparty / src / ffmpeg-5.1.patchB
1 --- a/libavutil/hwcontext_vdpau.c
2 +++ b/libavutil/hwcontext_vdpau.c
3 @@ -47,6 +47,11 @@
4      { 0,                     AV_PIX_FMT_NONE,   },
5  };
6  
7 +static const VDPAUPixFmtMap pix_fmts_420j[] = {
8 +    { VDP_YCBCR_FORMAT_YV12, AV_PIX_FMT_YUVJ420P },
9 +    { 0,                     AV_PIX_FMT_NONE,   },
10 +};
11 +
12  static const VDPAUPixFmtMap pix_fmts_422[] = {
13      { VDP_YCBCR_FORMAT_NV12, AV_PIX_FMT_NV16    },
14      { VDP_YCBCR_FORMAT_YV12, AV_PIX_FMT_YUV422P },
15 @@ -71,6 +76,7 @@
16      const VDPAUPixFmtMap *map;
17  } vdpau_pix_fmts[] = {
18      { VDP_CHROMA_TYPE_420, AV_PIX_FMT_YUV420P, pix_fmts_420 },
19 +    { VDP_CHROMA_TYPE_420, AV_PIX_FMT_YUVJ420P, pix_fmts_420j },
20      { VDP_CHROMA_TYPE_422, AV_PIX_FMT_YUV422P, pix_fmts_422 },
21      { VDP_CHROMA_TYPE_444, AV_PIX_FMT_YUV444P, pix_fmts_444 },
22  #ifdef VDP_YCBCR_FORMAT_P016