Searched refs:cx_states (Results 1 – 4 of 4) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | mqc.c | 43 static const MqcCxState cx_states[47] = { variable 102 ff_mqc_qe[2 * i + 1] = cx_states[i].qe; in ff_mqc_init_context_tables() 104 ff_mqc_nlps[2 * i] = 2 * cx_states[i].nlps + cx_states[i].sw; in ff_mqc_init_context_tables() 105 ff_mqc_nlps[2 * i + 1] = 2 * cx_states[i].nlps + 1 - cx_states[i].sw; in ff_mqc_init_context_tables() 106 ff_mqc_nmps[2 * i] = 2 * cx_states[i].nmps; in ff_mqc_init_context_tables() 107 ff_mqc_nmps[2 * i + 1] = 2 * cx_states[i].nmps + 1; in ff_mqc_init_context_tables() 113 memset(mqc->cx_states, 0, sizeof(mqc->cx_states)); in ff_mqc_init_contexts() 114 mqc->cx_states[MQC_CX_UNI] = 2 * 46; in ff_mqc_init_contexts() 115 mqc->cx_states[MQC_CX_RL] = 2 * 3; in ff_mqc_init_contexts() 116 mqc->cx_states[0] = 2 * 4; in ff_mqc_init_contexts()
|
D | mqc.h | 45 uint8_t cx_states[19]; member
|
D | jpeg2000dec.c | 1642 …if (ff_mqc_decode(&t1->mqc, t1->mqc.cx_states + ff_jpeg2000_getsigctxno(t1->flags[(y+1) * t1->stri… in decode_sigpass() 1645 …t1->data[(y) * t1->stride + x] = ff_mqc_decode(&t1->mqc, t1->mqc.cx_states + ctxno) ? -mask : mask; in decode_sigpass() 1647 … t1->data[(y) * t1->stride + x] = (ff_mqc_decode(&t1->mqc, t1->mqc.cx_states + ctxno) ^ xorbit) ? in decode_sigpass() 1675 t1->mqc.cx_states + ctxno) in decode_refpass() 1698 if (!ff_mqc_decode(&t1->mqc, t1->mqc.cx_states + MQC_CX_RL)) in decode_clnpass() 1701 t1->mqc.cx_states + MQC_CX_UNI); in decode_clnpass() 1703 t1->mqc.cx_states + in decode_clnpass() 1717 …dec = ff_mqc_decode(&t1->mqc, t1->mqc.cx_states + ff_jpeg2000_getsigctxno(t1->flags[(y+1) * t1->st… in decode_clnpass() 1726 t1->mqc.cx_states + ctxno) ^ in decode_clnpass() 1738 val = ff_mqc_decode(&t1->mqc, t1->mqc.cx_states + MQC_CX_UNI); in decode_clnpass() [all …]
|
D | j2kenc.c | 620 ff_mqc_encode(&t1->mqc, t1->mqc.cx_states + ctxno, bit); in encode_sigpass() 624 …ff_mqc_encode(&t1->mqc, t1->mqc.cx_states + ctxno, (t1->flags[(y+1) * t1->stride + x+1] >> 15) ^ x… in encode_sigpass() 642 … ff_mqc_encode(&t1->mqc, t1->mqc.cx_states + ctxno, t1->data[(y) * t1->stride + x] & mask ? 1:0); in encode_refpass() 663 ff_mqc_encode(&t1->mqc, t1->mqc.cx_states + MQC_CX_RL, rlen != 4); in encode_clnpass() 666 ff_mqc_encode(&t1->mqc, t1->mqc.cx_states + MQC_CX_UNI, rlen >> 1); in encode_clnpass() 667 ff_mqc_encode(&t1->mqc, t1->mqc.cx_states + MQC_CX_UNI, rlen & 1); in encode_clnpass() 672 … ff_mqc_encode(&t1->mqc, t1->mqc.cx_states + ctxno, t1->data[(y) * t1->stride + x] & mask ? 1:0); in encode_clnpass() 677 …ff_mqc_encode(&t1->mqc, t1->mqc.cx_states + ctxno, (t1->flags[(y+1) * t1->stride + x+1] >> 15) ^ x… in encode_clnpass() 687 … ff_mqc_encode(&t1->mqc, t1->mqc.cx_states + ctxno, t1->data[(y) * t1->stride + x] & mask ? 1:0); in encode_clnpass() 692 …ff_mqc_encode(&t1->mqc, t1->mqc.cx_states + ctxno, (t1->flags[(y+1) * t1->stride + x+1] >> 15) ^ x… in encode_clnpass()
|