Lines Matching defs:contrast
33 * - If contrast > threshold then find likely motion vector
86 { "contrast", "set contrast threshold for blocks", OFFSET(contrast), AV_OPT_TYPE_INT, {.i64=125}, 1, 255, .flags = FLAGS },
193 * Find the contrast of a given block. When searching for global motion we
194 * really only care about the high contrast blocks, so using this method we
249 int contrast;
268 // If the contrast is too low, just skip this block as it probably
270 contrast = block_contrast(src2, x, y, stride, deshake->blocksize);
271 if (contrast > deshake->contrast) {
272 //av_log(NULL, AV_LOG_ERROR, "%d\n", contrast);
386 av_log(ctx, AV_LOG_VERBOSE, "cx: %d, cy: %d, cw: %d, ch: %d, rx: %d, ry: %d, edge: %d blocksize: %d contrast: %d search: %d\n",
388 deshake->rx, deshake->ry, deshake->edge, deshake->blocksize * 2, deshake->contrast, deshake->search);