hardware/intel/libva
Revision | acfcd5f0637a951d50c5112c7dfbd46f1d0dcdb3 (tree) |
---|---|
Zeit | 2014-08-04 11:41:59 |
Autor | Xiang, Haihao <haihao.xiang@inte...> |
Commiter | Xiang, Haihao |
avcenc: only support chroma_format_idc with 1
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
@@ -1414,6 +1414,8 @@ static void avcenc_context_seq_param_init(VAEncSequenceParameterBufferH264 *seq_ | ||
1414 | 1414 | seq_param->picture_width_in_mbs = width_in_mbs; |
1415 | 1415 | seq_param->picture_height_in_mbs = height_in_mbs; |
1416 | 1416 | seq_param->seq_fields.bits.frame_mbs_only_flag = 1; |
1417 | + seq_param->seq_fields.bits.chroma_format_idc = 1; | |
1418 | + | |
1417 | 1419 | |
1418 | 1420 | if (frame_bit_rate > 0) |
1419 | 1421 | seq_param->bits_per_second = 1024 * frame_bit_rate; /* use kbps as input */ |