• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/libva


Commit MetaInfo

Revisionacfcd5f0637a951d50c5112c7dfbd46f1d0dcdb3 (tree)
Zeit2014-08-04 11:41:59
AutorXiang, Haihao <haihao.xiang@inte...>
CommiterXiang, Haihao

Log Message

avcenc: only support chroma_format_idc with 1

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>

Ändern Zusammenfassung

Diff

--- a/test/encode/avcenc.c
+++ b/test/encode/avcenc.c
@@ -1414,6 +1414,8 @@ static void avcenc_context_seq_param_init(VAEncSequenceParameterBufferH264 *seq_
14141414 seq_param->picture_width_in_mbs = width_in_mbs;
14151415 seq_param->picture_height_in_mbs = height_in_mbs;
14161416 seq_param->seq_fields.bits.frame_mbs_only_flag = 1;
1417+ seq_param->seq_fields.bits.chroma_format_idc = 1;
1418+
14171419
14181420 if (frame_bit_rate > 0)
14191421 seq_param->bits_per_second = 1024 * frame_bit_rate; /* use kbps as input */