Lines Matching defs:dec_options
48 static void DefaultDecoderOptions(WebPAnimDecoderOptions* const dec_options) {
49 dec_options->color_mode = MODE_RGBA;
50 dec_options->use_threads = 0;
53 int WebPAnimDecoderOptionsInitInternal(WebPAnimDecoderOptions* dec_options,
55 if (dec_options == NULL ||
59 DefaultDecoderOptions(dec_options);
63 static int ApplyDecoderOptions(const WebPAnimDecoderOptions* const dec_options,
67 assert(dec_options != NULL);
69 mode = dec_options->color_mode;
80 config->options.use_threads = dec_options->use_threads;
86 const WebPData* webp_data, const WebPAnimDecoderOptions* dec_options,
99 if (dec_options != NULL) {
100 options = *dec_options;