/external/mesa3d/src/amd/vulkan/ |
D | vk_format_layout.csv | 4 VK_FORMAT_UNDEFINED , plain, 1, 1, u8 , , , , x001, rgb 5 VK_FORMAT_R4G4_UNORM_PACK8 , plain, 1, 1, un4 , un4 , , , xy01, rgb 6 VK_FORMAT_R4G4B4A4_UNORM_PACK16 , plain, 1, 1, un4 , un4 , un4 , un4 , wzyx, rgb 7 VK_FORMAT_B4G4R4A4_UNORM_PACK16 , plain, 1, 1, un4 , un4 , un4 , un4 , wxyz, rgb 8 VK_FORMAT_A4R4G4B4_UNORM_PACK16_EXT , plain, 1, 1, un4 , un4 , un4 , un4 , zyxw, rgb 9 VK_FORMAT_A4B4G4R4_UNORM_PACK16_EXT , plain, 1, 1, un4 , un4 , un4 , un4 , xyzw, rgb 10 VK_FORMAT_R5G6B5_UNORM_PACK16 , plain, 1, 1, un5 , un6 , un5 , , zyx1, rgb 11 VK_FORMAT_B5G6R5_UNORM_PACK16 , plain, 1, 1, un5 , un6 , un5 , , xyz1, rgb 12 VK_FORMAT_R5G5B5A1_UNORM_PACK16 , plain, 1, 1, un1 , un5 , un5 , un5 , wzyx, rgb 13 VK_FORMAT_B5G5R5A1_UNORM_PACK16 , plain, 1, 1, un1 , un5 , un5 , un5 , wxyz, rgb [all …]
|
/external/mesa3d/src/mesa/main/ |
D | formats.csv | 48 # - color space: rgb, srgb, yub, sz 52 MESA_FORMAT_NONE , other , 1, 1, 1, x8 , , , , 0001, rgb 55 MESA_FORMAT_A8B8G8R8_UNORM , packed, 1, 1, 1, un8 , un8 , un8 , un8 , wzyx, rgb 56 MESA_FORMAT_X8B8G8R8_UNORM , packed, 1, 1, 1, x8 , un8 , un8 , un8 , wzy1, rgb 57 MESA_FORMAT_R8G8B8A8_UNORM , packed, 1, 1, 1, un8 , un8 , un8 , un8 , xyzw, rgb 58 MESA_FORMAT_R8G8B8X8_UNORM , packed, 1, 1, 1, un8 , un8 , un8 , x8 , xyz1, rgb 59 MESA_FORMAT_B8G8R8A8_UNORM , packed, 1, 1, 1, un8 , un8 , un8 , un8 , zyxw, rgb 60 MESA_FORMAT_B8G8R8X8_UNORM , packed, 1, 1, 1, un8 , un8 , un8 , x8 , zyx1, rgb 61 MESA_FORMAT_A8R8G8B8_UNORM , packed, 1, 1, 1, un8 , un8 , un8 , un8 , yzwx, rgb 62 MESA_FORMAT_X8R8G8B8_UNORM , packed, 1, 1, 1, x8 , un8 , un8 , un8 , yzw1, rgb [all …]
|
/external/mesa3d/src/util/format/ |
D | u_format.csv | 49 # - color space: rgb, srgb, yuv, zs 65 PIPE_FORMAT_NONE , plain, 1, 1, 1, u8 , , , , x001, rgb 68 PIPE_FORMAT_B8G8R8A8_UNORM , plain, 1, 1, 1, un8 , un8 , un8 , un8 , zyxw, rgb 69 PIPE_FORMAT_B8G8R8X8_UNORM , plain, 1, 1, 1, un8 , un8 , un8 , x8 , zyx1, rgb 70 PIPE_FORMAT_A8R8G8B8_UNORM , plain, 1, 1, 1, un8 , un8 , un8 , un8 , yzwx, rgb 71 PIPE_FORMAT_X8R8G8B8_UNORM , plain, 1, 1, 1, x8 , un8 , un8 , un8 , yzw1, rgb 72 PIPE_FORMAT_A8B8G8R8_UNORM , plain, 1, 1, 1, un8 , un8 , un8 , un8 , wzyx, rgb 73 PIPE_FORMAT_X8B8G8R8_UNORM , plain, 1, 1, 1, x8 , un8 , un8 , un8 , wzy1, rgb 75 PIPE_FORMAT_R8G8B8X8_UNORM , plain, 1, 1, 1, un8 , un8 , un8 , x8 , xyz1, rgb 76 PIPE_FORMAT_R5G5B5A1_UNORM , plain, 1, 1, 1, un5 , un5 , un5 , un1 , xyzw, rgb, un1 , un5 … [all …]
|
/external/virglrenderer/src/gallium/auxiliary/util/ |
D | u_format.csv | 48 # - color space: rgb, yub, sz 64 PIPE_FORMAT_NONE , plain, 1, 1, u8 , , , , x001, rgb 67 PIPE_FORMAT_B8G8R8A8_UNORM , plain, 1, 1, un8 , un8 , un8 , un8 , zyxw, rgb 68 PIPE_FORMAT_B8G8R8X8_UNORM , plain, 1, 1, un8 , un8 , un8 , x8 , zyx1, rgb 69 PIPE_FORMAT_A8R8G8B8_UNORM , plain, 1, 1, un8 , un8 , un8 , un8 , yzwx, rgb 70 PIPE_FORMAT_X8R8G8B8_UNORM , plain, 1, 1, x8 , un8 , un8 , un8 , yzw1, rgb 71 PIPE_FORMAT_A8B8G8R8_UNORM , plain, 1, 1, un8 , un8 , un8 , un8 , wzyx, rgb 72 PIPE_FORMAT_X8B8G8R8_UNORM , plain, 1, 1, x8 , un8 , un8 , un8 , wzy1, rgb 74 PIPE_FORMAT_R8G8B8X8_UNORM , plain, 1, 1, un8 , un8 , un8 , x8 , xyz1, rgb 75 PIPE_FORMAT_B5G5R5X1_UNORM , plain, 1, 1, un5 , un5 , un5 , x1 , zyx1, rgb, x1 , un5 , un5… [all …]
|
/external/skia/experimental/docs/ |
D | exampleSlides.js | 280 "axisStroke": { "style":"stroke", "color":rgb(191,191,191) }, 281 "axisTextDesc": { "paint":"textBase", "color":rgb(191,191,191) }, 284 "diagSegment": { "style":"stroke", "color":rgb(127,63,127), "strokeWidth":2 }, 293 "horzSegment": { "paint":"diagSegment", "color":rgb(192,92,31) }, 295 "sectorADesc": { "paint":"textBase", "color":rgb(0,0,255) }, 296 "sectorBDesc": { "paint":"textBase", "color":rgb(0,127,0) }, 297 "sectorCDesc": { "paint":"textBase", "color":rgb(255,0,0) }, 298 "sectorXY1": { "paint":"textBase", "color":rgb(192,63,192) }, 299 "sectorXY2": { "paint":"textBase", "color":rgb(127,127,0) }, 300 "sectorXY3": { "paint":"textBase", "color":rgb(255,0,0) }, [all …]
|
/external/skqp/experimental/docs/ |
D | exampleSlides.js | 280 "axisStroke": { "style":"stroke", "color":rgb(191,191,191) }, 281 "axisTextDesc": { "paint":"textBase", "color":rgb(191,191,191) }, 284 "diagSegment": { "style":"stroke", "color":rgb(127,63,127), "strokeWidth":2 }, 293 "horzSegment": { "paint":"diagSegment", "color":rgb(192,92,31) }, 295 "sectorADesc": { "paint":"textBase", "color":rgb(0,0,255) }, 296 "sectorBDesc": { "paint":"textBase", "color":rgb(0,127,0) }, 297 "sectorCDesc": { "paint":"textBase", "color":rgb(255,0,0) }, 298 "sectorXY1": { "paint":"textBase", "color":rgb(192,63,192) }, 299 "sectorXY2": { "paint":"textBase", "color":rgb(127,127,0) }, 300 "sectorXY3": { "paint":"textBase", "color":rgb(255,0,0) }, [all …]
|
/external/libdrm/tests/util/ |
D | pattern.c | 101 #define MAKE_RGBA10(rgb, r, g, b, a) \ argument 102 (shiftcolor10(&(rgb)->red, (r)) | \ 103 shiftcolor10(&(rgb)->green, (g)) | \ 104 shiftcolor10(&(rgb)->blue, (b)) | \ 105 shiftcolor10(&(rgb)->alpha, (a))) 107 #define MAKE_RGBA(rgb, r, g, b, a) \ argument 108 (shiftcolor8(&(rgb)->red, (r)) | \ 109 shiftcolor8(&(rgb)->green, (g)) | \ 110 shiftcolor8(&(rgb)->blue, (b)) | \ 111 shiftcolor8(&(rgb)->alpha, (a))) [all …]
|
/external/skqp/src/compute/color/ |
D | color.c | 25 color_rgb32_to_rgba_f32(float rgba[4], const uint32_t rgb, const float opacity) in color_rgb32_to_rgba_f32() argument 27 rgba[2] = (float)(rgb & 0xFF) / 255.0f; // b in color_rgb32_to_rgba_f32() 28 rgba[1] = (float)(rgb >> 8 & 0xFF) / 255.0f; // g in color_rgb32_to_rgba_f32() 29 rgba[0] = (float)(rgb >> 16 & 0xFF) / 255.0f; // r in color_rgb32_to_rgba_f32() 72 color_srgb_to_linear_rgb_f32(float rgb[3]) in color_srgb_to_linear_rgb_f32() 76 if (rgb[ii] <= 0.04045f) in color_srgb_to_linear_rgb_f32() 78 rgb[ii] = rgb[ii] / 12.92f; in color_srgb_to_linear_rgb_f32() 82 rgb[ii] = powf((rgb[ii] + 0.055f) / 1.055f, 2.4f); in color_srgb_to_linear_rgb_f32() 88 color_linear_to_srgb_rgb_f32(float rgb[3]) in color_linear_to_srgb_rgb_f32() 92 if (rgb[ii] < 0.0031308f) in color_linear_to_srgb_rgb_f32() [all …]
|
/external/libjpeg-turbo/ |
D | jdcol565.c | 39 JLONG rgb; in LOCAL() local 55 rgb = PACK_SHORT_565(r, g, b); in LOCAL() 56 *(INT16 *)outptr = (INT16)rgb; in LOCAL() 68 rgb = PACK_SHORT_565(r, g, b); in LOCAL() 77 rgb = PACK_TWO_PIXELS(rgb, PACK_SHORT_565(r, g, b)); in LOCAL() 79 WRITE_TWO_ALIGNED_PIXELS(outptr, rgb); in LOCAL() 90 rgb = PACK_SHORT_565(r, g, b); in LOCAL() 91 *(INT16 *)outptr = (INT16)rgb; in LOCAL() 119 JLONG rgb; in LOCAL() local 136 rgb = PACK_SHORT_565(r, g, b); in LOCAL() [all …]
|
D | jdmrg565.c | 35 JLONG rgb; in LOCAL() local 57 rgb = PACK_SHORT_565(r, g, b); in LOCAL() 63 rgb = PACK_TWO_PIXELS(rgb, PACK_SHORT_565(r, g, b)); in LOCAL() 65 WRITE_TWO_PIXELS(outptr, rgb); in LOCAL() 80 rgb = PACK_SHORT_565(r, g, b); in LOCAL() 81 *(INT16 *)outptr = (INT16)rgb; in LOCAL() 107 JLONG rgb; in LOCAL() local 130 rgb = PACK_SHORT_565(r, g, b); in LOCAL() 137 rgb = PACK_TWO_PIXELS(rgb, PACK_SHORT_565(r, g, b)); in LOCAL() 139 WRITE_TWO_PIXELS(outptr, rgb); in LOCAL() [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_colorsys.py | 22 rgb = (r, g, b) 24 rgb, 25 colorsys.hsv_to_rgb(*colorsys.rgb_to_hsv(*rgb)) 41 for (rgb, hsv) in values: 42 self.assertTripleEqual(hsv, colorsys.rgb_to_hsv(*rgb)) 43 self.assertTripleEqual(rgb, colorsys.hsv_to_rgb(*hsv)) 49 rgb = (r, g, b) 51 rgb, 52 colorsys.hls_to_rgb(*colorsys.rgb_to_hls(*rgb)) 68 for (rgb, hls) in values: [all …]
|
/external/webp/src/dsp/ |
D | yuv_sse41.c | 110 uint8_t* const rgb) { in PlanarTo24b_SSE41() argument 125 _mm_storeu_si128((__m128i*)(rgb + 0), *in0); in PlanarTo24b_SSE41() 126 _mm_storeu_si128((__m128i*)(rgb + 16), *in1); in PlanarTo24b_SSE41() 127 _mm_storeu_si128((__m128i*)(rgb + 32), *in2); in PlanarTo24b_SSE41() 128 _mm_storeu_si128((__m128i*)(rgb + 48), *in3); in PlanarTo24b_SSE41() 129 _mm_storeu_si128((__m128i*)(rgb + 64), *in4); in PlanarTo24b_SSE41() 130 _mm_storeu_si128((__m128i*)(rgb + 80), *in5); in PlanarTo24b_SSE41() 291 const uint8_t* const rgb, __m128i* const out /*out[6]*/) { in RGB24PackedToPlanar_SSE41() argument 292 const __m128i A0 = _mm_loadu_si128((const __m128i*)(rgb + 0)); in RGB24PackedToPlanar_SSE41() 293 const __m128i A1 = _mm_loadu_si128((const __m128i*)(rgb + 16)); in RGB24PackedToPlanar_SSE41() [all …]
|
D | yuv_sse2.c | 170 uint8_t* const rgb) { in PlanarTo24b_SSE2() argument 185 _mm_storeu_si128((__m128i*)(rgb + 0), *in0); in PlanarTo24b_SSE2() 186 _mm_storeu_si128((__m128i*)(rgb + 16), *in1); in PlanarTo24b_SSE2() 187 _mm_storeu_si128((__m128i*)(rgb + 32), *in2); in PlanarTo24b_SSE2() 188 _mm_storeu_si128((__m128i*)(rgb + 48), *in3); in PlanarTo24b_SSE2() 189 _mm_storeu_si128((__m128i*)(rgb + 64), *in4); in PlanarTo24b_SSE2() 190 _mm_storeu_si128((__m128i*)(rgb + 80), *in5); in PlanarTo24b_SSE2() 471 const uint8_t* const rgb, __m128i* const out /*out[6]*/) { in RGB24PackedToPlanar_SSE2() argument 473 tmp[0] = _mm_loadu_si128((const __m128i*)(rgb + 0)); in RGB24PackedToPlanar_SSE2() 474 tmp[1] = _mm_loadu_si128((const __m128i*)(rgb + 16)); in RGB24PackedToPlanar_SSE2() [all …]
|
/external/perfetto/docs/images/ |
D | dataflow.svg | 1 …rgb(245,245,245)} 15.840000% {fill: rgb(245,245,245);animation-timing-function: cubic-bezier(0.785… 3 …rgb(128,134,139)" stroke-width="1"/><polygon id="ec4qhmsv5c9j24" points="318.880000,77.500000 311.… 5 …t;" font-size="14" transform="matrix(1 0 0 1 17 111.96093750000000)" fill="rgb(95,99,104)" fill-ru… 7 …rgb(245,245,245)" stroke="none" stroke-width="1"/><rect id="ec4qhmsv5c9j29" width="10" height="40"… 9 …ot;" font-size="18" transform="matrix(1 0 0 1 36.78125000000000 31)" fill="rgb(117,121,127)" fill-… 11 …t;" font-size="18" transform="matrix(1 0 0 1 212.98437500000000 24)" fill="rgb(106,110,116)" fill-… 13 …t;" font-size="18" transform="matrix(1 0 0 1 340 36.98437500000000)" fill="rgb(106,110,116)" fill-… 15 …rgb(96,125,139)" fill-rule="evenodd" stroke="none" stroke-width="1"/><g id="ec4qhmsv5c9j48_to" tra…
|
/external/angle/src/libANGLE/renderer/d3d/d3d11/shaders/ |
D | MultiplyAlpha.hlsl | 22 color.rgb = color.r * color.a; 31 color.rgb = color.r / color.a; 41 color.rgb = color.r * color.a; 50 color.rgb = color.r / color.a; 59 color.rgb *= color.a; 68 color.rgb /= color.a; 77 color.rgb *= color.a; 87 color.rgb /= color.a; 96 color.rgb *= color.a; 106 color.rgb /= color.a; [all …]
|
/external/skia/tools/doxygen/ |
D | customdoxygen.css | 4 --blue: rgb(0,114,178); 5 --green: rgb(0,158,115); 6 --red: rgb(213,94,0); 7 --orange: rgb(230,159,0); 8 --purple: rgb(204,121,167); 9 --brown: rgb(177,89,40); 10 --gray: rgb(79,79,79); 11 --light-blue: rgb(128,185,217); 12 --light-green: rgb(128,207,185); 13 --light-red: rgb(234,175,128); [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_colorsys.py | 22 rgb = (r, g, b) 24 rgb, 25 colorsys.hsv_to_rgb(*colorsys.rgb_to_hsv(*rgb)) 41 for (rgb, hsv) in values: 42 self.assertTripleEqual(hsv, colorsys.rgb_to_hsv(*rgb)) 43 self.assertTripleEqual(rgb, colorsys.hsv_to_rgb(*hsv)) 49 rgb = (r, g, b) 51 rgb, 52 colorsys.hls_to_rgb(*colorsys.rgb_to_hls(*rgb)) 68 for (rgb, hls) in values: [all …]
|
/external/swiftshader/src/Main/ |
D | FrameBuffer.cpp | 232 Int4 rgb = Int4(*Pointer<Short4>(s)); in copyRoutine() local 234 *Pointer<Int4>(d) = (((rgb & Int4(0xF800)) << 8) | ((rgb & Int4(0xE01F)) << 3)) | in copyRoutine() 235 (((rgb & Int4(0x07E0)) << 5) | ((rgb & Int4(0x0600)) >> 1)) | in copyRoutine() 236 (((rgb & Int4(0x001C)) >> 2) | Int4(0xFF000000)); in copyRoutine() 274 Int rgb = Int(*Pointer<Short>(s)); in copyRoutine() local 277 ((rgb & 0xF800) << 8) | ((rgb & 0xE01F) << 3) | in copyRoutine() 278 ((rgb & 0x07E0) << 5) | ((rgb & 0x0600) >> 1) | in copyRoutine() 279 ((rgb & 0x001C) >> 2); in copyRoutine() 340 Int4 rgb = Int4(*Pointer<Short4>(s)); in copyRoutine() local 343 … (((rgb & Int4(0x001F)) << 19) | ((rgb & Int4(0x001C)) << 14)) | in copyRoutine() [all …]
|
/external/swiftshader/src/System/ |
D | Half.hpp | 61 RGB9E5(float rgb[3]) in RGB9E5() 62 : RGB9E5(rgb[0], rgb[1], rgb[2]) in RGB9E5() 118 void toRGB16F(half rgb[3]) const in toRGB16F() 123 rgb[0] = half(R * factor); in toRGB16F() 124 rgb[1] = half(G * factor); in toRGB16F() 125 rgb[2] = half(B * factor); in toRGB16F() 292 R11G11B10F(float rgb[3]) in R11G11B10F() 294 R = float32ToFloat11(rgb[0]); in R11G11B10F() 295 G = float32ToFloat11(rgb[1]); in R11G11B10F() 296 B = float32ToFloat10(rgb[2]); in R11G11B10F() [all …]
|
/external/tensorflow/tensorflow/examples/android/jni/ |
D | rgb2yuv.cc | 61 const uint32_t rgb = *in++; in ConvertARGB8888ToYUV420SP() local 63 const int nB = (rgb >> 8) & 0xFF; in ConvertARGB8888ToYUV420SP() 64 const int nG = (rgb >> 16) & 0xFF; in ConvertARGB8888ToYUV420SP() 65 const int nR = (rgb >> 24) & 0xFF; in ConvertARGB8888ToYUV420SP() 67 const int nR = (rgb >> 16) & 0xFF; in ConvertARGB8888ToYUV420SP() 68 const int nG = (rgb >> 8) & 0xFF; in ConvertARGB8888ToYUV420SP() 69 const int nB = rgb & 0xFF; in ConvertARGB8888ToYUV420SP() 84 const uint32_t rgb = *in++; in ConvertRGB565ToYUV420SP() local 86 const int r5 = ((rgb >> 11) & 0x1F); in ConvertRGB565ToYUV420SP() 87 const int g6 = ((rgb >> 5) & 0x3F); in ConvertRGB565ToYUV420SP() [all …]
|
/external/skia/src/sksl/ |
D | sksl_blend.inc | 53 result.rgb += dst.rgb*(1 - src.a) + src.rgb*(1 - dst.a); 59 result.rgb = min(result.rgb, (1 - dst.a)*src.rgb + dst.rgb); 65 result.rgb = max(result.rgb, (1 - dst.a)*src.rgb + dst.rgb); 140 return half4(src.rgb + dst.rgb - 2*min(src.rgb*dst.a, dst.rgb*src.a), 145 return half4(dst.rgb + src.rgb - 2*dst.rgb*src.rgb, src.a + (1 - src.a)*dst.a); 149 return half4((1 - src.a)*dst.rgb + (1 - dst.a)*src.rgb + src.rgb*dst.rgb, 184 hueLumColor.rgb = _blend_set_color_saturation_helper(hueLumColor.rgb, sat); 202 half3 sda = src.rgb*dst.a; 203 half3 dsa = dst.rgb*src.a; 205 dst.rgb - dsa + src.rgb - sda, [all …]
|
/external/swiftshader/src/Common/ |
D | Half.hpp | 56 void toRGB16F(half rgb[3]) const in toRGB16F() 61 rgb[0] = half(R * factor); in toRGB16F() 62 rgb[1] = half(G * factor); in toRGB16F() 63 rgb[2] = half(B * factor); in toRGB16F() 84 void toRGB16F(half rgb[3]) const in toRGB16F() 86 rgb[0] = float11ToFloat16(R); in toRGB16F() 87 rgb[1] = float11ToFloat16(G); in toRGB16F() 88 rgb[2] = float10ToFloat16(B); in toRGB16F()
|
/external/skia/src/gpu/effects/ |
D | GrHSLToRGBFilterEffect.fp | 12 // [1] http://lolengine.net/blog/2013/01/13/fast-rgb-to-hsv 13 // [2] http://lolengine.net/blog/2013/07/27/rgb-to-hsv-in-glsl 17 half3 hsl = sk_InColor.rgb; 22 half3 rgb = (q - 0.5) * C + hsl.z; 24 sk_OutColor = saturate(half4(rgb, sk_InColor.a)); 25 sk_OutColor.rgb *= sk_OutColor.a; 44 rgb = (q - 0.5f) * C + L, 45 rgba = Sk4f::Min(Sk4f::Max(Sk4f(rgb[0], rgb[1], rgb[2], c.fA), 0), 1);
|
/external/skia/third_party/skcms/src/ |
D | Transform_inl.h | 660 U32 rgb = gather_24(a2b->grid_8, ix); in sample_clut_8() local 662 *r = cast<F>((rgb >> 0) & 0xff) * (1/255.0f); in sample_clut_8() 663 *g = cast<F>((rgb >> 8) & 0xff) * (1/255.0f); in sample_clut_8() 664 *b = cast<F>((rgb >> 16) & 0xff) * (1/255.0f); in sample_clut_8() 675 U64 rgb; in sample_clut_16() 676 gather_48(a2b->grid_16, ix, &rgb); in sample_clut_16() 677 rgb = swap_endian_16x4(rgb); in sample_clut_16() 679 *r = cast<F>((rgb >> 0) & 0xffff) * (1/65535.0f); in sample_clut_16() 680 *g = cast<F>((rgb >> 16) & 0xffff) * (1/65535.0f); in sample_clut_16() 681 *b = cast<F>((rgb >> 32) & 0xffff) * (1/65535.0f); in sample_clut_16() [all …]
|
/external/mesa3d/src/util/ |
D | format_rgb9e5.h | 60 static inline uint32_t float3_to_rgb9e5(const float rgb[3]) in float3_to_rgb9e5() 66 rc.u = rgb9e5_ClampRange(rgb[0]); in float3_to_rgb9e5() 67 gc.u = rgb9e5_ClampRange(rgb[1]); in float3_to_rgb9e5() 68 bc.u = rgb9e5_ClampRange(rgb[2]); in float3_to_rgb9e5() 107 static inline void rgb9e5_to_float3(uint32_t rgb, float retval[3]) in rgb9e5_to_float3() argument 112 exponent = (rgb >> 27) - RGB9E5_EXP_BIAS - RGB9E5_MANTISSA_BITS; in rgb9e5_to_float3() 115 retval[0] = ( rgb & 0x1ff) * scale.f; in rgb9e5_to_float3() 116 retval[1] = ((rgb >> 9) & 0x1ff) * scale.f; in rgb9e5_to_float3() 117 retval[2] = ((rgb >> 18) & 0x1ff) * scale.f; in rgb9e5_to_float3()
|