Home
last modified time | relevance | path

Searched refs:incnt (Results 1 – 7 of 7) sorted by relevance

/external/opencore/codecs_v2/video/avc_h264/dec/src/
Davc_bitstream.cpp71 stream->incnt = 0; in BitstreamInit()
100 stream->curr_word |= (stream->next_word >> stream->incnt); // stream->incnt cannot be 32 in AVC_BitstreamFillCache()
101 stream->next_word <<= (31 - stream->incnt); in AVC_BitstreamFillCache()
103 num_bits = stream->incnt_next + stream->incnt; in AVC_BitstreamFillCache()
106 stream->incnt_next -= (32 - stream->incnt); in AVC_BitstreamFillCache()
107 stream->incnt = 32; in AVC_BitstreamFillCache()
117 stream->incnt = num_bits; in AVC_BitstreamFillCache()
135 stream->incnt += stream->incnt_next; in AVC_BitstreamFillCache()
136 stream->incnt_next = num_bits - (32 - stream->incnt); in AVC_BitstreamFillCache()
139 stream->incnt += num_bits; in AVC_BitstreamFillCache()
[all …]
Davcdec_int.h49 int incnt; /* bit left in the prev_word */ member
Davcdec_bitstream.h40 #define BitstreamFlushBits(A,B) {(A)->bitcnt += (B); (A)->incnt -= (B); (A)->curr_word <<= (B);}
/external/opencore/codecs_v2/video/m4v_h263/dec/src/
Dbitstream.cpp56 stream->curr_word |= (stream->next_word >> stream->incnt); // stream->incnt cannot be 32 in BitstreamFillCache()
57 stream->next_word <<= (31 - stream->incnt); in BitstreamFillCache()
59 num_bits = stream->incnt_next + stream->incnt; in BitstreamFillCache()
62 stream->incnt_next -= (32 - stream->incnt); in BitstreamFillCache()
63 stream->incnt = 32; in BitstreamFillCache()
73 stream->incnt = num_bits; in BitstreamFillCache()
91 stream->incnt += stream->incnt_next; in BitstreamFillCache()
92 stream->incnt_next = num_bits - (32 - stream->incnt); in BitstreamFillCache()
95 stream->incnt += num_bits; in BitstreamFillCache()
100 stream->incnt = 32; in BitstreamFillCache()
[all …]
Dbitstream.h31 #define PV_BitstreamFlushBits(A,B) {(A)->bitcnt += (B); (A)->incnt -= (B); (A)->curr_word <<= (B);}
56 if (stream->incnt < nbits) in BitstreamShowBits16()
73 if (stream->incnt < 15) in BitstreamShow15Bits()
87 if (stream->incnt < 13) in BitstreamShow13Bits()
99 if (stream->incnt < nbits) in BitstreamReadBits16_INLINE()
114 if (stream->incnt < 1) in BitstreamRead1Bits_INLINE()
Dmp4lib_int.h40 int incnt; /* bit left in cached */ member
/external/zlib/contrib/puff/
Dpuff.c92 unsigned long incnt; /* bytes read so far */ member
118 if (s->incnt == s->inlen) longjmp(s->env, 1); /* out of input */ in bits()
119 val |= (long)(s->in[s->incnt++]) << s->bitcnt; /* load eight bits */ in bits()
157 if (s->incnt + 4 > s->inlen) return 2; /* not enough input */ in stored()
158 len = s->in[s->incnt++]; in stored()
159 len |= s->in[s->incnt++] << 8; in stored()
160 if (s->in[s->incnt++] != (~len & 0xff) || in stored()
161 s->in[s->incnt++] != ((~len >> 8) & 0xff)) in stored()
165 if (s->incnt + len > s->inlen) return 2; /* not enough input */ in stored()
170 s->out[s->outcnt++] = s->in[s->incnt++]; in stored()
[all …]