Home
last modified time | relevance | path

Searched refs:SCALEB (Results 1 – 10 of 10) sorted by relevance

/dports/graphics/netpbm/netpbm-10.91.01/editor/
H A Dpnmnlfilt.c142 #define SCALEB 8 /* scale bits */ macro
143 #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()
/dports/graphics/gimp-app/gimp-2.10.30/plug-ins/common/
H A Dnl-filter.c307 #define SCALEB 8 /* scale bits */ macro
308 #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()
/dports/devel/asl/asl-current/include/coldfire/
H A D52xxpwm.inc48 SCALEB cffield PWMSCLB,0,8 ; Divisor used to form Clock SB from Clock B.
/dports/games/openomf/dumb-238f23c/dumb/src/it/
H A Ditrender.c600 #define SCALEB 12 in it_filter_int() macro
602 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()
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/dumb/dumb-kode54/src/it/
H A Ditrender.c602 #define SCALEB 12 in it_filter_int() macro
604 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()
/dports/games/zdoom/zdoom-2.8.1/dumb/src/it/
H A Ditrender.c601 #define SCALEB 12 in it_filter_int() macro
603 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()
/dports/audio/zmusic/ZMusic-1.1.8/thirdparty/dumb/src/it/
H A Ditrender.c601 #define SCALEB 12 in it_filter_int() macro
603 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()
/dports/games/ags/ags_linux_v.3.4.4.1/Engine/libsrc/dumb-0.9.2/it/
H A Ditrender.c468 #define SCALEB 12 in it_filter() macro
470 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()
/dports/audio/dumb/dumb-0.9.3/src/it/
H A Ditrender.c469 #define SCALEB 12 in it_filter() macro
471 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()
/dports/audio/dumb-allegro/dumb-0.9.3/src/it/
H A Ditrender.c469 #define SCALEB 12 in it_filter() macro
471 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()