Home
last modified time | relevance | path

Searched refs:kmax (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/third_party/externals/libwebp/tests/fuzzer/
Danimencoder_fuzzer.cc136 anim_config.kmax = Extract(15, data, size, &bit_pos); in LLVMFuzzerTestOneInput()
137 const int min_kmin = (anim_config.kmax > 1) ? (anim_config.kmax / 2) : 0; in LLVMFuzzerTestOneInput()
138 const int max_kmin = (anim_config.kmax > 1) ? (anim_config.kmax - 1) : 0; in LLVMFuzzerTestOneInput()
/third_party/skia/third_party/externals/libwebp/src/mux/
Danim_encode.c119 enc_options->kmax = INT_MAX; in DisableKeyframes()
120 enc_options->kmin = enc_options->kmax - 1; in DisableKeyframes()
132 if (enc_options->kmax == 1) { // All frames will be key-frames. in SanitizeEncoderOptions()
134 enc_options->kmax = 0; in SanitizeEncoderOptions()
136 } else if (enc_options->kmax <= 0) { in SanitizeEncoderOptions()
141 if (enc_options->kmin >= enc_options->kmax) { in SanitizeEncoderOptions()
142 enc_options->kmin = enc_options->kmax - 1; in SanitizeEncoderOptions()
148 const int kmin_limit = enc_options->kmax / 2 + 1; in SanitizeEncoderOptions()
149 if (enc_options->kmin < kmin_limit && kmin_limit < enc_options->kmax) { in SanitizeEncoderOptions()
161 if (enc_options->kmax - enc_options->kmin > MAX_CACHED_FRAMES) { in SanitizeEncoderOptions()
[all …]
/third_party/benchmark/src/
Dbenchmark_register.h24 static const T kmax = std::numeric_limits<T>::max(); in AddPowers() local
33 if (i > kmax / mult) break; in AddPowers()
/third_party/ffmpeg/libavcodec/
Dflacenc.c632 static void calc_sum_top(int pmax, int kmax, const uint32_t *data, int n, int pred_order, in calc_sum_top() argument
642 for (k = 0; k <= kmax; k++) { in calc_sum_top()
646 if (kmax) { in calc_sum_top()
662 static void calc_sum_next(int level, uint64_t sums[32][MAX_PARTITIONS], int kmax) in calc_sum_next() argument
667 for (k=0; k<=kmax; k++) in calc_sum_next()
682 int kmax = (1 << rc->coding_mode) - 2; in calc_rice_params() local
693 calc_sum_top(pmax, exact ? kmax : 0, udata, n, pred_order, sums); in calc_rice_params()
698 bits[i] = calc_optimal_rice_params(&tmp_rc, i, sums, n, pred_order, kmax, exact); in calc_rice_params()
705 calc_sum_next(--i, sums, exact ? kmax : 0); in calc_rice_params()
/third_party/skia/third_party/externals/libwebp/examples/
Dgif2webp.c177 enc_options.kmax = ExUtilGetInt(argv[++c], 0, &parse_error); in main()
261 enc_options.kmax = config.lossless ? 17 : 5; in main()
Dimg2webp.c173 anim_config.kmax = ExUtilGetInt(argv[++c], 0, &parse_error); in main()
/third_party/skia/third_party/externals/libwebp/src/webp/
Dmux.h429 int kmax; // Minimum and maximum distance between consecutive key member
/third_party/skia/third_party/externals/libwebp/
DNEWS102 WebPAnimEncoderOptions: kmax <= 0 now disables keyframes, kmax == 1
DREADME464 -kmax <int> .......... maximum number of frame between key-frames
506 -kmax <int> ............ max distance between key frames
DChangeLog1745 fe42739c Use integers for kmin/kmax for simplicity.
1746 b9df35f7 AnimEncode API: kmax=0 should imply all keyframes.
1760 c6b24543 AnimEncoder API: Fix for kmax=1 and default kmin case.
1772 9a062b8e AnimEncoder: Bugfix for kmin = 1 and kmax = 2.
2607 fb887f7f gif2webp: Different kmin/kmax defaults for lossy and lossless
/third_party/ffmpeg/libavfilter/
Dvf_overlay.c460 …int jmax, j, k, kmax; …
486kmax = FFMIN(-xp + dst_wp, src_wp); …
490 … (uint8_t*)a, kmax - k, src->linesize[3]); \
498 …for (; k < kmax; k++) { …