diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/bbb-h264-32/frames.h | 3823 |
1 files changed, 2837 insertions, 986 deletions
diff --git a/data/bbb-h264-32/frames.h b/data/bbb-h264-32/frames.h index 10cf06a..9d53293 100644 --- a/data/bbb-h264-32/frames.h +++ b/data/bbb-h264-32/frames.h @@ -1,28 +1,11 @@ { .index = 0, + .output_buffer = 0, .frame.h264 = { .decode_param = { .top_field_order_cnt = 0, .bottom_field_order_cnt = 0, .dpb = { - { - .frame_num = 0, - .top_field_order_cnt = 0, - .bottom_field_order_cnt = 0, - .flags = 0 | 0, - }, - { - .frame_num = 0, - .top_field_order_cnt = 0, - .bottom_field_order_cnt = 0, - .flags = 0 | 0, - }, - { - .frame_num = 0, - .top_field_order_cnt = 0, - .bottom_field_order_cnt = 0, - .flags = 0 | 0, - }, }, }, .pps = { @@ -62,10 +45,20 @@ { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 33286, + .header_bit_size = 30, + .first_mb_in_slice = 0, + .slice_type = 2, + .cabac_init_idc = 0, + .slice_qp_delta = 1, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -210,47 +203,25 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 33286, - .header_bit_size = 30, - .first_mb_in_slice = 0, - .slice_type = 2, - .cabac_init_idc = 0, - .slice_qp_delta = 1, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 0, - .num_ref_idx_l1_active_minus1 = 0, - }, }, }, { .index = 1, + .output_buffer = 1, .frame.h264 = { .decode_param = { .top_field_order_cnt = 2, .bottom_field_order_cnt = 2, .dpb = { - { - .frame_num = 0, - .top_field_order_cnt = 0, - .bottom_field_order_cnt = 0, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, - }, - { + [0] = { .frame_num = 0, + .buf_index = 0, .top_field_order_cnt = 0, .bottom_field_order_cnt = 0, - .flags = 0 | 0, - }, - { - .frame_num = 0, - .top_field_order_cnt = 0, - .bottom_field_order_cnt = 0, - .flags = 0 | 0, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, }, }, @@ -291,10 +262,22 @@ { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 3294, + .header_bit_size = 29, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 1, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 0, + .ref_pic_list0 = { 0, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -439,48 +422,32 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 3294, - .header_bit_size = 29, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 1, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 0, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, }, - }, }, }, { .index = 2, + .output_buffer = 2, .frame.h264 = { .decode_param = { .top_field_order_cnt = 4, .bottom_field_order_cnt = 4, .dpb = { - { - .frame_num = 1, - .top_field_order_cnt = 2, - .bottom_field_order_cnt = 2, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, - }, - { + [0] = { .frame_num = 0, + .buf_index = 0, .top_field_order_cnt = 0, .bottom_field_order_cnt = 0, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, - { - .frame_num = 0, - .top_field_order_cnt = 0, - .bottom_field_order_cnt = 0, - .flags = 0 | 0, + [1] = { + .frame_num = 1, + .buf_index = 1, + .top_field_order_cnt = 2, + .bottom_field_order_cnt = 2, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, }, }, @@ -521,10 +488,22 @@ { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 10722, + .header_bit_size = 31, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 1, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 1, + .ref_pic_list0 = { 1, 0, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -669,48 +648,39 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 10722, - .header_bit_size = 31, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 1, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 1, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, }, - }, }, }, { .index = 3, + .output_buffer = 3, .frame.h264 = { .decode_param = { .top_field_order_cnt = 6, .bottom_field_order_cnt = 6, .dpb = { - { - .frame_num = 2, - .top_field_order_cnt = 4, - .bottom_field_order_cnt = 4, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [0] = { + .frame_num = 0, + .buf_index = 0, + .top_field_order_cnt = 0, + .bottom_field_order_cnt = 0, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, - { + [1] = { .frame_num = 1, + .buf_index = 1, .top_field_order_cnt = 2, .bottom_field_order_cnt = 2, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, - { - .frame_num = 0, - .top_field_order_cnt = 0, - .bottom_field_order_cnt = 0, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [2] = { + .frame_num = 2, + .buf_index = 2, + .top_field_order_cnt = 4, + .bottom_field_order_cnt = 4, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, }, }, @@ -751,10 +721,22 @@ { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 14920, + .header_bit_size = 26, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 0, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 2, 1, 0, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -899,48 +881,46 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 14920, - .header_bit_size = 26, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 0, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 4, + .output_buffer = 4, .frame.h264 = { .decode_param = { .top_field_order_cnt = 8, .bottom_field_order_cnt = 8, .dpb = { - { - .frame_num = 3, - .top_field_order_cnt = 6, - .bottom_field_order_cnt = 6, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [0] = { + .frame_num = 0, + .buf_index = 0, + .top_field_order_cnt = 0, + .bottom_field_order_cnt = 0, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { + [1] = { + .frame_num = 1, + .buf_index = 1, + .top_field_order_cnt = 2, + .bottom_field_order_cnt = 2, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [2] = { .frame_num = 2, + .buf_index = 2, .top_field_order_cnt = 4, .bottom_field_order_cnt = 4, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, - { - .frame_num = 1, - .top_field_order_cnt = 2, - .bottom_field_order_cnt = 2, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [3] = { + .frame_num = 3, + .buf_index = 3, + .top_field_order_cnt = 6, + .bottom_field_order_cnt = 6, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, }, }, @@ -981,10 +961,22 @@ { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 8576, + .header_bit_size = 26, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 0, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 3, 2, 1, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -1129,48 +1121,53 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 8576, - .header_bit_size = 26, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 0, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 5, + .output_buffer = 5, .frame.h264 = { .decode_param = { .top_field_order_cnt = 10, .bottom_field_order_cnt = 10, .dpb = { - { - .frame_num = 4, - .top_field_order_cnt = 8, - .bottom_field_order_cnt = 8, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [0] = { + .frame_num = 0, + .buf_index = 0, + .top_field_order_cnt = 0, + .bottom_field_order_cnt = 0, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { - .frame_num = 3, - .top_field_order_cnt = 6, - .bottom_field_order_cnt = 6, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [1] = { + .frame_num = 1, + .buf_index = 1, + .top_field_order_cnt = 2, + .bottom_field_order_cnt = 2, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { + [2] = { .frame_num = 2, + .buf_index = 2, .top_field_order_cnt = 4, .bottom_field_order_cnt = 4, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [3] = { + .frame_num = 3, + .buf_index = 3, + .top_field_order_cnt = 6, + .bottom_field_order_cnt = 6, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [4] = { + .frame_num = 4, + .buf_index = 4, + .top_field_order_cnt = 8, + .bottom_field_order_cnt = 8, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, }, }, @@ -1205,16 +1202,28 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 232, 3, 0, 0, 0, 0, 0, 0, 96, 167, 43, 184, 227, 127, 0, 0, 5, 0, 0, 4, 5, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 4, 4, 0, 0, 0, 8, 0, 0, 0, }, + { 0, 0, 0, 0, 0, 0, 0, 0, 96, 151, 198, 214, 59, 127, 0, 0, 5, 0, 0, 4, 5, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 4, 4, 0, 0, 0, 8, 0, 0, 0, }, { 8, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 4, 3, 0, 0, 0, 8, 0, 0, 0, 6, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 4, }, { 2, 0, 0, 0, 8, 0, 0, 0, 4, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 2660, + .header_bit_size = 26, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 0, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 4, 3, 2, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -1359,48 +1368,60 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 2660, - .header_bit_size = 26, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 0, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 6, + .output_buffer = 6, .frame.h264 = { .decode_param = { .top_field_order_cnt = 12, .bottom_field_order_cnt = 12, .dpb = { - { - .frame_num = 5, - .top_field_order_cnt = 10, - .bottom_field_order_cnt = 10, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [0] = { + .frame_num = 0, + .buf_index = 0, + .top_field_order_cnt = 0, + .bottom_field_order_cnt = 0, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { - .frame_num = 4, - .top_field_order_cnt = 8, - .bottom_field_order_cnt = 8, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [1] = { + .frame_num = 1, + .buf_index = 1, + .top_field_order_cnt = 2, + .bottom_field_order_cnt = 2, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { + [2] = { + .frame_num = 2, + .buf_index = 2, + .top_field_order_cnt = 4, + .bottom_field_order_cnt = 4, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [3] = { .frame_num = 3, + .buf_index = 3, .top_field_order_cnt = 6, .bottom_field_order_cnt = 6, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [4] = { + .frame_num = 4, + .buf_index = 4, + .top_field_order_cnt = 8, + .bottom_field_order_cnt = 8, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [5] = { + .frame_num = 5, + .buf_index = 5, + .top_field_order_cnt = 10, + .bottom_field_order_cnt = 10, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, }, }, @@ -1435,16 +1456,28 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 14, 0, 0, 0, 0, 0, 0, 0, 136, 75, 213, 64, 227, 127, 0, 0, 6, 0, 0, 4, 6, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 4, 5, 0, 0, 0, 8, 0, 0, 0, }, + { 14, 0, 0, 0, 0, 0, 0, 0, 136, 59, 143, 96, 59, 127, 0, 0, 6, 0, 0, 4, 6, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 4, 5, 0, 0, 0, 8, 0, 0, 0, }, { 10, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 4, 4, 0, 0, 0, 8, 0, 0, 0, 8, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 4, }, { 3, 0, 0, 0, 8, 0, 0, 0, 6, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 1646, + .header_bit_size = 28, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 1, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 5, 4, 3, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -1589,48 +1622,67 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 1646, - .header_bit_size = 28, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 1, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 7, + .output_buffer = 7, .frame.h264 = { .decode_param = { .top_field_order_cnt = 14, .bottom_field_order_cnt = 14, .dpb = { - { - .frame_num = 6, - .top_field_order_cnt = 12, - .bottom_field_order_cnt = 12, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [0] = { + .frame_num = 0, + .buf_index = 0, + .top_field_order_cnt = 0, + .bottom_field_order_cnt = 0, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { - .frame_num = 5, - .top_field_order_cnt = 10, - .bottom_field_order_cnt = 10, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [1] = { + .frame_num = 1, + .buf_index = 1, + .top_field_order_cnt = 2, + .bottom_field_order_cnt = 2, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { + [2] = { + .frame_num = 2, + .buf_index = 2, + .top_field_order_cnt = 4, + .bottom_field_order_cnt = 4, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [3] = { + .frame_num = 3, + .buf_index = 3, + .top_field_order_cnt = 6, + .bottom_field_order_cnt = 6, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [4] = { .frame_num = 4, + .buf_index = 4, .top_field_order_cnt = 8, .bottom_field_order_cnt = 8, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [5] = { + .frame_num = 5, + .buf_index = 5, + .top_field_order_cnt = 10, + .bottom_field_order_cnt = 10, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [6] = { + .frame_num = 6, + .buf_index = 6, + .top_field_order_cnt = 12, + .bottom_field_order_cnt = 12, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, }, }, @@ -1665,16 +1717,28 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 14, 0, 0, 0, 0, 0, 0, 0, 136, 59, 85, 64, 227, 127, 0, 0, 7, 0, 0, 4, 7, 0, 0, 0, 0, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 4, 6, 0, 0, 0, 8, 0, 0, 0, }, + { 14, 0, 0, 0, 0, 0, 0, 0, 96, 151, 198, 214, 59, 127, 0, 0, 7, 0, 0, 4, 7, 0, 0, 0, 0, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 4, 6, 0, 0, 0, 8, 0, 0, 0, }, { 12, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 4, 5, 0, 0, 0, 8, 0, 0, 0, 10, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 4, }, { 4, 0, 0, 0, 8, 0, 0, 0, 8, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 1015, + .header_bit_size = 28, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 1, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 6, 5, 4, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -1819,48 +1883,67 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 1015, - .header_bit_size = 28, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 1, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 8, + .output_buffer = 0, .frame.h264 = { .decode_param = { .top_field_order_cnt = 16, .bottom_field_order_cnt = 16, .dpb = { - { - .frame_num = 7, - .top_field_order_cnt = 14, - .bottom_field_order_cnt = 14, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [1] = { + .frame_num = 1, + .buf_index = 1, + .top_field_order_cnt = 2, + .bottom_field_order_cnt = 2, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { - .frame_num = 6, - .top_field_order_cnt = 12, - .bottom_field_order_cnt = 12, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [2] = { + .frame_num = 2, + .buf_index = 2, + .top_field_order_cnt = 4, + .bottom_field_order_cnt = 4, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { + [3] = { + .frame_num = 3, + .buf_index = 3, + .top_field_order_cnt = 6, + .bottom_field_order_cnt = 6, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [4] = { + .frame_num = 4, + .buf_index = 4, + .top_field_order_cnt = 8, + .bottom_field_order_cnt = 8, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [5] = { .frame_num = 5, + .buf_index = 5, .top_field_order_cnt = 10, .bottom_field_order_cnt = 10, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [6] = { + .frame_num = 6, + .buf_index = 6, + .top_field_order_cnt = 12, + .bottom_field_order_cnt = 12, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [7] = { + .frame_num = 7, + .buf_index = 7, + .top_field_order_cnt = 14, + .bottom_field_order_cnt = 14, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, }, }, @@ -1895,16 +1978,28 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 14, 0, 0, 0, 0, 0, 0, 0, 136, 43, 213, 63, 227, 127, 0, 0, 8, 0, 0, 4, 8, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 4, 7, 0, 0, 0, 8, 0, 0, 0, }, + { 14, 0, 0, 0, 0, 0, 0, 0, 136, 27, 143, 95, 59, 127, 0, 0, 0, 0, 0, 4, 8, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 4, 7, 0, 0, 0, 8, 0, 0, 0, }, { 14, 0, 0, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 4, 6, 0, 0, 0, 8, 0, 0, 0, 12, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 4, }, { 5, 0, 0, 0, 8, 0, 0, 0, 10, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 725, + .header_bit_size = 30, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 2, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 7, 6, 5, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -2049,48 +2144,74 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 725, - .header_bit_size = 30, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 2, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 9, + .output_buffer = 8, .frame.h264 = { .decode_param = { .top_field_order_cnt = 18, .bottom_field_order_cnt = 18, .dpb = { - { + [0] = { .frame_num = 8, + .buf_index = 0, .top_field_order_cnt = 16, .bottom_field_order_cnt = 16, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, - { - .frame_num = 7, - .top_field_order_cnt = 14, - .bottom_field_order_cnt = 14, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [1] = { + .frame_num = 1, + .buf_index = 1, + .top_field_order_cnt = 2, + .bottom_field_order_cnt = 2, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { + [2] = { + .frame_num = 2, + .buf_index = 2, + .top_field_order_cnt = 4, + .bottom_field_order_cnt = 4, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [3] = { + .frame_num = 3, + .buf_index = 3, + .top_field_order_cnt = 6, + .bottom_field_order_cnt = 6, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [4] = { + .frame_num = 4, + .buf_index = 4, + .top_field_order_cnt = 8, + .bottom_field_order_cnt = 8, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [5] = { + .frame_num = 5, + .buf_index = 5, + .top_field_order_cnt = 10, + .bottom_field_order_cnt = 10, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [6] = { .frame_num = 6, + .buf_index = 6, .top_field_order_cnt = 12, .bottom_field_order_cnt = 12, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [7] = { + .frame_num = 7, + .buf_index = 7, + .top_field_order_cnt = 14, + .bottom_field_order_cnt = 14, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, }, }, @@ -2125,16 +2246,28 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 14, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 9, 0, 0, 4, 9, 0, 0, 0, 0, 0, 0, 0, 18, 0, 0, 0, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 4, 8, 0, 0, 0, 8, 0, 0, 0, }, + { 14, 0, 0, 0, 0, 0, 0, 0, 136, 11, 15, 95, 59, 127, 0, 0, 8, 0, 0, 4, 9, 0, 0, 0, 0, 0, 0, 0, 18, 0, 0, 0, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 8, 0, 0, 0, 8, 0, 0, 0, }, { 16, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 4, 7, 0, 0, 0, 8, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 4, }, { 6, 0, 0, 0, 8, 0, 0, 0, 12, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 285, + .header_bit_size = 30, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 2, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 0, 7, 6, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -2279,48 +2412,81 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 285, - .header_bit_size = 30, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 2, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 10, + .output_buffer = 9, .frame.h264 = { .decode_param = { .top_field_order_cnt = 20, .bottom_field_order_cnt = 20, .dpb = { - { - .frame_num = 9, - .top_field_order_cnt = 18, - .bottom_field_order_cnt = 18, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, - }, - { + [0] = { .frame_num = 8, + .buf_index = 0, .top_field_order_cnt = 16, .bottom_field_order_cnt = 16, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, - { + [1] = { + .frame_num = 1, + .buf_index = 1, + .top_field_order_cnt = 2, + .bottom_field_order_cnt = 2, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [2] = { + .frame_num = 2, + .buf_index = 2, + .top_field_order_cnt = 4, + .bottom_field_order_cnt = 4, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [3] = { + .frame_num = 3, + .buf_index = 3, + .top_field_order_cnt = 6, + .bottom_field_order_cnt = 6, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [4] = { + .frame_num = 4, + .buf_index = 4, + .top_field_order_cnt = 8, + .bottom_field_order_cnt = 8, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [5] = { + .frame_num = 5, + .buf_index = 5, + .top_field_order_cnt = 10, + .bottom_field_order_cnt = 10, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [6] = { + .frame_num = 6, + .buf_index = 6, + .top_field_order_cnt = 12, + .bottom_field_order_cnt = 12, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [7] = { .frame_num = 7, + .buf_index = 7, .top_field_order_cnt = 14, .bottom_field_order_cnt = 14, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [8] = { + .frame_num = 9, + .buf_index = 8, + .top_field_order_cnt = 18, + .bottom_field_order_cnt = 18, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, }, }, @@ -2355,16 +2521,28 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 14, 0, 0, 0, 0, 0, 0, 0, 136, 91, 85, 65, 227, 127, 0, 0, 10, 0, 0, 4, 10, 0, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 4, 9, 0, 0, 0, 8, 0, 0, 0, }, - { 18, 0, 0, 0, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 4, 8, 0, 0, 0, 8, 0, 0, 0, 16, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 4, }, + { 14, 0, 0, 0, 0, 0, 0, 0, 136, 75, 15, 97, 59, 127, 0, 0, 9, 0, 0, 4, 10, 0, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 4, 9, 0, 0, 0, 8, 0, 0, 0, }, + { 18, 0, 0, 0, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 8, 0, 0, 0, 8, 0, 0, 0, 16, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 4, }, { 7, 0, 0, 0, 8, 0, 0, 0, 14, 0, 0, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 327, + .header_bit_size = 30, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 3, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 8, 0, 7, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -2509,48 +2687,88 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 327, - .header_bit_size = 30, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 3, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 11, + .output_buffer = 10, .frame.h264 = { .decode_param = { .top_field_order_cnt = 22, .bottom_field_order_cnt = 22, .dpb = { - { - .frame_num = 10, - .top_field_order_cnt = 20, - .bottom_field_order_cnt = 20, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [0] = { + .frame_num = 8, + .buf_index = 0, + .top_field_order_cnt = 16, + .bottom_field_order_cnt = 16, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, - { + [1] = { + .frame_num = 1, + .buf_index = 1, + .top_field_order_cnt = 2, + .bottom_field_order_cnt = 2, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [2] = { + .frame_num = 2, + .buf_index = 2, + .top_field_order_cnt = 4, + .bottom_field_order_cnt = 4, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [3] = { + .frame_num = 3, + .buf_index = 3, + .top_field_order_cnt = 6, + .bottom_field_order_cnt = 6, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [4] = { + .frame_num = 4, + .buf_index = 4, + .top_field_order_cnt = 8, + .bottom_field_order_cnt = 8, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [5] = { + .frame_num = 5, + .buf_index = 5, + .top_field_order_cnt = 10, + .bottom_field_order_cnt = 10, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [6] = { + .frame_num = 6, + .buf_index = 6, + .top_field_order_cnt = 12, + .bottom_field_order_cnt = 12, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [7] = { + .frame_num = 7, + .buf_index = 7, + .top_field_order_cnt = 14, + .bottom_field_order_cnt = 14, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [8] = { .frame_num = 9, + .buf_index = 8, .top_field_order_cnt = 18, .bottom_field_order_cnt = 18, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, - { - .frame_num = 8, - .top_field_order_cnt = 16, - .bottom_field_order_cnt = 16, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [9] = { + .frame_num = 10, + .buf_index = 9, + .top_field_order_cnt = 20, + .bottom_field_order_cnt = 20, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, }, }, @@ -2585,16 +2803,28 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 14, 0, 0, 0, 0, 0, 0, 0, 136, 75, 213, 64, 227, 127, 0, 0, 11, 0, 0, 4, 11, 0, 0, 0, 0, 0, 0, 0, 22, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 4, 10, 0, 0, 0, 8, 0, 0, 0, }, - { 20, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 4, 9, 0, 0, 0, 8, 0, 0, 0, 18, 0, 0, 0, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 4, }, + { 14, 0, 0, 0, 0, 0, 0, 0, 136, 59, 143, 96, 59, 127, 0, 0, 10, 0, 0, 4, 11, 0, 0, 0, 0, 0, 0, 0, 22, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 4, 10, 0, 0, 0, 8, 0, 0, 0, }, + { 20, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 4, 9, 0, 0, 0, 8, 0, 0, 0, 18, 0, 0, 0, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, }, { 8, 0, 0, 0, 8, 0, 0, 0, 16, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 370, + .header_bit_size = 32, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 4, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 9, 8, 0, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -2739,48 +2969,88 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 370, - .header_bit_size = 32, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 4, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 12, + .output_buffer = 1, .frame.h264 = { .decode_param = { .top_field_order_cnt = 24, .bottom_field_order_cnt = 24, .dpb = { - { - .frame_num = 11, - .top_field_order_cnt = 22, - .bottom_field_order_cnt = 22, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [0] = { + .frame_num = 8, + .buf_index = 0, + .top_field_order_cnt = 16, + .bottom_field_order_cnt = 16, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { - .frame_num = 10, - .top_field_order_cnt = 20, - .bottom_field_order_cnt = 20, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [2] = { + .frame_num = 2, + .buf_index = 2, + .top_field_order_cnt = 4, + .bottom_field_order_cnt = 4, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { + [3] = { + .frame_num = 3, + .buf_index = 3, + .top_field_order_cnt = 6, + .bottom_field_order_cnt = 6, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [4] = { + .frame_num = 4, + .buf_index = 4, + .top_field_order_cnt = 8, + .bottom_field_order_cnt = 8, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [5] = { + .frame_num = 5, + .buf_index = 5, + .top_field_order_cnt = 10, + .bottom_field_order_cnt = 10, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [6] = { + .frame_num = 6, + .buf_index = 6, + .top_field_order_cnt = 12, + .bottom_field_order_cnt = 12, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [7] = { + .frame_num = 7, + .buf_index = 7, + .top_field_order_cnt = 14, + .bottom_field_order_cnt = 14, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [8] = { .frame_num = 9, + .buf_index = 8, .top_field_order_cnt = 18, .bottom_field_order_cnt = 18, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [9] = { + .frame_num = 10, + .buf_index = 9, + .top_field_order_cnt = 20, + .bottom_field_order_cnt = 20, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [10] = { + .frame_num = 11, + .buf_index = 10, + .top_field_order_cnt = 22, + .bottom_field_order_cnt = 22, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, }, }, @@ -2815,16 +3085,28 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 14, 0, 0, 0, 0, 0, 0, 0, 136, 59, 85, 64, 227, 127, 0, 0, 0, 0, 0, 4, 12, 0, 0, 0, 0, 0, 0, 0, 24, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 0, 4, 11, 0, 0, 0, 8, 0, 0, 0, }, - { 22, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 4, 10, 0, 0, 0, 8, 0, 0, 0, 20, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 4, }, + { 14, 0, 0, 0, 0, 0, 0, 0, 96, 151, 198, 214, 59, 127, 0, 0, 1, 0, 0, 4, 12, 0, 0, 0, 0, 0, 0, 0, 24, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 4, 11, 0, 0, 0, 8, 0, 0, 0, }, + { 22, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 4, 10, 0, 0, 0, 8, 0, 0, 0, 20, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 4, }, { 9, 0, 0, 0, 8, 0, 0, 0, 18, 0, 0, 0, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 341, + .header_bit_size = 32, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 5, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 10, 9, 8, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -2969,48 +3251,95 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 341, - .header_bit_size = 32, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 5, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 13, + .output_buffer = 11, .frame.h264 = { .decode_param = { .top_field_order_cnt = 26, .bottom_field_order_cnt = 26, .dpb = { - { + [0] = { + .frame_num = 8, + .buf_index = 0, + .top_field_order_cnt = 16, + .bottom_field_order_cnt = 16, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [1] = { .frame_num = 12, + .buf_index = 1, .top_field_order_cnt = 24, .bottom_field_order_cnt = 24, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, - { - .frame_num = 11, - .top_field_order_cnt = 22, - .bottom_field_order_cnt = 22, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [2] = { + .frame_num = 2, + .buf_index = 2, + .top_field_order_cnt = 4, + .bottom_field_order_cnt = 4, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { + [3] = { + .frame_num = 3, + .buf_index = 3, + .top_field_order_cnt = 6, + .bottom_field_order_cnt = 6, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [4] = { + .frame_num = 4, + .buf_index = 4, + .top_field_order_cnt = 8, + .bottom_field_order_cnt = 8, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [5] = { + .frame_num = 5, + .buf_index = 5, + .top_field_order_cnt = 10, + .bottom_field_order_cnt = 10, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [6] = { + .frame_num = 6, + .buf_index = 6, + .top_field_order_cnt = 12, + .bottom_field_order_cnt = 12, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [7] = { + .frame_num = 7, + .buf_index = 7, + .top_field_order_cnt = 14, + .bottom_field_order_cnt = 14, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [8] = { + .frame_num = 9, + .buf_index = 8, + .top_field_order_cnt = 18, + .bottom_field_order_cnt = 18, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [9] = { .frame_num = 10, + .buf_index = 9, .top_field_order_cnt = 20, .bottom_field_order_cnt = 20, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [10] = { + .frame_num = 11, + .buf_index = 10, + .top_field_order_cnt = 22, + .bottom_field_order_cnt = 22, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, }, }, @@ -3045,16 +3374,28 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 14, 0, 0, 0, 0, 0, 0, 0, 96, 167, 43, 184, 227, 127, 0, 0, 1, 0, 0, 4, 13, 0, 0, 0, 0, 0, 0, 0, 26, 0, 0, 0, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 12, 0, 0, 0, 8, 0, 0, 0, }, - { 24, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 0, 4, 11, 0, 0, 0, 8, 0, 0, 0, 22, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 4, }, + { 14, 0, 0, 0, 0, 0, 0, 0, 136, 27, 143, 95, 59, 127, 0, 0, 11, 0, 0, 4, 13, 0, 0, 0, 0, 0, 0, 0, 26, 0, 0, 0, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 4, 12, 0, 0, 0, 8, 0, 0, 0, }, + { 24, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 4, 11, 0, 0, 0, 8, 0, 0, 0, 22, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 4, }, { 10, 0, 0, 0, 8, 0, 0, 0, 20, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 225, + .header_bit_size = 32, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 7, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 1, 10, 9, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -3199,48 +3540,102 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 225, - .header_bit_size = 32, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 7, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 14, + .output_buffer = 12, .frame.h264 = { .decode_param = { .top_field_order_cnt = 28, .bottom_field_order_cnt = 28, .dpb = { - { - .frame_num = 13, - .top_field_order_cnt = 26, - .bottom_field_order_cnt = 26, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [0] = { + .frame_num = 8, + .buf_index = 0, + .top_field_order_cnt = 16, + .bottom_field_order_cnt = 16, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { + [1] = { .frame_num = 12, + .buf_index = 1, .top_field_order_cnt = 24, .bottom_field_order_cnt = 24, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, - { + [2] = { + .frame_num = 2, + .buf_index = 2, + .top_field_order_cnt = 4, + .bottom_field_order_cnt = 4, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [3] = { + .frame_num = 3, + .buf_index = 3, + .top_field_order_cnt = 6, + .bottom_field_order_cnt = 6, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [4] = { + .frame_num = 4, + .buf_index = 4, + .top_field_order_cnt = 8, + .bottom_field_order_cnt = 8, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [5] = { + .frame_num = 5, + .buf_index = 5, + .top_field_order_cnt = 10, + .bottom_field_order_cnt = 10, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [6] = { + .frame_num = 6, + .buf_index = 6, + .top_field_order_cnt = 12, + .bottom_field_order_cnt = 12, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [7] = { + .frame_num = 7, + .buf_index = 7, + .top_field_order_cnt = 14, + .bottom_field_order_cnt = 14, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [8] = { + .frame_num = 9, + .buf_index = 8, + .top_field_order_cnt = 18, + .bottom_field_order_cnt = 18, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [9] = { + .frame_num = 10, + .buf_index = 9, + .top_field_order_cnt = 20, + .bottom_field_order_cnt = 20, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [10] = { .frame_num = 11, + .buf_index = 10, .top_field_order_cnt = 22, .bottom_field_order_cnt = 22, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [11] = { + .frame_num = 13, + .buf_index = 11, + .top_field_order_cnt = 26, + .bottom_field_order_cnt = 26, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, }, }, @@ -3275,16 +3670,26 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 14, 0, 0, 0, 0, 0, 0, 0, 96, 167, 43, 184, 227, 127, 0, 0, 2, 0, 0, 4, 14, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 0, 28, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 4, 13, 0, 0, 0, 8, 0, 0, 0, }, - { 26, 0, 0, 0, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 12, 0, 0, 0, 8, 0, 0, 0, 24, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 0, 4, }, + { 14, 0, 0, 0, 0, 0, 0, 0, 136, 11, 15, 95, 59, 127, 0, 0, 12, 0, 0, 4, 14, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 0, 28, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 0, 4, 13, 0, 0, 0, 8, 0, 0, 0, }, + { 26, 0, 0, 0, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 4, 12, 0, 0, 0, 8, 0, 0, 0, 24, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 4, }, { 11, 0, 0, 0, 8, 0, 0, 0, 22, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 53017, + .header_bit_size = 30, + .first_mb_in_slice = 0, + .slice_type = 2, + .cabac_init_idc = 0, + .slice_qp_delta = -2, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -3429,47 +3834,109 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 53017, - .header_bit_size = 30, - .first_mb_in_slice = 0, - .slice_type = 2, - .cabac_init_idc = 0, - .slice_qp_delta = -2, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 0, - .num_ref_idx_l1_active_minus1 = 0, - }, }, }, { .index = 15, + .output_buffer = 13, .frame.h264 = { .decode_param = { .top_field_order_cnt = 30, .bottom_field_order_cnt = 30, .dpb = { - { - .frame_num = 14, - .top_field_order_cnt = 28, - .bottom_field_order_cnt = 28, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [0] = { + .frame_num = 8, + .buf_index = 0, + .top_field_order_cnt = 16, + .bottom_field_order_cnt = 16, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { + [1] = { + .frame_num = 12, + .buf_index = 1, + .top_field_order_cnt = 24, + .bottom_field_order_cnt = 24, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [2] = { + .frame_num = 2, + .buf_index = 2, + .top_field_order_cnt = 4, + .bottom_field_order_cnt = 4, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [3] = { + .frame_num = 3, + .buf_index = 3, + .top_field_order_cnt = 6, + .bottom_field_order_cnt = 6, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [4] = { + .frame_num = 4, + .buf_index = 4, + .top_field_order_cnt = 8, + .bottom_field_order_cnt = 8, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [5] = { + .frame_num = 5, + .buf_index = 5, + .top_field_order_cnt = 10, + .bottom_field_order_cnt = 10, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [6] = { + .frame_num = 6, + .buf_index = 6, + .top_field_order_cnt = 12, + .bottom_field_order_cnt = 12, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [7] = { + .frame_num = 7, + .buf_index = 7, + .top_field_order_cnt = 14, + .bottom_field_order_cnt = 14, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [8] = { + .frame_num = 9, + .buf_index = 8, + .top_field_order_cnt = 18, + .bottom_field_order_cnt = 18, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [9] = { + .frame_num = 10, + .buf_index = 9, + .top_field_order_cnt = 20, + .bottom_field_order_cnt = 20, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [10] = { + .frame_num = 11, + .buf_index = 10, + .top_field_order_cnt = 22, + .bottom_field_order_cnt = 22, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [11] = { .frame_num = 13, + .buf_index = 11, .top_field_order_cnt = 26, .bottom_field_order_cnt = 26, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, - { - .frame_num = 12, - .top_field_order_cnt = 24, - .bottom_field_order_cnt = 24, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [12] = { + .frame_num = 14, + .buf_index = 12, + .top_field_order_cnt = 28, + .bottom_field_order_cnt = 28, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, }, }, @@ -3504,16 +3971,28 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 15, 0, 0, 0, 0, 0, 0, 0, 136, 91, 85, 65, 227, 127, 0, 0, 12, 0, 0, 4, 15, 0, 0, 0, 0, 0, 0, 0, 30, 0, 0, 0, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 4, 14, 0, 0, 0, 8, 0, 0, 0, }, - { 28, 0, 0, 0, 28, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 4, 13, 0, 0, 0, 8, 0, 0, 0, 26, 0, 0, 0, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, }, + { 15, 0, 0, 0, 0, 0, 0, 0, 136, 75, 15, 97, 59, 127, 0, 0, 13, 0, 0, 4, 15, 0, 0, 0, 0, 0, 0, 0, 30, 0, 0, 0, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 4, 14, 0, 0, 0, 8, 0, 0, 0, }, + { 28, 0, 0, 0, 28, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 0, 4, 13, 0, 0, 0, 8, 0, 0, 0, 26, 0, 0, 0, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 4, }, { 12, 0, 0, 0, 8, 0, 0, 0, 24, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 3802, + .header_bit_size = 28, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 1, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 12, 11, 1, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -3658,48 +4137,116 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 3802, - .header_bit_size = 28, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 1, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 16, + .output_buffer = 14, .frame.h264 = { .decode_param = { .top_field_order_cnt = 32, .bottom_field_order_cnt = 32, .dpb = { - { - .frame_num = 15, - .top_field_order_cnt = 30, - .bottom_field_order_cnt = 30, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [0] = { + .frame_num = 8, + .buf_index = 0, + .top_field_order_cnt = 16, + .bottom_field_order_cnt = 16, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { - .frame_num = 14, - .top_field_order_cnt = 28, - .bottom_field_order_cnt = 28, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [1] = { + .frame_num = 12, + .buf_index = 1, + .top_field_order_cnt = 24, + .bottom_field_order_cnt = 24, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { + [2] = { + .frame_num = 2, + .buf_index = 2, + .top_field_order_cnt = 4, + .bottom_field_order_cnt = 4, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [3] = { + .frame_num = 3, + .buf_index = 3, + .top_field_order_cnt = 6, + .bottom_field_order_cnt = 6, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [4] = { + .frame_num = 4, + .buf_index = 4, + .top_field_order_cnt = 8, + .bottom_field_order_cnt = 8, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [5] = { + .frame_num = 5, + .buf_index = 5, + .top_field_order_cnt = 10, + .bottom_field_order_cnt = 10, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [6] = { + .frame_num = 6, + .buf_index = 6, + .top_field_order_cnt = 12, + .bottom_field_order_cnt = 12, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [7] = { + .frame_num = 7, + .buf_index = 7, + .top_field_order_cnt = 14, + .bottom_field_order_cnt = 14, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [8] = { + .frame_num = 9, + .buf_index = 8, + .top_field_order_cnt = 18, + .bottom_field_order_cnt = 18, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [9] = { + .frame_num = 10, + .buf_index = 9, + .top_field_order_cnt = 20, + .bottom_field_order_cnt = 20, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [10] = { + .frame_num = 11, + .buf_index = 10, + .top_field_order_cnt = 22, + .bottom_field_order_cnt = 22, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [11] = { .frame_num = 13, + .buf_index = 11, .top_field_order_cnt = 26, .bottom_field_order_cnt = 26, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [12] = { + .frame_num = 14, + .buf_index = 12, + .top_field_order_cnt = 28, + .bottom_field_order_cnt = 28, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [13] = { + .frame_num = 15, + .buf_index = 13, + .top_field_order_cnt = 30, + .bottom_field_order_cnt = 30, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, }, }, @@ -3734,16 +4281,28 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 15, 0, 0, 0, 0, 0, 0, 0, 220, 176, 254, 183, 227, 127, 0, 0, 13, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 4, 15, 0, 0, 0, 8, 0, 0, 0, }, - { 30, 0, 0, 0, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 4, 14, 0, 0, 0, 8, 0, 0, 0, 28, 0, 0, 0, 28, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 4, }, + { 15, 0, 0, 0, 0, 0, 0, 0, 96, 151, 198, 214, 59, 127, 0, 0, 14, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 4, 15, 0, 0, 0, 8, 0, 0, 0, }, + { 30, 0, 0, 0, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 4, 14, 0, 0, 0, 8, 0, 0, 0, 28, 0, 0, 0, 28, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 0, 4, }, { 13, 0, 0, 0, 8, 0, 0, 0, 26, 0, 0, 0, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 3187, + .header_bit_size = 30, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 2, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 13, 12, 11, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -3888,48 +4447,123 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 3187, - .header_bit_size = 30, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 2, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 17, + .output_buffer = 15, .frame.h264 = { .decode_param = { .top_field_order_cnt = 34, .bottom_field_order_cnt = 34, .dpb = { - { - .frame_num = 0, - .top_field_order_cnt = 32, - .bottom_field_order_cnt = 32, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [0] = { + .frame_num = 8, + .buf_index = 0, + .top_field_order_cnt = 16, + .bottom_field_order_cnt = 16, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { - .frame_num = 15, - .top_field_order_cnt = 30, - .bottom_field_order_cnt = 30, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [1] = { + .frame_num = 12, + .buf_index = 1, + .top_field_order_cnt = 24, + .bottom_field_order_cnt = 24, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { + [2] = { + .frame_num = 2, + .buf_index = 2, + .top_field_order_cnt = 4, + .bottom_field_order_cnt = 4, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [3] = { + .frame_num = 3, + .buf_index = 3, + .top_field_order_cnt = 6, + .bottom_field_order_cnt = 6, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [4] = { + .frame_num = 4, + .buf_index = 4, + .top_field_order_cnt = 8, + .bottom_field_order_cnt = 8, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [5] = { + .frame_num = 5, + .buf_index = 5, + .top_field_order_cnt = 10, + .bottom_field_order_cnt = 10, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [6] = { + .frame_num = 6, + .buf_index = 6, + .top_field_order_cnt = 12, + .bottom_field_order_cnt = 12, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [7] = { + .frame_num = 7, + .buf_index = 7, + .top_field_order_cnt = 14, + .bottom_field_order_cnt = 14, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [8] = { + .frame_num = 9, + .buf_index = 8, + .top_field_order_cnt = 18, + .bottom_field_order_cnt = 18, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [9] = { + .frame_num = 10, + .buf_index = 9, + .top_field_order_cnt = 20, + .bottom_field_order_cnt = 20, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [10] = { + .frame_num = 11, + .buf_index = 10, + .top_field_order_cnt = 22, + .bottom_field_order_cnt = 22, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [11] = { + .frame_num = 13, + .buf_index = 11, + .top_field_order_cnt = 26, + .bottom_field_order_cnt = 26, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [12] = { .frame_num = 14, + .buf_index = 12, .top_field_order_cnt = 28, .bottom_field_order_cnt = 28, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [13] = { + .frame_num = 15, + .buf_index = 13, + .top_field_order_cnt = 30, + .bottom_field_order_cnt = 30, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [14] = { + .frame_num = 0, + .buf_index = 14, + .top_field_order_cnt = 32, + .bottom_field_order_cnt = 32, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, }, }, @@ -3964,16 +4598,28 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 15, 0, 0, 0, 0, 0, 0, 0, 136, 59, 85, 64, 227, 127, 0, 0, 14, 0, 0, 4, 1, 0, 0, 0, 0, 0, 0, 0, 34, 0, 0, 0, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 4, 0, 0, 0, 0, 8, 0, 0, 0, }, - { 32, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 4, 15, 0, 0, 0, 8, 0, 0, 0, 30, 0, 0, 0, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 4, }, + { 15, 0, 0, 0, 0, 0, 0, 0, 136, 43, 15, 96, 59, 127, 0, 0, 15, 0, 0, 4, 1, 0, 0, 0, 0, 0, 0, 0, 34, 0, 0, 0, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 0, 0, 4, 0, 0, 0, 0, 8, 0, 0, 0, }, + { 32, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 4, 15, 0, 0, 0, 8, 0, 0, 0, 30, 0, 0, 0, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 4, }, { 14, 0, 0, 0, 8, 0, 0, 0, 28, 0, 0, 0, 28, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 3760, + .header_bit_size = 28, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 1, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 14, 13, 12, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -4118,48 +4764,123 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 3760, - .header_bit_size = 28, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 1, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 18, + .output_buffer = 2, .frame.h264 = { .decode_param = { .top_field_order_cnt = 36, .bottom_field_order_cnt = 36, .dpb = { - { - .frame_num = 1, - .top_field_order_cnt = 34, - .bottom_field_order_cnt = 34, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [0] = { + .frame_num = 8, + .buf_index = 0, + .top_field_order_cnt = 16, + .bottom_field_order_cnt = 16, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { - .frame_num = 0, - .top_field_order_cnt = 32, - .bottom_field_order_cnt = 32, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [1] = { + .frame_num = 12, + .buf_index = 1, + .top_field_order_cnt = 24, + .bottom_field_order_cnt = 24, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { + [3] = { + .frame_num = 3, + .buf_index = 3, + .top_field_order_cnt = 6, + .bottom_field_order_cnt = 6, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [4] = { + .frame_num = 4, + .buf_index = 4, + .top_field_order_cnt = 8, + .bottom_field_order_cnt = 8, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [5] = { + .frame_num = 5, + .buf_index = 5, + .top_field_order_cnt = 10, + .bottom_field_order_cnt = 10, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [6] = { + .frame_num = 6, + .buf_index = 6, + .top_field_order_cnt = 12, + .bottom_field_order_cnt = 12, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [7] = { + .frame_num = 7, + .buf_index = 7, + .top_field_order_cnt = 14, + .bottom_field_order_cnt = 14, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [8] = { + .frame_num = 9, + .buf_index = 8, + .top_field_order_cnt = 18, + .bottom_field_order_cnt = 18, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [9] = { + .frame_num = 10, + .buf_index = 9, + .top_field_order_cnt = 20, + .bottom_field_order_cnt = 20, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [10] = { + .frame_num = 11, + .buf_index = 10, + .top_field_order_cnt = 22, + .bottom_field_order_cnt = 22, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [11] = { + .frame_num = 13, + .buf_index = 11, + .top_field_order_cnt = 26, + .bottom_field_order_cnt = 26, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [12] = { + .frame_num = 14, + .buf_index = 12, + .top_field_order_cnt = 28, + .bottom_field_order_cnt = 28, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [13] = { .frame_num = 15, + .buf_index = 13, .top_field_order_cnt = 30, .bottom_field_order_cnt = 30, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [14] = { + .frame_num = 0, + .buf_index = 14, + .top_field_order_cnt = 32, + .bottom_field_order_cnt = 32, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [15] = { + .frame_num = 1, + .buf_index = 15, + .top_field_order_cnt = 34, + .bottom_field_order_cnt = 34, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, }, }, @@ -4194,16 +4915,28 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 15, 0, 0, 0, 0, 0, 0, 0, 96, 167, 43, 184, 227, 127, 0, 0, 3, 0, 0, 4, 2, 0, 0, 0, 0, 0, 0, 0, 36, 0, 0, 0, 36, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 0, 0, 4, 1, 0, 0, 0, 8, 0, 0, 0, }, - { 34, 0, 0, 0, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 4, 0, 0, 0, 0, 8, 0, 0, 0, 32, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 4, }, + { 15, 0, 0, 0, 0, 0, 0, 0, 96, 151, 198, 214, 59, 127, 0, 0, 2, 0, 0, 4, 2, 0, 0, 0, 0, 0, 0, 0, 36, 0, 0, 0, 36, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 4, 1, 0, 0, 0, 8, 0, 0, 0, }, + { 34, 0, 0, 0, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 0, 0, 4, 0, 0, 0, 0, 8, 0, 0, 0, 32, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 4, }, { 15, 0, 0, 0, 8, 0, 0, 0, 30, 0, 0, 0, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 7605, + .header_bit_size = 28, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 1, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 15, 14, 13, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -4348,48 +5081,123 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 7605, - .header_bit_size = 28, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 1, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 19, + .output_buffer = 3, .frame.h264 = { .decode_param = { .top_field_order_cnt = 38, .bottom_field_order_cnt = 38, .dpb = { - { + [0] = { + .frame_num = 8, + .buf_index = 0, + .top_field_order_cnt = 16, + .bottom_field_order_cnt = 16, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [1] = { + .frame_num = 12, + .buf_index = 1, + .top_field_order_cnt = 24, + .bottom_field_order_cnt = 24, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [2] = { .frame_num = 2, + .buf_index = 2, .top_field_order_cnt = 36, .bottom_field_order_cnt = 36, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, - { - .frame_num = 1, - .top_field_order_cnt = 34, - .bottom_field_order_cnt = 34, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [4] = { + .frame_num = 4, + .buf_index = 4, + .top_field_order_cnt = 8, + .bottom_field_order_cnt = 8, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { + [5] = { + .frame_num = 5, + .buf_index = 5, + .top_field_order_cnt = 10, + .bottom_field_order_cnt = 10, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [6] = { + .frame_num = 6, + .buf_index = 6, + .top_field_order_cnt = 12, + .bottom_field_order_cnt = 12, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [7] = { + .frame_num = 7, + .buf_index = 7, + .top_field_order_cnt = 14, + .bottom_field_order_cnt = 14, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [8] = { + .frame_num = 9, + .buf_index = 8, + .top_field_order_cnt = 18, + .bottom_field_order_cnt = 18, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [9] = { + .frame_num = 10, + .buf_index = 9, + .top_field_order_cnt = 20, + .bottom_field_order_cnt = 20, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [10] = { + .frame_num = 11, + .buf_index = 10, + .top_field_order_cnt = 22, + .bottom_field_order_cnt = 22, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [11] = { + .frame_num = 13, + .buf_index = 11, + .top_field_order_cnt = 26, + .bottom_field_order_cnt = 26, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [12] = { + .frame_num = 14, + .buf_index = 12, + .top_field_order_cnt = 28, + .bottom_field_order_cnt = 28, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [13] = { + .frame_num = 15, + .buf_index = 13, + .top_field_order_cnt = 30, + .bottom_field_order_cnt = 30, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [14] = { .frame_num = 0, + .buf_index = 14, .top_field_order_cnt = 32, .bottom_field_order_cnt = 32, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [15] = { + .frame_num = 1, + .buf_index = 15, + .top_field_order_cnt = 34, + .bottom_field_order_cnt = 34, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, }, }, @@ -4424,16 +5232,28 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 15, 0, 0, 0, 0, 0, 0, 0, 96, 167, 43, 184, 227, 127, 0, 0, 4, 0, 0, 4, 3, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 4, 2, 0, 0, 0, 8, 0, 0, 0, }, - { 36, 0, 0, 0, 36, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 0, 0, 4, 1, 0, 0, 0, 8, 0, 0, 0, 34, 0, 0, 0, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 4, }, + { 15, 0, 0, 0, 0, 0, 0, 0, 136, 11, 15, 95, 59, 127, 0, 0, 3, 0, 0, 4, 3, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 4, 2, 0, 0, 0, 8, 0, 0, 0, }, + { 36, 0, 0, 0, 36, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 4, 1, 0, 0, 0, 8, 0, 0, 0, 34, 0, 0, 0, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 0, 0, 4, }, { 0, 0, 0, 0, 8, 0, 0, 0, 32, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 9194, + .header_bit_size = 28, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 1, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 2, 15, 14, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -4578,48 +5398,123 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 9194, - .header_bit_size = 28, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 1, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 20, + .output_buffer = 4, .frame.h264 = { .decode_param = { .top_field_order_cnt = 40, .bottom_field_order_cnt = 40, .dpb = { - { - .frame_num = 3, - .top_field_order_cnt = 38, - .bottom_field_order_cnt = 38, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [0] = { + .frame_num = 8, + .buf_index = 0, + .top_field_order_cnt = 16, + .bottom_field_order_cnt = 16, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { + [1] = { + .frame_num = 12, + .buf_index = 1, + .top_field_order_cnt = 24, + .bottom_field_order_cnt = 24, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [2] = { .frame_num = 2, + .buf_index = 2, .top_field_order_cnt = 36, .bottom_field_order_cnt = 36, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, - { + [3] = { + .frame_num = 3, + .buf_index = 3, + .top_field_order_cnt = 38, + .bottom_field_order_cnt = 38, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [5] = { + .frame_num = 5, + .buf_index = 5, + .top_field_order_cnt = 10, + .bottom_field_order_cnt = 10, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [6] = { + .frame_num = 6, + .buf_index = 6, + .top_field_order_cnt = 12, + .bottom_field_order_cnt = 12, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [7] = { + .frame_num = 7, + .buf_index = 7, + .top_field_order_cnt = 14, + .bottom_field_order_cnt = 14, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [8] = { + .frame_num = 9, + .buf_index = 8, + .top_field_order_cnt = 18, + .bottom_field_order_cnt = 18, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [9] = { + .frame_num = 10, + .buf_index = 9, + .top_field_order_cnt = 20, + .bottom_field_order_cnt = 20, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [10] = { + .frame_num = 11, + .buf_index = 10, + .top_field_order_cnt = 22, + .bottom_field_order_cnt = 22, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [11] = { + .frame_num = 13, + .buf_index = 11, + .top_field_order_cnt = 26, + .bottom_field_order_cnt = 26, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [12] = { + .frame_num = 14, + .buf_index = 12, + .top_field_order_cnt = 28, + .bottom_field_order_cnt = 28, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [13] = { + .frame_num = 15, + .buf_index = 13, + .top_field_order_cnt = 30, + .bottom_field_order_cnt = 30, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [14] = { + .frame_num = 0, + .buf_index = 14, + .top_field_order_cnt = 32, + .bottom_field_order_cnt = 32, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [15] = { .frame_num = 1, + .buf_index = 15, .top_field_order_cnt = 34, .bottom_field_order_cnt = 34, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, }, }, @@ -4654,16 +5549,28 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 15, 0, 0, 0, 0, 0, 0, 0, 136, 91, 85, 65, 227, 127, 0, 0, 5, 0, 0, 4, 4, 0, 0, 0, 0, 0, 0, 0, 40, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 4, 3, 0, 0, 0, 8, 0, 0, 0, }, - { 38, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 4, 2, 0, 0, 0, 8, 0, 0, 0, 36, 0, 0, 0, 36, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 0, 0, 4, }, + { 15, 0, 0, 0, 0, 0, 0, 0, 136, 75, 15, 97, 59, 127, 0, 0, 4, 0, 0, 4, 4, 0, 0, 0, 0, 0, 0, 0, 40, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 4, 3, 0, 0, 0, 8, 0, 0, 0, }, + { 38, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 4, 2, 0, 0, 0, 8, 0, 0, 0, 36, 0, 0, 0, 36, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 4, }, { 1, 0, 0, 0, 8, 0, 0, 0, 34, 0, 0, 0, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 10690, + .header_bit_size = 28, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 1, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 3, 2, 15, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -4808,48 +5715,123 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 10690, - .header_bit_size = 28, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 1, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 21, + .output_buffer = 5, .frame.h264 = { .decode_param = { .top_field_order_cnt = 42, .bottom_field_order_cnt = 42, .dpb = { - { - .frame_num = 4, - .top_field_order_cnt = 40, - .bottom_field_order_cnt = 40, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [0] = { + .frame_num = 8, + .buf_index = 0, + .top_field_order_cnt = 16, + .bottom_field_order_cnt = 16, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { - .frame_num = 3, - .top_field_order_cnt = 38, - .bottom_field_order_cnt = 38, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [1] = { + .frame_num = 12, + .buf_index = 1, + .top_field_order_cnt = 24, + .bottom_field_order_cnt = 24, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { + [2] = { .frame_num = 2, + .buf_index = 2, .top_field_order_cnt = 36, .bottom_field_order_cnt = 36, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [3] = { + .frame_num = 3, + .buf_index = 3, + .top_field_order_cnt = 38, + .bottom_field_order_cnt = 38, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [4] = { + .frame_num = 4, + .buf_index = 4, + .top_field_order_cnt = 40, + .bottom_field_order_cnt = 40, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [6] = { + .frame_num = 6, + .buf_index = 6, + .top_field_order_cnt = 12, + .bottom_field_order_cnt = 12, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [7] = { + .frame_num = 7, + .buf_index = 7, + .top_field_order_cnt = 14, + .bottom_field_order_cnt = 14, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [8] = { + .frame_num = 9, + .buf_index = 8, + .top_field_order_cnt = 18, + .bottom_field_order_cnt = 18, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [9] = { + .frame_num = 10, + .buf_index = 9, + .top_field_order_cnt = 20, + .bottom_field_order_cnt = 20, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [10] = { + .frame_num = 11, + .buf_index = 10, + .top_field_order_cnt = 22, + .bottom_field_order_cnt = 22, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [11] = { + .frame_num = 13, + .buf_index = 11, + .top_field_order_cnt = 26, + .bottom_field_order_cnt = 26, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [12] = { + .frame_num = 14, + .buf_index = 12, + .top_field_order_cnt = 28, + .bottom_field_order_cnt = 28, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [13] = { + .frame_num = 15, + .buf_index = 13, + .top_field_order_cnt = 30, + .bottom_field_order_cnt = 30, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [14] = { + .frame_num = 0, + .buf_index = 14, + .top_field_order_cnt = 32, + .bottom_field_order_cnt = 32, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [15] = { + .frame_num = 1, + .buf_index = 15, + .top_field_order_cnt = 34, + .bottom_field_order_cnt = 34, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, }, }, @@ -4884,16 +5866,28 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 15, 0, 0, 0, 0, 0, 0, 0, 96, 167, 43, 184, 227, 127, 0, 0, 6, 0, 0, 4, 5, 0, 0, 0, 0, 0, 0, 0, 42, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 4, 4, 0, 0, 0, 8, 0, 0, 0, }, - { 40, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 4, 3, 0, 0, 0, 8, 0, 0, 0, 38, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 4, }, + { 15, 0, 0, 0, 0, 0, 0, 0, 136, 59, 143, 96, 59, 127, 0, 0, 5, 0, 0, 4, 5, 0, 0, 0, 0, 0, 0, 0, 42, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 4, 4, 0, 0, 0, 8, 0, 0, 0, }, + { 40, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 4, 3, 0, 0, 0, 8, 0, 0, 0, 38, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 4, }, { 2, 0, 0, 0, 8, 0, 0, 0, 36, 0, 0, 0, 36, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 8287, + .header_bit_size = 30, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 2, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 4, 3, 2, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -5038,48 +6032,123 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 8287, - .header_bit_size = 30, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 2, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 22, + .output_buffer = 6, .frame.h264 = { .decode_param = { .top_field_order_cnt = 44, .bottom_field_order_cnt = 44, .dpb = { - { - .frame_num = 5, - .top_field_order_cnt = 42, - .bottom_field_order_cnt = 42, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [0] = { + .frame_num = 8, + .buf_index = 0, + .top_field_order_cnt = 16, + .bottom_field_order_cnt = 16, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { - .frame_num = 4, - .top_field_order_cnt = 40, - .bottom_field_order_cnt = 40, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [1] = { + .frame_num = 12, + .buf_index = 1, + .top_field_order_cnt = 24, + .bottom_field_order_cnt = 24, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { + [2] = { + .frame_num = 2, + .buf_index = 2, + .top_field_order_cnt = 36, + .bottom_field_order_cnt = 36, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [3] = { .frame_num = 3, + .buf_index = 3, .top_field_order_cnt = 38, .bottom_field_order_cnt = 38, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [4] = { + .frame_num = 4, + .buf_index = 4, + .top_field_order_cnt = 40, + .bottom_field_order_cnt = 40, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [5] = { + .frame_num = 5, + .buf_index = 5, + .top_field_order_cnt = 42, + .bottom_field_order_cnt = 42, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [7] = { + .frame_num = 7, + .buf_index = 7, + .top_field_order_cnt = 14, + .bottom_field_order_cnt = 14, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [8] = { + .frame_num = 9, + .buf_index = 8, + .top_field_order_cnt = 18, + .bottom_field_order_cnt = 18, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [9] = { + .frame_num = 10, + .buf_index = 9, + .top_field_order_cnt = 20, + .bottom_field_order_cnt = 20, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [10] = { + .frame_num = 11, + .buf_index = 10, + .top_field_order_cnt = 22, + .bottom_field_order_cnt = 22, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [11] = { + .frame_num = 13, + .buf_index = 11, + .top_field_order_cnt = 26, + .bottom_field_order_cnt = 26, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [12] = { + .frame_num = 14, + .buf_index = 12, + .top_field_order_cnt = 28, + .bottom_field_order_cnt = 28, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [13] = { + .frame_num = 15, + .buf_index = 13, + .top_field_order_cnt = 30, + .bottom_field_order_cnt = 30, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [14] = { + .frame_num = 0, + .buf_index = 14, + .top_field_order_cnt = 32, + .bottom_field_order_cnt = 32, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [15] = { + .frame_num = 1, + .buf_index = 15, + .top_field_order_cnt = 34, + .bottom_field_order_cnt = 34, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, }, }, @@ -5114,16 +6183,28 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 15, 0, 0, 0, 0, 0, 0, 0, 96, 167, 43, 184, 227, 127, 0, 0, 7, 0, 0, 4, 6, 0, 0, 0, 0, 0, 0, 0, 44, 0, 0, 0, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 4, 5, 0, 0, 0, 8, 0, 0, 0, }, - { 42, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 4, 4, 0, 0, 0, 8, 0, 0, 0, 40, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 4, }, + { 15, 0, 0, 0, 0, 0, 0, 0, 136, 43, 15, 96, 59, 127, 0, 0, 6, 0, 0, 4, 6, 0, 0, 0, 0, 0, 0, 0, 44, 0, 0, 0, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 4, 5, 0, 0, 0, 8, 0, 0, 0, }, + { 42, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 4, 4, 0, 0, 0, 8, 0, 0, 0, 40, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 4, }, { 3, 0, 0, 0, 8, 0, 0, 0, 38, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 5160, + .header_bit_size = 30, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 2, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 5, 4, 3, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -5268,48 +6349,123 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 5160, - .header_bit_size = 30, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 2, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 23, + .output_buffer = 7, .frame.h264 = { .decode_param = { .top_field_order_cnt = 46, .bottom_field_order_cnt = 46, .dpb = { - { - .frame_num = 6, - .top_field_order_cnt = 44, - .bottom_field_order_cnt = 44, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [0] = { + .frame_num = 8, + .buf_index = 0, + .top_field_order_cnt = 16, + .bottom_field_order_cnt = 16, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { - .frame_num = 5, - .top_field_order_cnt = 42, - .bottom_field_order_cnt = 42, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [1] = { + .frame_num = 12, + .buf_index = 1, + .top_field_order_cnt = 24, + .bottom_field_order_cnt = 24, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { + [2] = { + .frame_num = 2, + .buf_index = 2, + .top_field_order_cnt = 36, + .bottom_field_order_cnt = 36, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [3] = { + .frame_num = 3, + .buf_index = 3, + .top_field_order_cnt = 38, + .bottom_field_order_cnt = 38, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [4] = { .frame_num = 4, + .buf_index = 4, .top_field_order_cnt = 40, .bottom_field_order_cnt = 40, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [5] = { + .frame_num = 5, + .buf_index = 5, + .top_field_order_cnt = 42, + .bottom_field_order_cnt = 42, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [6] = { + .frame_num = 6, + .buf_index = 6, + .top_field_order_cnt = 44, + .bottom_field_order_cnt = 44, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [8] = { + .frame_num = 9, + .buf_index = 8, + .top_field_order_cnt = 18, + .bottom_field_order_cnt = 18, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [9] = { + .frame_num = 10, + .buf_index = 9, + .top_field_order_cnt = 20, + .bottom_field_order_cnt = 20, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [10] = { + .frame_num = 11, + .buf_index = 10, + .top_field_order_cnt = 22, + .bottom_field_order_cnt = 22, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [11] = { + .frame_num = 13, + .buf_index = 11, + .top_field_order_cnt = 26, + .bottom_field_order_cnt = 26, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [12] = { + .frame_num = 14, + .buf_index = 12, + .top_field_order_cnt = 28, + .bottom_field_order_cnt = 28, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [13] = { + .frame_num = 15, + .buf_index = 13, + .top_field_order_cnt = 30, + .bottom_field_order_cnt = 30, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [14] = { + .frame_num = 0, + .buf_index = 14, + .top_field_order_cnt = 32, + .bottom_field_order_cnt = 32, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [15] = { + .frame_num = 1, + .buf_index = 15, + .top_field_order_cnt = 34, + .bottom_field_order_cnt = 34, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, }, }, @@ -5344,16 +6500,28 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 15, 0, 0, 0, 0, 0, 0, 0, 136, 43, 213, 63, 227, 127, 0, 0, 8, 0, 0, 4, 7, 0, 0, 0, 0, 0, 0, 0, 46, 0, 0, 0, 46, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 4, 6, 0, 0, 0, 8, 0, 0, 0, }, - { 44, 0, 0, 0, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 4, 5, 0, 0, 0, 8, 0, 0, 0, 42, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 4, }, + { 15, 0, 0, 0, 0, 0, 0, 0, 136, 27, 143, 95, 59, 127, 0, 0, 7, 0, 0, 4, 7, 0, 0, 0, 0, 0, 0, 0, 46, 0, 0, 0, 46, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 4, 6, 0, 0, 0, 8, 0, 0, 0, }, + { 44, 0, 0, 0, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 4, 5, 0, 0, 0, 8, 0, 0, 0, 42, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 4, }, { 4, 0, 0, 0, 8, 0, 0, 0, 40, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 5681, + .header_bit_size = 30, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 2, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 6, 5, 4, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -5498,48 +6666,123 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 5681, - .header_bit_size = 30, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 2, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 24, + .output_buffer = 0, .frame.h264 = { .decode_param = { .top_field_order_cnt = 48, .bottom_field_order_cnt = 48, .dpb = { - { - .frame_num = 7, - .top_field_order_cnt = 46, - .bottom_field_order_cnt = 46, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [1] = { + .frame_num = 12, + .buf_index = 1, + .top_field_order_cnt = 24, + .bottom_field_order_cnt = 24, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { - .frame_num = 6, - .top_field_order_cnt = 44, - .bottom_field_order_cnt = 44, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [2] = { + .frame_num = 2, + .buf_index = 2, + .top_field_order_cnt = 36, + .bottom_field_order_cnt = 36, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { + [3] = { + .frame_num = 3, + .buf_index = 3, + .top_field_order_cnt = 38, + .bottom_field_order_cnt = 38, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [4] = { + .frame_num = 4, + .buf_index = 4, + .top_field_order_cnt = 40, + .bottom_field_order_cnt = 40, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [5] = { .frame_num = 5, + .buf_index = 5, .top_field_order_cnt = 42, .bottom_field_order_cnt = 42, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [6] = { + .frame_num = 6, + .buf_index = 6, + .top_field_order_cnt = 44, + .bottom_field_order_cnt = 44, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [7] = { + .frame_num = 7, + .buf_index = 7, + .top_field_order_cnt = 46, + .bottom_field_order_cnt = 46, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [8] = { + .frame_num = 9, + .buf_index = 8, + .top_field_order_cnt = 18, + .bottom_field_order_cnt = 18, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [9] = { + .frame_num = 10, + .buf_index = 9, + .top_field_order_cnt = 20, + .bottom_field_order_cnt = 20, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [10] = { + .frame_num = 11, + .buf_index = 10, + .top_field_order_cnt = 22, + .bottom_field_order_cnt = 22, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [11] = { + .frame_num = 13, + .buf_index = 11, + .top_field_order_cnt = 26, + .bottom_field_order_cnt = 26, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [12] = { + .frame_num = 14, + .buf_index = 12, + .top_field_order_cnt = 28, + .bottom_field_order_cnt = 28, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [13] = { + .frame_num = 15, + .buf_index = 13, + .top_field_order_cnt = 30, + .bottom_field_order_cnt = 30, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [14] = { + .frame_num = 0, + .buf_index = 14, + .top_field_order_cnt = 32, + .bottom_field_order_cnt = 32, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [15] = { + .frame_num = 1, + .buf_index = 15, + .top_field_order_cnt = 34, + .bottom_field_order_cnt = 34, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, }, }, @@ -5574,16 +6817,28 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 15, 0, 0, 0, 0, 0, 0, 0, 136, 27, 85, 63, 227, 127, 0, 0, 15, 0, 0, 4, 8, 0, 0, 0, 0, 0, 0, 0, 48, 0, 0, 0, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 4, 7, 0, 0, 0, 8, 0, 0, 0, }, - { 46, 0, 0, 0, 46, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 4, 6, 0, 0, 0, 8, 0, 0, 0, 44, 0, 0, 0, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 4, }, + { 15, 0, 0, 0, 0, 0, 0, 0, 96, 151, 198, 214, 59, 127, 0, 0, 16, 0, 0, 4, 8, 0, 0, 0, 0, 0, 0, 0, 48, 0, 0, 0, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 4, 7, 0, 0, 0, 8, 0, 0, 0, }, + { 46, 0, 0, 0, 46, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 4, 6, 0, 0, 0, 8, 0, 0, 0, 44, 0, 0, 0, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 4, }, { 5, 0, 0, 0, 8, 0, 0, 0, 42, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 3740, + .header_bit_size = 30, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 3, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 7, 6, 5, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -5728,48 +6983,123 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 3740, - .header_bit_size = 30, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 3, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 25, + .output_buffer = 8, .frame.h264 = { .decode_param = { .top_field_order_cnt = 50, .bottom_field_order_cnt = 50, .dpb = { - { + [0] = { .frame_num = 8, + .buf_index = 0, .top_field_order_cnt = 48, .bottom_field_order_cnt = 48, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, - { - .frame_num = 7, - .top_field_order_cnt = 46, - .bottom_field_order_cnt = 46, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [1] = { + .frame_num = 12, + .buf_index = 1, + .top_field_order_cnt = 24, + .bottom_field_order_cnt = 24, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { + [2] = { + .frame_num = 2, + .buf_index = 2, + .top_field_order_cnt = 36, + .bottom_field_order_cnt = 36, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [3] = { + .frame_num = 3, + .buf_index = 3, + .top_field_order_cnt = 38, + .bottom_field_order_cnt = 38, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [4] = { + .frame_num = 4, + .buf_index = 4, + .top_field_order_cnt = 40, + .bottom_field_order_cnt = 40, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [5] = { + .frame_num = 5, + .buf_index = 5, + .top_field_order_cnt = 42, + .bottom_field_order_cnt = 42, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [6] = { .frame_num = 6, + .buf_index = 6, .top_field_order_cnt = 44, .bottom_field_order_cnt = 44, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [7] = { + .frame_num = 7, + .buf_index = 7, + .top_field_order_cnt = 46, + .bottom_field_order_cnt = 46, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [9] = { + .frame_num = 10, + .buf_index = 9, + .top_field_order_cnt = 20, + .bottom_field_order_cnt = 20, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [10] = { + .frame_num = 11, + .buf_index = 10, + .top_field_order_cnt = 22, + .bottom_field_order_cnt = 22, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [11] = { + .frame_num = 13, + .buf_index = 11, + .top_field_order_cnt = 26, + .bottom_field_order_cnt = 26, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [12] = { + .frame_num = 14, + .buf_index = 12, + .top_field_order_cnt = 28, + .bottom_field_order_cnt = 28, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [13] = { + .frame_num = 15, + .buf_index = 13, + .top_field_order_cnt = 30, + .bottom_field_order_cnt = 30, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [14] = { + .frame_num = 0, + .buf_index = 14, + .top_field_order_cnt = 32, + .bottom_field_order_cnt = 32, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [15] = { + .frame_num = 1, + .buf_index = 15, + .top_field_order_cnt = 34, + .bottom_field_order_cnt = 34, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, }, }, @@ -5804,16 +7134,28 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 15, 0, 0, 0, 0, 0, 0, 0, 136, 91, 85, 65, 227, 127, 0, 0, 0, 0, 0, 4, 9, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 4, 8, 0, 0, 0, 8, 0, 0, 0, }, - { 48, 0, 0, 0, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 4, 7, 0, 0, 0, 8, 0, 0, 0, 46, 0, 0, 0, 46, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 4, }, + { 15, 0, 0, 0, 0, 0, 0, 0, 96, 151, 198, 214, 59, 127, 0, 0, 0, 0, 0, 4, 9, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 4, 8, 0, 0, 0, 8, 0, 0, 0, }, + { 48, 0, 0, 0, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 4, 7, 0, 0, 0, 8, 0, 0, 0, 46, 0, 0, 0, 46, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 4, }, { 6, 0, 0, 0, 8, 0, 0, 0, 44, 0, 0, 0, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 3387, + .header_bit_size = 30, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 3, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 0, 7, 6, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -5958,48 +7300,123 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 3387, - .header_bit_size = 30, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 3, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 26, + .output_buffer = 1, .frame.h264 = { .decode_param = { .top_field_order_cnt = 52, .bottom_field_order_cnt = 52, .dpb = { - { - .frame_num = 9, - .top_field_order_cnt = 50, - .bottom_field_order_cnt = 50, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, - }, - { + [0] = { .frame_num = 8, + .buf_index = 0, .top_field_order_cnt = 48, .bottom_field_order_cnt = 48, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, - { + [2] = { + .frame_num = 2, + .buf_index = 2, + .top_field_order_cnt = 36, + .bottom_field_order_cnt = 36, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [3] = { + .frame_num = 3, + .buf_index = 3, + .top_field_order_cnt = 38, + .bottom_field_order_cnt = 38, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [4] = { + .frame_num = 4, + .buf_index = 4, + .top_field_order_cnt = 40, + .bottom_field_order_cnt = 40, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [5] = { + .frame_num = 5, + .buf_index = 5, + .top_field_order_cnt = 42, + .bottom_field_order_cnt = 42, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [6] = { + .frame_num = 6, + .buf_index = 6, + .top_field_order_cnt = 44, + .bottom_field_order_cnt = 44, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [7] = { .frame_num = 7, + .buf_index = 7, .top_field_order_cnt = 46, .bottom_field_order_cnt = 46, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [8] = { + .frame_num = 9, + .buf_index = 8, + .top_field_order_cnt = 50, + .bottom_field_order_cnt = 50, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [9] = { + .frame_num = 10, + .buf_index = 9, + .top_field_order_cnt = 20, + .bottom_field_order_cnt = 20, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [10] = { + .frame_num = 11, + .buf_index = 10, + .top_field_order_cnt = 22, + .bottom_field_order_cnt = 22, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [11] = { + .frame_num = 13, + .buf_index = 11, + .top_field_order_cnt = 26, + .bottom_field_order_cnt = 26, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [12] = { + .frame_num = 14, + .buf_index = 12, + .top_field_order_cnt = 28, + .bottom_field_order_cnt = 28, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [13] = { + .frame_num = 15, + .buf_index = 13, + .top_field_order_cnt = 30, + .bottom_field_order_cnt = 30, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [14] = { + .frame_num = 0, + .buf_index = 14, + .top_field_order_cnt = 32, + .bottom_field_order_cnt = 32, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [15] = { + .frame_num = 1, + .buf_index = 15, + .top_field_order_cnt = 34, + .bottom_field_order_cnt = 34, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, }, }, @@ -6034,16 +7451,28 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 15, 0, 0, 0, 0, 0, 0, 0, 136, 75, 213, 64, 227, 127, 0, 0, 1, 0, 0, 4, 10, 0, 0, 0, 0, 0, 0, 0, 52, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 9, 0, 0, 0, 8, 0, 0, 0, }, - { 50, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 4, 8, 0, 0, 0, 8, 0, 0, 0, 48, 0, 0, 0, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 4, }, + { 15, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 1, 0, 0, 4, 10, 0, 0, 0, 0, 0, 0, 0, 52, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 9, 0, 0, 0, 8, 0, 0, 0, }, + { 50, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 4, 8, 0, 0, 0, 8, 0, 0, 0, 48, 0, 0, 0, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 4, }, { 7, 0, 0, 0, 8, 0, 0, 0, 46, 0, 0, 0, 46, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 3353, + .header_bit_size = 30, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 3, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 8, 0, 7, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -6188,48 +7617,123 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 3353, - .header_bit_size = 30, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 3, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 27, + .output_buffer = 9, .frame.h264 = { .decode_param = { .top_field_order_cnt = 54, .bottom_field_order_cnt = 54, .dpb = { - { + [0] = { + .frame_num = 8, + .buf_index = 0, + .top_field_order_cnt = 48, + .bottom_field_order_cnt = 48, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [1] = { .frame_num = 10, + .buf_index = 1, .top_field_order_cnt = 52, .bottom_field_order_cnt = 52, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, - { + [2] = { + .frame_num = 2, + .buf_index = 2, + .top_field_order_cnt = 36, + .bottom_field_order_cnt = 36, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [3] = { + .frame_num = 3, + .buf_index = 3, + .top_field_order_cnt = 38, + .bottom_field_order_cnt = 38, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [4] = { + .frame_num = 4, + .buf_index = 4, + .top_field_order_cnt = 40, + .bottom_field_order_cnt = 40, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [5] = { + .frame_num = 5, + .buf_index = 5, + .top_field_order_cnt = 42, + .bottom_field_order_cnt = 42, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [6] = { + .frame_num = 6, + .buf_index = 6, + .top_field_order_cnt = 44, + .bottom_field_order_cnt = 44, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [7] = { + .frame_num = 7, + .buf_index = 7, + .top_field_order_cnt = 46, + .bottom_field_order_cnt = 46, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [8] = { .frame_num = 9, + .buf_index = 8, .top_field_order_cnt = 50, .bottom_field_order_cnt = 50, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, - { - .frame_num = 8, - .top_field_order_cnt = 48, - .bottom_field_order_cnt = 48, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [10] = { + .frame_num = 11, + .buf_index = 10, + .top_field_order_cnt = 22, + .bottom_field_order_cnt = 22, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [11] = { + .frame_num = 13, + .buf_index = 11, + .top_field_order_cnt = 26, + .bottom_field_order_cnt = 26, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [12] = { + .frame_num = 14, + .buf_index = 12, + .top_field_order_cnt = 28, + .bottom_field_order_cnt = 28, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [13] = { + .frame_num = 15, + .buf_index = 13, + .top_field_order_cnt = 30, + .bottom_field_order_cnt = 30, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [14] = { + .frame_num = 0, + .buf_index = 14, + .top_field_order_cnt = 32, + .bottom_field_order_cnt = 32, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [15] = { + .frame_num = 1, + .buf_index = 15, + .top_field_order_cnt = 34, + .bottom_field_order_cnt = 34, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, }, }, @@ -6264,16 +7768,28 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 15, 0, 0, 0, 0, 0, 0, 0, 96, 167, 43, 184, 227, 127, 0, 0, 2, 0, 0, 4, 11, 0, 0, 0, 0, 0, 0, 0, 54, 0, 0, 0, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 4, 10, 0, 0, 0, 8, 0, 0, 0, }, - { 52, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 9, 0, 0, 0, 8, 0, 0, 0, 50, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 4, }, + { 15, 0, 0, 0, 0, 0, 0, 0, 136, 43, 15, 96, 59, 127, 0, 0, 8, 0, 0, 4, 11, 0, 0, 0, 0, 0, 0, 0, 54, 0, 0, 0, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 4, 10, 0, 0, 0, 8, 0, 0, 0, }, + { 52, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 9, 0, 0, 0, 8, 0, 0, 0, 50, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 4, }, { 8, 0, 0, 0, 8, 0, 0, 0, 48, 0, 0, 0, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 3053, + .header_bit_size = 32, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 4, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 1, 8, 0, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -6418,48 +7934,123 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 3053, - .header_bit_size = 32, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 4, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 28, + .output_buffer = 10, .frame.h264 = { .decode_param = { .top_field_order_cnt = 56, .bottom_field_order_cnt = 56, .dpb = { - { - .frame_num = 11, - .top_field_order_cnt = 54, - .bottom_field_order_cnt = 54, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [0] = { + .frame_num = 8, + .buf_index = 0, + .top_field_order_cnt = 48, + .bottom_field_order_cnt = 48, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { + [1] = { .frame_num = 10, + .buf_index = 1, .top_field_order_cnt = 52, .bottom_field_order_cnt = 52, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, - { + [2] = { + .frame_num = 2, + .buf_index = 2, + .top_field_order_cnt = 36, + .bottom_field_order_cnt = 36, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [3] = { + .frame_num = 3, + .buf_index = 3, + .top_field_order_cnt = 38, + .bottom_field_order_cnt = 38, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [4] = { + .frame_num = 4, + .buf_index = 4, + .top_field_order_cnt = 40, + .bottom_field_order_cnt = 40, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [5] = { + .frame_num = 5, + .buf_index = 5, + .top_field_order_cnt = 42, + .bottom_field_order_cnt = 42, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [6] = { + .frame_num = 6, + .buf_index = 6, + .top_field_order_cnt = 44, + .bottom_field_order_cnt = 44, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [7] = { + .frame_num = 7, + .buf_index = 7, + .top_field_order_cnt = 46, + .bottom_field_order_cnt = 46, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [8] = { .frame_num = 9, + .buf_index = 8, .top_field_order_cnt = 50, .bottom_field_order_cnt = 50, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [9] = { + .frame_num = 11, + .buf_index = 9, + .top_field_order_cnt = 54, + .bottom_field_order_cnt = 54, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [11] = { + .frame_num = 13, + .buf_index = 11, + .top_field_order_cnt = 26, + .bottom_field_order_cnt = 26, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [12] = { + .frame_num = 14, + .buf_index = 12, + .top_field_order_cnt = 28, + .bottom_field_order_cnt = 28, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [13] = { + .frame_num = 15, + .buf_index = 13, + .top_field_order_cnt = 30, + .bottom_field_order_cnt = 30, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [14] = { + .frame_num = 0, + .buf_index = 14, + .top_field_order_cnt = 32, + .bottom_field_order_cnt = 32, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [15] = { + .frame_num = 1, + .buf_index = 15, + .top_field_order_cnt = 34, + .bottom_field_order_cnt = 34, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, }, }, @@ -6494,16 +8085,28 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 15, 0, 0, 0, 0, 0, 0, 0, 136, 43, 213, 63, 227, 127, 0, 0, 9, 0, 0, 4, 12, 0, 0, 0, 0, 0, 0, 0, 56, 0, 0, 0, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 4, 11, 0, 0, 0, 8, 0, 0, 0, }, + { 15, 0, 0, 0, 0, 0, 0, 0, 96, 151, 198, 214, 59, 127, 0, 0, 9, 0, 0, 4, 12, 0, 0, 0, 0, 0, 0, 0, 56, 0, 0, 0, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 4, 11, 0, 0, 0, 8, 0, 0, 0, }, { 54, 0, 0, 0, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 4, 10, 0, 0, 0, 8, 0, 0, 0, 52, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, }, { 9, 0, 0, 0, 8, 0, 0, 0, 50, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 3769, + .header_bit_size = 32, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 5, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 9, 1, 8, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -6648,48 +8251,123 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 3769, - .header_bit_size = 32, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 5, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 29, + .output_buffer = 11, .frame.h264 = { .decode_param = { .top_field_order_cnt = 58, .bottom_field_order_cnt = 58, .dpb = { - { - .frame_num = 12, - .top_field_order_cnt = 56, - .bottom_field_order_cnt = 56, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [0] = { + .frame_num = 8, + .buf_index = 0, + .top_field_order_cnt = 48, + .bottom_field_order_cnt = 48, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { + [1] = { + .frame_num = 10, + .buf_index = 1, + .top_field_order_cnt = 52, + .bottom_field_order_cnt = 52, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [2] = { + .frame_num = 2, + .buf_index = 2, + .top_field_order_cnt = 36, + .bottom_field_order_cnt = 36, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [3] = { + .frame_num = 3, + .buf_index = 3, + .top_field_order_cnt = 38, + .bottom_field_order_cnt = 38, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [4] = { + .frame_num = 4, + .buf_index = 4, + .top_field_order_cnt = 40, + .bottom_field_order_cnt = 40, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [5] = { + .frame_num = 5, + .buf_index = 5, + .top_field_order_cnt = 42, + .bottom_field_order_cnt = 42, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [6] = { + .frame_num = 6, + .buf_index = 6, + .top_field_order_cnt = 44, + .bottom_field_order_cnt = 44, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [7] = { + .frame_num = 7, + .buf_index = 7, + .top_field_order_cnt = 46, + .bottom_field_order_cnt = 46, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [8] = { + .frame_num = 9, + .buf_index = 8, + .top_field_order_cnt = 50, + .bottom_field_order_cnt = 50, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [9] = { .frame_num = 11, + .buf_index = 9, .top_field_order_cnt = 54, .bottom_field_order_cnt = 54, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, }, - { - .frame_num = 10, - .top_field_order_cnt = 52, - .bottom_field_order_cnt = 52, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [10] = { + .frame_num = 12, + .buf_index = 10, + .top_field_order_cnt = 56, + .bottom_field_order_cnt = 56, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [12] = { + .frame_num = 14, + .buf_index = 12, + .top_field_order_cnt = 28, + .bottom_field_order_cnt = 28, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [13] = { + .frame_num = 15, + .buf_index = 13, + .top_field_order_cnt = 30, + .bottom_field_order_cnt = 30, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [14] = { + .frame_num = 0, + .buf_index = 14, + .top_field_order_cnt = 32, + .bottom_field_order_cnt = 32, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [15] = { + .frame_num = 1, + .buf_index = 15, + .top_field_order_cnt = 34, + .bottom_field_order_cnt = 34, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, }, }, @@ -6724,16 +8402,28 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 15, 0, 0, 0, 0, 0, 0, 0, 96, 167, 43, 184, 227, 127, 0, 0, 10, 0, 0, 4, 13, 0, 0, 0, 0, 0, 0, 0, 58, 0, 0, 0, 58, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 4, 12, 0, 0, 0, 8, 0, 0, 0, }, - { 56, 0, 0, 0, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 4, 11, 0, 0, 0, 8, 0, 0, 0, 54, 0, 0, 0, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 4, }, + { 15, 0, 0, 0, 0, 0, 0, 0, 136, 11, 15, 95, 59, 127, 0, 0, 10, 0, 0, 4, 13, 0, 0, 0, 0, 0, 0, 0, 58, 0, 0, 0, 58, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 4, 12, 0, 0, 0, 8, 0, 0, 0, }, + { 56, 0, 0, 0, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 4, 11, 0, 0, 0, 8, 0, 0, 0, 54, 0, 0, 0, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 4, }, { 10, 0, 0, 0, 8, 0, 0, 0, 52, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 3984, + .header_bit_size = 32, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 5, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 10, 9, 1, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -6878,48 +8568,123 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 3984, - .header_bit_size = 32, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 5, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 30, + .output_buffer = 12, .frame.h264 = { .decode_param = { .top_field_order_cnt = 60, .bottom_field_order_cnt = 60, .dpb = { - { - .frame_num = 13, - .top_field_order_cnt = 58, - .bottom_field_order_cnt = 58, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [0] = { + .frame_num = 8, + .buf_index = 0, + .top_field_order_cnt = 48, + .bottom_field_order_cnt = 48, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { - .frame_num = 12, - .top_field_order_cnt = 56, - .bottom_field_order_cnt = 56, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [1] = { + .frame_num = 10, + .buf_index = 1, + .top_field_order_cnt = 52, + .bottom_field_order_cnt = 52, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { + [2] = { + .frame_num = 2, + .buf_index = 2, + .top_field_order_cnt = 36, + .bottom_field_order_cnt = 36, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [3] = { + .frame_num = 3, + .buf_index = 3, + .top_field_order_cnt = 38, + .bottom_field_order_cnt = 38, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [4] = { + .frame_num = 4, + .buf_index = 4, + .top_field_order_cnt = 40, + .bottom_field_order_cnt = 40, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [5] = { + .frame_num = 5, + .buf_index = 5, + .top_field_order_cnt = 42, + .bottom_field_order_cnt = 42, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [6] = { + .frame_num = 6, + .buf_index = 6, + .top_field_order_cnt = 44, + .bottom_field_order_cnt = 44, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [7] = { + .frame_num = 7, + .buf_index = 7, + .top_field_order_cnt = 46, + .bottom_field_order_cnt = 46, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [8] = { + .frame_num = 9, + .buf_index = 8, + .top_field_order_cnt = 50, + .bottom_field_order_cnt = 50, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [9] = { .frame_num = 11, + .buf_index = 9, .top_field_order_cnt = 54, .bottom_field_order_cnt = 54, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [10] = { + .frame_num = 12, + .buf_index = 10, + .top_field_order_cnt = 56, + .bottom_field_order_cnt = 56, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [11] = { + .frame_num = 13, + .buf_index = 11, + .top_field_order_cnt = 58, + .bottom_field_order_cnt = 58, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [13] = { + .frame_num = 15, + .buf_index = 13, + .top_field_order_cnt = 30, + .bottom_field_order_cnt = 30, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [14] = { + .frame_num = 0, + .buf_index = 14, + .top_field_order_cnt = 32, + .bottom_field_order_cnt = 32, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [15] = { + .frame_num = 1, + .buf_index = 15, + .top_field_order_cnt = 34, + .bottom_field_order_cnt = 34, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, }, }, @@ -6954,16 +8719,28 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 15, 0, 0, 0, 0, 0, 0, 0, 136, 91, 85, 65, 227, 127, 0, 0, 11, 0, 0, 4, 14, 0, 0, 0, 0, 0, 0, 0, 60, 0, 0, 0, 60, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 4, 13, 0, 0, 0, 8, 0, 0, 0, }, - { 58, 0, 0, 0, 58, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 4, 12, 0, 0, 0, 8, 0, 0, 0, 56, 0, 0, 0, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 4, }, + { 15, 0, 0, 0, 0, 0, 0, 0, 96, 151, 198, 214, 59, 127, 0, 0, 11, 0, 0, 4, 14, 0, 0, 0, 0, 0, 0, 0, 60, 0, 0, 0, 60, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 4, 13, 0, 0, 0, 8, 0, 0, 0, }, + { 58, 0, 0, 0, 58, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 4, 12, 0, 0, 0, 8, 0, 0, 0, 56, 0, 0, 0, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 4, }, { 11, 0, 0, 0, 8, 0, 0, 0, 54, 0, 0, 0, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 2726, + .header_bit_size = 32, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 7, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 11, 10, 9, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -7108,48 +8885,123 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 2726, - .header_bit_size = 32, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 7, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, { .index = 31, + .output_buffer = 2, .frame.h264 = { .decode_param = { .top_field_order_cnt = 62, .bottom_field_order_cnt = 62, .dpb = { - { - .frame_num = 14, - .top_field_order_cnt = 60, - .bottom_field_order_cnt = 60, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [0] = { + .frame_num = 8, + .buf_index = 0, + .top_field_order_cnt = 48, + .bottom_field_order_cnt = 48, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { - .frame_num = 13, - .top_field_order_cnt = 58, - .bottom_field_order_cnt = 58, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + [1] = { + .frame_num = 10, + .buf_index = 1, + .top_field_order_cnt = 52, + .bottom_field_order_cnt = 52, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, - { + [3] = { + .frame_num = 3, + .buf_index = 3, + .top_field_order_cnt = 38, + .bottom_field_order_cnt = 38, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [4] = { + .frame_num = 4, + .buf_index = 4, + .top_field_order_cnt = 40, + .bottom_field_order_cnt = 40, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [5] = { + .frame_num = 5, + .buf_index = 5, + .top_field_order_cnt = 42, + .bottom_field_order_cnt = 42, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [6] = { + .frame_num = 6, + .buf_index = 6, + .top_field_order_cnt = 44, + .bottom_field_order_cnt = 44, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [7] = { + .frame_num = 7, + .buf_index = 7, + .top_field_order_cnt = 46, + .bottom_field_order_cnt = 46, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [8] = { + .frame_num = 9, + .buf_index = 8, + .top_field_order_cnt = 50, + .bottom_field_order_cnt = 50, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [9] = { + .frame_num = 11, + .buf_index = 9, + .top_field_order_cnt = 54, + .bottom_field_order_cnt = 54, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [10] = { .frame_num = 12, + .buf_index = 10, .top_field_order_cnt = 56, .bottom_field_order_cnt = 56, - .flags = 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [11] = { + .frame_num = 13, + .buf_index = 11, + .top_field_order_cnt = 58, + .bottom_field_order_cnt = 58, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [12] = { + .frame_num = 14, + .buf_index = 12, + .top_field_order_cnt = 60, + .bottom_field_order_cnt = 60, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | V4L2_H264_DPB_ENTRY_FLAG_ACTIVE, + }, + [13] = { + .frame_num = 15, + .buf_index = 13, + .top_field_order_cnt = 30, + .bottom_field_order_cnt = 30, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [14] = { + .frame_num = 0, + .buf_index = 14, + .top_field_order_cnt = 32, + .bottom_field_order_cnt = 32, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, + }, + [15] = { + .frame_num = 1, + .buf_index = 15, + .top_field_order_cnt = 34, + .bottom_field_order_cnt = 34, + .flags = V4L2_H264_DPB_ENTRY_FLAG_VALID | 0 | 0, }, }, }, @@ -7184,16 +9036,28 @@ .scaling_list_8x8 = { { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, { 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, }, - { 15, 0, 0, 0, 0, 0, 0, 0, 136, 75, 213, 64, 227, 127, 0, 0, 3, 0, 0, 4, 15, 0, 0, 0, 0, 0, 0, 0, 62, 0, 0, 0, 62, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 0, 4, 14, 0, 0, 0, 8, 0, 0, 0, }, + { 15, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 2, 0, 0, 4, 15, 0, 0, 0, 0, 0, 0, 0, 62, 0, 0, 0, 62, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 0, 4, 14, 0, 0, 0, 8, 0, 0, 0, }, { 60, 0, 0, 0, 60, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 4, 13, 0, 0, 0, 8, 0, 0, 0, 58, 0, 0, 0, 58, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 4, }, { 12, 0, 0, 0, 8, 0, 0, 0, 56, 0, 0, 0, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, { 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, }, - .pred_weight = { - .chroma_log2_weight_denom = 0, - .luma_log2_weight_denom = 0, - .weight_factors = { + .slice_param = { + .size = 2850, + .header_bit_size = 34, + .first_mb_in_slice = 0, + .slice_type = 0, + .cabac_init_idc = 0, + .slice_qp_delta = 9, + .disable_deblocking_filter_idc = 0, + .slice_alpha_c0_offset_div2 = 0, + .slice_beta_offset_div2 = 0, + .num_ref_idx_l0_active_minus1 = 2, + .ref_pic_list0 = { 12, 11, 10, }, + .pred_weight_table = { + .chroma_log2_weight_denom = 0, + .luma_log2_weight_denom = 0, + .weight_factors = { { .luma_weight = { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, .luma_offset = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, @@ -7338,21 +9202,8 @@ { 0, 0, }, }, }, + }, }, }, - .slice_param = { - .size = 2850, - .header_bit_size = 34, - .first_mb_in_slice = 0, - .slice_type = 0, - .cabac_init_idc = 0, - .slice_qp_delta = 9, - .disable_deblocking_filter_idc = 0, - .slice_alpha_c0_offset_div2 = 0, - .slice_beta_offset_div2 = 0, - .num_ref_idx_l0_active_minus1 = 2, - .num_ref_idx_l1_active_minus1 = 0, - .ref_pic_list0 = { 0, 1, 2, }, - }, }, }, |