OSDN Git Service

VP8 HWEnc: Fix CBR qp setting for vme cost
authorZhong Li <zhong.li@intel.com>
Fri, 22 May 2015 06:06:04 +0000 (14:06 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Fri, 22 May 2015 08:28:17 +0000 (16:28 +0800)
commitc10c66c2f66ed398e390240f251728cc5e65005f
treeebd893c2e4419dfc4c18bffcc6c8277dc49143fa
parent33a43eda60a34d34a927f6617e42b451dbc7d57b
VP8 HWEnc: Fix CBR qp setting for vme cost

1. The q_index range of vp8 is different from h264, it's need to be
mapped to avc qp range.
2. For CBR case, qp should be set to CBR calculated value.

Signed-off-by: Zhong Li <zhong.li@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
src/gen6_mfc_common.c