Home
last modified time | relevance | path

Searched refs:kmax (Results 1 - 8 of 8) sorted by relevance

/third_party/skia/third_party/externals/libwebp/tests/fuzzer/
H A 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/benchmark/src/
H A 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/skia/third_party/externals/libwebp/src/mux/
H A 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()
144 fprintf(stderr, "WARNING: Setting kmin = %d, so that kmin < kmax.\n", 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()
[all...]
/third_party/ffmpeg/libavcodec/
H A 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/src/webp/
H A Dmux.h429 int kmax; // Minimum and maximum distance between consecutive key member
432 // Note that these conditions should hold: kmax > kmin
433 // and kmin >= kmax / 2 + 1. Also, if kmax <= 0, then
434 // key-frame insertion is disabled; and if kmax == 1,
/third_party/skia/third_party/externals/libwebp/examples/
H A Dgif2webp.c80 printf(" -kmax <int> ............ max distance between key frames\n"); in Help()
176 } else if (!strcmp(argv[c], "-kmax") && c < argc - 1) { in main()
177 enc_options.kmax = ExUtilGetInt(argv[++c], 0, &parse_error); in main()
256 // Appropriate default kmin, kmax values for lossy and lossless. in main()
261 enc_options.kmax = config.lossless ? 17 : 5; in main()
H A Dimg2webp.c45 printf(" -kmax <int> .......... maximum number of frame between key-frames\n" in Help()
171 } else if (!strcmp(argv[c], "-kmax") && c + 1 < argc) { in main()
173 anim_config.kmax = ExUtilGetInt(argv[++c], 0, &parse_error); in main()
/third_party/ffmpeg/libavfilter/
H A Dvf_overlay.c460 int jmax, j, k, kmax; \
486 kmax = FFMIN(-xp + dst_wp, src_wp); \
490 (uint8_t*)a, kmax - k, src->linesize[3]); \
498 for (; k < kmax; k++) { \

Completed in 10 milliseconds