/external/webp/src/webp/ |
D | mux_types.h | 65 static WEBP_INLINE void WebPDataInit(WebPData* webp_data) { in WebPDataInit() argument 66 if (webp_data != NULL) { in WebPDataInit() 67 memset(webp_data, 0, sizeof(*webp_data)); in WebPDataInit() 73 static WEBP_INLINE void WebPDataClear(WebPData* webp_data) { in WebPDataClear() argument 74 if (webp_data != NULL) { in WebPDataClear() 75 WebPFree((void*)webp_data->bytes); in WebPDataClear() 76 WebPDataInit(webp_data); in WebPDataClear()
|
D | demux.h | 288 const WebPData* webp_data, const WebPAnimDecoderOptions* dec_options) { in WebPAnimDecoderNew() argument 289 return WebPAnimDecoderNewInternal(webp_data, dec_options, in WebPAnimDecoderNew()
|
D | mux.h | 507 WebPData* webp_data);
|
/external/webp/include/webp/ |
D | mux_types.h | 65 static WEBP_INLINE void WebPDataInit(WebPData* webp_data) { in WebPDataInit() argument 66 if (webp_data != NULL) { in WebPDataInit() 67 memset(webp_data, 0, sizeof(*webp_data)); in WebPDataInit() 73 static WEBP_INLINE void WebPDataClear(WebPData* webp_data) { in WebPDataClear() argument 74 if (webp_data != NULL) { in WebPDataClear() 75 WebPFree((void*)webp_data->bytes); in WebPDataClear() 76 WebPDataInit(webp_data); in WebPDataClear()
|
D | demux.h | 288 const WebPData* webp_data, const WebPAnimDecoderOptions* dec_options) { in WebPAnimDecoderNew() argument 289 return WebPAnimDecoderNewInternal(webp_data, dec_options, in WebPAnimDecoderNew()
|
D | mux.h | 507 WebPData* webp_data);
|
/external/webp/tests/fuzzer/ |
D | mux_demux_api_fuzzer.c | 22 WebPData webp_data; in LLVMFuzzerTestOneInput() local 23 WebPDataInit(&webp_data); in LLVMFuzzerTestOneInput() 24 webp_data.size = size; in LLVMFuzzerTestOneInput() 25 webp_data.bytes = data; in LLVMFuzzerTestOneInput() 32 WebPMux* mux = WebPMuxCreate(&webp_data, size & 2); in LLVMFuzzerTestOneInput() 63 demux = WebPDemuxPartial(&webp_data, &state); in LLVMFuzzerTestOneInput() 69 demux = WebPDemux(&webp_data); in LLVMFuzzerTestOneInput()
|
D | animation_api_fuzzer.c | 23 WebPData webp_data; in LLVMFuzzerTestOneInput() local 24 WebPDataInit(&webp_data); in LLVMFuzzerTestOneInput() 25 webp_data.size = size; in LLVMFuzzerTestOneInput() 26 webp_data.bytes = data; in LLVMFuzzerTestOneInput() 29 WebPDemuxer* const demux = WebPDemux(&webp_data); in LLVMFuzzerTestOneInput() 67 WebPAnimDecoder* dec = WebPAnimDecoderNew(&webp_data, &dec_options); in LLVMFuzzerTestOneInput()
|
D | animencoder_fuzzer.cc | 154 WebPData webp_data; in LLVMFuzzerTestOneInput() local 155 WebPDataInit(&webp_data); in LLVMFuzzerTestOneInput() 156 if (!WebPAnimEncoderAssemble(enc, &webp_data)) { in LLVMFuzzerTestOneInput() 159 WebPDataClear(&webp_data); in LLVMFuzzerTestOneInput() 164 WebPDataClear(&webp_data); in LLVMFuzzerTestOneInput()
|
D | animdecoder_fuzzer.cc | 33 WebPData webp_data = { data, size }; in LLVMFuzzerTestOneInput() local 34 WebPAnimDecoder* const dec = WebPAnimDecoderNew(&webp_data, NULL); in LLVMFuzzerTestOneInput()
|
/external/ImageMagick/coders/ |
D | webp.c | 890 Image *image,WebPConfig *configure,WebPData *webp_data, in WriteAnimatedWEBPImage() argument 966 status=(MagickBooleanType) WebPAnimEncoderAssemble(enc,webp_data); in WriteAnimatedWEBPImage() 980 WebPData *webp_data,ExceptionInfo *exception) in WriteWEBPImageProfile() argument 1009 mux=WebPMuxCreate(webp_data, 1); in WriteWEBPImageProfile() 1010 WebPDataClear(webp_data); in WriteWEBPImageProfile() 1017 memset(webp_data, 0, sizeof(*webp_data)); in WriteWEBPImageProfile() 1062 mux_error=WebPMuxAssemble(mux,webp_data); in WriteWEBPImageProfile() 1188 webp_data; in WriteWEBPImage() local 1190 memset(&webp_data,0,sizeof(webp_data)); in WriteWEBPImage() 1194 status=WriteAnimatedWEBPImage(image_info,image,&configure,&webp_data, in WriteWEBPImage() [all …]
|
/external/webp/src/mux/ |
D | anim_encode.c | 1477 WebPData* const webp_data) { in OptimizeSingleFrame() argument 1483 WebPMux* const mux = WebPMuxCreate(webp_data, 0); in OptimizeSingleFrame() 1504 if (webp_data2.size < webp_data->size) { // Pick 'webp_data2' if smaller. in OptimizeSingleFrame() 1505 WebPDataClear(webp_data); in OptimizeSingleFrame() 1506 *webp_data = webp_data2; in OptimizeSingleFrame() 1518 int WebPAnimEncoderAssemble(WebPAnimEncoder* enc, WebPData* webp_data) { in WebPAnimEncoderAssemble() argument 1527 if (webp_data == NULL) { in WebPAnimEncoderAssemble() 1562 err = WebPMuxAssemble(mux, webp_data); in WebPAnimEncoderAssemble() 1566 err = OptimizeSingleFrame(enc, webp_data); in WebPAnimEncoderAssemble()
|
/external/webp/src/demux/ |
D | anim_decode.c | 86 const WebPData* webp_data, const WebPAnimDecoderOptions* dec_options, in WebPAnimDecoderNewInternal() argument 90 if (webp_data == NULL || in WebPAnimDecoderNewInternal() 106 dec->demux_ = WebPDemux(webp_data); in WebPAnimDecoderNewInternal()
|