Lines Matching refs:p_bitctx
156 BitReadCtx_t *p_bitctx = &p_Cur->bitctx; in parser_nalu_header() local
159 mpp_set_bitread_ctx(p_bitctx, cur_nal->sodb_buf, cur_nal->sodb_len); in parser_nalu_header()
160 mpp_set_bitread_pseudo_code_type(p_bitctx, PSEUDO_CODE_H264_H265); in parser_nalu_header()
162 READ_BITS(p_bitctx, 1, &cur_nal->forbidden_bit); in parser_nalu_header()
167 READ_BITS(p_bitctx, 2, ptmp); //!< nal_ref_idc in parser_nalu_header()
169 READ_BITS(p_bitctx, 5, ptmp); //!< nalu_type in parser_nalu_header()
175 READ_ONEBIT(p_bitctx, &currSlice->svc_extension_flag); in parser_nalu_header()
179 READ_ONEBIT(p_bitctx, &currSlice->svcExt.idr_flag); in parser_nalu_header()
180 READ_BITS(p_bitctx, 6, &currSlice->svcExt.priority_id); in parser_nalu_header()
181 READ_ONEBIT(p_bitctx, &currSlice->svcExt.no_inter_layer_pred_flag); in parser_nalu_header()
182 READ_BITS(p_bitctx, 3, &currSlice->svcExt.dependency_id); in parser_nalu_header()
183 READ_BITS(p_bitctx, 4, &currSlice->svcExt.quality_id); in parser_nalu_header()
184 READ_BITS(p_bitctx, 3, &currSlice->svcExt.temporal_id); in parser_nalu_header()
185 READ_ONEBIT(p_bitctx, &currSlice->svcExt.use_ref_base_pic_flag); in parser_nalu_header()
186 READ_ONEBIT(p_bitctx, &currSlice->svcExt.discardable_flag); in parser_nalu_header()
187 READ_ONEBIT(p_bitctx, &currSlice->svcExt.output_flag); in parser_nalu_header()
196 READ_ONEBIT(p_bitctx, &currSlice->mvcExt.non_idr_flag); in parser_nalu_header()
197 READ_BITS(p_bitctx, 6, &currSlice->mvcExt.priority_id); in parser_nalu_header()
198 READ_BITS(p_bitctx, 10, &currSlice->mvcExt.view_id); in parser_nalu_header()
199 READ_BITS(p_bitctx, 3, &currSlice->mvcExt.temporal_id); in parser_nalu_header()
200 READ_ONEBIT(p_bitctx, &currSlice->mvcExt.anchor_pic_flag); in parser_nalu_header()
201 READ_ONEBIT(p_bitctx, &currSlice->mvcExt.inter_view_flag); in parser_nalu_header()
202 READ_ONEBIT(p_bitctx, &currSlice->mvcExt.reserved_one_bit); in parser_nalu_header()
213 mpp_set_bitread_ctx(p_bitctx, in parser_nalu_header()
216 mpp_set_bitread_pseudo_code_type(p_bitctx, PSEUDO_CODE_H264_H265); in parser_nalu_header()
222 return ret = p_bitctx->ret; in parser_nalu_header()
478 BitReadCtx_t *p_bitctx = &p_Cur->bitctx; in judge_is_new_frame() local
479 memset(p_bitctx, 0, sizeof(BitReadCtx_t)); in judge_is_new_frame()
483 mpp_set_bitread_ctx(p_bitctx, p_strm->nalu_buf, 4); in judge_is_new_frame()
484 mpp_set_bitread_pseudo_code_type(p_bitctx, PSEUDO_CODE_H264_H265); in judge_is_new_frame()
486 READ_BITS(p_bitctx, 1, &forbidden_bit); in judge_is_new_frame()
488 READ_BITS(p_bitctx, 2, &nal_reference_idc); in judge_is_new_frame()
489 READ_BITS(p_bitctx, 5, &p_strm->nalu_type); in judge_is_new_frame()
519 mpp_set_bitread_ctx(p_bitctx, (p_strm->nalu_buf + nalu_header_bytes), 4); // reset in judge_is_new_frame()
520 mpp_set_bitread_pseudo_code_type(p_bitctx, PSEUDO_CODE_H264_H265); in judge_is_new_frame()
521 READ_UE(p_bitctx, &first_mb_in_slice); in judge_is_new_frame()
541 return ret = p_bitctx->ret; in judge_is_new_frame()