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.c567 const int num_blocks_w = (w + block_size - 1) / block_size; in aom_flat_block_finder_run() local
574 num_blocks_w * num_blocks_h * sizeof(*scores)); in aom_flat_block_finder_run()
587 for (bx = 0; bx < num_blocks_w; ++bx) { in aom_flat_block_finder_run()
645 flat_blocks[by * num_blocks_w + bx] = is_flat ? 255 : 0; in aom_flat_block_finder_run()
646 scores[by * num_blocks_w + bx].score = var > kVarThreshold ? score : 0; in aom_flat_block_finder_run()
647 scores[by * num_blocks_w + bx].index = by * num_blocks_w + bx; in aom_flat_block_finder_run()
665 qsort(scores, num_blocks_w * num_blocks_h, sizeof(*scores), &compare_scores); in aom_flat_block_finder_run()
666 const int top_nth_percentile = num_blocks_w * num_blocks_h * 90 / 100; in aom_flat_block_finder_run()
668 for (int i = 0; i < num_blocks_w * num_blocks_h; ++i) { in aom_flat_block_finder_run()
798 int num_blocks_w, int num_blocks_h) { in add_block_observations() argument
[all …]
/external/libaom/libaom/examples/
Dnoise_model.c192 const int num_blocks_w = (raw->w + block_size - 1) / block_size; in print_variance_y() local
196 for (int bx = 0; bx < num_blocks_w; bx++) { in print_variance_y()
225 flat_blocks[by * num_blocks_w + bx], block_mean, noise_std, in print_variance_y()
329 const int num_blocks_w = (info.frame_width + block_size - 1) / block_size; in main() local
331 uint8_t *flat_blocks = (uint8_t *)aom_malloc(num_blocks_w * num_blocks_h); in main()
362 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()