/external/libvpx/test/ |
D | consistency_test.cc | 43 source_data_[0] = reinterpret_cast<uint8_t *>( in SetUpTestSuite() 47 source_data_[1] = reinterpret_cast<uint8_t *>( in SetUpTestSuite() 56 vpx_free(source_data_[0]); in TearDownTestSuite() 57 source_data_[0] = nullptr; in TearDownTestSuite() 60 vpx_free(source_data_[1]); in TearDownTestSuite() 61 source_data_[1] = nullptr; in TearDownTestSuite() 120 static uint8_t *source_data_[2]; member in __anon4f35460e0111::ConsistencyTestBase 141 return vpx_get_ssim_metrics(source_data_[frame], source_stride_, in CheckConsistency() 148 uint8_t *ConsistencyTestBase::source_data_[2] = { nullptr, nullptr }; member in __anon4f35460e0111::ConsistencyTestBase 154 FillRandom(source_data_[0], source_stride_); in TEST_P() [all …]
|
D | avg_test.cc | 38 : width_(width), height_(height), source_data_(nullptr), in AverageTestBase() 42 vpx_free(source_data_); in TearDown() 43 source_data_ = nullptr; in TearDown() 53 source_data_ = reinterpret_cast<Pixel *>( in SetUp() 54 vpx_memalign(kDataAlignment, kDataBlockSize * sizeof(source_data_[0]))); in SetUp() 55 ASSERT_NE(source_data_, nullptr); 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 __anonb9b9e6fa0111::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 SetUpTestSuite() 46 vpx_free(source_data_); in TearDownTestSuite() 47 source_data_ = nullptr; in TearDownTestSuite() 133 static uint8_t *source_data_; member in __anon5380c3a90111::BlockinessTestBase 151 return vp9_get_blockiness(source_data_, source_stride_, reference_data_, in GetBlockiness() 157 uint8_t *BlockinessTestBase::source_data_ = nullptr; member in __anon5380c3a90111::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 | 84 source_data_ = source_data8_; in SetUp() 91 source_data_ = CONVERT_TO_BYTEPTR(source_data16_); in SetUp() 151 const uint8_t *const source8 = source_data_; in ReferenceSAD() 155 const uint16_t *const source16 = CONVERT_TO_SHORTPTR(source_data_); in ReferenceSAD() 179 const uint8_t *const source8 = source_data_; in ReferenceSADavg() 184 const uint16_t *const source16 = CONVERT_TO_SHORTPTR(source_data_); in ReferenceSADavg() 253 uint8_t *source_data_; 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() [all …]
|
/external/libaom/test/ |
D | avg_test.cc | 35 : width_(width), height_(height), source_data_(nullptr), in AverageTestBase() 39 aom_free(source_data_); in TearDown() 40 source_data_ = nullptr; in TearDown() 60 source_data_ = static_cast<Pixel *>( in SetUp() 61 aom_memalign(kDataAlignment, kDataBlockSize * sizeof(source_data_[0]))); in SetUp() 62 ASSERT_NE(source_data_, nullptr); in SetUp() 63 memset(source_data_, 0, kDataBlockSize * sizeof(source_data_[0])); in SetUp() 102 source_data_[i] = fill_constant; in FillConstant() 108 source_data_[i] = rnd_.Rand16() & ((1 << bit_depth_) - 1); in FillRandom() 113 Pixel *source_data_; member in __anon0eb53b590111::AverageTestBase [all …]
|
D | sad_test.cc | 153 source_data_ = source_data8_; in SetUp() 161 source_data_ = CONVERT_TO_BYTEPTR(source_data16_); in SetUp() 185 const uint8_t *const source8 = source_data_; in ReferenceSAD() 188 const uint16_t *const source16 = CONVERT_TO_SHORTPTR(source_data_); in ReferenceSAD() 210 const uint8_t *const source8 = source_data_; in ReferenceSADSkip() 213 const uint16_t *const source16 = CONVERT_TO_SHORTPTR(source_data_); in ReferenceSADSkip() 234 const uint8_t *const source8 = source_data_; in ReferenceSADavg() 238 const uint16_t *const source16 = CONVERT_TO_SHORTPTR(source_data_); in ReferenceSADavg() 286 const uint8_t *const source8 = source_data_; in ReferenceDistWtdSADavg() 290 const uint16_t *const source16 = CONVERT_TO_SHORTPTR(source_data_); in ReferenceDistWtdSADavg() [all …]
|
/external/pigweed/pw_hex_dump/ |
D | hex_dump.cc | 94 HexDigitCount(source_data_.size_bytes() + current_offset_); in PrintFormatHeader() 129 if (source_data_.empty()) { in DumpLine() 150 val = reinterpret_cast<uintptr_t>(source_data_.data()); in DumpLine() 169 size_t bytes_in_line = std::min(source_data_.size_bytes(), in DumpLine() 175 builder << source_data_[i]; in DumpLine() 192 builder << PrintableChar(source_data_[i]); in DumpLine() 196 source_data_ = source_data_.subspan(bytes_in_line); in DumpLine() 211 source_data_ = data; in BeginDump() 233 HexDigitCount(std::max(source_data_.size_bytes(), kMinOffsetChars)); in ValidateBufferSize()
|
/external/cronet/net/tools/content_decoder_tool/ |
D | content_decoder_tool_unittest.cc | 49 ASSERT_TRUE(base::ReadFileToString(file_path, &source_data_)); in SetUp() 56 CompressGzip(source_data_.data(), source_data_.size(), gzip_encoded_, in SetUp() 60 const std::string& source_data() { return source_data_; } in source_data() 70 std::string source_data_; member in net::ContentDecoderToolTest
|
/external/cronet/net/filter/ |
D | brotli_source_stream_unittest.cc | 45 ASSERT_TRUE(base::ReadFileToString(file_path, &source_data_)); in SetUp() 46 ASSERT_GE(kDefaultBufferSize, source_data_.size()); in SetUp() 68 std::string source_data() { return source_data_; } in source_data() 70 size_t source_data_len() { return source_data_.length(); } in source_data_len() 85 std::string source_data_; member in net::BrotliSourceStreamTest
|
D | gzip_source_stream_unittest.cc | 68 source_data_[i] = i % 256; in Init() 71 CompressGzip(source_data_, source_data_len_, encoded_data_, in Init() 98 char* source_data() { return source_data_; } in source_data() 134 char source_data_[kBigBufferSize]; member in net::GzipSourceStreamTest
|
/external/pigweed/pw_hex_dump/public/pw_hex_dump/ |
D | hex_dump.h | 155 ConstByteSpan source_data_; variable
|