Searched refs:tmp_rgb (Results 1 – 4 of 4) sorted by relevance
/third_party/skia/third_party/externals/libwebp/imageio/ |
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[k + 2] = v; in ReadPNM() 270 tmp_rgb[k] = v; in ReadPNM() 277 tmp_rgb += stride; in ReadPNM()
|
/third_party/flutter/skia/third_party/externals/libwebp/imageio/ |
D | pnmdec.c | 182 uint8_t* rgb = NULL, *tmp_rgb; in ReadPNM() local 223 tmp_rgb = rgb; in ReadPNM() 230 tmp_rgb[3 * i + 0] = tmp_rgb[3 * i + 1] = tmp_rgb[3 * i + 2] = v; in ReadPNM() 233 memcpy(tmp_rgb, data + offset, 3 * info.width * sizeof(*data)); in ReadPNM() 235 memcpy(tmp_rgb, data + offset, 4 * info.width * sizeof(*data)); in ReadPNM() 238 tmp_rgb += stride; in ReadPNM()
|
/third_party/skia/third_party/externals/libwebp/src/enc/ |
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_u, dst_v, uv_width); in ImportYUVAFromRGBA() [all …]
|
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/ |
D | picture_csp_enc.c | 885 uint16_t* const tmp_rgb = in ImportYUVAFromRGBA() local 886 (uint16_t*)WebPSafeMalloc(4 * uv_width, sizeof(*tmp_rgb)); in ImportYUVAFromRGBA() 902 if (tmp_rgb == NULL) return 0; // malloc error in ImportYUVAFromRGBA() 932 AccumulateRGB(r_ptr, g_ptr, b_ptr, step, rgb_stride, tmp_rgb, width); in ImportYUVAFromRGBA() 934 AccumulateRGBA(r_ptr, g_ptr, b_ptr, a_ptr, rgb_stride, tmp_rgb, width); in ImportYUVAFromRGBA() 938 WebPConvertRGBA32ToUV(tmp_rgb, dst_u, dst_v, uv_width); in ImportYUVAFromRGBA() 940 ConvertRowsToUV(tmp_rgb, dst_u, dst_v, uv_width, rg); in ImportYUVAFromRGBA() 967 tmp_rgb, width); in ImportYUVAFromRGBA() 970 tmp_rgb, width); in ImportYUVAFromRGBA() 973 WebPConvertRGBA32ToUV(tmp_rgb, dst_u, dst_v, uv_width); in ImportYUVAFromRGBA() [all …]
|