Home
last modified time | relevance | path

Searched refs:curbits (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavformat/
Dmpc.c44 int curbits; member
78 c->curbits = 8; in mpc_read_header()
125 int ret, size, size2, curbits, cur = c->curframe; in mpc_read_packet() local
134 c->curbits = c->frames[c->curframe].skip; in mpc_read_packet()
138 curbits = c->curbits; in mpc_read_packet()
141 if(curbits <= 12){ in mpc_read_packet()
142 size2 = (tmp >> (12 - curbits)) & 0xFFFFF; in mpc_read_packet()
144 size2 = (tmp << (curbits - 12) | avio_rl32(s->pb) >> (44 - curbits)) & 0xFFFFF; in mpc_read_packet()
146 curbits += 20; in mpc_read_packet()
149 size = ((size2 + curbits + 31) & ~31) >> 3; in mpc_read_packet()
[all …]
/third_party/ffmpeg/libavcodec/mips/
Daaccoder_mips.c1029 int curbits = 0; in get_band_numbits_SQUAD_mips() local
1087 curbits += p_bits[curidx]; in get_band_numbits_SQUAD_mips()
1089 return curbits; in get_band_numbits_SQUAD_mips()
1100 int curbits = 0; in get_band_numbits_UQUAD_mips() local
1144 curbits += p_bits[curidx]; in get_band_numbits_UQUAD_mips()
1145 curbits += uquad_sign_bits[curidx]; in get_band_numbits_UQUAD_mips()
1147 return curbits; in get_band_numbits_UQUAD_mips()
1159 int curbits = 0; in get_band_numbits_SPAIR_mips() local
1219 curbits += p_bits[curidx] + p_bits[curidx2]; in get_band_numbits_SPAIR_mips()
1221 return curbits; in get_band_numbits_SPAIR_mips()
[all …]
/third_party/ffmpeg/libavcodec/
Daacenc_quantization.h90 int curbits; in quantize_and_encode_band_cost_template() local
96 curbits = ff_aac_spectral_bits[cb-1][curidx]; in quantize_and_encode_band_cost_template()
105 curbits += 21; in quantize_and_encode_band_cost_template()
109 curbits += av_log2(c)*2 - 4 + 1; in quantize_and_encode_band_cost_template()
118 curbits++; in quantize_and_encode_band_cost_template()
131 cost += rd * lambda + curbits; in quantize_and_encode_band_cost_template()
132 resbits += curbits; in quantize_and_encode_band_cost_template()
Dvmnc.c73 uint8_t *curbits, *curmask; member
100 uint8_t *dst8 = c->curbits; in load_cursor()
101 uint16_t *dst16 = (uint16_t *)c->curbits; in load_cursor()
102 uint32_t *dst32 = (uint32_t *)c->curbits; in load_cursor()
157 uint8_t *cd = c->curbits, *msk = c->curmask; in put_cursor()
166 uint16_t *cd = (uint16_t*)c->curbits, *msk = (uint16_t*)c->curmask; in put_cursor()
177 uint32_t *cd = (uint32_t*)c->curbits, *msk = (uint32_t*)c->curmask; in put_cursor()
318 av_freep(&c->curbits); in reset_buffers()
424 if ((ret = av_reallocp(&c->curbits, screen_size)) < 0 || in decode_frame()
569 av_freep(&c->curbits); in decode_end()