/external/skia/legacy/src/images/ |
SkImageDecoder_libwebp.cpp | 168 WebPIDecoder* idec = WebPIDecode(NULL, 0, &config); local 169 if (idec == NULL) { 181 WebPIDelete(idec); 197 VP8StatusCode status = WebPIAppend(idec, input, bytes_read); 205 WebPIDelete(idec);
|
/external/skia/src/images/ |
SkImageDecoder_libwebp.cpp | 168 WebPIDecoder* idec = WebPIDecode(NULL, 0, &config); local 169 if (idec == NULL) { 181 WebPIDelete(idec); 196 status = WebPIAppend(idec, input, bytes_read); 203 WebPIDelete(idec);
|
/external/webp/include/webp/ |
decode.h | 246 // WebPIDecoder* idec = WebPINewDecoder(&buffer); 249 // status = WebPIAppend(idec, new_data, new_data_size); 258 // WebPIDelete(idec); 308 WEBP_EXTERN(void) WebPIDelete(WebPIDecoder* idec); variable 314 WebPIDecoder* idec, const uint8_t* data, size_t data_size); 322 WebPIDecoder* idec, const uint8_t* data, size_t data_size); 331 const WebPIDecoder* idec, int* last_y, 338 const WebPIDecoder* idec, int* last_y, 345 const WebPIDecoder* idec, int* last_y, uint8_t** u, uint8_t** v, 347 return WebPIDecGetYUVA(idec, last_y, u, v, NULL, width, height [all...] |
/external/webp/src/dec/ |
idec.c | 100 static void DoRemap(WebPIDecoder* const idec, ptrdiff_t offset) { 101 MemBuffer* const mem = &idec->mem_; 103 // note: for VP8, setting up idec->io_ is only really needed at the beginning 105 idec->io_.data = new_base; 106 idec->io_.data_size = MemDataSize(mem); 108 if (idec->dec_ != NULL) { 109 if (!idec->is_lossless_) { 110 VP8Decoder* const dec = (VP8Decoder*)idec->dec_; 126 VP8LDecoder* const dec = (VP8LDecoder*)idec->dec_; 134 static int AppendToMemBuffer(WebPIDecoder* const idec, 538 WebPIDecoder* idec = (WebPIDecoder*)calloc(1, sizeof(*idec)); local 559 WebPIDecoder* idec; local 599 WebPIDecoder* idec; local 625 WebPIDecoder* idec; local [all...] |