OSDN Git Service

MPEG2ENC: Initialize the f_code based on supported level instead of hacked setting
authorZhao Yakui <yakui.zhao@intel.com>
Fri, 5 Jul 2013 02:46:25 +0000 (10:46 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Fri, 13 Sep 2013 03:31:39 +0000 (11:31 +0800)
commit73a11b3e249da35ede92560eb089239252721351
treee9501347651c56f7a52c263968394c25d2b96983
parent3003999c6e5717ff94be3e2a5ec7dff08c8cad5c
MPEG2ENC: Initialize the f_code based on supported level instead of hacked setting

The f_code of MPEG2 picture parameter indicates the max search range of the
motion vector prediction. The small value will cause the unoptimized motion
vector prediction. So remove the hack setting.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit 4fa9b3ba9d45a021e282f761d061e1151158c3ea)
test/encode/mpeg2vaenc.c