/third_party/skia/third_party/externals/libwebp/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()
|
/third_party/flutter/skia/third_party/externals/libwebp/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 free((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()
|
/third_party/skia/third_party/externals/libwebp/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 | 164 WebPData webp_data; in LLVMFuzzerTestOneInput() local 165 WebPDataInit(&webp_data); in LLVMFuzzerTestOneInput() 166 if (!WebPAnimEncoderAssemble(enc, &webp_data)) { in LLVMFuzzerTestOneInput() 170 WebPDataClear(&webp_data); in LLVMFuzzerTestOneInput() 175 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()
|
/third_party/flutter/skia/third_party/externals/libwebp/examples/ |
D | img2webp.c | 91 static int SetLoopCount(int loop_count, WebPData* const webp_data) { in SetLoopCount() argument 96 WebPMux* const mux = WebPMuxCreate(webp_data, 1); in SetLoopCount() 111 WebPDataClear(webp_data); in SetLoopCount() 112 err = WebPMuxAssemble(mux, webp_data); in SetLoopCount() 138 WebPData webp_data; in main() local 152 WebPDataInit(&webp_data); in main() 295 ok = ok && WebPAnimEncoderAssemble(enc, &webp_data); in main() 305 ok = SetLoopCount(loop_count, &webp_data); in main() 310 ok = ImgIoUtilWriteFile(output, webp_data.bytes, webp_data.size); in main() 319 pic_num, (unsigned int)webp_data.size); in main() [all …]
|
D | gif2webp.c | 122 WebPData webp_data; in main() local 147 WebPDataInit(&webp_data); in main() 464 if (!WebPAnimEncoderAssemble(enc, &webp_data)) { in main() 488 mux = WebPMuxCreate(&webp_data, 1); in main() 493 WebPDataClear(&webp_data); in main() 536 err = WebPMuxAssemble(mux, &webp_data); in main() 545 if (!ImgIoUtilWriteFile((const char*)out_file, webp_data.bytes, in main() 546 webp_data.size)) { in main() 553 (int)webp_data.size); in main() 556 (int)webp_data.size, out_file); in main() [all …]
|
D | example_util.c | 127 WebPData* const webp_data) { in ExUtilReadFileToWebPData() argument 130 if (webp_data == NULL) return 0; in ExUtilReadFileToWebPData() 132 webp_data->bytes = data; in ExUtilReadFileToWebPData() 133 webp_data->size = size; in ExUtilReadFileToWebPData()
|
D | anim_util.c | 208 static int IsWebP(const WebPData* const webp_data) { in IsWebP() argument 209 return (WebPGetInfo(webp_data->bytes, webp_data->size, NULL, NULL) != 0); in IsWebP() 214 const WebPData* const webp_data, in ReadAnimatedWebP() argument 226 dec = WebPAnimDecoderNew(webp_data, NULL); in ReadAnimatedWebP() 704 WebPData webp_data; in ReadAnimatedImage() local 706 WebPDataInit(&webp_data); in ReadAnimatedImage() 709 if (!ImgIoUtilReadFile(filename, &webp_data.bytes, &webp_data.size)) { in ReadAnimatedImage() 714 if (IsWebP(&webp_data)) { in ReadAnimatedImage() 715 ok = ReadAnimatedWebP(filename, &webp_data, image, dump_frames, in ReadAnimatedImage() 717 } else if (IsGIF(&webp_data)) { in ReadAnimatedImage() [all …]
|
D | webpinfo.c | 172 WebPData* const webp_data) { in ReadFileToWebPData() argument 176 webp_data->bytes = data; in ReadFileToWebPData() 177 webp_data->size = size; in ReadFileToWebPData() 184 static void InitMemBuffer(MemBuffer* const mem, const WebPData* webp_data) { in InitMemBuffer() argument 185 mem->buf_ = webp_data->bytes; in InitMemBuffer() 187 mem->end_ = webp_data->size; in InitMemBuffer() 1068 const WebPData* webp_data) { in AnalyzeWebP() argument 1073 InitMemBuffer(&mem_buffer, webp_data); in AnalyzeWebP() 1163 WebPData webp_data; in main() local 1172 !ReadFileToWebPData((const char*)in_file, &webp_data)) { in main() [all …]
|
D | example_util.h | 42 WebPData* const webp_data);
|
/third_party/skia/third_party/externals/libwebp/examples/ |
D | img2webp.c | 91 static int SetLoopCount(int loop_count, WebPData* const webp_data) { in SetLoopCount() argument 96 WebPMux* const mux = WebPMuxCreate(webp_data, 1); in SetLoopCount() 111 WebPDataClear(webp_data); in SetLoopCount() 112 err = WebPMuxAssemble(mux, webp_data); in SetLoopCount() 138 WebPData webp_data; in main() local 152 WebPDataInit(&webp_data); in main() 295 ok = ok && WebPAnimEncoderAssemble(enc, &webp_data); in main() 305 ok = SetLoopCount(loop_count, &webp_data); in main() 310 ok = ImgIoUtilWriteFile(output, webp_data.bytes, webp_data.size); in main() 319 pic_num, (unsigned int)webp_data.size); in main() [all …]
|
D | gif2webp.c | 122 WebPData webp_data; in main() local 147 WebPDataInit(&webp_data); in main() 464 if (!WebPAnimEncoderAssemble(enc, &webp_data)) { in main() 490 mux = WebPMuxCreate(&webp_data, 1); in main() 495 WebPDataClear(&webp_data); in main() 538 err = WebPMuxAssemble(mux, &webp_data); in main() 547 if (!ImgIoUtilWriteFile((const char*)out_file, webp_data.bytes, in main() 548 webp_data.size)) { in main() 555 (int)webp_data.size); in main() 558 (int)webp_data.size, out_file); in main() [all …]
|
D | example_util.c | 127 WebPData* const webp_data) { in ExUtilReadFileToWebPData() argument 130 if (webp_data == NULL) return 0; in ExUtilReadFileToWebPData() 132 webp_data->bytes = data; in ExUtilReadFileToWebPData() 133 webp_data->size = size; in ExUtilReadFileToWebPData()
|
D | anim_util.c | 208 static int IsWebP(const WebPData* const webp_data) { in IsWebP() argument 209 return (WebPGetInfo(webp_data->bytes, webp_data->size, NULL, NULL) != 0); in IsWebP() 214 const WebPData* const webp_data, in ReadAnimatedWebP() argument 226 dec = WebPAnimDecoderNew(webp_data, NULL); in ReadAnimatedWebP() 704 WebPData webp_data; in ReadAnimatedImage() local 706 WebPDataInit(&webp_data); in ReadAnimatedImage() 709 if (!ImgIoUtilReadFile(filename, &webp_data.bytes, &webp_data.size)) { in ReadAnimatedImage() 714 if (IsWebP(&webp_data)) { in ReadAnimatedImage() 715 ok = ReadAnimatedWebP(filename, &webp_data, image, dump_frames, in ReadAnimatedImage() 717 } else if (IsGIF(&webp_data)) { in ReadAnimatedImage() [all …]
|
D | webpinfo.c | 172 WebPData* const webp_data) { in ReadFileToWebPData() argument 176 webp_data->bytes = data; in ReadFileToWebPData() 177 webp_data->size = size; in ReadFileToWebPData() 184 static void InitMemBuffer(MemBuffer* const mem, const WebPData* webp_data) { in InitMemBuffer() argument 185 mem->buf_ = webp_data->bytes; in InitMemBuffer() 187 mem->end_ = webp_data->size; in InitMemBuffer() 1068 const WebPData* webp_data) { in AnalyzeWebP() argument 1073 InitMemBuffer(&mem_buffer, webp_data); in AnalyzeWebP() 1163 WebPData webp_data; in main() local 1172 !ReadFileToWebPData((const char*)in_file, &webp_data)) { in main() [all …]
|
D | example_util.h | 42 WebPData* const webp_data);
|
/third_party/skia/third_party/externals/libwebp/src/demux/ |
D | anim_decode.c | 86 const WebPData* webp_data, const WebPAnimDecoderOptions* dec_options, in WebPAnimDecoderNewInternal() argument 91 if (webp_data == NULL || in WebPAnimDecoderNewInternal() 98 if (WebPGetFeatures(webp_data->bytes, webp_data->size, &features) != in WebPAnimDecoderNewInternal() 114 dec->demux_ = WebPDemux(webp_data); in WebPAnimDecoderNewInternal()
|
/third_party/skia/third_party/externals/libwebp/ |
D | README.mux | 157 WebPDemuxer* demux = WebPDemux(&webp_data); 207 WebPAnimEncoderAssemble(enc, webp_data); 209 // ... (Write the 'webp_data' to a file, or re-mux it further). 224 WebPAnimDecoder* dec = WebPAnimDecoderNew(webp_data, &dec_options);
|
/third_party/flutter/skia/third_party/externals/libwebp/ |
D | README.mux | 156 WebPDemuxer* demux = WebPDemux(&webp_data); 206 WebPAnimEncoderAssemble(enc, webp_data); 208 // ... (Write the 'webp_data' to a file, or re-mux it further). 223 WebPAnimDecoder* dec = WebPAnimDecoderNew(webp_data, &dec_options);
|
/third_party/skia/third_party/externals/libwebp/imageio/ |
D | webpdec.c | 113 WebPData webp_data = { data, data_size }; in ExtractMetadata() local 114 WebPDemuxer* const demux = WebPDemux(&webp_data); in ExtractMetadata()
|
/third_party/flutter/skia/third_party/externals/libwebp/imageio/ |
D | webpdec.c | 113 WebPData webp_data = { data, data_size }; in ExtractMetadata() local 114 WebPDemuxer* const demux = WebPDemux(&webp_data); in ExtractMetadata()
|