On 01/11/2018 07:45, Linjie Fu wrote:
Add VDENC(lowpower mode) support for QSV h264 and HEVC
with the limitation of MSDK API verion greater than 1.15.

It's an experimental function(like lowpower in vaapi) with
some limitations:
- CBR/VBR require HuC which should be explicitly loaded via i915
module parameter(i915.enable_guc=2 for >=4.16)
- HEVC VDENC was supported >= ICE LAKE

use option "-low_power 1" to enable VDENC.

Signed-off-by: Linjie Fu <linjie...@intel.com>
---
  libavcodec/qsvenc.c      | 3 +++
  libavcodec/qsvenc.h      | 1 +
  libavcodec/qsvenc_h264.c | 3 +++
  libavcodec/qsvenc_hevc.c | 3 +++
  4 files changed, 10 insertions(+)


Looks good, would be great if you could update the documentation about it since it seems to require some additional setup.

I'd merge it Monday if nobody is against it.

lu

_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to