/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/extras/ |
A D | extras.c | 32 int y, width, uv_width; in WebPImportGray() local 37 uv_width = (width + 1) >> 1; in WebPImportGray() 42 memset(pic->u + (y >> 1) * pic->uv_stride, 128, uv_width); in WebPImportGray() 43 memset(pic->v + (y >> 1) * pic->uv_stride, 128, uv_width); in WebPImportGray()
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dec/ |
A D | buffer_dec.c | 50 const int uv_width = (width + 1) / 2; in CheckDecBuffer() local 57 const uint64_t u_size = MIN_BUFFER_SIZE(uv_width, uv_height, u_stride); in CheckDecBuffer() 58 const uint64_t v_size = MIN_BUFFER_SIZE(uv_width, uv_height, v_stride); in CheckDecBuffer() 64 ok &= (u_stride >= uv_width); in CheckDecBuffer() 65 ok &= (v_stride >= uv_width); in CheckDecBuffer()
|
A D | io_dec.c | 581 const int uv_width = (io->mb_w + 1) >> 1; in CustomSetup() local 582 p->memory = WebPSafeMalloc(1ULL, (size_t)(io->mb_w + 2 * uv_width)); in CustomSetup() 588 p->tmp_v = p->tmp_u + uv_width; in CustomSetup()
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/imageio/ |
A D | image_enc.c | 475 const int uv_width = (width + 1) / 2; in WebPWritePGM() local 491 ok &= (fwrite(src_u, uv_width, 1, fout) == 1); in WebPWritePGM() 492 ok &= (fwrite(src_v, uv_width, 1, fout) == 1); in WebPWritePGM() 519 const int uv_width = (width + 1) / 2; in WebPWriteYUV() local 532 ok &= (fwrite(src_u, uv_width, 1, fout) == 1); in WebPWriteYUV() 536 ok &= (fwrite(src_v, uv_width, 1, fout) == 1); in WebPWriteYUV()
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/ |
A D | picture_enc.c | 94 const int uv_width = (int)(((int64_t)width + 1) >> 1); in WebPPictureAllocYUVA() local 96 const int uv_stride = uv_width; in WebPPictureAllocYUVA() 121 uv_width <= 0 || uv_height <= 0) { // u/v param error in WebPPictureAllocYUVA()
|
A D | picture_csp_enc.c | 882 const int uv_width = (width + 1) >> 1; in ImportYUVAFromRGBA() local 886 (uint16_t*)WebPSafeMalloc(4 * uv_width, sizeof(*tmp_rgb)); 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() 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()
|
A D | picture_tools_enc.c | 205 const int uv_width = (pic->width >> 1); // omit last pixel during u/v loop in WebPBlendAlpha() local 228 for (x = 0; x < uv_width; ++x) { in WebPBlendAlpha()
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/examples/ |
A D | cwebp.c | 49 const int uv_width = (pic->width + 1) / 2; in ReadYUV() local 52 const int uv_plane_size = uv_width * uv_height; in ReadYUV() 66 ImgIoUtilCopyPlane(data + y_plane_size, uv_width, in ReadYUV() 67 pic->u, pic->uv_stride, uv_width, uv_height); in ReadYUV() 68 ImgIoUtilCopyPlane(data + y_plane_size + uv_plane_size, uv_width, in ReadYUV() 69 pic->v, pic->uv_stride, uv_width, uv_height); in ReadYUV() 305 const int uv_width = (picture->width + 1) / 2; in DumpPicture() local 324 if (fwrite(src_u, uv_width, 1, f) != 1) return 0; in DumpPicture() 325 if (fwrite(src_v, uv_width, 1, f) != 1) return 0; in DumpPicture()
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/ |
A D | yuv.c | 131 const int uv_width = src_width >> 1; in WebPConvertARGBToUV_C() local 133 for (i = 0; i < uv_width; ++i) { in WebPConvertARGBToUV_C()
|