Home
last modified time | relevance | path

Searched refs:zero_run (Results 1 – 6 of 6) sorted by relevance

/external/libhevc/encoder/
Dihevce_bitstream.h81 #define INSERT_EPB(zero_run, next_byte) ((zero_run) == EPB_ZERO_BYTES) && (0 == ((next_byte)&0xFC)) argument
101 #define PUTBYTE_EPB(ptr, off, byte, zero_run) \ argument
103 if(INSERT_EPB(zero_run, byte)) \
107 zero_run = 0; \
112 zero_run = byte ? 0 : zero_run + 1; \
Dihevce_cabac.c306 WORD32 zero_run = ps_cabac->i4_zero_bytes_run; in ihevce_cabac_put_byte() local
343 zero_run = 0; in ihevce_cabac_put_byte()
351 PUTBYTE_EPB(pu1_strm_buf, u4_strm_buf_offset, u1_0_or_ff, zero_run); in ihevce_cabac_put_byte()
359 PUTBYTE_EPB(pu1_strm_buf, u4_strm_buf_offset, lead_byte, zero_run); in ihevce_cabac_put_byte()
363 ps_cabac->i4_zero_bytes_run = zero_run; in ihevce_cabac_put_byte()
773 WORD32 zero_run = ps_cabac->i4_zero_bytes_run; in ihevce_cabac_flush() local
818 zero_run = 0; in ihevce_cabac_flush()
826 PUTBYTE_EPB(pu1_strm_buf, u4_strm_buf_offset, u1_0_or_ff, zero_run); in ihevce_cabac_flush()
842 PUTBYTE_EPB(pu1_strm_buf, u4_strm_buf_offset, last_byte, zero_run); in ihevce_cabac_flush()
849 PUTBYTE_EPB(pu1_strm_buf, u4_strm_buf_offset, last_byte, zero_run); in ihevce_cabac_flush()
Dihevce_bitstream.c177 WORD32 zero_run = ps_bitstrm->i4_zero_bytes_run; in ihevce_put_bits() local
201 PUTBYTE_EPB(pu1_strm_buf, u4_strm_buf_offset, u1_next_byte, zero_run); in ihevce_put_bits()
210 ps_bitstrm->i4_zero_bytes_run = zero_run; in ihevce_put_bits()
274 WORD32 zero_run = ps_bitstrm->i4_zero_bytes_run; in ihevce_put_rbsp_trailing_bits() local
298 PUTBYTE_EPB(pu1_strm_buf, u4_strm_buf_offset, u1_next_byte, zero_run); in ihevce_put_rbsp_trailing_bits()
/external/libavc/encoder/
Dih264e_bitstream.h85 #define INSERT_EPB(zero_run, next_byte) \ argument
86 ((zero_run) == EPB_ZERO_BYTES) && (0 == ((next_byte) & 0xFC))
130 #define PUTBYTE_EPB(ptr,off,byte,zero_run) \ argument
132 if( INSERT_EPB(zero_run, byte) ) \
136 zero_run = 0; \
141 zero_run = byte ? 0 : zero_run+1; \
Dih264e_cabac.c255 WORD32 zero_run = ps_stream->i4_zero_bytes_run; in ih264e_cabac_flush() local
287 zero_run = 0; 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()
392 WORD32 zero_run = ps_stream->i4_zero_bytes_run; in ih264e_cabac_put_byte() local
420 zero_run = 0; in ih264e_cabac_put_byte()
428 PUTBYTE_EPB(pu1_strm_buf, u4_strm_buf_offset, u1_0_or_ff, zero_run); in ih264e_cabac_put_byte()
436 PUTBYTE_EPB(pu1_strm_buf, u4_strm_buf_offset, lead_byte, zero_run); in ih264e_cabac_put_byte()
440 ps_stream->i4_zero_bytes_run = zero_run; in ih264e_cabac_put_byte()
Dih264e_bitstream.c189 WORD32 zero_run = ps_bitstrm->i4_zero_bytes_run; in ih264e_put_bits() local
214 PUTBYTE_EPB(pu1_strm_buf, u4_strm_buf_offset, u1_next_byte, zero_run); in ih264e_put_bits()
223 ps_bitstrm->i4_zero_bytes_run = zero_run; in ih264e_put_bits()
287 WORD32 zero_run = ps_bitstrm->i4_zero_bytes_run; in ih264e_put_rbsp_trailing_bits() local
312 PUTBYTE_EPB(pu1_strm_buf, u4_strm_buf_offset, u1_next_byte, zero_run); in ih264e_put_rbsp_trailing_bits()