Home
last modified time | relevance | path

Searched refs:webp_data (Results 1 – 13 of 13) sorted by relevance

/external/webp/src/webp/
Dmux_types.h65 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()
Ddemux.h288 const WebPData* webp_data, const WebPAnimDecoderOptions* dec_options) { in WebPAnimDecoderNew() argument
289 return WebPAnimDecoderNewInternal(webp_data, dec_options, in WebPAnimDecoderNew()
Dmux.h507 WebPData* webp_data);
/external/webp/include/webp/
Dmux_types.h65 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()
Ddemux.h288 const WebPData* webp_data, const WebPAnimDecoderOptions* dec_options) { in WebPAnimDecoderNew() argument
289 return WebPAnimDecoderNewInternal(webp_data, dec_options, in WebPAnimDecoderNew()
Dmux.h507 WebPData* webp_data);
/external/webp/tests/fuzzer/
Dmux_demux_api_fuzzer.c22 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()
Danimation_api_fuzzer.c23 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()
Danimencoder_fuzzer.cc154 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()
Danimdecoder_fuzzer.cc33 WebPData webp_data = { data, size }; in LLVMFuzzerTestOneInput() local
34 WebPAnimDecoder* const dec = WebPAnimDecoderNew(&webp_data, NULL); in LLVMFuzzerTestOneInput()
/external/ImageMagick/coders/
Dwebp.c890 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/
Danim_encode.c1477 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/
Danim_decode.c86 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()