Home
last modified time | relevance | path

Searched refs:u4_strm_buf_offset (Results 1 – 14 of 14) sorted by relevance

/external/libavc/encoder/
Dih264e_bitstream.c103 ps_bitstrm->u4_strm_buf_offset = 0; in ih264e_bitstrm_init()
185 UWORD32 u4_strm_buf_offset = ps_bitstrm->u4_strm_buf_offset; in ih264e_put_bits() local
200 if((u4_strm_buf_offset + (WORD_SIZE>>3)) >= u4_max_strm_size) in ih264e_put_bits()
214 PUTBYTE_EPB(pu1_strm_buf, u4_strm_buf_offset, u1_next_byte, zero_run); in ih264e_put_bits()
224 ps_bitstrm->u4_strm_buf_offset = u4_strm_buf_offset; in ih264e_put_bits()
285 UWORD32 u4_strm_buf_offset = ps_bitstrm->u4_strm_buf_offset; in ih264e_put_rbsp_trailing_bits() local
294 if((u4_strm_buf_offset + (WORD_SIZE>>3) - bytes_left_in_cw) >= in ih264e_put_rbsp_trailing_bits()
312 PUTBYTE_EPB(pu1_strm_buf, u4_strm_buf_offset, u1_next_byte, zero_run); in ih264e_put_rbsp_trailing_bits()
316 ps_bitstrm->u4_strm_buf_offset = u4_strm_buf_offset; in ih264e_put_rbsp_trailing_bits()
440 UWORD32 u4_strm_buf_offset = ps_bitstrm->u4_strm_buf_offset; in ih264e_put_nal_start_code_prefix() local
[all …]
Dih264e_cabac.c254 UWORD32 u4_strm_buf_offset = ps_stream->u4_strm_buf_offset; in ih264e_cabac_flush() local
277 if (pu1_strm_buf[u4_strm_buf_offset - 1] == 0x03 in ih264e_cabac_flush()
278 && pu1_strm_buf[u4_strm_buf_offset - 2] == 0x03 in ih264e_cabac_flush()
279 && pu1_strm_buf[u4_strm_buf_offset - 3] == 0x00 in ih264e_cabac_flush()
280 && pu1_strm_buf[u4_strm_buf_offset - 4] == 0x00) in ih264e_cabac_flush()
282 u4_strm_buf_offset -= 1; in ih264e_cabac_flush()
286 pu1_strm_buf[u4_strm_buf_offset - 1] += carry; in ih264e_cabac_flush()
295 PUTBYTE_EPB(pu1_strm_buf, u4_strm_buf_offset, u1_0_or_ff, zero_run); in ih264e_cabac_flush()
310 PUTBYTE_EPB(pu1_strm_buf, u4_strm_buf_offset, last_byte, zero_run); in ih264e_cabac_flush()
318 PUTBYTE_EPB(pu1_strm_buf, u4_strm_buf_offset, last_byte, zero_run); in ih264e_cabac_flush()
[all …]
Dih264e_bitstream.h157 #define GET_NUM_BITS(ps_bitstream) ((ps_bitstream->u4_strm_buf_offset << 3) \
187 PUTBYTE_EPB(ps_bitstrm->pu1_strm_buffer, ps_bitstrm->u4_strm_buf_offset,\
222 UWORD32 u4_strm_buf_offset; member
Dih264e_cabac_encode.c1635 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()
Dih264e_process.c191 ps_out_buf->s_bits_buf.u4_bytes = ps_bitstrm->u4_strm_buf_offset; in ih264e_generate_sps_pps()
592 ps_entropy->ps_bitstrm->u4_strm_buf_offset = 0; in ih264e_entropy()
615 ps_entropy->ps_bitstrm->u4_strm_buf_offset; in ih264e_entropy()
Dih264e_encode_header.c1512 if (ps_bitstrm->u4_strm_buf_offset + insert_fill_bytes >= ps_bitstrm->u4_max_strm_size) in ih264e_add_filler_nal_unit()
/external/libhevc/encoder/
Dihevce_bitstream.c95 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() local
187 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() local
281 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 …]
Dihevce_cabac.c123 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() local
313 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 …]
Dihevce_entropy_interface.c381 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 …]
Dihevce_cabac_cu_pu.c1911 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()
Dihevce_bitstream.h148 UWORD32 u4_strm_buf_offset; member
Dihevce_cabac.h174 UWORD32 u4_strm_buf_offset; member
Dihevce_entropy_cod.c736 ps_curr_out->i4_bytes_generated = ps_bitstrm->u4_strm_buf_offset; in ihevce_entropy_encode_header()
763 (ULWORD64)ps_bitstrm->pu1_strm_buffer + ps_bitstrm->u4_strm_buf_offset; in ihevce_entropy_encode_header()
Dihevce_encode_header.c1924 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()