Home
last modified time | relevance | path

Searched refs:idec (Results 1 – 12 of 12) sorted by relevance

/external/webp/src/dec/
Didec.c95 static int NeedCompressedAlpha(const WebPIDecoder* const idec) { in NeedCompressedAlpha() argument
96 if (idec->state_ == STATE_WEBP_HEADER) { in NeedCompressedAlpha()
101 if (idec->is_lossless_) { in NeedCompressedAlpha()
104 const VP8Decoder* const dec = (VP8Decoder*)idec->dec_; in NeedCompressedAlpha()
110 static void DoRemap(WebPIDecoder* const idec, ptrdiff_t offset) { in DoRemap() argument
111 MemBuffer* const mem = &idec->mem_; in DoRemap()
115 idec->io_.data = new_base; in DoRemap()
116 idec->io_.data_size = MemDataSize(mem); in DoRemap()
118 if (idec->dec_ != NULL) { in DoRemap()
119 if (!idec->is_lossless_) { in DoRemap()
[all …]
Ddecode_vp8.h116 int WebPISetIOHooks(WebPIDecoder* const idec,
/external/opencv3/3rdparty/libwebp/dec/
Didec.c104 static int NeedCompressedAlpha(const WebPIDecoder* const idec) { in NeedCompressedAlpha() argument
105 if (idec->state_ == STATE_PRE_VP8) { in NeedCompressedAlpha()
110 if (idec->is_lossless_) { in NeedCompressedAlpha()
113 const VP8Decoder* const dec = (VP8Decoder*)idec->dec_; in NeedCompressedAlpha()
119 static void DoRemap(WebPIDecoder* const idec, ptrdiff_t offset) { in DoRemap() argument
120 MemBuffer* const mem = &idec->mem_; in DoRemap()
124 idec->io_.data = new_base; in DoRemap()
125 idec->io_.data_size = MemDataSize(mem); in DoRemap()
127 if (idec->dec_ != NULL) { in DoRemap()
128 if (!idec->is_lossless_) { in DoRemap()
[all …]
Ddecode_vp8.h116 int WebPISetIOHooks(WebPIDecoder* const idec,
/external/webp/include/webp/
Ddecode.h319 WEBP_EXTERN(void) WebPIDelete(WebPIDecoder* idec);
325 WebPIDecoder* idec, const uint8_t* data, size_t data_size);
333 WebPIDecoder* idec, const uint8_t* data, size_t data_size);
342 const WebPIDecoder* idec, int* last_y,
349 const WebPIDecoder* idec, int* last_y,
356 const WebPIDecoder* idec, int* last_y, uint8_t** u, uint8_t** v, in WebPIDecGetYUV() argument
358 return WebPIDecGetYUVA(idec, last_y, u, v, NULL, width, height, in WebPIDecGetYUV()
369 const WebPIDecoder* idec, int* left, int* top, int* width, int* height);
/external/opencv3/3rdparty/libwebp/webp/
Ddecode.h316 WEBP_EXTERN(void) WebPIDelete(WebPIDecoder* idec);
322 WebPIDecoder* idec, const uint8_t* data, size_t data_size);
330 WebPIDecoder* idec, const uint8_t* data, size_t data_size);
339 const WebPIDecoder* idec, int* last_y,
346 const WebPIDecoder* idec, int* last_y,
353 const WebPIDecoder* idec, int* last_y, uint8_t** u, uint8_t** v, in WebPIDecGetYUV() argument
355 return WebPIDecGetYUVA(idec, last_y, u, v, NULL, width, height, in WebPIDecGetYUV()
366 const WebPIDecoder* idec, int* left, int* top, int* width, int* height);
/external/webp/src/webp/
Ddecode.h319 WEBP_EXTERN(void) WebPIDelete(WebPIDecoder* idec);
325 WebPIDecoder* idec, const uint8_t* data, size_t data_size);
333 WebPIDecoder* idec, const uint8_t* data, size_t data_size);
342 const WebPIDecoder* idec, int* last_y,
349 const WebPIDecoder* idec, int* last_y,
356 const WebPIDecoder* idec, int* last_y, uint8_t** u, uint8_t** v, in WebPIDecGetYUV() argument
358 return WebPIDecGetYUVA(idec, last_y, u, v, NULL, width, height, in WebPIDecGetYUV()
369 const WebPIDecoder* idec, int* left, int* top, int* width, int* height);
/external/skia/src/codec/
DSkWebpCodec.cpp228 SkAutoTCallVProc<WebPIDecoder, WebPIDelete> idec(WebPIDecode(nullptr, 0, &config)); in onGetPixels() local
229 if (!idec) { in onGetPixels()
238 WebPIDecGetRGB(idec, rowsDecoded, NULL, NULL, NULL); in onGetPixels()
242 switch (WebPIAppend(idec, buffer, bytesRead)) { in onGetPixels()
/external/skia/src/images/
DSkImageDecoder_libwebp.cpp192 WebPIDecoder* idec = WebPIDecode(nullptr, 0, config); in webp_idecode() local
193 if (nullptr == idec) { in webp_idecode()
207 WebPIDelete(idec); in webp_idecode()
221 status = WebPIAppend(idec, input, bytesRead); in webp_idecode()
228 WebPIDelete(idec); in webp_idecode()
/external/webp/
DREADME537 WebPIDecoder* idec = WebPINewDecoder(&buffer);
545 WebPIAppend(idec, fresh_data, size_of_fresh_data);
549 WebPIUpdate(idec, buffer, size_of_transmitted_buffer);
558 The 'idec' object must always be released (even upon an error condition) by
559 calling: WebPDelete(idec).
615 WebPIDecoder* const idec = WebPIDecode(NULL, NULL, &config);
616 CHECK(idec != NULL);
618 VP8StatusCode status = WebPIAppend(idec, input, bytes_read);
625 WebPIDelete(idec);
/external/webp/src/
DAndroid.mk100 dec/idec.c \
/external/skia/gyp/
Dlibwebp.gyp32 '../third_party/externals/libwebp/src/dec/idec.c',