Home
last modified time | relevance | path

Searched refs:nal_ref_idc (Results 1 – 19 of 19) sorted by relevance

/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/parser/
Dh264parse.c216 h264_Status h264_Parse_NAL_Unit(void *parent, h264_Info* pInfo, uint8_t *nal_ref_idc) in h264_Parse_NAL_Unit() argument
227 SliceHeader->nal_ref_idc = (uint8_t)code; in h264_Parse_NAL_Unit()
239 *nal_ref_idc = (uint8_t)((code>>5)&0x3); in h264_Parse_NAL_Unit()
276 pInfo->SliceHeader.nal_ref_idc = 0xFF; in h264_init_old_slice()
441 … ((old_slice.nal_ref_idc ==0 && cur_slice.nal_ref_idc == 0) || // Condition 2: in h264_is_second_field()
442 (old_slice.nal_ref_idc !=0 &&cur_slice.nal_ref_idc != 0))) in h264_is_second_field()
488 result |= (old_slice.nal_ref_idc != cur_slice.nal_ref_idc) && \ in h264_is_new_picture_start()
489 ((old_slice.nal_ref_idc == 0) || (cur_slice.nal_ref_idc == 0)); in h264_is_new_picture_start()
576 pInfo->old_slice.nal_ref_idc = pInfo->SliceHeader.nal_ref_idc; in h264_update_old_slice()
Dviddec_h264_parse.c51 uint8_t nal_ref_idc = 0; in viddec_h264_parse() local
59 h264_Parse_NAL_Unit(parent, pInfo, &nal_ref_idc); in viddec_h264_parse()
101 next_SliceHeader.nal_ref_idc = nal_ref_idc; in viddec_h264_parse()
Dh264parse_dpb.c1469 …sed_for_reference = (use_old) ? !(pInfo->old_slice.nal_ref_idc==0) : !(pInfo->SliceHeader.nal_ref_… in h264_dpb_store_previous_picture_in_dpb()
3807 …img.frame_num == pInfo->sei_information.recovery_frame_num)&&(pInfo->SliceHeader.nal_ref_idc != 0)) in h264_dpb_init_frame_store()
3951 if(pInfo->SliceHeader.nal_ref_idc) in h264_hdr_decoding_poc()
4000 if ((pInfo->SliceHeader.nal_ref_idc == 0) && (AbsFrameNum > 0)) AbsFrameNum = AbsFrameNum - 1; in h264_hdr_decoding_poc()
4035 if (pInfo->SliceHeader.nal_ref_idc == 0) in h264_hdr_decoding_poc()
4091 if (pInfo->SliceHeader.nal_ref_idc == 0) pInfo->img.ThisPOC = (AbsFrameNum<<1) - 1; in h264_hdr_decoding_poc()
4138 int32_t disposable_flag = (use_old)?(pInfo->old_slice.nal_ref_idc == 0) : in h264_hdr_post_poc()
4139 (pInfo->SliceHeader.nal_ref_idc == 0); in h264_hdr_post_poc()
Dviddec_h264_workload.c188 attrs->h264.used_for_reference |= (pInfo->SliceHeader.nal_ref_idc == 0)? 0: 1; 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()
Dh264parse_sh.c260 if(SliceHeader->nal_ref_idc != 0) in h264_Parse_Slice_Header_3()
/hardware/qcom/media/mm-video-legacy/vidc/common/src/
Dextra_data_handler.cpp129 OMX_U32 nal_unit_type, nal_ref_idc, forbidden_zero_bit; in parse_rbsp() local
148 nal_ref_idc = (buf[i] & 0x60) >>5; in parse_rbsp()
149 DEBUG_PRINT_LOW("\nIn %s() nal_ref_idc ; %d", __func__, nal_ref_idc); in parse_rbsp()
/hardware/qcom/media/mm-video-v4l2/vidc/common/src/
Dextra_data_handler.cpp138 OMX_U32 nal_unit_type, nal_ref_idc, forbidden_zero_bit; in parse_rbsp() local
161 nal_ref_idc = (buf[i] & 0x60) >>5; in parse_rbsp()
162 DEBUG_PRINT_LOW("In %s() nal_ref_idc ; %u", __func__, (unsigned int)nal_ref_idc); in parse_rbsp()
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/
Dh264_utils.cpp167 m_prv_nalu.nal_ref_idc = 0; in allocate_rbsp_buffer()
216 m_prv_nalu.nal_ref_idc = 0; in initialize_frame_checking_environment()
311 nal_unit->nal_ref_idc = (buffer[pos] & 0x60) >> 5; in extract_rbsp()
416 …( (m_prv_nalu.nal_ref_idc != nal_unit.nal_ref_idc) && ( nal_unit.nal_ref_idc * m_prv_nalu.nal_ref_… in isNewFrame()
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
Dh264_utils.cpp158 m_prv_nalu.nal_ref_idc = 0; in allocate_rbsp_buffer()
206 m_prv_nalu.nal_ref_idc = 0; in initialize_frame_checking_environment()
293 nal_unit->nal_ref_idc = (buffer[pos] & 0x60) >> 5; in extract_rbsp()
389 …( (m_prv_nalu.nal_ref_idc != nal_unit.nal_ref_idc) && ( nal_unit.nal_ref_idc * m_prv_nalu.nal_ref_… in isNewFrame()
/hardware/intel/common/libmix/videoencoder/
Dbitstream.h144 static void nal_header(bitstream *bs, int nal_ref_idc, int nal_unit_type) in nal_header() argument
147 bitstream_put_ui(bs, nal_ref_idc, 2); in nal_header()
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/include/
Dh264parse.h90 extern h264_Status h264_Parse_NAL_Unit(void *parent, h264_Info* pInfo, uint8_t *nal_ref_idc);
Dh264.h670 uint8_t nal_ref_idc; member
725 uint8_t nal_ref_idc; member
/hardware/intel/common/libva/test/encode/
Davcenc.c873 static void nal_header(bitstream *bs, int nal_ref_idc, int nal_unit_type) in nal_header() argument
876 bitstream_put_ui(bs, nal_ref_idc, 2); in nal_header()
1143 slice_header(bitstream *bs, int frame_num, int display_frame, int slice_type, int nal_ref_idc, int …
1189 if (nal_ref_idc != 0) {
Dh264encode.c291 static void nal_header(bitstream *bs, int nal_ref_idc, int nal_unit_type) in nal_header() argument
294 bitstream_put_ui(bs, nal_ref_idc, 2); in nal_header()
/hardware/intel/common/libva/test/transcode/
Dmpeg2transcode.cpp2580 static void nal_header(bitstream *bs, int nal_ref_idc, int nal_unit_type) in nal_header() argument
2583 bitstream_put_ui(bs, nal_ref_idc, 2); in nal_header()
2736 slice_header(bitstream *bs, int frame_num, int display_frame, int slice_type, int nal_ref_idc, int …
2782 if (nal_ref_idc != 0) {
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/
Dh264_utils.h149 uint32 nal_ref_idc; member
/hardware/qcom/media/mm-video-legacy/vidc/vdec/inc/
Dh264_utils.h144 uint32 nal_ref_idc; member
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
Dvbp_h264_parser.c877 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()
/hardware/intel/common/libva/va/
Dva.h2491 unsigned char nal_ref_idc; member