Lines Matching refs:ps_bitstrm
95 IH264E_ERROR_T ih264e_bitstrm_init(bitstrm_t *ps_bitstrm, in ih264e_bitstrm_init() argument
99 ps_bitstrm->pu1_strm_buffer = pu1_bitstrm_buf; in ih264e_bitstrm_init()
100 ps_bitstrm->u4_max_strm_size = u4_max_bitstrm_size; in ih264e_bitstrm_init()
103 ps_bitstrm->u4_strm_buf_offset = 0; in ih264e_bitstrm_init()
104 ps_bitstrm->u4_cur_word = 0; in ih264e_bitstrm_init()
105 ps_bitstrm->i4_bits_left_in_cw = WORD_SIZE; in ih264e_bitstrm_init()
106 ps_bitstrm->i4_zero_bytes_run = 0; in ih264e_bitstrm_init()
140 IH264E_ERROR_T ih264e_put_bits(bitstrm_t *ps_bitstrm, in ih264e_put_bits() argument
144 UWORD32 u4_cur_word = ps_bitstrm->u4_cur_word; in ih264e_put_bits()
145 WORD32 bits_left_in_cw = ps_bitstrm->i4_bits_left_in_cw; in ih264e_put_bits()
157 ASSERT(ps_bitstrm->i4_zero_bytes_run <= EPB_ZERO_BYTES); in ih264e_put_bits()
159 ASSERT(ps_bitstrm->pu1_strm_buffer != NULL); in ih264e_put_bits()
171 ps_bitstrm->u4_cur_word = u4_cur_word; in ih264e_put_bits()
172 ps_bitstrm->i4_bits_left_in_cw = bits_left_in_cw; in ih264e_put_bits()
196 status |= ih264e_put_byte_epb(ps_bitstrm, u1_next_byte); in ih264e_put_bits()
203 ps_bitstrm->u4_cur_word = u4_cur_word; in ih264e_put_bits()
204 ps_bitstrm->i4_bits_left_in_cw = WORD_SIZE - rem_bits; in ih264e_put_bits()
235 IH264E_ERROR_T ih264e_put_bit(bitstrm_t *ps_bitstrm, UWORD32 u4_code_val) in ih264e_put_bit() argument
238 return(ih264e_put_bits(ps_bitstrm, u4_code_val, 1)); in ih264e_put_bit()
259 IH264E_ERROR_T ih264e_put_rbsp_trailing_bits(bitstrm_t *ps_bitstrm) in ih264e_put_rbsp_trailing_bits() argument
262 UWORD32 u4_cur_word = ps_bitstrm->u4_cur_word; in ih264e_put_rbsp_trailing_bits()
263 WORD32 bits_left_in_cw = ps_bitstrm->i4_bits_left_in_cw; in ih264e_put_rbsp_trailing_bits()
278 status |= ih264e_put_byte_epb(ps_bitstrm, u1_next_byte); in ih264e_put_rbsp_trailing_bits()
282 ps_bitstrm->u4_cur_word = 0; in ih264e_put_rbsp_trailing_bits()
283 ps_bitstrm->i4_bits_left_in_cw = WORD_SIZE; in ih264e_put_rbsp_trailing_bits()
284 ps_bitstrm->i4_zero_bytes_run = 0; in ih264e_put_rbsp_trailing_bits()
310 IH264E_ERROR_T ih264e_put_uev(bitstrm_t *ps_bitstrm, UWORD32 u4_code_num) in ih264e_put_uev() argument
321 e_error = ih264e_put_bits(ps_bitstrm, u4_bit_str, (2 * u4_range - 1)); in ih264e_put_uev()
347 IH264E_ERROR_T ih264e_put_sev(bitstrm_t *ps_bitstrm, WORD32 syntax_elem) in ih264e_put_sev() argument
373 e_error = ih264e_put_bits(ps_bitstrm, u4_bit_str, (2 * u4_range - 1)); in ih264e_put_sev()
400 IH264E_ERROR_T ih264e_put_nal_start_code_prefix(bitstrm_t *ps_bitstrm, in ih264e_put_nal_start_code_prefix() argument
403 UWORD32 u4_strm_buf_offset = ps_bitstrm->u4_strm_buf_offset; in ih264e_put_nal_start_code_prefix()
404 UWORD8* pu1_strm_buf = ps_bitstrm->pu1_strm_buffer; in ih264e_put_nal_start_code_prefix()
407 if((u4_strm_buf_offset + 4) >= ps_bitstrm->u4_max_strm_size) in ih264e_put_nal_start_code_prefix()
430 ps_bitstrm->u4_strm_buf_offset = u4_strm_buf_offset; in ih264e_put_nal_start_code_prefix()