Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/examples/
A Dgifdec.c115 WebPPicture sub_image; in GIFReadFrame() local
133 rect.width, rect.height, &sub_image)) { in GIFReadFrame()
138 dst = sub_image.argb; in GIFReadFrame()
149 const size_t stride = (size_t)sub_image.argb_stride; in GIFReadFrame()
161 for (y = 0; y < rect.height; ++y, ptr += sub_image.argb_stride) { in GIFReadFrame()
169 if (!ok) picture->error_code = sub_image.error_code; in GIFReadFrame()
170 WebPPictureFree(&sub_image); in GIFReadFrame()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/mux/
A Danim_encode.c1420 WebPPicture sub_image; in DecodeFrameOntoCanvas() local
1429 config.input.width, config.input.height, &sub_image)) { in DecodeFrameOntoCanvas()
1434 config.output.u.RGBA.rgba = (uint8_t*)sub_image.argb; in DecodeFrameOntoCanvas()
1435 config.output.u.RGBA.stride = sub_image.argb_stride * 4; in DecodeFrameOntoCanvas()
1436 config.output.u.RGBA.size = config.output.u.RGBA.stride * sub_image.height; in DecodeFrameOntoCanvas()

Completed in 7 milliseconds