Home
last modified time | relevance | path

Searched refs:b (Results 1 – 20 of 20) sorted by relevance

/TaskScheduler/ThirdParty/Squish/
H A Dcolourblock.cpp53 return ( r << 11 ) | ( g << 5 ) | b; in FloatTo565()
64 bytes[2] = ( u8 )( b & 0xff ); in WriteColourBlock()
65 bytes[3] = ( u8 )( b >> 8 ); in WriteColourBlock()
79 int b = FloatTo565( end ); in WriteColourBlock3() local
83 if( a <= b ) in WriteColourBlock3()
92 std::swap( a, b ); in WriteColourBlock3()
112 int b = FloatTo565( end ); in WriteColourBlock4() local
116 if( a < b ) in WriteColourBlock4()
119 std::swap( a, b ); in WriteColourBlock4()
123 else if( a == b ) in WriteColourBlock4()
[all …]
H A Dmaths.cpp54 Vec3 b = weights[i]*a; in ComputeWeightedCovariance() local
56 covariance[0] += a.X()*b.X(); in ComputeWeightedCovariance()
57 covariance[1] += a.X()*b.Y(); in ComputeWeightedCovariance()
58 covariance[2] += a.X()*b.Z(); in ComputeWeightedCovariance()
59 covariance[3] += a.Y()*b.Y(); in ComputeWeightedCovariance()
60 covariance[4] += a.Y()*b.Z(); in ComputeWeightedCovariance()
61 covariance[5] += a.Z()*b.Z(); in ComputeWeightedCovariance()
176 float Q = 0.25f*b*b + ( 1.0f/27.0f )*a*a*a; in ComputePrincipleComponent()
188 float rho = std::sqrt( 0.25f*b*b - Q ); in ComputePrincipleComponent()
211 if( b < 0.0f ) in ComputePrincipleComponent()
[all …]
H A Dclusterfit.cpp173 b = Min( one, Max( zero, b ) ); in Compress3()
175 b = Truncate( MultiplyAdd( grid, b, half ) )*gridrcp; in Compress3()
178 Vec4 e1 = MultiplyAdd( a*a, alpha2_sum, b*b*beta2_sum ); in Compress3()
179 Vec4 e2 = NegativeMultiplySubtract( a, alphax_sum, a*b*alphabeta_sum ); in Compress3()
180 Vec4 e3 = NegativeMultiplySubtract( b, betax_sum, e2 ); in Compress3()
191 bestend = b; in Compress3()
308 b = Min( one, Max( zero, b ) ); in Compress4()
310 b = Truncate( MultiplyAdd( grid, b, half ) )*gridrcp; in Compress4()
313 Vec4 e1 = MultiplyAdd( a*a, alpha2_sum, b*b*beta2_sum ); in Compress4()
315 Vec4 e3 = NegativeMultiplySubtract( b, betax_sum, e2 ); in Compress4()
[all …]
H A Dsimd_ve.h119 friend Vec4 MultiplyAdd( Vec4::Arg a, Vec4::Arg b, Vec4::Arg c ) in MultiplyAdd() argument
121 return Vec4( vec_madd( a.m_v, b.m_v, c.m_v ) ); in MultiplyAdd()
125 friend Vec4 NegativeMultiplySubtract( Vec4::Arg a, Vec4::Arg b, Vec4::Arg c ) in NegativeMultiplySubtract() argument
127 return Vec4( vec_nmsub( a.m_v, b.m_v, c.m_v ) ); in NegativeMultiplySubtract()
H A Dsimd_float.h114 friend Vec4 MultiplyAdd( Vec4::Arg a, Vec4::Arg b, Vec4::Arg c ) in MultiplyAdd() argument
116 return a*b + c; in MultiplyAdd()
120 friend Vec4 NegativeMultiplySubtract( Vec4::Arg a, Vec4::Arg b, Vec4::Arg c ) in NegativeMultiplySubtract() argument
122 return c - a*b; in NegativeMultiplySubtract()
H A Dsimd_sse.h115 friend Vec4 MultiplyAdd( Vec4::Arg a, Vec4::Arg b, Vec4::Arg c ) in MultiplyAdd() argument
117 return Vec4( _mm_add_ps( _mm_mul_ps( a.m_v, b.m_v ), c.m_v ) ); in MultiplyAdd()
121 friend Vec4 NegativeMultiplySubtract( Vec4::Arg a, Vec4::Arg b, Vec4::Arg c ) in NegativeMultiplySubtract() argument
123 return Vec4( _mm_sub_ps( c.m_v, _mm_mul_ps( a.m_v, b.m_v ) ) ); in NegativeMultiplySubtract()
H A Dtexture_compression_s3tc.txt269 DELETE: -b, where b is value of TEXTURE_BORDER.
274 DELETE: <yoffset>, or <zoffset> is greater than -b, <xoffset> + <width> is
275 DELETE: less than w+b, <yoffset> + <height> is less than h+b, or <zoffset>
276 DELETE: + <depth> is less than d+b, where b is the value of
/TaskScheduler/Scheduler/Include/
H A DMTTools.h30 T Min(T a, T b) in Min() argument
32 return a < b ? a : b; in Min()
36 T Max(T a, T b) in Max() argument
38 return a < b ? b : a; in Max()
H A DMTColorTable.h185 uint8 b = (color) & 0xFF; in ConvertToABGR() local
189 result |= (b << 16); in ConvertToABGR()
/TaskScheduler/ThirdParty/UnitTest++/tests/
H A DTestUnitTestPP.cpp10 bool const b = true; in TEST() local
11 CHECK(b); in TEST()
138 void CheckBool(const bool b) in CheckBool() argument
140 CHECK(b); in CheckBool()
/TaskScheduler/ThirdParty/Boost.Context/asm/
H A Dmake_i386_sysv_elf_gas.S54 addl $finish-1b, %ecx
66 addl $_GLOBAL_OFFSET_TABLE_+[.-2b], %ebx
H A Dmake_i386_sysv_macho_gas.S53 addl $finish-1b, %ecx
H A Djump_arm64_aapcs_macho_gas.S58 b.eq 1f
91 b.eq 2f
H A Djump_arm64_aapcs_elf_gas.S71 # b.eq 1f
101 # b.eq 2f
H A Dmake_sparc_sysv_elf_gas.S71 3: add finish-2b-8, %o7, %i4
H A Dmake_sparc64_sysv_elf_gas.S75 add %i4, finish-1b-8, %i4
H A Dmake_ppc32_sysv_elf_gas.S96 addi %r4, %r4, finish - 1b
H A Dmake_ppc64_sysv_elf_gas.S153 addi %r4, %r4, finish - 1b
/TaskScheduler/SchedulerTests/Tests/
H A DAtomicTests.cpp138 MT::Atomic32<uint32> b; in SUITE() local
158 uint32 prevB = b.AddFetch(1); in SUITE()
205 b.Store(2); in SUITE()
H A DDxtTests.cpp140 uint8 b = srcPixels[index + 2]; in SUITE() local
142 uint32 color = 0xFF000000 | ((b << 16) | (g << 8) | (r)); in SUITE()