Searched refs:cx_states (Results 1 - 4 of 4) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Dmqc.c43 static const MqcCxState cx_states[47] = { variable
102 ff_mqc_qe[2 * i + 1] = cx_states[i].qe;
104 ff_mqc_nlps[2 * i] = 2 * cx_states[i].nlps + cx_states[i].sw;
105 ff_mqc_nlps[2 * i + 1] = 2 * cx_states[i].nlps + 1 - cx_states[i].sw;
106 ff_mqc_nmps[2 * i] = 2 * cx_states[i].nmps;
107 ff_mqc_nmps[2 * i + 1] = 2 * cx_states[i].nmps + 1;
113 memset(mqc->cx_states, 0, sizeof(mqc->cx_states));
[all...]
H A Dmqc.h45 uint8_t cx_states[19]; member in struct:MqcState
H A Dj2kenc.c492 ff_mqc_encode(&t1->mqc, t1->mqc.cx_states + ctxno, bit);
496 ff_mqc_encode(&t1->mqc, t1->mqc.cx_states + ctxno, (t1->flags[y+1][x+1] >> 15) ^ xorbit);
514 ff_mqc_encode(&t1->mqc, t1->mqc.cx_states + ctxno, t1->data[y][x] & mask ? 1:0);
535 ff_mqc_encode(&t1->mqc, t1->mqc.cx_states + MQC_CX_RL, rlen != 4);
538 ff_mqc_encode(&t1->mqc, t1->mqc.cx_states + MQC_CX_UNI, rlen >> 1);
539 ff_mqc_encode(&t1->mqc, t1->mqc.cx_states + MQC_CX_UNI, rlen & 1);
544 ff_mqc_encode(&t1->mqc, t1->mqc.cx_states + ctxno, t1->data[y][x] & mask ? 1:0);
549 ff_mqc_encode(&t1->mqc, t1->mqc.cx_states + ctxno, (t1->flags[y+1][x+1] >> 15) ^ xorbit);
559 ff_mqc_encode(&t1->mqc, t1->mqc.cx_states + ctxno, t1->data[y][x] & mask ? 1:0);
564 ff_mqc_encode(&t1->mqc, t1->mqc.cx_states
[all...]
H A Djpeg2000dec.c950 if (ff_mqc_decode(&t1->mqc, t1->mqc.cx_states + ff_jpeg2000_getsigctxno(t1->flags[y+1][x+1] & flags_mask, bandno))) {
953 t1->data[y][x] = ff_mqc_decode(&t1->mqc, t1->mqc.cx_states + ctxno) ? -mask : mask;
955 t1->data[y][x] = (ff_mqc_decode(&t1->mqc, t1->mqc.cx_states + ctxno) ^ xorbit) ?
981 t1->mqc.cx_states + ctxno)
1001 if (!ff_mqc_decode(&t1->mqc, t1->mqc.cx_states + MQC_CX_RL))
1004 t1->mqc.cx_states + MQC_CX_UNI);
1006 t1->mqc.cx_states +
1020 dec = ff_mqc_decode(&t1->mqc, t1->mqc.cx_states + ff_jpeg2000_getsigctxno(t1->flags[y+1][x+1] & flags_mask,
1029 t1->mqc.cx_states + ctxno) ^
1041 val = ff_mqc_decode(&t1->mqc, t1->mqc.cx_states
[all...]

Completed in 123 milliseconds