config 584 3rdparty/libwebp/dec/idec.c WebPDecoderConfig* config) { config 588 3rdparty/libwebp/dec/idec.c if (data != NULL && data_size > 0 && config != NULL) { config 589 3rdparty/libwebp/dec/idec.c if (WebPGetFeatures(data, data_size, &config->input) != VP8_STATUS_OK) { config 594 3rdparty/libwebp/dec/idec.c idec = WebPINewDecoder(config ? &config->output : NULL); config 599 3rdparty/libwebp/dec/idec.c if (config != NULL) { config 600 3rdparty/libwebp/dec/idec.c idec->params_.options = &config->options; config 678 3rdparty/libwebp/dec/webp.c int WebPInitDecoderConfigInternal(WebPDecoderConfig* config, config 683 3rdparty/libwebp/dec/webp.c if (config == NULL) { config 686 3rdparty/libwebp/dec/webp.c memset(config, 0, sizeof(*config)); config 687 3rdparty/libwebp/dec/webp.c DefaultFeatures(&config->input); config 688 3rdparty/libwebp/dec/webp.c WebPInitDecBuffer(&config->output); config 705 3rdparty/libwebp/dec/webp.c WebPDecoderConfig* config) { config 709 3rdparty/libwebp/dec/webp.c if (config == NULL) { config 713 3rdparty/libwebp/dec/webp.c status = GetFeatures(data, data_size, &config->input); config 722 3rdparty/libwebp/dec/webp.c params.output = &config->output; config 723 3rdparty/libwebp/dec/webp.c params.options = &config->options; config 56 3rdparty/libwebp/enc/alpha.c WebPConfig config; config 81 3rdparty/libwebp/enc/alpha.c WebPConfigInit(&config); config 82 3rdparty/libwebp/enc/alpha.c config.lossless = 1; config 83 3rdparty/libwebp/enc/alpha.c config.method = effort_level; // impact is very small config 85 3rdparty/libwebp/enc/alpha.c config.quality = 10.f * effort_level; config 86 3rdparty/libwebp/enc/alpha.c assert(config.quality >= 0 && config.quality <= 100.f); config 89 3rdparty/libwebp/enc/alpha.c ok = ok && (VP8LEncodeStream(&config, &picture, &tmp_bw) == VP8_ENC_OK); config 331 3rdparty/libwebp/enc/alpha.c const WebPConfig* config = enc->config_; config 334 3rdparty/libwebp/enc/alpha.c const int effort_level = config->method; // maps to [0..6] config 336 3rdparty/libwebp/enc/alpha.c (config->alpha_filtering == 0) ? WEBP_FILTER_NONE : config 337 3rdparty/libwebp/enc/alpha.c (config->alpha_filtering == 1) ? WEBP_FILTER_FAST : config 339 3rdparty/libwebp/enc/alpha.c if (!EncodeAlpha(enc, config->alpha_quality, config->alpha_compression, config 24 3rdparty/libwebp/enc/config.c int WebPConfigInitInternal(WebPConfig* config, config 29 3rdparty/libwebp/enc/config.c if (config == NULL) return 0; config 31 3rdparty/libwebp/enc/config.c config->quality = quality; config 32 3rdparty/libwebp/enc/config.c config->target_size = 0; config 33 3rdparty/libwebp/enc/config.c config->target_PSNR = 0.; config 34 3rdparty/libwebp/enc/config.c config->method = 4; config 35 3rdparty/libwebp/enc/config.c config->sns_strength = 50; config 36 3rdparty/libwebp/enc/config.c config->filter_strength = 60; // rather high filtering, helps w/ gradients. config 37 3rdparty/libwebp/enc/config.c config->filter_sharpness = 0; config 38 3rdparty/libwebp/enc/config.c config->filter_type = 1; // default: strong (so U/V is filtered too) config 39 3rdparty/libwebp/enc/config.c config->partitions = 0; config 40 3rdparty/libwebp/enc/config.c config->segments = 4; config 41 3rdparty/libwebp/enc/config.c config->pass = 1; config 42 3rdparty/libwebp/enc/config.c config->show_compressed = 0; config 43 3rdparty/libwebp/enc/config.c config->preprocessing = 0; config 44 3rdparty/libwebp/enc/config.c config->autofilter = 0; config 45 3rdparty/libwebp/enc/config.c config->partition_limit = 0; config 46 3rdparty/libwebp/enc/config.c config->alpha_compression = 1; config 47 3rdparty/libwebp/enc/config.c config->alpha_filtering = 1; config 48 3rdparty/libwebp/enc/config.c config->alpha_quality = 100; config 49 3rdparty/libwebp/enc/config.c config->lossless = 0; config 50 3rdparty/libwebp/enc/config.c config->image_hint = WEBP_HINT_DEFAULT; config 51 3rdparty/libwebp/enc/config.c config->emulate_jpeg_size = 0; config 52 3rdparty/libwebp/enc/config.c config->thread_level = 0; config 53 3rdparty/libwebp/enc/config.c config->low_memory = 0; config 58 3rdparty/libwebp/enc/config.c config->sns_strength = 80; config 59 3rdparty/libwebp/enc/config.c config->filter_sharpness = 4; config 60 3rdparty/libwebp/enc/config.c config->filter_strength = 35; config 63 3rdparty/libwebp/enc/config.c config->sns_strength = 80; config 64 3rdparty/libwebp/enc/config.c config->filter_sharpness = 3; config 65 3rdparty/libwebp/enc/config.c config->filter_strength = 30; config 68 3rdparty/libwebp/enc/config.c config->sns_strength = 25; config 69 3rdparty/libwebp/enc/config.c config->filter_sharpness = 6; config 70 3rdparty/libwebp/enc/config.c config->filter_strength = 10; config 73 3rdparty/libwebp/enc/config.c config->sns_strength = 0; config 74 3rdparty/libwebp/enc/config.c config->filter_strength = 0; // disable filtering to retain sharpness config 77 3rdparty/libwebp/enc/config.c config->sns_strength = 0; config 78 3rdparty/libwebp/enc/config.c config->filter_strength = 0; // disable filtering to retain sharpness config 79 3rdparty/libwebp/enc/config.c config->segments = 2; config 85 3rdparty/libwebp/enc/config.c return WebPValidateConfig(config); config 88 3rdparty/libwebp/enc/config.c int WebPValidateConfig(const WebPConfig* config) { config 89 3rdparty/libwebp/enc/config.c if (config == NULL) return 0; config 90 3rdparty/libwebp/enc/config.c if (config->quality < 0 || config->quality > 100) config 92 3rdparty/libwebp/enc/config.c if (config->target_size < 0) config 94 3rdparty/libwebp/enc/config.c if (config->target_PSNR < 0) config 96 3rdparty/libwebp/enc/config.c if (config->method < 0 || config->method > 6) config 98 3rdparty/libwebp/enc/config.c if (config->segments < 1 || config->segments > 4) config 100 3rdparty/libwebp/enc/config.c if (config->sns_strength < 0 || config->sns_strength > 100) config 102 3rdparty/libwebp/enc/config.c if (config->filter_strength < 0 || config->filter_strength > 100) config 104 3rdparty/libwebp/enc/config.c if (config->filter_sharpness < 0 || config->filter_sharpness > 7) config 106 3rdparty/libwebp/enc/config.c if (config->filter_type < 0 || config->filter_type > 1) config 108 3rdparty/libwebp/enc/config.c if (config->autofilter < 0 || config->autofilter > 1) config 110 3rdparty/libwebp/enc/config.c if (config->pass < 1 || config->pass > 10) config 112 3rdparty/libwebp/enc/config.c if (config->show_compressed < 0 || config->show_compressed > 1) config 114 3rdparty/libwebp/enc/config.c if (config->preprocessing < 0 || config->preprocessing > 1) config 116 3rdparty/libwebp/enc/config.c if (config->partitions < 0 || config->partitions > 3) config 118 3rdparty/libwebp/enc/config.c if (config->partition_limit < 0 || config->partition_limit > 100) config 120 3rdparty/libwebp/enc/config.c if (config->alpha_compression < 0) config 122 3rdparty/libwebp/enc/config.c if (config->alpha_filtering < 0) config 124 3rdparty/libwebp/enc/config.c if (config->alpha_quality < 0 || config->alpha_quality > 100) config 126 3rdparty/libwebp/enc/config.c if (config->lossless < 0 || config->lossless > 1) config 128 3rdparty/libwebp/enc/config.c if (config->image_hint >= WEBP_HINT_LAST) config 130 3rdparty/libwebp/enc/config.c if (config->emulate_jpeg_size < 0 || config->emulate_jpeg_size > 1) config 132 3rdparty/libwebp/enc/config.c if (config->thread_level < 0 || config->thread_level > 1) config 134 3rdparty/libwebp/enc/config.c if (config->low_memory < 0 || config->low_memory > 1) config 1057 3rdparty/libwebp/enc/picture.c WebPConfig config; config 1061 3rdparty/libwebp/enc/picture.c if (!WebPConfigPreset(&config, WEBP_PRESET_DEFAULT, quality_factor) || config 1066 3rdparty/libwebp/enc/picture.c config.lossless = !!lossless; config 1074 3rdparty/libwebp/enc/picture.c ok = import(&pic, rgba, stride) && WebPEncode(&config, &pic); config 940 3rdparty/libwebp/enc/vp8l.c const WebPConfig* const config = enc->config_; config 942 3rdparty/libwebp/enc/vp8l.c const int method = config->method; config 943 3rdparty/libwebp/enc/vp8l.c const float quality = config->quality; config 953 3rdparty/libwebp/enc/vp8l.c static VP8LEncoder* VP8LEncoderNew(const WebPConfig* const config, config 960 3rdparty/libwebp/enc/vp8l.c enc->config_ = config; config 973 3rdparty/libwebp/enc/vp8l.c WebPEncodingError VP8LEncodeStream(const WebPConfig* const config, config 977 3rdparty/libwebp/enc/vp8l.c const int quality = (int)config->quality; config 980 3rdparty/libwebp/enc/vp8l.c VP8LEncoder* const enc = VP8LEncoderNew(config, picture); config 991 3rdparty/libwebp/enc/vp8l.c if (!VP8LEncAnalyze(enc, config->image_hint)) { config 1081 3rdparty/libwebp/enc/vp8l.c int VP8LEncodeImage(const WebPConfig* const config, config 1092 3rdparty/libwebp/enc/vp8l.c if (config == NULL || picture->argb == NULL) { config 1137 3rdparty/libwebp/enc/vp8l.c err = VP8LEncodeStream(config, picture, &bw); config 56 3rdparty/libwebp/enc/vp8li.h int VP8LEncodeImage(const WebPConfig* const config, config 60 3rdparty/libwebp/enc/vp8li.h WebPEncodingError VP8LEncodeStream(const WebPConfig* const config, config 122 3rdparty/libwebp/enc/webpenc.c const WebPConfig* const config = enc->config_; config 123 3rdparty/libwebp/enc/webpenc.c const int method = config->method; config 124 3rdparty/libwebp/enc/webpenc.c const int limit = 100 - config->partition_limit; config 134 3rdparty/libwebp/enc/webpenc.c enc->thread_level_ = config->thread_level; config 136 3rdparty/libwebp/enc/webpenc.c enc->do_search_ = (config->target_size > 0 || config->target_PSNR > 0); config 137 3rdparty/libwebp/enc/webpenc.c if (!config->low_memory) { config 168 3rdparty/libwebp/enc/webpenc.c static VP8Encoder* InitVP8Encoder(const WebPConfig* const config, config 171 3rdparty/libwebp/enc/webpenc.c (config->filter_strength > 0) || (config->autofilter > 0); config 186 3rdparty/libwebp/enc/webpenc.c config->autofilter ? sizeof(LFStats) + ALIGN_CST : 0; config 232 3rdparty/libwebp/enc/webpenc.c enc->num_parts_ = 1 << config->partitions; config 266 3rdparty/libwebp/enc/webpenc.c enc->config_ = config; config 267 3rdparty/libwebp/enc/webpenc.c enc->profile_ = use_filter ? ((config->filter_type == 1) ? 0 : 1) : 2; config 359 3rdparty/libwebp/enc/webpenc.c int WebPEncode(const WebPConfig* config, WebPPicture* pic) { config 365 3rdparty/libwebp/enc/webpenc.c if (config == NULL) // bad params config 367 3rdparty/libwebp/enc/webpenc.c if (!WebPValidateConfig(config)) config 376 3rdparty/libwebp/enc/webpenc.c if (!config->lossless) { config 383 3rdparty/libwebp/enc/webpenc.c enc = InitVP8Encoder(config, pic); config 412 3rdparty/libwebp/enc/webpenc.c ok = VP8LEncodeImage(config, pic); // Sets pic->error in case of problem. config 464 3rdparty/libwebp/webp/decode.h static WEBP_INLINE int WebPInitDecoderConfig(WebPDecoderConfig* config) { config 465 3rdparty/libwebp/webp/decode.h return WebPInitDecoderConfigInternal(config, WEBP_DECODER_ABI_VERSION); config 478 3rdparty/libwebp/webp/decode.h WebPDecoderConfig* config); config 484 3rdparty/libwebp/webp/decode.h WebPDecoderConfig* config); config 154 3rdparty/libwebp/webp/encode.h static WEBP_INLINE int WebPConfigInit(WebPConfig* config) { config 155 3rdparty/libwebp/webp/encode.h return WebPConfigInitInternal(config, WEBP_PRESET_DEFAULT, 75.f, config 163 3rdparty/libwebp/webp/encode.h static WEBP_INLINE int WebPConfigPreset(WebPConfig* config, config 165 3rdparty/libwebp/webp/encode.h return WebPConfigInitInternal(config, preset, quality, config 171 3rdparty/libwebp/webp/encode.h WEBP_EXTERN(int) WebPValidateConfig(const WebPConfig* config); config 477 3rdparty/libwebp/webp/encode.h WEBP_EXTERN(int) WebPEncode(const WebPConfig* config, WebPPicture* picture); config 126 3rdparty/zlib/deflate.c local const config configuration_table[2] = { config 131 3rdparty/zlib/deflate.c local const config configuration_table[10] = {