Lines Matching refs:params
382 void WebPResetDecParams(WebPDecParams* const params) {
383 if (params) {
384 memset(params, 0, sizeof(*params));
393 WebPDecParams* const params) {
405 assert(params != NULL);
409 WebPInitCustomIo(params, &io); // Plug the I/O functions.
417 dec->use_threads_ = params->options && (params->options->use_threads > 0);
429 status = WebPAllocateDecBuffer(io.width, io.height, params->options,
430 params->output);
447 status = WebPAllocateDecBuffer(io.width, io.height, params->options,
448 params->output);
459 WebPFreeDecBuffer(params->output);
470 WebPDecParams params;
476 WebPResetDecParams(¶ms);
477 params.output = &buf;
483 if (DecodeInto(data, data_size, ¶ms) != VP8_STATUS_OK) {
518 WebPDecParams params;
522 WebPResetDecParams(¶ms);
523 params.output = &output;
535 if (DecodeInto(data, data_size, ¶ms) != VP8_STATUS_OK) {
546 WebPDecParams params;
550 WebPResetDecParams(¶ms);
551 params.output = &output;
562 if (DecodeInto(data, data_size, ¶ms) != VP8_STATUS_OK) {
686 WebPDecParams params;
701 WebPResetDecParams(¶ms);
702 params.output = &config->output;
703 params.options = &config->options;
704 status = DecodeInto(data, data_size, ¶ms);