/external/libvpx/libvpx/test/ |
D | consistency_test.cc | 43 source_data_[0] = reinterpret_cast<uint8_t *>( in SetUpTestCase() 47 source_data_[1] = reinterpret_cast<uint8_t *>( in SetUpTestCase() 56 vpx_free(source_data_[0]); in TearDownTestCase() 57 source_data_[0] = NULL; in TearDownTestCase() 60 vpx_free(source_data_[1]); in TearDownTestCase() 61 source_data_[1] = NULL; in TearDownTestCase() 120 static uint8_t *source_data_[2]; member in __anon8b59b7b80111::ConsistencyTestBase 141 return vpx_get_ssim_metrics(source_data_[frame], source_stride_, in CheckConsistency() 148 uint8_t *ConsistencyTestBase::source_data_[2] = { NULL, NULL }; member in __anon8b59b7b80111::ConsistencyTestBase 154 FillRandom(source_data_[0], source_stride_); in TEST_P() [all …]
|
D | avg_test.cc | 38 : width_(width), height_(height), source_data_(NULL), source_stride_(0), in AverageTestBase() 42 vpx_free(source_data_); in TearDown() 43 source_data_ = NULL; in TearDown() 53 source_data_ = reinterpret_cast<Pixel *>( in SetUp() 54 vpx_memalign(kDataAlignment, kDataBlockSize * sizeof(source_data_[0]))); in SetUp() 55 ASSERT_TRUE(source_data_ != NULL); in SetUp() 80 source_data_[i] = fill_constant; in FillConstant() 86 source_data_[i] = rnd_.Rand16() & ((1 << bit_depth_) - 1); in FillRandom() 91 Pixel *source_data_; member in __anon1fc44ea40111::AverageTestBase 112 ReferenceAverage8x8(source_data_ + GET_PARAM(2), source_stride_); in CheckAverages() [all …]
|
D | blockiness_test.cc | 39 source_data_ = reinterpret_cast<uint8_t *>( in SetUpTestCase() 46 vpx_free(source_data_); in TearDownTestCase() 47 source_data_ = NULL; in TearDownTestCase() 133 static uint8_t *source_data_; member in __anonaaa8a8130111::BlockinessTestBase 151 return vp9_get_blockiness(source_data_, source_stride_, reference_data_, in GetBlockiness() 157 uint8_t *BlockinessTestBase::source_data_ = NULL; member in __anonaaa8a8130111::BlockinessTestBase 163 FillRandomBlocky(source_data_, source_stride_); in TEST_P() 173 FillConstant(source_data_, source_stride_, 128); in TEST_P() 183 FillConstant(source_data_, source_stride_, 128); in TEST_P() 196 FillConstant(source_data_, source_stride_, 128); in TEST_P()
|
D | sad_test.cc | 82 source_data_ = source_data8_; in SetUp() 89 source_data_ = CONVERT_TO_BYTEPTR(source_data16_); in SetUp() 152 const uint8_t *const source8 = source_data_; in ReferenceSAD() 156 const uint16_t *const source16 = CONVERT_TO_SHORTPTR(source_data_); in ReferenceSAD() 180 const uint8_t *const source8 = source_data_; in ReferenceSADavg() 185 const uint16_t *const source16 = CONVERT_TO_SHORTPTR(source_data_); in ReferenceSADavg() 254 uint8_t *source_data_; member in __anoncdf5d27e0111::SADTestBase 277 source_data_, source_stride_, reference, reference_stride_, results)); in SADs() 302 source_data_, source_stride_, references, reference_stride_, results)); in SADs() 327 ASM_REGISTER_STATE_CHECK(ret = params_.func(source_data_, source_stride_, in SAD() [all …]
|
/external/libaom/libaom/test/ |
D | avg_test.cc | 31 : width_(width), height_(height), source_data_(NULL), source_stride_(0), in AverageTestBase() 35 aom_free(source_data_); in TearDown() 36 source_data_ = NULL; in TearDown() 46 source_data_ = static_cast<Pixel *>( in SetUp() 47 aom_memalign(kDataAlignment, kDataBlockSize * sizeof(source_data_[0]))); in SetUp() 48 ASSERT_TRUE(source_data_ != NULL); in SetUp() 73 source_data_[i] = fill_constant; in FillConstant() 79 source_data_[i] = rnd_.Rand16() & ((1 << bit_depth_) - 1); in FillRandom() 84 Pixel *source_data_; member in __anon47a276820111::AverageTestBase 106 ReferenceAverage8x8(source_data_ + GET_PARAM(2), source_stride_); in CheckAverages() [all …]
|
D | sad_test.cc | 135 source_data_ = source_data8_; in SetUp() 143 source_data_ = CONVERT_TO_BYTEPTR(source_data16_); in SetUp() 167 const uint8_t *const source8 = source_data_; in ReferenceSAD() 170 const uint16_t *const source16 = CONVERT_TO_SHORTPTR(source_data_); in ReferenceSAD() 191 const uint8_t *const source8 = source_data_; in ReferenceSADavg() 195 const uint16_t *const source16 = CONVERT_TO_SHORTPTR(source_data_); in ReferenceSADavg() 243 const uint8_t *const source8 = source_data_; in ReferenceDistWtdSADavg() 247 const uint16_t *const source16 = CONVERT_TO_SHORTPTR(source_data_); in ReferenceDistWtdSADavg() 299 static uint8_t *source_data_; member in __anonf5d3fa5c0111::SADTestBase 333 source_data_, source_stride_, references, reference_stride_, results)); in SADs() [all …]
|