/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
PlaneCapabilities.cpp | 96 if (stride.rgb.stride > SPRITE_PLANE_MAX_STRIDE_LINEAR) { 97 VTRACE("too large stride %d", stride.rgb.stride);
|
/external/libvncserver/libvncserver/ |
translate.c | 365 uint16_t *rgb = (uint16_t *)(&buf[sz_rfbSetColourMapEntriesMsg]); local 388 rgb[i++] = Swap16IfLE(r * 65535 / 7); 389 rgb[i++] = Swap16IfLE(g * 65535 / 7); 390 rgb[i++] = Swap16IfLE(b * 65535 / 3);
|
/external/neven/ |
FaceDetector_jni.cpp | 221 uint16_t rgb = src[x]; local 222 int r = rgb >> 11; 223 int g2 = (rgb >> 5) & 0x3F; 224 int b = rgb & 0x1F;
|
/hardware/bsp/intel/peripheral/libupm/src/tcs3414cs/ |
tcs3414cs.h | 139 * Gets the RGB value from the sensor. 141 * @param rgb Color values 143 void readRGB (tcs3414sc_rgb_t * rgb);
|
/hardware/intel/img/hwcomposer/merrifield/include/ |
DataBuffer.h | 36 } rgb; member in union:android::intel::stride::__anon30794
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/ |
DataBuffer.h | 36 } rgb; member in union:android::intel::stride::__anon30833
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
grad.rs | 113 pixel.rgb = wsum.rgb;
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdipluscolor.h | 244 VOID SetFromCOLORREF(COLORREF rgb) 246 BYTE r = (BYTE) rgb; 247 BYTE g = (BYTE) (rgb >> 8); 248 BYTE b = (BYTE) (rgb >> 16); 257 return RGB(GetRed(), GetGreen(), GetBlue());
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
raw_converter.rs | 71 // Apply gamma correction to each color channel in RGB pixel 72 static float3 gammaCorrectPixel(float3 rgb) { 74 ret.x = gammaEncode(rgb.x); 75 ret.y = gammaEncode(rgb.y); 76 ret.z = gammaEncode(rgb.z); 80 // Apply polynomial tonemapping curve to each color channel in RGB pixel. 84 // For some RGB values: 92 // the RGB and RGB' value at this pixel before and after this tonemapping 94 static float3 tonemap(float3 rgb) { [all...] |
/external/opencv3/3rdparty/libwebp/webp/ |
encode.h | 49 WEBP_EXTERN(size_t) WebPEncodeRGB(const uint8_t* rgb, 65 WEBP_EXTERN(size_t) WebPEncodeLosslessRGB(const uint8_t* rgb, 415 // Colorspace conversion function to import RGB samples. 417 // *rgb buffer should have a size of at least height * rgb_stride. 420 WebPPicture* picture, const uint8_t* rgb, int rgb_stride); 424 // Same, but for RGBA buffer. Imports the RGB direct from the 32-bit format 426 // to a temporary 24-bit RGB buffer to import the RGB only.
|
/external/webp/include/webp/ |
encode.h | 49 WEBP_EXTERN(size_t) WebPEncodeRGB(const uint8_t* rgb, 65 WEBP_EXTERN(size_t) WebPEncodeLosslessRGB(const uint8_t* rgb, 139 int exact; // if non-zero, preserve the exact RGB values under 141 // RGB information for better compression. The default 437 // Colorspace conversion function to import RGB samples. 439 // *rgb buffer should have a size of at least height * rgb_stride. 442 WebPPicture* picture, const uint8_t* rgb, int rgb_stride); 446 // Same, but for RGBA buffer. Imports the RGB direct from the 32-bit format 448 // to a temporary 24-bit RGB buffer to import the RGB only [all...] |
/external/webp/src/webp/ |
encode.h | 49 WEBP_EXTERN(size_t) WebPEncodeRGB(const uint8_t* rgb, 65 WEBP_EXTERN(size_t) WebPEncodeLosslessRGB(const uint8_t* rgb, 139 int exact; // if non-zero, preserve the exact RGB values under 141 // RGB information for better compression. The default 437 // Colorspace conversion function to import RGB samples. 439 // *rgb buffer should have a size of at least height * rgb_stride. 442 WebPPicture* picture, const uint8_t* rgb, int rgb_stride); 446 // Same, but for RGBA buffer. Imports the RGB direct from the 32-bit format 448 // to a temporary 24-bit RGB buffer to import the RGB only [all...] |
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/ |
PlaneCapabilities.cpp | 97 VTRACE("stride %d", stride.rgb.stride); 98 if (stride.rgb.stride > SPRITE_PLANE_MAX_STRIDE_LINEAR) { 99 VTRACE("too large stride %d", stride.rgb.stride);
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_tgsi.c | 324 struct ureg_dst y, u, v, rgb; local 333 rgb = ureg_DECL_temporary(ureg); 351 ureg_MOV(ureg, rgb, matrow3); 352 ureg_MAD(ureg, rgb, 353 ureg_scalar(ureg_src(y), TGSI_SWIZZLE_X), matrow0, ureg_src(rgb)); 354 ureg_MAD(ureg, rgb, 355 ureg_scalar(ureg_src(u), TGSI_SWIZZLE_X), matrow1, ureg_src(rgb)); 356 ureg_MAD(ureg, rgb, 357 ureg_scalar(ureg_src(v), TGSI_SWIZZLE_X), matrow2, ureg_src(rgb)); 359 ureg_MOV(ureg, out, ureg_src(rgb)); [all...] |
/external/pdfium/fpdfsdk/src/fxedit/ |
fxet_pageobjs.cpp | 419 FX_FLOAT rgb[3]; local 420 rgb[0] = FXARGB_R(crFill) / 255.0f; 421 rgb[1] = FXARGB_G(crFill) / 255.0f; 422 rgb[2] = FXARGB_B(crFill) / 255.0f; 424 CPDF_ColorSpace::GetStockCS(PDFCS_DEVICERGB), rgb, 3); local 453 FX_FLOAT rgb[3]; local 454 rgb[0] = FXARGB_R(crText) / 255.0f; 455 rgb[1] = FXARGB_G(crText) / 255.0f; 456 rgb[2] = FXARGB_B(crText) / 255.0f; 458 CPDF_ColorSpace::GetStockCS(PDFCS_DEVICERGB), rgb, 3) local 460 CPDF_ColorSpace::GetStockCS(PDFCS_DEVICERGB), rgb, 3); local [all...] |
/external/libjpeg-turbo/ |
tjexampletest.in | 48 $EXEDIR/djpeg -rgb -bmp $OUTDIR/${basename}_${samp}_fast_cjpeg.jpg >$OUTDIR/${basename}_${samp}_default_djpeg.bmp 49 $EXEDIR/djpeg -dct fast -rgb -bmp $OUTDIR/${basename}_${samp}_fast_cjpeg.jpg >$OUTDIR/${basename}_${samp}_fast_djpeg.bmp 50 $EXEDIR/djpeg -dct int -rgb -bmp $OUTDIR/${basename}_${samp}_accurate_cjpeg.jpg >$OUTDIR/${basename}_${samp}_accurate_djpeg.bmp 90 $EXEDIR/djpeg -rgb -bmp -scale ${scalearg} $OUTDIR/${basename}_${samp}_fast_cjpeg.jpg >$OUTDIR/${basename}_${samp}_${scale}_djpeg.bmp 111 $EXEDIR/djpeg -rgb -bmp $OUTDIR/${basename}_${samp}_${xform}_jpegtran.jpg >$OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp 117 $EXEDIR/djpeg -nosmooth -rgb -bmp $OUTDIR/${basename}_${samp}_${xform}_jpegtran.jpg >$OUTDIR/${basename}_${samp}_${xform}_jpegtran.bmp 140 $EXEDIR/djpeg -rgb -bmp -scale ${scalearg} $OUTDIR/${basename}_${samp}_${xform}_jpegtran.jpg >$OUTDIR/${basename}_${samp}_${xform}_${scale}_jpegtran.bmp
|
/external/opencv3/modules/videoio/src/ |
cap_v4l.cpp | [all...] |
/external/webp/src/dsp/ |
alpha_processing.c | 223 uint8_t* const rgb = rgba + (alpha_first ? 1 : 0); local 230 rgb[4 * i + 0] = PREMULTIPLY(rgb[4 * i + 0], mult); 231 rgb[4 * i + 1] = PREMULTIPLY(rgb[4 * i + 1], mult); 232 rgb[4 * i + 2] = PREMULTIPLY(rgb[4 * i + 2], mult);
|
/external/webp/src/enc/ |
picture_csp.c | 23 // Uncomment to disable gamma-compression during RGB->U/V averaging 138 // RGB -> YUV conversion 156 // Smart RGB->YUV conversion 163 #define SFIX 2 // fixed-point precision of RGB and Y/W 460 // Import RGB samples to W/RGB representation. 508 // update two rows of Y and one row of RGB 563 // "Fast" regular RGB->YUV 820 static WEBP_INLINE void ConvertRowsToUV(const uint16_t* rgb, 826 for (i = 0; i < width; i += 1, rgb += 4) [all...] |
/cts/tests/camera/src/android/hardware/camera2/cts/ |
AllocationTest.java | 279 * Convert a single YUV pixel (3 byte elements) to an RGB pixel. 292 * <p>The conversion is done using JFIF File Interchange Format's "Conversion to and from RGB": 312 float[] rgb = new float[CHANNELS]; local 318 // convert YUV -> RGB (from JFIF's "Conversion to and from RGB" section) 324 rgb[0] = r / COLOR_RANGE; 325 rgb[1] = g / COLOR_RANGE; 326 rgb[2] = b / COLOR_RANGE; 330 rgb[i] = Math.max(0.0f, Math.min(1.0f, rgb[i])) [all...] |
/external/deqp/modules/gles2/accuracy/ |
es2aTextureMipmapTests.cpp | 166 deUint32 rgb = (inc << 16) | (dec << 8) | 0xff; local 167 deUint32 color = 0xff000000 | rgb; 465 deUint32 rgb = 0; local 469 case 0: rgb = (inc << 16) | (dec << 8) | 255; break; 470 case 1: rgb = (255 << 16) | (inc << 8) | dec; break; 471 case 2: rgb = (dec << 16) | (255 << 8) | inc; break; 472 case 3: rgb = (dec << 16) | (inc << 8) | 255; break; 473 case 4: rgb = (255 << 16) | (dec << 8) | inc; break; 474 case 5: rgb = (inc << 16) | (255 << 8) | dec; break; 477 deUint32 color = 0xff000000 | rgb; [all...] |
/external/deqp/modules/gles3/accuracy/ |
es3aTextureMipmapTests.cpp | 158 deUint32 rgb = (inc << 16) | (dec << 8) | 0xff; local 159 deUint32 color = 0xff000000 | rgb; 453 deUint32 rgb = 0; local 457 case 0: rgb = (inc << 16) | (dec << 8) | 255; break; 458 case 1: rgb = (255 << 16) | (inc << 8) | dec; break; 459 case 2: rgb = (dec << 16) | (255 << 8) | inc; break; 460 case 3: rgb = (dec << 16) | (inc << 8) | 255; break; 461 case 4: rgb = (255 << 16) | (dec << 8) | inc; break; 462 case 5: rgb = (inc << 16) | (255 << 8) | dec; break; 465 deUint32 color = 0xff000000 | rgb; [all...] |
/external/mesa3d/src/gallium/state_trackers/xorg/ |
xorg_exa_tgsi.c | 328 struct ureg_dst y, u, v, rgb; local 338 rgb = ureg_DECL_temporary(ureg); 363 ureg_MUL(ureg, rgb, 366 ureg_MAD(ureg, rgb, 369 ureg_src(rgb)); 370 ureg_MAD(ureg, rgb, 373 ureg_src(rgb)); 375 /* rgb.a = 1; */ 376 ureg_MOV(ureg, ureg_writemask(rgb, TGSI_WRITEMASK_W), 379 ureg_MOV(ureg, out, ureg_src(rgb)); [all...] |
/frameworks/native/opengl/libagl/ |
dxt.cpp | 51 // Extract 5/6/5 RGB 57 * Convert 5/6/5 RGB (as 3 ints) to 8/8/8 70 * Convert 5/6/5 RGB (as a single 16-bit word) to 8/8/8 72 * r4r3r2r1 r0g5g4g3 g2g1g0b4 b3b2b1b0 rgb 73 * r4r3r2 r1r0g5g4 g3g2g1g0 b4b3b2b1 b0 0 0 0 rgb << 3 76 * Construct the 24-bit RGB word as: 78 * r4r3r2r1 r0------ -------- -------- -------- -------- (rgb << 8) & 0xf80000 79 * r4r3r2 -------- -------- -------- -------- (rgb << 3) & 0x070000 80 * g5g4g3g2 g1g0---- -------- -------- (rgb << 5) & 0x00fc00 81 * g5g4 -------- -------- (rgb >> 1) & 0x00030 [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
d2d1helper.h | 344 FORCEINLINE ColorF(UINT32 rgb, FLOAT _a = 1.0) { 345 init(rgb, _a); 359 D2D1FORCEINLINE void init(UINT32 rgb, FLOAT _a) { 360 r = static_cast<float>((rgb>>16)&0xff)/255.0f; 361 g = static_cast<float>((rgb>>8)&0xff)/255.0f; 362 b = static_cast<float>(rgb&0xff)/255.0f;
|