/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/ |
A D | picture_enc.c | 30 (void)picture; in DummyWriter() 38 if (picture != NULL) { in WebPPictureInitInternal() 39 memset(picture, 0, sizeof(*picture)); in WebPPictureInitInternal() 50 picture->argb = NULL; in WebPPictureResetBufferARGB() 56 picture->y = picture->u = picture->v = picture->a = NULL; in WebPPictureResetBufferYUVA() 57 picture->y_stride = picture->uv_stride = 0; in WebPPictureResetBufferYUVA() 58 picture->a_stride = 0; in WebPPictureResetBufferYUVA() 137 picture->y = mem; in WebPPictureAllocYUVA() 140 picture->u = mem; in WebPPictureAllocYUVA() 142 picture->v = mem; in WebPPictureAllocYUVA() [all …]
|
A D | picture_csp_enc.c | 60 if (!picture->use_argb) { in WebPPictureHasTransparency() 61 return CheckNonOpaque(picture->a, picture->width, picture->height, in WebPPictureHasTransparency() 66 picture->width, picture->height, in WebPPictureHasTransparency() 67 4, picture->argb_stride * sizeof(*picture->argb)); in WebPPictureHasTransparency() 879 picture->a, picture->a_stride); in ImportYUVAFromRGBA() 1033 if (picture->y == NULL || picture->u == NULL || picture->v == NULL) { in WebPPictureYUVAToARGB() 1036 if ((picture->colorspace & WEBP_CSP_ALPHA_BIT) && picture->a == NULL) { in WebPPictureYUVAToARGB() 1043 if (!WebPPictureAllocARGB(picture, picture->width, picture->height)) return 0; in WebPPictureYUVAToARGB() 1053 const uint8_t *cur_u = picture->u, *cur_v = picture->v, *cur_y = picture->y; in WebPPictureYUVAToARGB() 1079 uint32_t* const argb_dst = picture->argb + y * picture->argb_stride; in WebPPictureYUVAToARGB() [all …]
|
A D | near_lossless_enc.c | 110 int VP8ApplyNearLossless(const WebPPicture* const picture, int quality, in VP8ApplyNearLossless() argument 113 const int xsize = picture->width; in VP8ApplyNearLossless() 114 const int ysize = picture->height; in VP8ApplyNearLossless() 115 const int stride = picture->argb_stride; in VP8ApplyNearLossless() 130 memcpy(argb_dst + i * xsize, picture->argb + i * picture->argb_stride, in VP8ApplyNearLossless() 137 NearLossless(xsize, ysize, picture->argb, stride, limit_bits, copy_buffer, in VP8ApplyNearLossless()
|
A D | alpha_enc.c | 55 WebPPicture picture; in EncodeLossless() local 57 WebPPictureInit(&picture); in EncodeLossless() 58 picture.width = width; in EncodeLossless() 59 picture.height = height; in EncodeLossless() 60 picture.use_argb = 1; in EncodeLossless() 61 picture.stats = stats; in EncodeLossless() 62 if (!WebPPictureAlloc(&picture)) return 0; in EncodeLossless() 65 WebPDispatchAlphaToGreen(data, width, picture.width, picture.height, in EncodeLossless() 66 picture.argb, picture.argb_stride); in EncodeLossless() 89 ok = (VP8LEncodeStream(&config, &picture, bw, 0 /*use_cache*/) == VP8_ENC_OK); in EncodeLossless() [all …]
|
A D | vp8l_enc.c | 1265 src += picture->argb_stride; in MakeInputImageCopy() 1482 enc->pic_ = picture; in VP8LEncoderNew() 1730 param->picture_ = picture; in VP8LEncodeStream() 1776 if (picture->stats != NULL) { in VP8LEncodeStream() 1800 memcpy(picture->stats, &stats_side, sizeof(*picture->stats)); in VP8LEncodeStream() 1831 if (picture == NULL) return 0; in VP8LEncodeImage() 1839 width = picture->width; in VP8LEncodeImage() 1840 height = picture->height; in VP8LEncodeImage() 1856 if (picture->stats != NULL) { in VP8LEncodeImage() 1895 if (picture->stats != NULL) { in VP8LEncodeImage() [all …]
|
A D | vp8li_enc.h | 86 const WebPPicture* const picture); 91 const WebPPicture* const picture, 97 int VP8ApplyNearLossless(const WebPPicture* const picture, int quality,
|
A D | picture_rescale_enc.c | 85 int WebPPictureIsView(const WebPPicture* picture) { in WebPPictureIsView() argument 86 if (picture == NULL) return 0; in WebPPictureIsView() 87 if (picture->use_argb) { in WebPPictureIsView() 88 return (picture->memory_argb_ == NULL); in WebPPictureIsView() 90 return (picture->memory_ == NULL); in WebPPictureIsView() 276 int WebPPictureIsView(const WebPPicture* picture) { in WebPPictureIsView() argument 277 (void)picture; in WebPPictureIsView()
|
A D | webp_enc.c | 145 WebPPicture* const picture) { in InitVP8Encoder() argument 149 const int mb_w = (picture->width + 15) >> 4; in InitVP8Encoder() 150 const int mb_h = (picture->height + 15) >> 4; in InitVP8Encoder() 203 WebPEncodingSetError(picture, VP8_ENC_ERROR_OUT_OF_MEMORY); in InitVP8Encoder() 233 enc->pic_ = picture; in InitVP8Encoder()
|
A D | vp8i_enc.h | 495 void WebPPictureResetBuffers(WebPPicture* const picture); 500 int WebPPictureAllocARGB(WebPPicture* const picture, int width, int height); 506 int WebPPictureAllocYUVA(WebPPicture* const picture, int width, int height);
|
/AliOS-Things-master/components/SDL2/src/gfx/Test/ |
A D | TestRotozoom.c | 476 printf (" zoom %ix%i to %ix%i\n", picture->w, picture->h, neww, newh); in AccuracyTest2() 548 if ( picture == NULL ) { in Draw() 554 rectangleColor(picture, 0, 0, picture->w-1, picture->h-1, 0xffffffff); in Draw() 613 if ( picture == NULL ) { in Draw() 619 rectangleColor(picture, 0, 0, picture->w-1, picture->h-1, 0xffffffff); in Draw() 692 if ( picture == NULL ) { in Draw() 698 rectangleColor(picture, 0, 0, picture->w-1, picture->h-1, 0xffffffff); in Draw() 764 if ( picture == NULL ) { in Draw() 770 rectangleColor(picture, 0, 0, picture->w-1, picture->h-1, 0xffffffff); in Draw() 838 rectangleColor(picture, 0, 0, picture->w-1, picture->h-1, 0xffffffff); in Draw() [all …]
|
A D | TestShrink.c | 106 if ( picture == NULL ) { in Draw() 116 SDL_FreeSurface(picture); in Draw() 129 if ( picture == NULL ) { in Draw() 139 SDL_FreeSurface(picture); in Draw() 155 if ( picture == NULL ) { in Draw() 164 SDL_FreeSurface(picture); in Draw() 177 if ( picture == NULL ) { in Draw() 186 SDL_FreeSurface(picture); in Draw() 201 if ( picture == NULL ) { in Draw() 218 SDL_FreeSurface(picture); in Draw() [all …]
|
A D | LaplaceRelaxation.c | 131 SDL_Surface *picture; in Draw() local 167 if ( picture == NULL ) { in Draw() 174 mapsize = picture->w * picture->h; in Draw() 191 pixel = picture->pixels; in Draw() 193 rowskip = (picture->pitch - picture->w * picture->format->BytesPerPixel); in Draw() 235 mapped_picture = SDL_CreateRGBSurface(SDL_SWSURFACE, picture->w, picture->h, 32, in Draw() 253 c1 = GetPotential(map, grayscale, unrelaxed, x, y-1, picture->w, picture->h); in Draw() 255 c2 = GetPotential(map, grayscale, unrelaxed, x, y+1, picture->w, picture->h); in Draw() 257 c3 = GetPotential(map, grayscale, unrelaxed, x-1, y, picture->w, picture->h); in Draw() 259 c4 = GetPotential(map, grayscale, unrelaxed, x+1, y, picture->w, picture->h); in Draw() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/webp/ |
A D | encode.h | 236 const WebPPicture* picture); 257 const WebPPicture* picture); 366 static WEBP_INLINE int WebPPictureInit(WebPPicture* picture) { in WebPPictureInit() argument 377 WEBP_EXTERN int WebPPictureAlloc(WebPPicture* picture); 384 WEBP_EXTERN void WebPPictureFree(WebPPicture* picture); 424 WEBP_EXTERN int WebPPictureCrop(WebPPicture* picture, 444 WEBP_EXTERN int WebPPictureIsView(const WebPPicture* picture); 458 WebPPicture* picture, const uint8_t* rgb, int rgb_stride); 470 WebPPicture* picture, const uint8_t* bgr, int bgr_stride); 482 WEBP_EXTERN int WebPPictureARGBToYUVA(WebPPicture* picture, [all …]
|
/AliOS-Things-master/components/SDL2/src/image/VisualC/external/include/webp/ |
A D | encode.h | 236 const WebPPicture* picture); 257 const WebPPicture* picture); 366 static WEBP_INLINE int WebPPictureInit(WebPPicture* picture) { in WebPPictureInit() argument 377 WEBP_EXTERN int WebPPictureAlloc(WebPPicture* picture); 384 WEBP_EXTERN void WebPPictureFree(WebPPicture* picture); 424 WEBP_EXTERN int WebPPictureCrop(WebPPicture* picture, 444 WEBP_EXTERN int WebPPictureIsView(const WebPPicture* picture); 458 WebPPicture* picture, const uint8_t* rgb, int rgb_stride); 470 WebPPicture* picture, const uint8_t* bgr, int bgr_stride); 482 WEBP_EXTERN int WebPPictureARGBToYUVA(WebPPicture* picture, [all …]
|
/AliOS-Things-master/components/SDL2/src/image/Xcode/Frameworks/webp.framework/Versions/A/Headers/webp/ |
A D | encode.h | 236 const WebPPicture* picture); 257 const WebPPicture* picture); 366 static WEBP_INLINE int WebPPictureInit(WebPPicture* picture) { in WebPPictureInit() argument 377 WEBP_EXTERN int WebPPictureAlloc(WebPPicture* picture); 384 WEBP_EXTERN void WebPPictureFree(WebPPicture* picture); 424 WEBP_EXTERN int WebPPictureCrop(WebPPicture* picture, 444 WEBP_EXTERN int WebPPictureIsView(const WebPPicture* picture); 458 WebPPicture* picture, const uint8_t* rgb, int rgb_stride); 470 WebPPicture* picture, const uint8_t* bgr, int bgr_stride); 482 WEBP_EXTERN int WebPPictureARGBToYUVA(WebPPicture* picture, [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/examples/ |
A D | cwebp.c | 313 WebPPictureHasTransparency(picture) ? picture->height : 0; in DumpPicture() 660 WebPPicture picture; in main() local 712 if (picture.width > WEBP_MAX_DIMENSION || picture.width < 0 || in main() 713 picture.height > WEBP_MAX_DIMENSION || picture.height < 0) { in main() 716 picture.width, picture.height); in main() 1005 picture.stats = &stats; in main() 1015 if (!WebPPictureView(&picture, crop_x, crop_y, crop_w, crop_h, &picture)) { in main() 1088 picture.error_code, kErrorMessages[picture.error_code]); in main() 1098 if (picture.use_argb) { in main() 1171 free(picture.extra_info); in main() [all …]
|
A D | gifdec.c | 114 GIFFrameRect* const gif_rect, WebPPicture* const picture) { in GIFReadFrame() argument 132 if (!WebPPictureView(picture, rect.x_offset, rect.y_offset, in GIFReadFrame() 169 if (!ok) picture->error_code = sub_image.error_code; in GIFReadFrame() 237 static void ClearRectangle(WebPPicture* const picture, in ClearRectangle() argument 240 const size_t stride = picture->argb_stride; in ClearRectangle() 241 uint32_t* dst = picture->argb + top * stride + left; in ClearRectangle() 348 struct WebPPicture* const picture) { in GIFReadFrame() argument 352 (void)picture; in GIFReadFrame()
|
A D | gifdec.h | 79 struct WebPPicture* const picture);
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/extras/ |
A D | extras.h | 35 WEBP_EXTERN int WebPImportGray(const uint8_t* gray, WebPPicture* picture);
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/ |
A D | README | 236 default, photo, picture, 257 -crop <x> <y> <w> <h> .. crop picture with the given rectangle 258 -resize <w> <h> ........ resize picture (after any cropping) 279 one of: photo, picture or graph 312 "easy" parts of the picture and use them in the "difficult" ones instead. 588 picture. 615 // allocated picture of dimension width x height 659 To detect a WebP file and gather the picture's dimensions, the function: 680 can be used to decode the picture further. There are two (mutually exclusive) 718 an otherwise too-large picture. Some CPU can be saved too, incidentally. [all …]
|
A D | NEWS | 212 * Better handling of large picture encoding. 215 * Incremental decoding: picture can be decoded byte-by-byte if needs be.
|
A D | ChangeLog | 370 f1d5a397 multithread cruncher: only copy stats when picture->stats != NULL 1857 6f3202be Merge "move WebPPictureInit to picture.c" 1858 6c347bbb move WebPPictureInit to picture.c 1862 c6461bfd Merge "extract colorspace code from picture.c into picture_csp.c" 1863 736f2a17 extract colorspace code from picture.c into picture_csp.c 1866 fbadb480 split monolithic picture.c into picture_{tools,psnr,rescale}.c 2205 c741183c make WebPCleanupTransparentArea work with argb picture 3256 233a589e take picture->argb_stride into account for lossless coding 3365 fa8bc3db make WebPEncodingSetError() take a const picture 3930 84b58ebb add more checks around picture allocation
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/mux/ |
A D | anim_encode.c | 196 static void ClearRectangle(WebPPicture* const picture, in ClearRectangle() argument 200 uint32_t* const dst = picture->argb + j * picture->argb_stride; in ClearRectangle() 208 static void WebPUtilClearPic(WebPPicture* const picture, in WebPUtilClearPic() argument 211 ClearRectangle(picture, rect->x_offset_, rect->y_offset_, in WebPUtilClearPic() 214 ClearRectangle(picture, 0, 0, picture->width, picture->height); in WebPUtilClearPic()
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/ |
A D | CHANGELOG | 1100 - Add source picture url for Monitor. 1103 - Add source picture url for Monitor. 1109 - Add source picture url for Monitor. 1296 - Add PicUrl parameter for picture related API. 1299 - Add PicUrl parameter for picture related API.
|
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/doc/ |
A D | algorithm.txt | 189 There, I think that gives you a picture of what's going on. For inflate, the
|