Re: [FFmpeg-devel] [PATCH 1/2] qsvdec: add support for HW_DEVICE_CTX method

2021-07-28 Thread Xiang, Haihao
g-devel@ffmpeg.org > > Cc: Haihao Xiang > > Subject: [FFmpeg-devel] [PATCH 1/2] qsvdec: add support for HW_DEVICE_CTX > > method > > > > This allows user set hw_device_ctx instead of hw_frames_ctx for QSV > > decoders, > > hence we may remove the ad-hoc libm

Re: [FFmpeg-devel] [PATCH 1/2] qsvdec: add support for HW_DEVICE_CTX method

2021-06-23 Thread Xiang, Haihao
On Wed, 2021-06-23 at 16:41 +, Soft Works wrote: > > -Original Message- > From: ffmpeg-devel On Behalf Of Haihao Xiang > Sent: Mittwoch, 23. Juni 2021 05:04 > To: ffmpeg-devel@ffmpeg.org > Cc: Haihao Xiang > Subject: [FFmpeg-devel] [PATCH 1/2] qsvdec: add supp

Re: [FFmpeg-devel] [PATCH 1/2] qsvdec: add support for HW_DEVICE_CTX method

2021-06-23 Thread Soft Works
-Original Message- From: ffmpeg-devel On Behalf Of Haihao Xiang Sent: Mittwoch, 23. Juni 2021 05:04 To: ffmpeg-devel@ffmpeg.org Cc: Haihao Xiang Subject: [FFmpeg-devel] [PATCH 1/2] qsvdec: add support for HW_DEVICE_CTX method This allows user set hw_device_ctx instead of

[FFmpeg-devel] [PATCH 1/2] qsvdec: add support for HW_DEVICE_CTX method

2021-06-22 Thread Haihao Xiang
This allows user set hw_device_ctx instead of hw_frames_ctx for QSV decoders, hence we may remove the ad-hoc libmfx setup code from FFmpeg. "-hwaccel_output_format format" is applied to QSV decoders after removing the ad-hoc libmfx code. In order to keep compatibility with old commandlines, the de