Searched refs:u4_strm_buf_offset (Results 1 – 14 of 14) sorted by relevance
95 ps_bitstrm->u4_strm_buf_offset = 0; in ihevce_bitstrm_init()173 UWORD32 u4_strm_buf_offset = ps_bitstrm->u4_strm_buf_offset; in ihevce_put_bits() local187 if((u4_strm_buf_offset + (WORD_SIZE >> 3)) >= u4_max_strm_size) in ihevce_put_bits()201 PUTBYTE_EPB(pu1_strm_buf, u4_strm_buf_offset, u1_next_byte, zero_run); in ihevce_put_bits()211 ps_bitstrm->u4_strm_buf_offset = u4_strm_buf_offset; in ihevce_put_bits()272 UWORD32 u4_strm_buf_offset = ps_bitstrm->u4_strm_buf_offset; in ihevce_put_rbsp_trailing_bits() local281 if((u4_strm_buf_offset + (WORD_SIZE >> 3) - bytes_left_in_cw) >= u4_max_strm_size) in ihevce_put_rbsp_trailing_bits()298 PUTBYTE_EPB(pu1_strm_buf, u4_strm_buf_offset, u1_next_byte, zero_run); in ihevce_put_rbsp_trailing_bits()302 ps_bitstrm->u4_strm_buf_offset = u4_strm_buf_offset; in ihevce_put_rbsp_trailing_bits()426 UWORD32 u4_strm_buf_offset = ps_bitstrm->u4_strm_buf_offset; in ihevce_put_nal_start_code_prefix() local[all …]
123 ps_cabac->u4_strm_buf_offset = ps_cabac->u4_first_slice_start_offset; in ihevce_cabac_reset()127 ps_cabac->u4_strm_buf_offset = ps_bitstrm->u4_strm_buf_offset; in ihevce_cabac_reset()208 ps_cabac->u4_strm_buf_offset = ps_cabac->u4_first_slice_start_offset; in ihevce_cabac_init()212 ps_cabac->u4_strm_buf_offset = ps_bitstrm->u4_strm_buf_offset; in ihevce_cabac_init()305 UWORD32 u4_strm_buf_offset = ps_cabac->u4_strm_buf_offset; in ihevce_cabac_put_byte() local313 if((u4_strm_buf_offset + u4_out_standing_bytes + 1) >= ps_cabac->u4_max_strm_size) in ihevce_cabac_put_byte()333 if(pu1_strm_buf[u4_strm_buf_offset - 1] == 0x03 && in ihevce_cabac_put_byte()334 pu1_strm_buf[u4_strm_buf_offset - 2] == 0x03 && in ihevce_cabac_put_byte()335 pu1_strm_buf[u4_strm_buf_offset - 3] == 0x00 && in ihevce_cabac_put_byte()336 pu1_strm_buf[u4_strm_buf_offset - 4] == 0x00) in ihevce_cabac_put_byte()[all …]
381 u8_bits_slice_header_prev = (ps_bitstrm->u4_strm_buf_offset * 8); in ihevce_entropy_encode_frame()441 (ps_bitstrm->u4_strm_buf_offset * 8) - u8_bits_slice_header_prev; in ihevce_entropy_encode_frame()472 (ULWORD64)ps_bitstrm->pu1_strm_buffer + ps_bitstrm->u4_strm_buf_offset; in ihevce_entropy_encode_frame()520 u8_bits_slice_header_prev = (ps_bitstrm->u4_strm_buf_offset * 8); in ihevce_entropy_encode_frame()536 (ps_bitstrm->u4_strm_buf_offset * 8) - (WORD32)u8_bits_slice_header_prev; in ihevce_entropy_encode_frame()580 i4_bytes_generated = ps_entropy_ctxt->s_dup_bit_strm_ent_offset.u4_strm_buf_offset; in ihevce_entropy_encode_frame()584 i4_bytes_generated = ps_entropy_ctxt->s_cabac_ctxt.u4_strm_buf_offset; in ihevce_entropy_encode_frame()655 (ULWORD64)ps_bitstrm->pu1_strm_buffer + ps_bitstrm->u4_strm_buf_offset; in ihevce_entropy_encode_frame()694 ps_curr_out->i4_bytes_generated += ps_bitstrm->u4_strm_buf_offset; in ihevce_entropy_encode_frame()702 ps_curr_out->i4_bytes_generated += ps_bitstrm->u4_strm_buf_offset; in ihevce_entropy_encode_frame()[all …]
148 UWORD32 u4_strm_buf_offset; member
1911 UWORD32 u4_slice_start_offset = ps_bit_strm->u4_strm_buf_offset - u4_slice_seg_hdr_size; in ihevce_encode_slice_data()2144 *((UWORD32 *)(ps_cabac->pu1_strm_buffer + ps_cabac->u4_strm_buf_offset - 4)); in ihevce_encode_slice_data()2152 (WORD32)(ps_cabac->u4_strm_buf_offset - u4_slice_start_offset); in ihevce_encode_slice_data()2180 *((UWORD32 *)(ps_cabac->pu1_strm_buffer + ps_cabac->u4_strm_buf_offset - 4)) = in ihevce_encode_slice_data()2215 *((UWORD32 *)(ps_cabac->pu1_strm_buffer + ps_cabac->u4_strm_buf_offset - 4)) = in ihevce_encode_slice_data()2249 ps_cabac->u4_strm_buf_offset; in ihevce_encode_slice_data()2260 ps_cabac->u4_strm_buf_offset; in ihevce_encode_slice_data()
174 UWORD32 u4_strm_buf_offset; member
740 ps_curr_out->i4_bytes_generated = ps_bitstrm->u4_strm_buf_offset; in ihevce_entropy_encode_header()767 (ULWORD64)ps_bitstrm->pu1_strm_buffer + ps_bitstrm->u4_strm_buf_offset; in ihevce_entropy_encode_header()
1924 ps_bitstrm->u4_strm_buf_offset + in ihevce_generate_slice_header()3308 (UWORD8 *)(ps_bitstrm->pu1_strm_buffer + ps_bitstrm->u4_strm_buf_offset), in ihevce_insert_entry_offset_slice_header()3313 ps_bitstrm->u4_strm_buf_offset += num_bytes_shift; in ihevce_insert_entry_offset_slice_header()
103 ps_bitstrm->u4_strm_buf_offset = 0; in ih264e_bitstrm_init()403 UWORD32 u4_strm_buf_offset = ps_bitstrm->u4_strm_buf_offset; in ih264e_put_nal_start_code_prefix() local407 if((u4_strm_buf_offset + 4) >= ps_bitstrm->u4_max_strm_size) in ih264e_put_nal_start_code_prefix()415 pu1_strm_buf[u4_strm_buf_offset] = 0x00; in ih264e_put_nal_start_code_prefix()416 u4_strm_buf_offset++; in ih264e_put_nal_start_code_prefix()420 pu1_strm_buf[u4_strm_buf_offset] = 0x00; in ih264e_put_nal_start_code_prefix()421 u4_strm_buf_offset++; in ih264e_put_nal_start_code_prefix()423 pu1_strm_buf[u4_strm_buf_offset] = 0x00; in ih264e_put_nal_start_code_prefix()424 u4_strm_buf_offset++; in ih264e_put_nal_start_code_prefix()426 pu1_strm_buf[u4_strm_buf_offset] = 0x01; in ih264e_put_nal_start_code_prefix()[all …]
275 if (pu1_strm_buf[ps_stream->u4_strm_buf_offset - 1] == 0x03 in ih264e_cabac_flush()276 && pu1_strm_buf[ps_stream->u4_strm_buf_offset - 2] == 0x03 in ih264e_cabac_flush()277 && pu1_strm_buf[ps_stream->u4_strm_buf_offset - 3] == 0x00 in ih264e_cabac_flush()278 && pu1_strm_buf[ps_stream->u4_strm_buf_offset - 4] == 0x00) in ih264e_cabac_flush()280 ps_stream->u4_strm_buf_offset -= 1; in ih264e_cabac_flush()284 pu1_strm_buf[ps_stream->u4_strm_buf_offset - 1] += carry; in ih264e_cabac_flush()405 if (pu1_strm_buf[ps_stream->u4_strm_buf_offset - 1] == 0x03 in ih264e_cabac_put_byte()406 && pu1_strm_buf[ps_stream->u4_strm_buf_offset - 2] == 0x03 in ih264e_cabac_put_byte()407 && pu1_strm_buf[ps_stream->u4_strm_buf_offset - 3] == 0x00 in ih264e_cabac_put_byte()408 && pu1_strm_buf[ps_stream->u4_strm_buf_offset - 4] == 0x00) in ih264e_cabac_put_byte()[all …]
157 #define GET_NUM_BITS(ps_bitstream) ((ps_bitstream->u4_strm_buf_offset << 3) \200 UWORD32 u4_strm_buf_offset; member236 if ((ps_bitstrm->u4_strm_buf_offset + 1) >= ps_bitstrm->u4_max_strm_size) in ih264e_put_byte_epb()240 ps_bitstrm->pu1_strm_buffer[ps_bitstrm->u4_strm_buf_offset++] = EPB_BYTE; in ih264e_put_byte_epb()244 if ((ps_bitstrm->u4_strm_buf_offset + 1) >= ps_bitstrm->u4_max_strm_size) in ih264e_put_byte_epb()248 ps_bitstrm->pu1_strm_buffer[ps_bitstrm->u4_strm_buf_offset++] = byte; in ih264e_put_byte_epb()
1635 if ((ps_bitstream->u4_strm_buf_offset + MIN_STREAM_SIZE_MB) in ih264e_write_islice_mb_cabac()1785 if ((ps_bitstream->u4_strm_buf_offset + MIN_STREAM_SIZE_MB) in ih264e_write_pslice_mb_cabac()2076 if ((ps_bitstream->u4_strm_buf_offset + MIN_STREAM_SIZE_MB) in ih264e_write_bslice_mb_cabac()
194 ps_out_buf->s_bits_buf.u4_bytes = ps_bitstrm->u4_strm_buf_offset; in ih264e_generate_sps_pps()648 ps_entropy->ps_bitstrm->u4_strm_buf_offset = 0; in ih264e_entropy()672 ps_entropy->ps_bitstrm->u4_strm_buf_offset; in ih264e_entropy()
1627 if (ps_bitstrm->u4_strm_buf_offset + insert_fill_bytes >= ps_bitstrm->u4_max_strm_size) in ih264e_add_filler_nal_unit()