Home
last modified time | relevance | path

Searched refs:put_rac (Results 1 – 8 of 8) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dffv1enc.c192 #define put_rac(C, S, B) \ in put_symbol_inline() macro
198 put_rac(C, S, B); \ in put_symbol_inline()
204 put_rac(c, state + 0, 0); in put_symbol_inline()
207 put_rac(c, state + 1 + i, 1); // 1..10 in put_symbol_inline()
208 put_rac(c, state + 1 + i, 0); in put_symbol_inline()
211 put_rac(c, state + 22 + i, (a >> i) & 1); // 22..31 in put_symbol_inline()
214 put_rac(c, state + 11 + e, v < 0); // 11..21 in put_symbol_inline()
217 put_rac(c, state + 1 + FFMIN(i, 9), 1); // 1..10 in put_symbol_inline()
218 put_rac(c, state + 1 + 9, 0); in put_symbol_inline()
221 put_rac(c, state + 22 + FFMIN(i, 9), (a >> i) & 1); // 22..31 in put_symbol_inline()
[all …]
Dsnow.h517 put_rac(c, state+0, 0); in put_symbol()
520 put_rac(c, state+1+i, 1); //1..10 in put_symbol()
523 put_rac(c, state+1+9, 1); //1..10 in put_symbol()
525 put_rac(c, state+1+FFMIN(i,9), 0); in put_symbol()
528 put_rac(c, state+22+9, (a>>i)&1); //22..31 in put_symbol()
531 put_rac(c, state+22+i, (a>>i)&1); //22..31 in put_symbol()
535 put_rac(c, state+11 + el, v < 0); //11..21 in put_symbol()
537 put_rac(c, state+0, 1); in put_symbol()
572 put_rac(c, state+4+log2, 1); in put_symbol2()
577 put_rac(c, state+4+log2, 0); in put_symbol2()
[all …]
Dsonic.c95 #define put_rac(C,S,B) \ in put_symbol() macro
101 put_rac(C,S,B);\ in put_symbol()
107 put_rac(c, state+0, 0); in put_symbol()
110 put_rac(c, state+1+i, 1); //1..10 in put_symbol()
112 put_rac(c, state+1+i, 0); in put_symbol()
115 put_rac(c, state+22+i, (a>>i)&1); //22..31 in put_symbol()
119 put_rac(c, state+11 + e, v < 0); //11..21 in put_symbol()
122 put_rac(c, state+1+FFMIN(i,9), 1); //1..10 in put_symbol()
124 put_rac(c, state+1+9, 0); in put_symbol()
127 put_rac(c, state+22+FFMIN(i,9), (a>>i)&1); //22..31 in put_symbol()
[all …]
Dsnowenc.c370 put_rac(&pc, &p_state[4 + s_context], 1); in encode_q_branch()
371 put_rac(&pc, &p_state[1 + left->type + top->type], 0); in encode_q_branch()
401 put_rac(&ic, &i_state[4 + s_context], 1); in encode_q_branch()
402 put_rac(&ic, &i_state[1 + left->type + top->type], 1); in encode_q_branch()
426 put_rac(&s->c, &s->block_state[4 + s_context], 0); in encode_q_branch()
483 put_rac(&s->c, &s->block_state[4 + s_context], 1); in encode_q_branch2()
485 put_rac(&s->c, &s->block_state[4 + s_context], 0); in encode_q_branch2()
495 put_rac(&s->c, &s->block_state[1 + (left->type&1) + (top->type&1)], 1); in encode_q_branch2()
504 put_rac(&s->c, &s->block_state[1 + (left->type&1) + (top->type&1)], 0); in encode_q_branch2()
872 put_rac(&s->c, &b->state[0][context], !!v); in encode_subband_c0run()
[all …]
Drangecoder.c112 put_rac(c, (uint8_t[]) { 129 }, 0); in ff_rac_terminate()
Drangecoder.h95 static inline void put_rac(RangeCoder *c, uint8_t *const state, int bit) in put_rac() function
Dffv1enc_template.c52 put_rac(c, &state, (v>>i) & 1); in RENAME()
/third_party/ffmpeg/libavcodec/tests/
Drangecoder.c76 put_rac(&c, state, r[i] & 1); in main()