Lines Matching refs:grain
76 aom_film_grain_t grain; in TEST() local
77 EXPECT_FALSE(aom_film_grain_table_lookup(&table, 0, 1000, false, &grain)); in TEST()
80 EXPECT_FALSE(aom_film_grain_table_lookup(&table, 0, 1000, false, &grain)); in TEST()
81 EXPECT_FALSE(aom_film_grain_table_lookup(&table, 2000, 3000, false, &grain)); in TEST()
83 EXPECT_TRUE(aom_film_grain_table_lookup(&table, 1000, 2000, false, &grain)); in TEST()
85 grain.bit_depth = film_grain_test_vectors[0].bit_depth; in TEST()
86 EXPECT_EQ(0, memcmp(&grain, film_grain_test_vectors + 0, sizeof(table))); in TEST()
93 EXPECT_TRUE(aom_film_grain_table_lookup(&table, 1000, 2000, true, &grain)); in TEST()
94 EXPECT_FALSE(aom_film_grain_table_lookup(&table, 1000, 2000, false, &grain)); in TEST()
96 EXPECT_TRUE(aom_film_grain_table_lookup(&table, 2000, 3000, true, &grain)); in TEST()
97 EXPECT_FALSE(aom_film_grain_table_lookup(&table, 2000, 3000, false, &grain)); in TEST()
106 aom_film_grain_t grain; in TEST() local
112 EXPECT_TRUE(aom_film_grain_table_lookup(&table, 0, 100, true, &grain)); in TEST()
117 EXPECT_TRUE(aom_film_grain_table_lookup(&table, 900, 1000, true, &grain)); in TEST()
123 EXPECT_TRUE(aom_film_grain_table_lookup(&table, 400, 600, true, &grain)); in TEST()
139 aom_film_grain_t grain; in TEST() local
149 true, &grain)); in TEST()
150 grain_equal(film_grain_test_vectors + i, &grain); in TEST()
152 true, &grain)); in TEST()
158 true, &grain)); in TEST()
215 aom_film_grain_t grain; in TEST_F() local
217 true, &grain)); in TEST_F()
218 grain_equal(expected_grain + i, &grain); in TEST_F()
231 aom_film_grain_t grain = film_grain_test_vectors[0]; in TEST_F() local
232 aom_film_grain_table_append(&table, 0, 3000, &grain); in TEST_F()
233 ASSERT_TRUE(aom_film_grain_table_lookup(&table, 1000, 2000, true, &grain)); in TEST_F()
234 ASSERT_TRUE(aom_film_grain_table_lookup(&table, 0, 1000, false, &grain)); in TEST_F()
235 EXPECT_FALSE(aom_film_grain_table_lookup(&table, 1000, 2000, false, &grain)); in TEST_F()
236 ASSERT_TRUE(aom_film_grain_table_lookup(&table, 2000, 3000, false, &grain)); in TEST_F()
244 ASSERT_TRUE(aom_film_grain_table_lookup(&table, 0, 1000, false, &grain)); in TEST_F()
245 ASSERT_FALSE(aom_film_grain_table_lookup(&table, 1000, 2000, false, &grain)); in TEST_F()
246 ASSERT_TRUE(aom_film_grain_table_lookup(&table, 2000, 3000, false, &grain)); in TEST_F()