libs: h265enc: Set max_transform_hierarchy_depth_{inter, intra} to 2
authorHaihao Xiang <haihao.xiang@intel.com>
Fri, 14 Feb 2020 11:53:09 +0000 (19:53 +0800)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 21 Feb 2020 17:30:29 +0000 (17:30 +0000)
commit17d82e14e78af901f1cd7f2344e173ad6ae6a8a6
treef938be8da03fdf3aa4d31433cac4d8a831360fde
parent4573d3eefe84c99fc4fda6d2b749abcb72abc7da
libs: h265enc: Set max_transform_hierarchy_depth_{inter, intra} to 2

Intel HW has limitation on max_transform_hierarchy_depth_inter and
max_transform_hierarchy_depth_intra (see [1]). We can provide a quirk for
other HWs if other HWs may support other values

[1] https://01.org/sites/default/files/documentation/intel-gfx-prm-osrc-kbl-vol10-hevc.pdf
gst-libs/gst/vaapi/gstvaapiencoder_h265.c