Lines Matching defs:mask
583 mask = ~((1<<NMSEDEC_FRACBITS)-1);
587 lut_nmsedec_sig0[i] = FFMAX((i*i + (1<<NMSEDEC_FRACBITS-1) & mask) << 1, 0);
592 lut_nmsedec_ref0[i] = FFMAX(((i * i - (i << NMSEDEC_BITS) + (1 << 2 * NMSEDEC_FRACBITS) + (1 << (NMSEDEC_FRACBITS - 1))) & mask)
615 int y0, x, y, mask = 1 << (bpno + NMSEDEC_FRACBITS);
621 bit = t1->data[(y) * t1->stride + x] & mask ? 1 : 0;
637 int y0, x, y, mask = 1 << (bpno + NMSEDEC_FRACBITS);
644 ff_mqc_encode(&t1->mqc, t1->mqc.cx_states + ctxno, t1->data[(y) * t1->stride + x] & mask ? 1:0);
651 int y0, x, y, mask = 1 << (bpno + NMSEDEC_FRACBITS);
663 if (t1->data[(y0+rlen) * t1->stride + x] & mask)
674 ff_mqc_encode(&t1->mqc, t1->mqc.cx_states + ctxno, t1->data[(y) * t1->stride + x] & mask ? 1:0);
675 if (t1->data[(y) * t1->stride + x] & mask){ // newly significant
689 ff_mqc_encode(&t1->mqc, t1->mqc.cx_states + ctxno, t1->data[(y) * t1->stride + x] & mask ? 1:0);
690 if (t1->data[(y) * t1->stride + x] & mask){ // newly significant