|
|
@ -92,14 +92,9 @@ uint16_t ff_mqc_qe [2 * 47]; |
|
|
|
uint8_t ff_mqc_nlps[2 * 47]; |
|
|
|
uint8_t ff_mqc_nlps[2 * 47]; |
|
|
|
uint8_t ff_mqc_nmps[2 * 47]; |
|
|
|
uint8_t ff_mqc_nmps[2 * 47]; |
|
|
|
|
|
|
|
|
|
|
|
void ff_mqc_init_contexts(MqcState *mqc) |
|
|
|
void ff_mqc_init_context_tables(void) |
|
|
|
{ |
|
|
|
{ |
|
|
|
int i; |
|
|
|
int i; |
|
|
|
memset(mqc->cx_states, 0, sizeof(mqc->cx_states)); |
|
|
|
|
|
|
|
mqc->cx_states[MQC_CX_UNI] = 2 * 46; |
|
|
|
|
|
|
|
mqc->cx_states[MQC_CX_RL] = 2 * 3; |
|
|
|
|
|
|
|
mqc->cx_states[0] = 2 * 4; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for (i = 0; i < 47; i++) { |
|
|
|
for (i = 0; i < 47; i++) { |
|
|
|
ff_mqc_qe[2 * i] = |
|
|
|
ff_mqc_qe[2 * i] = |
|
|
|
ff_mqc_qe[2 * i + 1] = cx_states[i].qe; |
|
|
|
ff_mqc_qe[2 * i + 1] = cx_states[i].qe; |
|
|
@ -110,3 +105,11 @@ void ff_mqc_init_contexts(MqcState *mqc) |
|
|
|
ff_mqc_nmps[2 * i + 1] = 2 * cx_states[i].nmps + 1; |
|
|
|
ff_mqc_nmps[2 * i + 1] = 2 * cx_states[i].nmps + 1; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void ff_mqc_init_contexts(MqcState *mqc) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
memset(mqc->cx_states, 0, sizeof(mqc->cx_states)); |
|
|
|
|
|
|
|
mqc->cx_states[MQC_CX_UNI] = 2 * 46; |
|
|
|
|
|
|
|
mqc->cx_states[MQC_CX_RL] = 2 * 3; |
|
|
|
|
|
|
|
mqc->cx_states[0] = 2 * 4; |
|
|
|
|
|
|
|
} |
|
|
|