OSDN Git Service

Gen9 H.264 encoders: Fix condition for enabling MB rate control
authorMark Thompson <sw@jkqxz.net>
Mon, 15 May 2017 20:18:54 +0000 (21:18 +0100)
committerXiang, Haihao <haihao.xiang@intel.com>
Tue, 16 May 2017 05:35:41 +0000 (13:35 +0800)
commit0dd6ba4e26d3abaa7e66265284ef81c746c13f20
tree3a52bbef9a0675156718c7f90b6c9de2eb570121
parent51839c1dc15d1380ee7f330dd21c1a7105c1719b
Gen9 H.264 encoders: Fix condition for enabling MB rate control

As documented in va.h, it should not be enabled when the user passes
the value 2 here.  This now matches the behaviour of the H.265
encoder.

Fixes #166.

Signed-off-by: Mark Thompson <sw@jkqxz.net>
src/gen9_avc_encoder.c
src/gen9_vdenc.c