Home
last modified time | relevance | path

Searched refs:tmp_rgb (Results 1 – 2 of 2) sorted by relevance

/external/webp/imageio/
Dpnmdec.c191 uint8_t* rgb = NULL, *tmp_rgb; in ReadPNM() local
235 tmp_rgb = rgb; in ReadPNM()
243 memcpy(tmp_rgb, in, info.depth * info.width * sizeof(*in)); in ReadPNM()
247 tmp_rgb[3 * i + 0] = in[4 * i + 0]; in ReadPNM()
248 tmp_rgb[3 * i + 1] = in[4 * i + 1]; in ReadPNM()
249 tmp_rgb[3 * i + 2] = in[4 * i + 2]; in ReadPNM()
268 tmp_rgb[k] = v; in ReadPNM()
272 tmp_rgb[k + 0] = tmp_rgb[k + 1] = tmp_rgb[k + 2] = v; in ReadPNM()
275 tmp_rgb[k] = v; in ReadPNM()
282 tmp_rgb += stride; in ReadPNM()
/external/webp/src/enc/
Dpicture_csp_enc.c520 uint16_t* const tmp_rgb = in ImportYUVAFromRGBA() local
521 (uint16_t*)WebPSafeMalloc(4 * uv_width, sizeof(*tmp_rgb)); in ImportYUVAFromRGBA()
537 if (tmp_rgb == NULL) return 0; // malloc error in ImportYUVAFromRGBA()
567 AccumulateRGB(r_ptr, g_ptr, b_ptr, step, rgb_stride, tmp_rgb, width); in ImportYUVAFromRGBA()
569 AccumulateRGBA(r_ptr, g_ptr, b_ptr, a_ptr, rgb_stride, tmp_rgb, width); in ImportYUVAFromRGBA()
573 WebPConvertRGBA32ToUV(tmp_rgb, dst_u, dst_v, uv_width); in ImportYUVAFromRGBA()
575 ConvertRowsToUV(tmp_rgb, dst_u, dst_v, uv_width, rg); in ImportYUVAFromRGBA()
602 tmp_rgb, width); in ImportYUVAFromRGBA()
605 tmp_rgb, width); in ImportYUVAFromRGBA()
608 WebPConvertRGBA32ToUV(tmp_rgb, dst_u, dst_v, uv_width); in ImportYUVAFromRGBA()
[all …]