Searched refs:flat_blocks (Results 1 – 4 of 4) sorted by relevance
/external/libaom/libaom/examples/ |
D | noise_model.c | 178 aom_image_t *denoised, const uint8_t *flat_blocks, in print_variance_y() argument 224 flat_blocks[by * num_blocks_w + bx], block_mean, noise_std, in print_variance_y() 257 aom_image_t *denoised, uint8_t *flat_blocks, in print_debug_info() argument 261 (void)flat_blocks; in print_debug_info() 282 print_variance_y(debug_file, raw, denoised, flat_blocks, block_size, &grain); in print_debug_info() 330 uint8_t *flat_blocks = (uint8_t *)aom_malloc(num_blocks_w * num_blocks_h); in main() local 362 memset(flat_blocks, 1, num_flat_blocks); in main() 364 memset(flat_blocks, 0, num_flat_blocks); in main() 367 info.frame_width, flat_blocks); in main() 383 info.frame_height, strides, chroma_sub, flat_blocks, block_size); in main() [all …]
|
/external/libaom/libaom/test/ |
D | noise_model_test.cc | 414 std::vector<uint8_t> flat_blocks(num_blocks_w, 0); in TYPED_TEST_P() local 456 stride, &flat_blocks[0])); in TYPED_TEST_P() 459 EXPECT_EQ(0, flat_blocks[0]); in TYPED_TEST_P() 460 EXPECT_EQ(0, flat_blocks[1]); in TYPED_TEST_P() 463 EXPECT_EQ(255, flat_blocks[2]); in TYPED_TEST_P() 464 EXPECT_EQ(255, flat_blocks[3]); in TYPED_TEST_P() 465 EXPECT_EQ(255, flat_blocks[4]); in TYPED_TEST_P() 466 EXPECT_EQ(255, flat_blocks[5]); in TYPED_TEST_P() 469 EXPECT_EQ(0, flat_blocks[6]); in TYPED_TEST_P() 470 EXPECT_EQ(0, flat_blocks[7]); in TYPED_TEST_P() [all …]
|
/external/libaom/libaom/aom_dsp/ |
D | noise_model.c | 551 int stride, uint8_t *flat_blocks) { in aom_flat_block_finder_run() argument 639 flat_blocks[by * num_blocks_w + bx] = is_flat ? 255 : 0; in aom_flat_block_finder_run() 664 num_flat += flat_blocks[scores[i].index] == 0; in aom_flat_block_finder_run() 665 flat_blocks[scores[i].index] |= 1; in aom_flat_block_finder_run() 791 int alt_stride, const uint8_t *const flat_blocks, int block_size, in add_block_observations() argument 809 if (!flat_blocks[by * num_blocks_w + bx]) { in add_block_observations() 813 (by > 0 && flat_blocks[(by - 1) * num_blocks_w + bx]) ? 0 : lag; in add_block_observations() 815 (bx > 0 && flat_blocks[by * num_blocks_w + bx - 1]) ? 0 : lag; in add_block_observations() 820 (bx + 1 < num_blocks_w && flat_blocks[by * num_blocks_w + bx + 1]) in add_block_observations() 858 const uint8_t *const flat_blocks, int block_size, int num_blocks_w, in add_noise_std_observations() argument [all …]
|
D | noise_model.h | 158 int stride, uint8_t *flat_blocks); 245 int chroma_sub_log2[2], const uint8_t *const flat_blocks, int block_size);
|