Re: [FFmpeg-devel] [PATCH] lavc/qsvdec: hw device should be set

2018-01-03 Thread Li, Zhong
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Mark Thompson > Sent: Tuesday, January 2, 2018 8:32 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] lavc/qsvdec: hw device should be set > > On 02/01/18 09:15, Li, Zhong wro

Re: [FFmpeg-devel] [PATCH] lavc/qsvdec: hw device should be set

2018-01-02 Thread Mark Thompson
On 02/01/18 11:27, wm4 wrote: > On Mon, 1 Jan 2018 23:35:42 + > Mark Thompson wrote: > >> On 29/12/17 07:06, Zhong Li wrote: >>> Add the flag "AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX" to indicate >>> AVCodecContext.hw_device_ctx should be set before calling >>> avcodec_open2() for qsv decodin

Re: [FFmpeg-devel] [PATCH] lavc/qsvdec: hw device should be set

2018-01-02 Thread Mark Thompson
On 02/01/18 09:15, Li, Zhong wrote: >> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf >> Of Mark Thompson >> Sent: Tuesday, January 2, 2018 7:36 AM >> To: ffmpeg-devel@ffmpeg.org >> Subject: Re: [FFmpeg-devel] [PATCH] lavc/qsvdec: hw device shou

Re: [FFmpeg-devel] [PATCH] lavc/qsvdec: hw device should be set

2018-01-02 Thread wm4
On Mon, 1 Jan 2018 23:35:42 + Mark Thompson wrote: > On 29/12/17 07:06, Zhong Li wrote: > > Add the flag "AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX" to indicate > > AVCodecContext.hw_device_ctx should be set before calling > > avcodec_open2() for qsv decoding. > > It is consistent with examples

Re: [FFmpeg-devel] [PATCH] lavc/qsvdec: hw device should be set

2018-01-02 Thread Li, Zhong
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Mark Thompson > Sent: Tuesday, January 2, 2018 7:36 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] lavc/qsvdec: hw device should be set > > On 29/12/17 07:06, Zhong Li wr

Re: [FFmpeg-devel] [PATCH] lavc/qsvdec: hw device should be set

2018-01-01 Thread Mark Thompson
On 29/12/17 07:06, Zhong Li wrote: > Add the flag "AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX" to indicate > AVCodecContext.hw_device_ctx should be set before calling > avcodec_open2() for qsv decoding. > It is consistent with examples/qsvdec.c. > > It also can make function "hw_device_match_by_codec

Re: [FFmpeg-devel] [PATCH] lavc/qsvdec: hw device should be set

2017-12-29 Thread wm4
On Fri, 29 Dec 2017 15:06:09 +0800 Zhong Li wrote: > Add the flag "AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX" to indicate > AVCodecContext.hw_device_ctx should be set before calling > avcodec_open2() for qsv decoding. > It is consistent with examples/qsvdec.c. > > It also can make function "hw_dev

[FFmpeg-devel] [PATCH] lavc/qsvdec: hw device should be set

2017-12-28 Thread Zhong Li
Add the flag "AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX" to indicate AVCodecContext.hw_device_ctx should be set before calling avcodec_open2() for qsv decoding. It is consistent with examples/qsvdec.c. It also can make function "hw_device_match_by_codec()" can find qsv device successfully. Signed-o