Home
last modified time | relevance | path

Searched refs:SliceHeader (Results 1 – 10 of 10) sorted by relevance

/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/parser/
Dh264parse_sh.c14 …4_Status h264_Parse_Slice_Header_1(void *parent,h264_Info* pInfo, h264_Slice_Header_t *SliceHeader) in h264_Parse_Slice_Header_1() argument
24 SliceHeader->first_mb_in_slice = h264_GetVLCElement(parent, pInfo, false); in h264_Parse_Slice_Header_1()
28 SliceHeader->slice_type = (slice_type%5); in h264_Parse_Slice_Header_1()
30 if(SliceHeader->slice_type > h264_PtypeI) { in h264_Parse_Slice_Header_1()
42 SliceHeader->pic_parameter_id = (uint8_t)data; in h264_Parse_Slice_Header_1()
57 …_Status h264_Parse_Slice_Header_2(void *parent, h264_Info* pInfo, h264_Slice_Header_t *SliceHeader) in h264_Parse_Slice_Header_2() argument
70 SliceHeader->frame_num = (int32_t)code; in h264_Parse_Slice_Header_2()
73 SliceHeader->structure = FRAME; in h264_Parse_Slice_Header_2()
74 SliceHeader->field_pic_flag = 0; in h264_Parse_Slice_Header_2()
75 SliceHeader->bottom_field_flag = 0; in h264_Parse_Slice_Header_2()
[all …]
Dh264parse.c70 h264_Status h264_active_par_set(h264_Info*pInfo,h264_Slice_Header_t* SliceHeader) in h264_active_par_set() argument
79 …if((SliceHeader->first_mb_in_slice == 0) || (SliceHeader->pic_parameter_id != pInfo->active_PPS.pi… in h264_active_par_set()
82 h264_Parse_Copy_Pps_From_DDR(pInfo, &pInfo->active_PPS, SliceHeader->pic_parameter_id); in h264_active_par_set()
106 pInfo->active_PPS = PPS_GL[SliceHeader->pic_parameter_id]; in h264_active_par_set()
140 …e_Layer_Without_Partitioning_RBSP(void *parent, h264_Info* pInfo, h264_Slice_Header_t *SliceHeader) in h264_Parse_Slice_Layer_Without_Partitioning_RBSP() argument
152 SliceHeader->sh_error = 0; in h264_Parse_Slice_Layer_Without_Partitioning_RBSP()
154 if(h264_Parse_Slice_Header_1(parent, pInfo, SliceHeader) == H264_STATUS_OK) in h264_Parse_Slice_Layer_Without_Partitioning_RBSP()
159 retStatus = h264_active_par_set(pInfo, SliceHeader); in h264_Parse_Slice_Layer_Without_Partitioning_RBSP()
176 if( h264_Parse_Slice_Header_2(parent, pInfo, SliceHeader) != H264_STATUS_OK) in h264_Parse_Slice_Layer_Without_Partitioning_RBSP()
178 SliceHeader->sh_error |= 2; in h264_Parse_Slice_Layer_Without_Partitioning_RBSP()
[all …]
Dh264parse_dpb.c448 if (pInfo->SliceHeader.structure == FRAME) in h264_dpb_update_ref_lists()
465 if(pInfo->SliceHeader.slice_type == h264_PtypeP) in h264_dpb_update_ref_lists()
474 if(pInfo->SliceHeader.slice_type == h264_PtypeP) in h264_dpb_update_ref_lists()
491 if(pInfo->SliceHeader.slice_type == h264_PtypeP) in h264_dpb_update_ref_lists()
500 if(pInfo->SliceHeader.slice_type == h264_PtypeP) in h264_dpb_update_ref_lists()
511 if (pInfo->SliceHeader.structure == TOP_FIELD) in h264_dpb_update_ref_lists()
528 if(active_fs->frame_num > pInfo->SliceHeader.frame_num) { in h264_dpb_update_ref_lists()
542 if(pInfo->SliceHeader.slice_type == h264_PtypeP) { in h264_dpb_update_ref_lists()
550 if(pInfo->SliceHeader.slice_type == h264_PtypeP) in h264_dpb_update_ref_lists()
579 if(pInfo->SliceHeader.slice_type == h264_PtypeP) in h264_dpb_update_ref_lists()
[all …]
Dviddec_h264_workload.c188 attrs->h264.used_for_reference |= (pInfo->SliceHeader.nal_ref_idc == 0)? 0: 1; in h264_parse_update_frame_attributes()
203 attrs->h264.field_pic_flag |= pInfo->SliceHeader.field_pic_flag; in h264_parse_update_frame_attributes()
217 data = PUT_BSD_PP1_IMG_DISPOSABLE_FLAG_BIT( (pInfo->SliceHeader.nal_ref_idc == 0) ) + in h264_fill_slice_data()
218 PUT_BSD_PP1_SLICE_TYPE_BITS(pInfo->SliceHeader.slice_type) + in h264_fill_slice_data()
221 PUT_BSD_PP1_NUM_REF_IDX_L0_BITS(pInfo->SliceHeader.num_ref_idx_l0_active) + in h264_fill_slice_data()
222 PUT_BSD_PP1_NUM_REF_IDX_L1_BITS(pInfo->SliceHeader.num_ref_idx_l1_active); in h264_fill_slice_data()
227 data = PUT_BSD_PP2_CABAC_INIT_IDC_BITS(pInfo->SliceHeader.cabac_init_idc) + in h264_fill_slice_data()
228 …PUT_BSD_PP2_QP_BITS( (pInfo->SliceHeader.slice_qp_delta + pInfo->active_PPS.pic_init_qp_minus26+26… in h264_fill_slice_data()
229 PUT_BSD_PP2_DISABLE_DBF_IDC_BITS(pInfo->SliceHeader.disable_deblocking_filter_idc) + in h264_fill_slice_data()
230 PUT_BSD_PP2_ALPHA_C0_OFFSET_DIV2_BITS(pInfo->SliceHeader.slice_alpha_c0_offset_div2) + in h264_fill_slice_data()
[all …]
Dmix_vbp_h264_stubs.c90 if( (h264_PtypeB==pInfo->SliceHeader.slice_type)||(h264_PtypeP==pInfo->SliceHeader.slice_type) )
92 if(pInfo->SliceHeader.sh_refpic_l0.ref_pic_list_reordering_flag)
94 nitems = pInfo->SliceHeader.num_ref_idx_l0_active;
141 if( (h264_PtypeB==pInfo->SliceHeader.slice_type)||(h264_PtypeP==pInfo->SliceHeader.slice_type) ) in h264_parse_emit_current_slice()
143 if(pInfo->SliceHeader.sh_refpic_l0.ref_pic_list_reordering_flag) in h264_parse_emit_current_slice()
145 nitems = pInfo->SliceHeader.num_ref_idx_l0_active; in h264_parse_emit_current_slice()
Dviddec_h264_parse.c162 if(h264_is_new_picture_start(pInfo, next_SliceHeader, pInfo->SliceHeader)) in viddec_h264_parse()
205 dump_new_picture_attr(pInfo, pInfo->SliceHeader.frame_num); in viddec_h264_parse()
217 if(pInfo->SliceHeader.first_mb_in_slice != 0) in viddec_h264_parse()
220 pInfo->SliceHeader.sh_error |= (pInfo->SliceHeader.structure << 17); in viddec_h264_parse()
Dh264parse_sei.c592 h264_Parse_Dec_Ref_Pic_Marking(parent, pInfo, &pInfo->SliceHeader); in h264_sei_dec_ref_pic_marking_rep()
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/include/
Dh264parse.h93 …_Layer_Without_Partitioning_RBSP(void *parent, h264_Info* pInfo, h264_Slice_Header_t *SliceHeader);
94 …Status h264_Parse_Slice_Header_1(void *parent, h264_Info* pInfo, h264_Slice_Header_t *SliceHeader);
95 …Status h264_Parse_Slice_Header_2(void *parent, h264_Info* pInfo, h264_Slice_Header_t *SliceHeader);
96 …Status h264_Parse_Slice_Header_3(void *parent, h264_Info* pInfo, h264_Slice_Header_t *SliceHeader);
110 …h264_Parse_Ref_Pic_List_Reordering(void *parent,h264_Info* pInfo,h264_Slice_Header_t *SliceHeader);
111 …tatus h264_Parse_Pred_Weight_Table(void *parent,h264_Info* pInfo,h264_Slice_Header_t *SliceHeader);
112 …tus h264_Parse_Dec_Ref_Pic_Marking(void *parent,h264_Info* pInfo,h264_Slice_Header_t *SliceHeader);
Dh264.h966 h264_Slice_Header_t SliceHeader; member
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
Dvbp_h264_parser.c288 h264_Slice_Header_t* slice_header = &(h264_parser->info.SliceHeader); in vbp_set_slice_ref_list_h264()
368 h264_Slice_Header_t* slice_header = &(h264_parser->info.SliceHeader); in vbp_set_pre_weight_table_h264()
824 if (0 == parser->info.SliceHeader.first_mb_in_slice) in vbp_add_pic_data_h264()
846 if (parser->info.SliceHeader.first_mb_in_slice == 0) in vbp_add_pic_data_h264()
874 pic_parms->CurrPic.frame_idx = parser->info.SliceHeader.frame_num; in vbp_add_pic_data_h264()
877 if (parser->info.SliceHeader.nal_ref_idc != 0) in vbp_add_pic_data_h264()
928 pic_parms->pic_fields.bits.reference_pic_flag = parser->info.SliceHeader.nal_ref_idc != 0; in vbp_add_pic_data_h264()
931 pic_parms->pic_fields.bits.field_pic_flag = parser->info.SliceHeader.field_pic_flag; in vbp_add_pic_data_h264()
934 pic_parms->frame_num = parser->info.SliceHeader.frame_num; in vbp_add_pic_data_h264()
1180 slice_header = &(h264_parser->info.SliceHeader); in vbp_add_slice_data_h264()
[all …]