mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 06:34:36 +00:00
Ditto for NEON.
This commit is contained in:
parent
d236d4b70f
commit
b32e8fa24e
@ -286,11 +286,10 @@ static tracy_force_inline uint64_t ProcessRGB( const uint8_t* src )
|
||||
return to565( src[0], src[1], src[2] );
|
||||
}
|
||||
|
||||
uint32x4_t mask = vdupq_n_u32( 0xFFFFFF );
|
||||
uint8x16_t l0 = vreinterpretq_u8_u32( vandq_u32( mask, px0 ) );
|
||||
uint8x16_t l1 = vreinterpretq_u8_u32( vandq_u32( mask, px1 ) );
|
||||
uint8x16_t l2 = vreinterpretq_u8_u32( vandq_u32( mask, px2 ) );
|
||||
uint8x16_t l3 = vreinterpretq_u8_u32( vandq_u32( mask, px3 ) );
|
||||
uint8x16_t l0 = vreinterpretq_u8_u32( px0 );
|
||||
uint8x16_t l1 = vreinterpretq_u8_u32( px1 );
|
||||
uint8x16_t l2 = vreinterpretq_u8_u32( px2 );
|
||||
uint8x16_t l3 = vreinterpretq_u8_u32( px3 );
|
||||
|
||||
uint8x16_t min0 = vminq_u8( l0, l1 );
|
||||
uint8x16_t min1 = vminq_u8( l2, l3 );
|
||||
|
Loading…
Reference in New Issue
Block a user