Home
last modified time | relevance | path

Searched refs:num_blocks_w (Results 1 – 3 of 3) sorted by relevance

/external/libaom/libaom/aom_dsp/
Dnoise_model.c563 const int num_blocks_w = (w + block_size - 1) / block_size; in aom_flat_block_finder_run() local
570 num_blocks_w * num_blocks_h * sizeof(*scores)); in aom_flat_block_finder_run()
583 for (bx = 0; bx < num_blocks_w; ++bx) { in aom_flat_block_finder_run()
639 flat_blocks[by * num_blocks_w + bx] = is_flat ? 255 : 0; in aom_flat_block_finder_run()
640 scores[by * num_blocks_w + bx].score = var > kVarThreshold ? score : 0; in aom_flat_block_finder_run()
641 scores[by * num_blocks_w + bx].index = by * num_blocks_w + bx; in aom_flat_block_finder_run()
659 qsort(scores, num_blocks_w * num_blocks_h, sizeof(*scores), &compare_scores); in aom_flat_block_finder_run()
660 const int top_nth_percentile = num_blocks_w * num_blocks_h * 90 / 100; in aom_flat_block_finder_run()
662 for (int i = 0; i < num_blocks_w * num_blocks_h; ++i) { in aom_flat_block_finder_run()
792 int num_blocks_w, int num_blocks_h) { in add_block_observations() argument
[all …]
/external/libaom/libaom/examples/
Dnoise_model.c191 const int num_blocks_w = (raw->w + block_size - 1) / block_size; in print_variance_y() local
195 for (int bx = 0; bx < num_blocks_w; bx++) { in print_variance_y()
224 flat_blocks[by * num_blocks_w + bx], block_mean, noise_std, in print_variance_y()
328 const int num_blocks_w = (info.frame_width + block_size - 1) / block_size; in main() local
330 uint8_t *flat_blocks = (uint8_t *)aom_malloc(num_blocks_w * num_blocks_h); in main()
361 int num_flat_blocks = num_blocks_w * num_blocks_h; in main()
/external/libaom/libaom/test/
Dnoise_model_test.cc409 const int num_blocks_w = 8; in TYPED_TEST_P() local
411 const int w = kBlockSize * num_blocks_w; in TYPED_TEST_P()
414 std::vector<uint8_t> flat_blocks(num_blocks_w, 0); in TYPED_TEST_P()
474 for (int x = 0; x < kBlockSize * num_blocks_w; ++x) { in TYPED_TEST_P()