Home
last modified time | relevance | path

Searched refs:dec_options (Results 1 – 4 of 4) sorted by relevance

/external/webp/tests/fuzzer/
Danimation_api_fuzzer.c55 WebPAnimDecoderOptions dec_options; in LLVMFuzzerTestOneInput() local
56 if (!WebPAnimDecoderOptionsInit(&dec_options)) return 0; in LLVMFuzzerTestOneInput()
58 dec_options.use_threads = size & 1; in LLVMFuzzerTestOneInput()
60 dec_options.color_mode = (WEBP_CSP_MODE)(size % MODE_LAST); in LLVMFuzzerTestOneInput()
61 if (dec_options.color_mode != MODE_BGRA && in LLVMFuzzerTestOneInput()
62 dec_options.color_mode != MODE_rgbA && in LLVMFuzzerTestOneInput()
63 dec_options.color_mode != MODE_bgrA) { in LLVMFuzzerTestOneInput()
64 dec_options.color_mode = MODE_RGBA; in LLVMFuzzerTestOneInput()
67 WebPAnimDecoder* dec = WebPAnimDecoderNew(&webp_data, &dec_options); in LLVMFuzzerTestOneInput()
/external/webp/src/demux/
Danim_decode.c48 static void DefaultDecoderOptions(WebPAnimDecoderOptions* const dec_options) { in DefaultDecoderOptions() argument
49 dec_options->color_mode = MODE_RGBA; in DefaultDecoderOptions()
50 dec_options->use_threads = 0; in DefaultDecoderOptions()
53 int WebPAnimDecoderOptionsInitInternal(WebPAnimDecoderOptions* dec_options, in WebPAnimDecoderOptionsInitInternal() argument
55 if (dec_options == NULL || in WebPAnimDecoderOptionsInitInternal()
59 DefaultDecoderOptions(dec_options); in WebPAnimDecoderOptionsInitInternal()
63 static int ApplyDecoderOptions(const WebPAnimDecoderOptions* const dec_options, in ApplyDecoderOptions() argument
67 assert(dec_options != NULL); in ApplyDecoderOptions()
69 mode = dec_options->color_mode; in ApplyDecoderOptions()
80 config->options.use_threads = dec_options->use_threads; in ApplyDecoderOptions()
[all …]
/external/webp/include/webp/
Ddemux.h268 WebPAnimDecoderOptions* dec_options) { in WebPAnimDecoderOptionsInit() argument
269 return WebPAnimDecoderOptionsInitInternal(dec_options, in WebPAnimDecoderOptionsInit()
288 const WebPData* webp_data, const WebPAnimDecoderOptions* dec_options) { in WebPAnimDecoderNew() argument
289 return WebPAnimDecoderNewInternal(webp_data, dec_options, in WebPAnimDecoderNew()
/external/webp/src/webp/
Ddemux.h268 WebPAnimDecoderOptions* dec_options) { in WebPAnimDecoderOptionsInit() argument
269 return WebPAnimDecoderOptionsInitInternal(dec_options, in WebPAnimDecoderOptionsInit()
288 const WebPData* webp_data, const WebPAnimDecoderOptions* dec_options) { in WebPAnimDecoderNew() argument
289 return WebPAnimDecoderNewInternal(webp_data, dec_options, in WebPAnimDecoderNew()