Re: [FFmpeg-devel] [PATCH 2/2] avcodec/vp9: add profile 2 10-bit DXVA2/D3D11 decoding support
On 4/11/2018 9:06 AM, Hendrik Leppkes wrote: > --- > libavcodec/vp9.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c > index 0fac638ec9..b1178c9c0c 100644 > --- a/libavcodec/vp9.c > +++ b/libavcodec/vp9.c > @@ -188,6 +188,7 @@ static int update_size(AVCodecContext *avctx, int w, int > h) > > switch (s->pix_fmt) { > case AV_PIX_FMT_YUV420P: > +case AV_PIX_FMT_YUV420P10: > #if CONFIG_VP9_DXVA2_HWACCEL > *fmtp++ = AV_PIX_FMT_DXVA2_VLD; > #endif > @@ -202,7 +203,6 @@ static int update_size(AVCodecContext *avctx, int w, int > h) > *fmtp++ = AV_PIX_FMT_VAAPI; > #endif > break; > -case AV_PIX_FMT_YUV420P10: > case AV_PIX_FMT_YUV420P12: > #if CONFIG_VP9_NVDEC_HWACCEL > *fmtp++ = AV_PIX_FMT_CUDA; > Make sure to mention ticket #7099 in the commit message. Thanks. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
[FFmpeg-devel] [PATCH 2/2] avcodec/vp9: add profile 2 10-bit DXVA2/D3D11 decoding support
--- libavcodec/vp9.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index 0fac638ec9..b1178c9c0c 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -188,6 +188,7 @@ static int update_size(AVCodecContext *avctx, int w, int h) switch (s->pix_fmt) { case AV_PIX_FMT_YUV420P: +case AV_PIX_FMT_YUV420P10: #if CONFIG_VP9_DXVA2_HWACCEL *fmtp++ = AV_PIX_FMT_DXVA2_VLD; #endif @@ -202,7 +203,6 @@ static int update_size(AVCodecContext *avctx, int w, int h) *fmtp++ = AV_PIX_FMT_VAAPI; #endif break; -case AV_PIX_FMT_YUV420P10: case AV_PIX_FMT_YUV420P12: #if CONFIG_VP9_NVDEC_HWACCEL *fmtp++ = AV_PIX_FMT_CUDA; -- 2.16.1.windows.4 ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel