/dports/devel/etl/synfig-1.2.2/ETL/ETL/ |
H A D | _fixed.h | 74 template<typename T, unsigned int FIXED_BITS> _ETL::fixed_base<T,FIXED_BITS> abs(const _ETL::fixed_… 75 template<typename T, unsigned int FIXED_BITS> _ETL::fixed_base<T,FIXED_BITS> cos(const _ETL::fixed_… 76 template<typename T, unsigned int FIXED_BITS> _ETL::fixed_base<T,FIXED_BITS> cosh(const _ETL::fixed… 77 template<typename T, unsigned int FIXED_BITS> _ETL::fixed_base<T,FIXED_BITS> exp(const _ETL::fixed_… 78 template<typename T, unsigned int FIXED_BITS> _ETL::fixed_base<T,FIXED_BITS> log(const _ETL::fixed_… 82 template<typename T, unsigned int FIXED_BITS> _ETL::fixed_base<T,FIXED_BITS> pow(const _ETL::fixed_… 84 …T, unsigned int FIXED_BITS> _ETL::fixed_base<T,FIXED_BITS> pow(const _ETL::fixed_base<T,FIXED_BITS… 85 template<typename T, unsigned int FIXED_BITS> _ETL::fixed_base<T,FIXED_BITS> sin(const _ETL::fixed_… 338 template <class T,unsigned int FIXED_BITS>fixed_base<T,FIXED_BITS> 347 template <class T,unsigned int FIXED_BITS>fixed_base<T,FIXED_BITS> [all …]
|
/dports/graphics/synfig/synfig-1.2.2/ETL/ETL/ |
H A D | _fixed.h | 74 template<typename T, unsigned int FIXED_BITS> _ETL::fixed_base<T,FIXED_BITS> abs(const _ETL::fixed_… 75 template<typename T, unsigned int FIXED_BITS> _ETL::fixed_base<T,FIXED_BITS> cos(const _ETL::fixed_… 76 template<typename T, unsigned int FIXED_BITS> _ETL::fixed_base<T,FIXED_BITS> cosh(const _ETL::fixed… 77 template<typename T, unsigned int FIXED_BITS> _ETL::fixed_base<T,FIXED_BITS> exp(const _ETL::fixed_… 78 template<typename T, unsigned int FIXED_BITS> _ETL::fixed_base<T,FIXED_BITS> log(const _ETL::fixed_… 82 template<typename T, unsigned int FIXED_BITS> _ETL::fixed_base<T,FIXED_BITS> pow(const _ETL::fixed_… 84 …T, unsigned int FIXED_BITS> _ETL::fixed_base<T,FIXED_BITS> pow(const _ETL::fixed_base<T,FIXED_BITS… 85 template<typename T, unsigned int FIXED_BITS> _ETL::fixed_base<T,FIXED_BITS> sin(const _ETL::fixed_… 338 template <class T,unsigned int FIXED_BITS>fixed_base<T,FIXED_BITS> 347 template <class T,unsigned int FIXED_BITS>fixed_base<T,FIXED_BITS> [all …]
|
/dports/graphics/synfigstudio/synfig-1.2.2/ETL/ETL/ |
H A D | _fixed.h | 74 template<typename T, unsigned int FIXED_BITS> _ETL::fixed_base<T,FIXED_BITS> abs(const _ETL::fixed_… 75 template<typename T, unsigned int FIXED_BITS> _ETL::fixed_base<T,FIXED_BITS> cos(const _ETL::fixed_… 76 template<typename T, unsigned int FIXED_BITS> _ETL::fixed_base<T,FIXED_BITS> cosh(const _ETL::fixed… 77 template<typename T, unsigned int FIXED_BITS> _ETL::fixed_base<T,FIXED_BITS> exp(const _ETL::fixed_… 78 template<typename T, unsigned int FIXED_BITS> _ETL::fixed_base<T,FIXED_BITS> log(const _ETL::fixed_… 82 template<typename T, unsigned int FIXED_BITS> _ETL::fixed_base<T,FIXED_BITS> pow(const _ETL::fixed_… 84 …T, unsigned int FIXED_BITS> _ETL::fixed_base<T,FIXED_BITS> pow(const _ETL::fixed_base<T,FIXED_BITS… 85 template<typename T, unsigned int FIXED_BITS> _ETL::fixed_base<T,FIXED_BITS> sin(const _ETL::fixed_… 338 template <class T,unsigned int FIXED_BITS>fixed_base<T,FIXED_BITS> 347 template <class T,unsigned int FIXED_BITS>fixed_base<T,FIXED_BITS> [all …]
|
/dports/games/libretro-pcsx_rearmed/pcsx_rearmed-c2d67cd/plugins/gpu_unai/ |
H A D | gpu_raster_polygon.h | 421 du4 = (fixed)((du4 << FIXED_BITS) * finv); in gpuDrawPolyFT() 674 u4 += (du4 * itmp) >> FIXED_BITS; in gpuDrawPolyFT() 675 v4 += (dv4 * itmp) >> FIXED_BITS; in gpuDrawPolyFT() 1020 r4 += (dr4 * itmp) >> FIXED_BITS; in gpuDrawPolyG() 1021 g4 += (dg4 * itmp) >> FIXED_BITS; in gpuDrawPolyG() 1022 b4 += (db4 * itmp) >> FIXED_BITS; in gpuDrawPolyG() 1418 u4 += (du4 * itmp) >> FIXED_BITS; in gpuDrawPolyGT() 1419 v4 += (dv4 * itmp) >> FIXED_BITS; in gpuDrawPolyGT() 1420 r4 += (dr4 * itmp) >> FIXED_BITS; in gpuDrawPolyGT() 1421 g4 += (dg4 * itmp) >> FIXED_BITS; in gpuDrawPolyGT() [all …]
|
H A D | gpu_fixedpoint.h | 29 #define FIXED_BITS 10 macro 32 #define fixed_ONE ((fixed)1<<FIXED_BITS) 33 #define fixed_TWO ((fixed)2<<FIXED_BITS) 34 #define fixed_HALF ((fixed)((1<<FIXED_BITS)>>1)) 36 #define fixed_LOMASK ((fixed)((1<<FIXED_BITS)-1)) 40 #define i2x(x) ((x)<<FIXED_BITS) 41 #define x2i(x) ((x)>>FIXED_BITS) 50 return (x + (fixed_ONE - 1)) >> FIXED_BITS; in FixedCeilToInt() 54 #define f2x(x) ((s32)((x) * (float)(1<<FIXED_BITS))) 55 #define x2f(x) ((float)(x) / (float)(1<<FIXED_BITS))
|
H A D | gpulib_if.cpp | 237 const u32 fb = FIXED_BITS; // # of fractional fixed-pt bits of u4/v4 in renderer_init() 354 const u32 fb = FIXED_BITS; // # of fractional fixed-pt bits of u4/v4 in gpuGP0Cmd_0xEx()
|
H A D | gpu_command.h | 116 const u32 fb = FIXED_BITS; // # of fractional fixed-pt bits of u4/v4 in gpuGP0Cmd_0xEx()
|
H A D | gpu.cpp | 95 const u32 fb = FIXED_BITS; // # of fractional fixed-pt bits of u4/v4 in gpuReset()
|
/dports/games/kodi-addon-game.libretro.pcsx-rearmed/game.libretro.pcsx-rearmed-22.0.0.19-Matrix/depends/common/pcsx-rearmed/plugins/gpu_unai/ |
H A D | gpu_raster_polygon.h | 421 du4 = (fixed)((du4 << FIXED_BITS) * finv); in gpuDrawPolyFT() 674 u4 += (du4 * itmp) >> FIXED_BITS; in gpuDrawPolyFT() 675 v4 += (dv4 * itmp) >> FIXED_BITS; in gpuDrawPolyFT() 1020 r4 += (dr4 * itmp) >> FIXED_BITS; in gpuDrawPolyG() 1021 g4 += (dg4 * itmp) >> FIXED_BITS; in gpuDrawPolyG() 1022 b4 += (db4 * itmp) >> FIXED_BITS; in gpuDrawPolyG() 1418 u4 += (du4 * itmp) >> FIXED_BITS; in gpuDrawPolyGT() 1419 v4 += (dv4 * itmp) >> FIXED_BITS; in gpuDrawPolyGT() 1420 r4 += (dr4 * itmp) >> FIXED_BITS; in gpuDrawPolyGT() 1421 g4 += (dg4 * itmp) >> FIXED_BITS; in gpuDrawPolyGT() [all …]
|
H A D | gpu_fixedpoint.h | 29 #define FIXED_BITS 10 macro 32 #define fixed_ONE ((fixed)1<<FIXED_BITS) 33 #define fixed_TWO ((fixed)2<<FIXED_BITS) 34 #define fixed_HALF ((fixed)((1<<FIXED_BITS)>>1)) 36 #define fixed_LOMASK ((fixed)((1<<FIXED_BITS)-1)) 40 #define i2x(x) ((x)<<FIXED_BITS) 41 #define x2i(x) ((x)>>FIXED_BITS) 50 return (x + (fixed_ONE - 1)) >> FIXED_BITS; in FixedCeilToInt() 54 #define f2x(x) ((s32)((x) * (float)(1<<FIXED_BITS))) 55 #define x2f(x) ((float)(x) / (float)(1<<FIXED_BITS))
|
H A D | gpulib_if.cpp | 237 const u32 fb = FIXED_BITS; // # of fractional fixed-pt bits of u4/v4 in renderer_init() 354 const u32 fb = FIXED_BITS; // # of fractional fixed-pt bits of u4/v4 in gpuGP0Cmd_0xEx()
|
H A D | gpu_command.h | 116 const u32 fb = FIXED_BITS; // # of fractional fixed-pt bits of u4/v4 in gpuGP0Cmd_0xEx()
|
/dports/misc/cloc/cloc-1.90/tests/inputs/aa/bb/cc/ |
H A D | plasma.c | 54 #define FIXED_BITS 16 macro 55 #define FIXED_ONE (1 << FIXED_BITS) 58 #define FIXED_FROM_INT(x) ((x) << FIXED_BITS) 59 #define FIXED_TO_INT(x) ((x) >> FIXED_BITS) 64 #define FIXED_MUL(x,y) (((int64_t)(x) * (y)) >> FIXED_BITS) 70 #define FIXED_FRAC(x) ((x) & ((1 << FIXED_BITS)-1)) 71 #define FIXED_TRUNC(x) ((x) & ~((1 << FIXED_BITS)-1)) 91 #if ANGLE_BITS <= FIXED_BITS 134 #if PALETTE_BITS > FIXED_BITS 135 # error PALETTE_BITS must be smaller than FIXED_BITS [all …]
|
/dports/devel/android-tools-adb/platform_system_core-android-9.0.0_r3/libpixelflinger/include/private/pixelflinger/ |
H A D | ggl_fixed.h | 28 const GGLfixed FIXED_BITS = 16; variable 30 const GGLfixed FIXED_ONE = 1L<<FIXED_BITS; 31 const GGLfixed FIXED_HALF = 1L<<(FIXED_BITS-1); 46 return i<<FIXED_BITS; in gglIntToFixed() 49 return (f + FIXED_HALF)>>FIXED_BITS; in gglFixedToIntRound() 52 return f>>FIXED_BITS; in gglFixedToIntFloor() 55 return (f + ((1<<FIXED_BITS) - 1))>>FIXED_BITS; in gglFixedToIntCeil() 59 return v & ((1<<FIXED_BITS)-1); in gglFracx() 62 return gglFixedToIntFloor(v)<<FIXED_BITS; in gglFloorx() 65 return gglFixedToIntCeil(v)<<FIXED_BITS; in gglCeilx() [all …]
|
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/libpixelflinger/include/private/pixelflinger/ |
H A D | ggl_fixed.h | 28 const GGLfixed FIXED_BITS = 16; variable 30 const GGLfixed FIXED_ONE = 1L<<FIXED_BITS; 31 const GGLfixed FIXED_HALF = 1L<<(FIXED_BITS-1); 46 return i<<FIXED_BITS; in gglIntToFixed() 49 return (f + FIXED_HALF)>>FIXED_BITS; in gglFixedToIntRound() 52 return f>>FIXED_BITS; in gglFixedToIntFloor() 55 return (f + ((1<<FIXED_BITS) - 1))>>FIXED_BITS; in gglFixedToIntCeil() 59 return v & ((1<<FIXED_BITS)-1); in gglFracx() 62 return gglFixedToIntFloor(v)<<FIXED_BITS; in gglFloorx() 65 return gglFixedToIntCeil(v)<<FIXED_BITS; in gglCeilx() [all …]
|
/dports/www/wt/wt-4.6.1/src/Wt/Auth/ |
H A D | passwdqc_check.c | 42 #define FIXED_BITS 15 macro 56 x = ((fixed)(charset - 1) << FIXED_BITS) / charset; in expected_different() 59 y = (y * x) >> FIXED_BITS; in expected_different() 60 z = (fixed)charset * (((fixed)1 << FIXED_BITS) - y); in expected_different() 62 return (int)(z >> FIXED_BITS); in expected_different()
|
/dports/audio/schismtracker/schismtracker-20211116/schism/ |
H A D | video.c | 1407 #define FIXED_BITS 8 macro 1408 #define FIXED_MASK ((1 << FIXED_BITS) - 1) 1409 #define ONE_HALF_FIXED (1 << (FIXED_BITS - 1)) 1410 #define INT2FIXED(x) ((x) << FIXED_BITS) 1411 #define FIXED2INT(x) ((x) >> FIXED_BITS) 1463 #if FIXED_BITS <= 8 in _blit1n() 1472 outb = ((((t2-t1)*ey) >> FIXED_BITS) + t1); in _blit1n() 1476 outg = (((((t2-t1)*ey) >> FIXED_BITS) + t1) >> 8) & 0xFF; in _blit1n() 1488 outb = ((((t2-t1)*ey) >> FIXED_BITS) + t1); in _blit1n() 1492 outg = ((((t2-t1)*ey) >> FIXED_BITS) + t1); in _blit1n() [all …]
|
/dports/games/libretro-pcsx_rearmed/pcsx_rearmed-c2d67cd/plugins/gpu_neon/psx_gpu/ |
H A D | psx_gpu_standard.c | 25 #define FIXED_BITS 12 macro 28 ((((fixed_type)value) << FIXED_BITS) + (1 << (FIXED_BITS - 1))) \ 31 (((fixed_type)value) << FIXED_BITS) \ 34 ((value) >> FIXED_BITS) \ 37 (((s64)(_a) * (_b)) >> FIXED_BITS) \ 40 ((value) / (double)(1 << FIXED_BITS)) \ 43 (fixed_type)(((value) * (double)(1 << FIXED_BITS))) \ 498 shift -= FIXED_BITS; \
|
H A D | psx_gpu.c | 57 #define FIXED_BITS 12 macro 60 ((((fixed_type)(value)) << FIXED_BITS) + (1 << (FIXED_BITS - 1))) \ 63 (((fixed_type)(value)) << FIXED_BITS) \ 66 ((value) >> FIXED_BITS) \ 69 ((value) / (double)(1 << FIXED_BITS)) \ 72 (fixed_type)(((value) * (double)(1 << FIXED_BITS))) \ 548 triangle_area_shift = -(triangle_area_shift - FIXED_BITS); in compute_all_gradients()
|
/dports/games/kodi-addon-game.libretro.pcsx-rearmed/game.libretro.pcsx-rearmed-22.0.0.19-Matrix/depends/common/pcsx-rearmed/plugins/gpu_neon/psx_gpu/ |
H A D | psx_gpu_standard.c | 25 #define FIXED_BITS 12 macro 28 ((((fixed_type)value) << FIXED_BITS) + (1 << (FIXED_BITS - 1))) \ 31 (((fixed_type)value) << FIXED_BITS) \ 34 ((value) >> FIXED_BITS) \ 37 (((s64)(_a) * (_b)) >> FIXED_BITS) \ 40 ((value) / (double)(1 << FIXED_BITS)) \ 43 (fixed_type)(((value) * (double)(1 << FIXED_BITS))) \ 498 shift -= FIXED_BITS; \
|
H A D | psx_gpu.c | 57 #define FIXED_BITS 12 macro 60 ((((fixed_type)(value)) << FIXED_BITS) + (1 << (FIXED_BITS - 1))) \ 63 (((fixed_type)(value)) << FIXED_BITS) \ 66 ((value) >> FIXED_BITS) \ 69 ((value) / (double)(1 << FIXED_BITS)) \ 72 (fixed_type)(((value) * (double)(1 << FIXED_BITS))) \ 548 triangle_area_shift = -(triangle_area_shift - FIXED_BITS); in compute_all_gradients()
|
/dports/x11-wm/mutter/mutter-41.1/clutter/clutter/ |
H A D | clutter-bezier.c | 62 #define FIXED_BITS (32) macro 63 #define FIXED_Q (FIXED_BITS - 16)
|
/dports/x11-wm/muffin/muffin-4.8.0/clutter/clutter/ |
H A D | clutter-bezier.c | 62 #define FIXED_BITS (32) macro 63 #define FIXED_Q (FIXED_BITS - 16)
|
/dports/devel/android-tools-adb/platform_system_core-android-9.0.0_r3/libpixelflinger/ |
H A D | trap.cpp | 882 const int shift = FIXED_BITS - TRI_FRACTION_BITS; in aa_edge_setup() 899 >> (TRI_FRACTION_BITS + TRI_ITERATORS_BITS - FIXED_BITS); in aa_edge_setup() 1002 const int32_t shift = TRI_FRACTION_BITS + TRI_ITERATORS_BITS - FIXED_BITS; in aapolyx() 1072 FIXED_BITS + TRI_FRACTION_BITS - 15); in aapolyx() 1112 SET_COVERAGE(coverage, 0x7FFF, ((r_max - l_max_i)>>FIXED_BITS)+1); in aapolyx() 1125 FIXED_BITS + TRI_FRACTION_BITS - 15); in aapolyx()
|
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/libpixelflinger/ |
H A D | trap.cpp | 882 const int shift = FIXED_BITS - TRI_FRACTION_BITS; in aa_edge_setup() 899 >> (TRI_FRACTION_BITS + TRI_ITERATORS_BITS - FIXED_BITS); in aa_edge_setup() 1002 const int32_t shift = TRI_FRACTION_BITS + TRI_ITERATORS_BITS - FIXED_BITS; in aapolyx() 1072 FIXED_BITS + TRI_FRACTION_BITS - 15); in aapolyx() 1112 SET_COVERAGE(coverage, 0x7FFF, ((r_max - l_max_i)>>FIXED_BITS)+1); in aapolyx() 1125 FIXED_BITS + TRI_FRACTION_BITS - 15); in aapolyx()
|