Searched refs:SCALEB (Results 1 – 10 of 10) sorted by relevance
142 #define SCALEB 8 /* scale bits */ macro143 #define SCALE (1 << SCALEB) /* scale factor */150 #define SCTOCSC(x) ((x) >> (SCALEB - CSCALEB)) /* scaled to coarse scaled */151 #define CSCTOSC(x) ((x) << (SCALEB - CSCALEB)) /* course scaled to scaled */160 #define RUNSCALE(x) (((x) + (1 << (SCALEB-1))) >> SCALEB)162 #define UNSCALE(x) ((x) >> SCALEB)389 SQUARE[i] = (val * val) >> (2 * SCALEB + 2); in setupSquare()615 return UNSCALE(h0 -ALFRAC[(big + small)>>SCALEB]); in atfilt1()665 return UNSCALE(h0 -big0 -small0 -ALFRAC[(big1 + small1)>>SCALEB]); in atfilt2()741 -ALFRAC[(big2 + small2)>>SCALEB]); in atfilt3()
307 #define SCALEB 8 /* scale bits */ macro308 #define SCALE (1 << SCALEB) /* scale factor */314 #define SCTOCSC(x) ((x) >> (SCALEB - CSCALEB)) /* convert from scaled to coarse scaled */315 #define CSCTOSC(x) ((x) << (SCALEB - CSCALEB)) /* convert from course scaled to scaled */320 #define RUNSCALE(x) (((x) + (1 << (SCALEB-1))) >> SCALEB) /* rounded un-scale */321 #define UNSCALE(x) ((x) >> SCALEB)444 SQUARE[i] = (val * val) >> (2 * SCALEB + 2); in nlfiltInit()569 return UNSCALE(h0 -ALFRAC[(big + small)>>SCALEB]); in atfilt1()622 return UNSCALE(h0 -big0 -small0 -ALFRAC[(big1 + small1)>>SCALEB]); in atfilt2()696 return UNSCALE(h0-big0-big1-small0-small1-ALFRAC[(big2+small2)>>SCALEB]); in atfilt3()
48 SCALEB cffield PWMSCLB,0,8 ; Divisor used to form Clock SB from Clock B.
600 #define SCALEB 12 in it_filter_int() macro602 int ai = (int)(a * (1 << (16+SCALEB))); in it_filter_int()603 int bi = (int)(b * (1 << (16+SCALEB))); in it_filter_int()604 int ci = (int)(c * (1 << (16+SCALEB))); in it_filter_int()714 ai = (int)(imp[0] * (1 << (16+SCALEB))); in it_filter_sse()715 bi = (int)(imp[1] * (1 << (16+SCALEB))); in it_filter_sse()716 ci = (int)(imp[2] * (1 << (16+SCALEB))); in it_filter_sse()804 ai = (int)(imp[0] * (1 << (16+SCALEB))); in it_filter_neon()805 bi = (int)(imp[1] * (1 << (16+SCALEB))); in it_filter_neon()806 ci = (int)(imp[2] * (1 << (16+SCALEB))); in it_filter_neon()
602 #define SCALEB 12 in it_filter_int() macro604 int ai = (int)(a * (1 << (16+SCALEB))); in it_filter_int()605 int bi = (int)(b * (1 << (16+SCALEB))); in it_filter_int()606 int ci = (int)(c * (1 << (16+SCALEB))); in it_filter_int()716 ai = (int)(imp[0] * (1 << (16+SCALEB))); in it_filter_sse()717 bi = (int)(imp[1] * (1 << (16+SCALEB))); in it_filter_sse()718 ci = (int)(imp[2] * (1 << (16+SCALEB))); in it_filter_sse()806 ai = (int)(imp[0] * (1 << (16+SCALEB))); in it_filter_neon()807 bi = (int)(imp[1] * (1 << (16+SCALEB))); in it_filter_neon()808 ci = (int)(imp[2] * (1 << (16+SCALEB))); in it_filter_neon()
601 #define SCALEB 12 in it_filter_int() macro603 int ai = (int)(a * (1 << (16+SCALEB))); in it_filter_int()604 int bi = (int)(b * (1 << (16+SCALEB))); in it_filter_int()605 int ci = (int)(c * (1 << (16+SCALEB))); in it_filter_int()715 ai = (int)(imp[0] * (1 << (16+SCALEB))); in it_filter_sse()716 bi = (int)(imp[1] * (1 << (16+SCALEB))); in it_filter_sse()717 ci = (int)(imp[2] * (1 << (16+SCALEB))); in it_filter_sse()
468 #define SCALEB 12 in it_filter() macro470 int ai = (int)(a * (1 << (16+SCALEB))); in it_filter()471 int bi = (int)(b * (1 << (16+SCALEB))); in it_filter()472 int ci = (int)(c * (1 << (16+SCALEB))); in it_filter()
469 #define SCALEB 12 in it_filter() macro471 int ai = (int)(a * (1 << (16+SCALEB))); in it_filter()472 int bi = (int)(b * (1 << (16+SCALEB))); in it_filter()473 int ci = (int)(c * (1 << (16+SCALEB))); in it_filter()