Searched refs:tmp_rgb (Results 1 - 4 of 4) sorted by relevance
/third_party/skia/third_party/externals/libwebp/imageio/ |
H A D | pnmdec.c | 186 uint8_t* rgb = NULL, *tmp_rgb; in ReadPNM() local 230 tmp_rgb = rgb; in ReadPNM() 238 memcpy(tmp_rgb, in, info.depth * info.width * sizeof(*in)); in ReadPNM() 242 tmp_rgb[3 * i + 0] = in[4 * i + 0]; in ReadPNM() 243 tmp_rgb[3 * i + 1] = in[4 * i + 1]; in ReadPNM() 244 tmp_rgb[3 * i + 2] = in[4 * i + 2]; in ReadPNM() 263 tmp_rgb[k] = v; in ReadPNM() 267 tmp_rgb[k + 0] = tmp_rgb[k + 1] = tmp_rgb[ in ReadPNM() [all...] |
/third_party/backends/backend/ |
H A D | plustek-usbcal.c | 261 RGBUShortDef max_rgb, min_rgb, tmp_rgb; in cano_AdjustLightsource() local 352 tmp_rgb.Red = tmp_rgb.Green = tmp_rgb.Blue = 0; in cano_AdjustLightsource() 382 if( tmp_rgb.Red < dwR ) in cano_AdjustLightsource() 383 tmp_rgb.Red = dwR; in cano_AdjustLightsource() 384 if( tmp_rgb.Green < dwG ) in cano_AdjustLightsource() 385 tmp_rgb.Green = dwG; in cano_AdjustLightsource() 386 if( tmp_rgb.Blue < dwB ) in cano_AdjustLightsource() 387 tmp_rgb in cano_AdjustLightsource() [all...] |
H A D | plustek-usbshading.c | 949 RGBUShortDef max_rgb, min_rgb, tmp_rgb; in usb_AdjustGain() local 1002 tmp_rgb = max_rgb; in usb_AdjustGain() 1004 tmp_rgb = min_rgb; in usb_AdjustGain() 1007 tmp_rgb.Red, tmp_rgb.Red, tmp_rgb.Green, in usb_AdjustGain() 1008 tmp_rgb.Green, tmp_rgb.Blue, tmp_rgb.Blue); in usb_AdjustGain() 1013 regs[0x3b] = usb_GetNewGain( dev, tmp_rgb in usb_AdjustGain() [all...] |
/third_party/skia/third_party/externals/libwebp/src/enc/ |
H A D | picture_csp_enc.c | 889 uint16_t* const tmp_rgb = in ImportYUVAFromRGBA() local 890 (uint16_t*)WebPSafeMalloc(4 * uv_width, sizeof(*tmp_rgb)); in ImportYUVAFromRGBA() 906 if (tmp_rgb == NULL) return 0; // malloc error in ImportYUVAFromRGBA() 936 AccumulateRGB(r_ptr, g_ptr, b_ptr, step, rgb_stride, tmp_rgb, width); in ImportYUVAFromRGBA() 938 AccumulateRGBA(r_ptr, g_ptr, b_ptr, a_ptr, rgb_stride, tmp_rgb, width); in ImportYUVAFromRGBA() 942 WebPConvertRGBA32ToUV(tmp_rgb, dst_u, dst_v, uv_width); in ImportYUVAFromRGBA() 944 ConvertRowsToUV(tmp_rgb, dst_u, dst_v, uv_width, rg); in ImportYUVAFromRGBA() 971 tmp_rgb, width); in ImportYUVAFromRGBA() 974 tmp_rgb, width); in ImportYUVAFromRGBA() 977 WebPConvertRGBA32ToUV(tmp_rgb, dst_ in ImportYUVAFromRGBA() [all...] |
Completed in 8 milliseconds