Home | History | Annotate | Download | only in enc

Lines Matching defs:config

70 // Mapping from config->method_ to coding tools used.
94 const WebPConfig* const config = enc->config_;
95 const int method = config->method;
96 const int limit = 100 - config->partition_limit;
106 enc->thread_level_ = config->thread_level;
108 enc->do_search_ = (config->target_size > 0 || config->target_PSNR > 0);
109 if (!config->low_memory) {
138 static VP8Encoder* InitVP8Encoder(const WebPConfig* const config,
141 (config->filter_strength > 0) || (config->autofilter > 0);
153 config->autofilter ? sizeof(LFStats) + ALIGN_CST : 0;
197 enc->num_parts_ = 1 << config->partitions;
217 enc->config_ = config;
218 enc->profile_ = use_filter ? ((config->filter_type == 1) ? 0 : 1) : 2;
235 const float scale = 1.f + config->quality * 5.f / 100.f; // in [1,6]
310 int WebPEncode(const WebPConfig* config, WebPPicture* pic) {
316 if (config == NULL) // bad params
318 if (!WebPValidateConfig(config))
327 if (!config->lossless) {
332 if (config->preprocessing & 2) {
333 const float x = config->quality / 100.f;
344 enc = InitVP8Encoder(config, pic);
370 ok = VP8LEncodeImage(config, pic); // Sets pic->error in case of problem.