Lines Matching refs:NORMALIZE
2665 ptr[ 3 ] = (unsigned char)NORMALIZE( srcVector[ 3 ], 255.f ); in pack_image_pixel()
2670 ptr[ i ] = (unsigned char)NORMALIZE( srcVector[ i ], 255.f ); in pack_image_pixel()
2686 ptr[ i ] = (unsigned short)NORMALIZE( srcVector[ i ], 65535.f ); in pack_image_pixel()
2692 ptr[ 0 ] = ( ( (unsigned short)NORMALIZE( srcVector[ 0 ], 31.f ) & 31 ) << 10 ) | in pack_image_pixel()
2693 ( ( (unsigned short)NORMALIZE( srcVector[ 1 ], 31.f ) & 31 ) << 5 ) | in pack_image_pixel()
2694 ( ( (unsigned short)NORMALIZE( srcVector[ 2 ], 31.f ) & 31 ) << 0 ); in pack_image_pixel()
2700 ptr[ 0 ] = ( ( (unsigned short)NORMALIZE( srcVector[ 0 ], 31.f ) & 31 ) << 11 ) | in pack_image_pixel()
2701 ( ( (unsigned short)NORMALIZE( srcVector[ 1 ], 63.f ) & 63 ) << 5 ) | in pack_image_pixel()
2702 ( ( (unsigned short)NORMALIZE( srcVector[ 2 ], 31.f ) & 31 ) << 0 ); in pack_image_pixel()
2708 ptr[ 0 ] = ( ( (unsigned int)NORMALIZE( srcVector[ 0 ], 1023.f ) & 1023 ) << 20 ) | in pack_image_pixel()
2709 ( ( (unsigned int)NORMALIZE( srcVector[ 1 ], 1023.f ) & 1023 ) << 10 ) | in pack_image_pixel()
2710 ( ( (unsigned int)NORMALIZE( srcVector[ 2 ], 1023.f ) & 1023 ) << 0 ); in pack_image_pixel()