/external/libaom/test/ |
D | sad_test.cc | 168 source_stride_ = (width_ + 31) & ~31; in SetUp() 192 sad += abs(source8[h * source_stride_ + w] - in ReferenceSAD() 195 sad += abs(source16[h * source_stride_ + w] - in ReferenceSAD() 217 sad += abs(source8[h * source_stride_ + w] - in ReferenceSADSkip() 220 sad += abs(source16[h * source_stride_ + w] - in ReferenceSADSkip() 246 sad += abs(source8[h * source_stride_ + w] - comp_pred); in ReferenceSADavg() 251 sad += abs(source16[h * source_stride_ + w] - comp_pred); in ReferenceSADavg() 299 sad += abs(source8[h * source_stride_ + w] - comp_pred); in ReferenceDistWtdSADavg() 305 sad += abs(source16[h * source_stride_ + w] - comp_pred); in ReferenceDistWtdSADavg() 369 int source_stride_; member in __anonbce6bf330111::SADTestBase [all …]
|
D | avg_test.cc | 36 source_stride_(0), bit_depth_(bit_depth) {} in AverageTestBase() 64 source_stride_ = (width_ + 31) & ~31; in SetUp() 114 int source_stride_; member in __anon0eb53b590111::AverageTestBase 134 using AverageTestBase<Pixel>::source_stride_; 148 expected = ReferenceAverage8x8(src, source_stride_); in CheckAverages() 150 expected = ReferenceAverage4x4(src, source_stride_); in CheckAverages() 162 avg_c(CONVERT_TO_BYTEPTR(src), source_stride_); in CheckAverages() 169 actual = avg_opt(CONVERT_TO_BYTEPTR(src), source_stride_); in CheckAverages() 177 avg_c(reinterpret_cast<const uint8_t *>(src), source_stride_); in CheckAverages() 185 avg_opt(reinterpret_cast<const uint8_t *>(src), source_stride_); in CheckAverages() [all …]
|
/external/libgav1/src/dsp/ |
D | convolve_test.cc | 690 const int source_stride_ = kMaxBlockWidth; member in libgav1::dsp::__anonc8f7b3170111::ConvolveTest 707 std::fill(source_, source_ + source_height_ * source_stride_, value); in SetInputData() 710 kConvolveBorderLeftTop * source_stride_ + kConvolveBorderLeftTop; in SetInputData() 717 source_[y * source_stride_ + x + offset] = rnd.Rand16() & mask; in SetInputData() 722 Memset(&source_[(y + kConvolveBorderLeftTop) * source_stride_], in SetInputData() 723 source_[y * source_stride_ + offset], kConvolveBorderLeftTop); in SetInputData() 724 Memset(&source_[y * source_stride_ + offset + width], in SetInputData() 725 source_[y * source_stride_ + offset + width - 1], in SetInputData() 730 memcpy(&source_[y * source_stride_], in SetInputData() 731 &source_[kConvolveBorderLeftTop * source_stride_], in SetInputData() [all …]
|
/external/libvpx/test/ |
D | sad_test.cc | 97 source_stride_ = (params_.width + 63) & ~63; in SetUp() 160 sad += abs(source8[h * source_stride_ + w] - in ReferenceSAD() 164 sad += abs(source16[h * source_stride_ + w] - in ReferenceSAD() 193 sad += abs(source8[h * source_stride_ + w] - comp_pred); in ReferenceSADavg() 199 sad += abs(source16[h * source_stride_ + w] - comp_pred); in ReferenceSADavg() 249 int source_stride_; member in __anon67eb6ad40111::SADTestBase 277 source_data_, source_stride_, references, reference_stride_, results)); in SADs() 302 ASM_REGISTER_STATE_CHECK(ret = params_.func(source_data_, source_stride_, in SAD() 315 params_.func(source_data_, source_stride_, reference_data_, in Run() 329 ASM_REGISTER_STATE_CHECK(ret = params_.func(source_data_, source_stride_, in SAD_avg() [all …]
|
D | blockiness_test.cc | 60 source_stride_ = (width_ + 31) & ~31; in SetUp() 134 int source_stride_; member in __anon5380c3a90111::BlockinessTestBase 151 return vp9_get_blockiness(source_data_, source_stride_, reference_data_, in GetBlockiness() 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 | consistency_test.cc | 76 source_stride_ = (width_ + 31) & ~31; in SetUp() 121 int source_stride_; member in __anon4f35460e0111::ConsistencyTestBase 141 return vpx_get_ssim_metrics(source_data_[frame], source_stride_, in CheckConsistency() 154 FillRandom(source_data_[0], source_stride_); in TEST_P() 168 FillRandom(source_data_[0], source_stride_); in TEST_P() 169 FillRandom(source_data_[1], source_stride_); in TEST_P() 184 FillRandom(source_data_[0], source_stride_); in TEST_P()
|
D | avg_test.cc | 39 source_stride_(0), bit_depth_(8) {} in AverageTestBase() 56 source_stride_ = (width_ + 31) & ~31; in SetUp() 92 int source_stride_; member in __anonb9b9e6fa0111::AverageTestBase 112 ReferenceAverage8x8(source_data_ + GET_PARAM(2), source_stride_); in CheckAverages() 115 ReferenceAverage4x4(source_data_ + GET_PARAM(2), source_stride_); in CheckAverages() 119 GET_PARAM(4)(source_data_ + GET_PARAM(2), source_stride_)); in CheckAverages() 121 GET_PARAM(4)(source_data_ + GET_PARAM(2), source_stride_); in CheckAverages() 139 ReferenceAverage8x8(source_data_ + GET_PARAM(2), source_stride_); in CheckAverages() 142 ReferenceAverage4x4(source_data_ + GET_PARAM(2), source_stride_); in CheckAverages() 146 CONVERT_TO_BYTEPTR(source_data_ + GET_PARAM(2)), source_stride_)); in CheckAverages() [all …]
|