[FFmpeg-soc] [soc]: r5076 - jpeg2000/j2kdec.c

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Aug 13 16:32:31 CEST 2009


On Thu, Aug 13, 2009 at 04:21:35PM +0200, jai_menon wrote:
> +    if (seg_symbols) {
> +        int val;
> +        val = ff_mqc_decode(&t1->mqc, t1->mqc.cx_states + MQC_CX_UNI);
> +        val = (val << 1) + ff_mqc_decode(&t1->mqc, t1->mqc.cx_states + MQC_CX_UNI);
> +        val = (val << 1) + ff_mqc_decode(&t1->mqc, t1->mqc.cx_states + MQC_CX_UNI);
> +        val = (val << 1) + ff_mqc_decode(&t1->mqc, t1->mqc.cx_states + MQC_CX_UNI);

Hm.
int val = 0;
for (i = 0; i < 4; i++)
    val = (val << 1) + ff_mqc_decode(&t1->mqc, t1->mqc.cx_states + MQC_CX_UNI);
?


More information about the FFmpeg-soc mailing list