hardware/intel/libva
修訂 | 57b99c7c8e9671202b5c3d1e476b60bdc4b7d1f5 (tree) |
---|---|
時間 | 2013-05-28 17:46:49 |
作者 | Xiang, Haihao <haihao.xiang@inte...> |
Commiter | Xiang, Haihao |
test: update MPEG-2 encoding case
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
@@ -382,16 +382,6 @@ pps_rbsp(const VAEncSequenceParameterBufferMPEG2 *seq_param, | ||
382 | 382 | bitstream_put_ui(bs, pic_param->picture_coding_extension.bits.composite_display_flag, 1); |
383 | 383 | |
384 | 384 | bitstream_byte_aligning(bs, 0); |
385 | - | |
386 | - if (pic_param->user_data_length) { | |
387 | - bitstream_put_ui(bs, START_CODE_USER, 32); | |
388 | - | |
389 | - for (i = 0; i < pic_param->user_data_length; i++) { | |
390 | - bitstream_put_ui(bs, pic_param->user_data[i], 8); | |
391 | - } | |
392 | - | |
393 | - bitstream_byte_aligning(bs, 0); | |
394 | - } | |
395 | 385 | } |
396 | 386 | |
397 | 387 | static int |
@@ -823,8 +813,6 @@ mpeg2enc_init_picture_parameter(struct mpeg2enc_context *ctx, | ||
823 | 813 | pic_param->picture_coding_extension.bits.repeat_first_field = 0; |
824 | 814 | pic_param->picture_coding_extension.bits.progressive_frame = 1; |
825 | 815 | pic_param->picture_coding_extension.bits.composite_display_flag = 0; |
826 | - | |
827 | - pic_param->user_data_length = 0; | |
828 | 816 | } |
829 | 817 | |
830 | 818 | static void |