Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/imageio/
A Dpnmdec.c182 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()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/
A Dpicture_csp_enc.c885 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()
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()
975 ConvertRowsToUV(tmp_rgb, dst_u, dst_v, uv_width, rg); in ImportYUVAFromRGBA()
[all …]

Completed in 6 milliseconds