Home | History | Annotate | Download | only in enc

Lines Matching defs:config

53   WebPConfig config;
78 WebPConfigInit(&config);
79 config.lossless = 1;
80 config.method = effort_level; // impact is very small
84 config.quality = 8.f * effort_level;
85 assert(config.quality >= 0 && config.quality <= 100.f);
88 ok = ok && (VP8LEncodeStream(&config, &picture, &tmp_bw) == VP8_ENC_OK);
337 const WebPConfig* config = enc->config_;
340 const int effort_level = config->method; // maps to [0..6]
342 (config->alpha_filtering == 0) ? WEBP_FILTER_NONE :
343 (config->alpha_filtering == 1) ? WEBP_FILTER_FAST :
345 if (!EncodeAlpha(enc, config->alpha_quality, config->alpha_compression,