Lines Matching refs:ps_bitstrm
72 dec_bit_stream_t *ps_bitstrm, in ih264d_parse_buffering_period() argument
79 UWORD32 *pu4_bitstrm_ofst = &ps_bitstrm->u4_ofst; in ih264d_parse_buffering_period()
80 UWORD32 *pu4_bitstrm_buf = ps_bitstrm->pu4_buffer; in ih264d_parse_buffering_period()
102 ps_bitstrm, in ih264d_parse_buffering_period()
105 ps_bitstrm, in ih264d_parse_buffering_period()
116 ps_bitstrm, in ih264d_parse_buffering_period()
119 ps_bitstrm, in ih264d_parse_buffering_period()
148 WORD32 ih264d_parse_pic_timing(dec_bit_stream_t *ps_bitstrm, in ih264d_parse_pic_timing() argument
186 u4_start_offset = ps_bitstrm->u4_ofst; in ih264d_parse_pic_timing()
189 ih264d_get_bits_h264(ps_bitstrm, u1_cpb_removal_delay_length); in ih264d_parse_pic_timing()
190 ih264d_get_bits_h264(ps_bitstrm, u1_dpb_output_delay_length); in ih264d_parse_pic_timing()
196 ps_sei->u1_pic_struct = ih264d_get_bits_h264(ps_bitstrm, 4); in ih264d_parse_pic_timing()
200 u4_bits_consumed = ps_bitstrm->u4_ofst - u4_start_offset; in ih264d_parse_pic_timing()
205 ih264d_flush_bits_h264(ps_bitstrm, in ih264d_parse_pic_timing()
232 WORD32 ih264d_parse_recovery_point(dec_bit_stream_t *ps_bitstrm, in ih264d_parse_recovery_point() argument
238 UWORD32 *pu4_bitstrm_ofst = &ps_bitstrm->u4_ofst; in ih264d_parse_recovery_point()
239 UWORD32 *pu4_bitstrm_buf = ps_bitstrm->pu4_buffer; in ih264d_parse_recovery_point()
245 ps_sei->u1_exact_match_flag = ih264d_get_bit_h264(ps_bitstrm); in ih264d_parse_recovery_point()
246 ps_sei->u1_broken_link_flag = ih264d_get_bit_h264(ps_bitstrm); in ih264d_parse_recovery_point()
247 ps_sei->u1_changing_slice_grp_idc = ih264d_get_bits_h264(ps_bitstrm, 2); in ih264d_parse_recovery_point()
273 WORD32 ih264d_parse_mdcv(dec_bit_stream_t *ps_bitstrm, in ih264d_parse_mdcv() argument
279 UWORD32 *pu4_bitstrm_ofst = &ps_bitstrm->u4_ofst; in ih264d_parse_mdcv()
280 UWORD32 *pu4_bitstrm_buf = ps_bitstrm->pu4_buffer; in ih264d_parse_mdcv()
295 (UWORD16)ih264d_get_bits_h264(ps_bitstrm, 16); in ih264d_parse_mdcv()
309 (UWORD16)ih264d_get_bits_h264(ps_bitstrm, 16); in ih264d_parse_mdcv()
324 ps_sei->s_sei_mdcv_params.u2_white_point_x = (UWORD16)ih264d_get_bits_h264(ps_bitstrm, 16); in ih264d_parse_mdcv()
334 ps_sei->s_sei_mdcv_params.u2_white_point_y = (UWORD16)ih264d_get_bits_h264(ps_bitstrm, 16); in ih264d_parse_mdcv()
345 (UWORD32)ih264d_get_bits_h264(ps_bitstrm, 32); in ih264d_parse_mdcv()
359 (UWORD32)ih264d_get_bits_h264(ps_bitstrm, 32); in ih264d_parse_mdcv()
399 WORD32 ih264d_parse_cll(dec_bit_stream_t *ps_bitstrm, in ih264d_parse_cll() argument
405 UWORD32 *pu4_bitstrm_ofst = &ps_bitstrm->u4_ofst; in ih264d_parse_cll()
406 UWORD32 *pu4_bitstrm_buf = ps_bitstrm->pu4_buffer; in ih264d_parse_cll()
417 (UWORD16)ih264d_get_bits_h264(ps_bitstrm, 16); in ih264d_parse_cll()
419 (UWORD16)ih264d_get_bits_h264(ps_bitstrm, 16); in ih264d_parse_cll()
446 WORD32 ih264d_parse_ave(dec_bit_stream_t *ps_bitstrm, in ih264d_parse_ave() argument
452 UWORD32 *pu4_bitstrm_ofst = &ps_bitstrm->u4_ofst; in ih264d_parse_ave()
453 UWORD32 *pu4_bitstrm_buf = ps_bitstrm->pu4_buffer; in ih264d_parse_ave()
463 ps_sei->s_sei_ave_params.u4_ambient_illuminance = (UWORD32)ih264d_get_bits_h264(ps_bitstrm, 32); in ih264d_parse_ave()
470 ps_sei->s_sei_ave_params.u2_ambient_light_x = (UWORD16)ih264d_get_bits_h264(ps_bitstrm, 16); in ih264d_parse_ave()
477 ps_sei->s_sei_ave_params.u2_ambient_light_y = (UWORD16)ih264d_get_bits_h264(ps_bitstrm, 16); in ih264d_parse_ave()
507 WORD32 ih264d_parse_ccv(dec_bit_stream_t *ps_bitstrm, in ih264d_parse_ccv() argument
513 UWORD32 *pu4_bitstrm_ofst = &ps_bitstrm->u4_ofst; in ih264d_parse_ccv()
514 UWORD32 *pu4_bitstrm_buf = ps_bitstrm->pu4_buffer; in ih264d_parse_ccv()
525 ps_sei->s_sei_ccv_params.u1_ccv_cancel_flag = (UWORD8)ih264d_get_bit_h264(ps_bitstrm); in ih264d_parse_ccv()
534 (UWORD8)ih264d_get_bit_h264(ps_bitstrm); in ih264d_parse_ccv()
540 (UWORD8)ih264d_get_bit_h264(ps_bitstrm); in ih264d_parse_ccv()
546 (UWORD8)ih264d_get_bit_h264(ps_bitstrm); in ih264d_parse_ccv()
552 (UWORD8)ih264d_get_bit_h264(ps_bitstrm); in ih264d_parse_ccv()
558 (UWORD8)ih264d_get_bit_h264(ps_bitstrm); in ih264d_parse_ccv()
573 (UWORD8)ih264d_get_bits_h264(ps_bitstrm, 2); in ih264d_parse_ccv()
585 (WORD32)ih264d_get_bits_h264(ps_bitstrm, 32); in ih264d_parse_ccv()
595 (WORD32)ih264d_get_bits_h264(ps_bitstrm, 32); in ih264d_parse_ccv()
609 (UWORD32)ih264d_get_bits_h264(ps_bitstrm, 32); in ih264d_parse_ccv()
615 (UWORD32)ih264d_get_bits_h264(ps_bitstrm, 32); in ih264d_parse_ccv()
626 (UWORD32)ih264d_get_bits_h264(ps_bitstrm, 32); in ih264d_parse_ccv()
668 WORD32 ih264d_parse_sei_payload(dec_bit_stream_t *ps_bitstrm, in ih264d_parse_sei_payload() argument
679 if(NULL == ps_bitstrm) in ih264d_parse_sei_payload()
689 ps_bitstrm, ps_dec); in ih264d_parse_sei_payload()
693 i4_status = ih264d_flush_bits_h264(ps_bitstrm, (ui4_payload_size << 3)); in ih264d_parse_sei_payload()
695 i4_status = ih264d_parse_pic_timing(ps_bitstrm, ps_dec, in ih264d_parse_sei_payload()
699 i4_status = ih264d_parse_recovery_point(ps_bitstrm, ps_dec, in ih264d_parse_sei_payload()
704 i4_status = ih264d_parse_mdcv(ps_bitstrm, ps_dec, in ih264d_parse_sei_payload()
709 i4_status = ih264d_parse_cll(ps_bitstrm, ps_dec, in ih264d_parse_sei_payload()
714 i4_status = ih264d_parse_ave(ps_bitstrm, ps_dec, in ih264d_parse_sei_payload()
719 i4_status = ih264d_parse_ccv(ps_bitstrm, ps_dec, in ih264d_parse_sei_payload()
723 i4_status = ih264d_flush_bits_h264(ps_bitstrm, (ui4_payload_size << 3)); in ih264d_parse_sei_payload()
752 dec_bit_stream_t *ps_bitstrm) in ih264d_parse_sei_message() argument
762 if(!CHECK_BITS_SUFFICIENT(ps_bitstrm, 8)) in ih264d_parse_sei_message()
766 u4_bits = ih264d_get_bits_h264(ps_bitstrm, 8); in ih264d_parse_sei_message()
767 while(0xff == u4_bits && CHECK_BITS_SUFFICIENT(ps_bitstrm, 8)) in ih264d_parse_sei_message()
769 u4_bits = ih264d_get_bits_h264(ps_bitstrm, 8); in ih264d_parse_sei_message()
775 if(!CHECK_BITS_SUFFICIENT(ps_bitstrm, 8)) in ih264d_parse_sei_message()
779 u4_bits = ih264d_get_bits_h264(ps_bitstrm, 8); in ih264d_parse_sei_message()
780 while(0xff == u4_bits && CHECK_BITS_SUFFICIENT(ps_bitstrm, 8)) in ih264d_parse_sei_message()
782 u4_bits = ih264d_get_bits_h264(ps_bitstrm, 8); in ih264d_parse_sei_message()
787 if(!CHECK_BITS_SUFFICIENT(ps_bitstrm, (ui4_payload_size << 3))) in ih264d_parse_sei_message()
791 i4_status = ih264d_parse_sei_payload(ps_bitstrm, ui4_payload_type, in ih264d_parse_sei_message()
796 if(ih264d_check_byte_aligned(ps_bitstrm) == 0) in ih264d_parse_sei_message()
798 u4_bits = ih264d_get_bit_h264(ps_bitstrm); in ih264d_parse_sei_message()
803 while(0 == ih264d_check_byte_aligned(ps_bitstrm) in ih264d_parse_sei_message()
804 && CHECK_BITS_SUFFICIENT(ps_bitstrm, 1)) in ih264d_parse_sei_message()
806 u4_bits = ih264d_get_bit_h264(ps_bitstrm); in ih264d_parse_sei_message()
814 while(MORE_RBSP_DATA(ps_bitstrm)); in ih264d_parse_sei_message()