Lines Matching refs:FRAC_BITS
556 d = -dst[index] + (1<<(FRAC_BITS-1));
558 ab += (src[x2 + y2*ref_stride] - (d>>FRAC_BITS)) * obmc_v;
643 #if FRAC_BITS >= LOG2_OBMC_MAX
644 int v = (cur1[x] * obmc1[x]) << (FRAC_BITS - LOG2_OBMC_MAX);
646 int v = (cur1[x] * obmc1[x] + (1<<(LOG2_OBMC_MAX - FRAC_BITS-1))) >> (LOG2_OBMC_MAX - FRAC_BITS);
648 v = (v + pred1[x]) >> FRAC_BITS;
1739 s->spatial_idwt_buffer[y*w + x]= pict->data[plane_index][y*pict->linesize[plane_index] + x]<<FRAC_BITS;
1759 s->spatial_dwt_buffer[y*w + x]= (s->spatial_idwt_buffer[y*w + x] + (1<<(FRAC_BITS-1))-1)>>FRAC_BITS;
1813 s->spatial_idwt_buffer[y*w + x]<<=FRAC_BITS;