/external/libvpx/libvpx/test/ |
D | fdct8x8_test.cc | 157 test_input_block[j] = ((rnd.Rand16() >> (16 - bit_depth_)) & mask_) - in RunSignBiasCheck() 158 ((rnd.Rand16() >> (16 - bit_depth_)) & mask_); in RunSignBiasCheck() 173 EXPECT_LT(diff, max_diff << (bit_depth_ - 8)) in RunSignBiasCheck() 203 EXPECT_LT(diff, max_diff << (bit_depth_ - 8)) in RunSignBiasCheck() 230 if (bit_depth_ == VPX_BITS_8) { in RunRoundTripErrorCheck() 256 if (bit_depth_ == VPX_BITS_8) { in RunRoundTripErrorCheck() 269 bit_depth_ == VPX_BITS_8 ? dst[j] - src[j] : dst16[j] - src16[j]; in RunRoundTripErrorCheck() 280 EXPECT_GE(1 << 2 * (bit_depth_ - 8), max_error) in RunRoundTripErrorCheck() 284 EXPECT_GE((count_test_block << 2 * (bit_depth_ - 8))/5, total_error) in RunRoundTripErrorCheck() 308 if (bit_depth_ == VPX_BITS_8) { in RunExtremalCheck() [all …]
|
D | vp9_error_block_test.cc | 48 bit_depth_ = GET_PARAM(2); in SetUp() 54 vpx_bit_depth_t bit_depth_; member in __anonca788f0d0111::ErrorBlockTest 70 const int msb = bit_depth_ + 8 - 1; in TEST_P() 88 bit_depth_); in TEST_P() 90 &ssz, bit_depth_)); in TEST_P() 113 const int msb = bit_depth_ + 8 - 1; in TEST_P() 146 bit_depth_); in TEST_P() 148 &ssz, bit_depth_)); in TEST_P()
|
D | dct32x32_test.cc | 105 bit_depth_ = GET_PARAM(3); in SetUp() 106 mask_ = (1 << bit_depth_) - 1; in SetUp() 113 vpx_bit_depth_t bit_depth_; member in __anon04a6ed980111::Trans32x32Test 136 if (bit_depth_ == VPX_BITS_8) { in TEST_P() 150 if (bit_depth_ == VPX_BITS_8) { in TEST_P() 162 bit_depth_ == VPX_BITS_8 ? dst[j] - src[j] : dst16[j] - src16[j]; in TEST_P() 178 EXPECT_GE(1u << 2 * (bit_depth_ - 8), max_error) in TEST_P() 181 EXPECT_GE(count_test_block << 2 * (bit_depth_ - 8), total_error) in TEST_P() 248 EXPECT_GE(4 * DCT_MAX_VALUE << (bit_depth_ - 8), abs(output_ref_block[j])) in TEST_P() 250 EXPECT_GE(4 * DCT_MAX_VALUE << (bit_depth_ - 8), abs(output_block[j])) in TEST_P() [all …]
|
D | dct16x16_test.cc | 349 if (bit_depth_ == VPX_BITS_8) { in RunAccuracyCheck() 364 if (bit_depth_ == VPX_BITS_8) { in RunAccuracyCheck() 377 bit_depth_ == VPX_BITS_8 ? dst[j] - src[j] : dst16[j] - src16[j]; in RunAccuracyCheck() 388 EXPECT_GE(1u << 2 * (bit_depth_ - 8), max_error) in RunAccuracyCheck() 391 EXPECT_GE(count_test_block << 2 * (bit_depth_ - 8), total_error) in RunAccuracyCheck() 443 EXPECT_GE(4 * DCT_MAX_VALUE << (bit_depth_ - 8), abs(output_block[j])) in RunMemCheck() 488 if (bit_depth_ == VPX_BITS_8) { in RunQuantCheck() 499 if (bit_depth_ == VPX_BITS_8) { in RunQuantCheck() 528 if (bit_depth_ == VPX_BITS_8) { in RunInvAccuracyCheck() 545 if (bit_depth_ == VPX_BITS_8) { in RunInvAccuracyCheck() [all …]
|
D | fdct4x4_test.cc | 118 if (bit_depth_ == VPX_BITS_8) { in RunAccuracyCheck() 133 if (bit_depth_ == VPX_BITS_8) { in RunAccuracyCheck() 145 bit_depth_ == VPX_BITS_8 ? dst[j] - src[j] : dst16[j] - src16[j]; in RunAccuracyCheck() 147 ASSERT_EQ(VPX_BITS_8, bit_depth_); in RunAccuracyCheck() 214 EXPECT_GE(4 * DCT_MAX_VALUE << (bit_depth_ - 8), abs(output_block[j])) in RunMemCheck() 235 if (bit_depth_ == VPX_BITS_8) { in RunInvAccuracyCheck() 250 if (bit_depth_ == VPX_BITS_8) { in RunInvAccuracyCheck() 262 bit_depth_ == VPX_BITS_8 ? dst[j] - src[j] : dst16[j] - src16[j]; in RunInvAccuracyCheck() 277 vpx_bit_depth_t bit_depth_; member in __anon1dcc65bc0111::Trans4x4TestBase 293 bit_depth_ = GET_PARAM(3); in SetUp() [all …]
|
D | vp9_intrapred_test.cc | 104 bit_depth_ = GET_PARAM(3); in SetUp() 106 mask_ = (1 << bit_depth_) - 1; in SetUp() 112 ref_fn_(ref_dst_, stride_, const_above_row, const_left_col, bit_depth_); in Predict() 114 const_left_col, bit_depth_)); in Predict() 118 int bit_depth_; member in __anon2a6e24c20111::VP9IntraPredTest
|
D | vp9_quantize_test.cc | 51 bit_depth_ = GET_PARAM(2); in SetUp() 52 mask_ = (1 << bit_depth_) - 1; in SetUp() 58 vpx_bit_depth_t bit_depth_; member in __anonae710bca0111::VP9QuantizeTest 70 bit_depth_ = GET_PARAM(2); in SetUp() 71 mask_ = (1 << bit_depth_) - 1; in SetUp() 77 vpx_bit_depth_t bit_depth_; member in __anonae710bca0111::VP9Quantize32Test
|
D | lpf_8_test.cc | 160 bit_depth_ = GET_PARAM(2); in SetUp() 162 mask_ = (1 << bit_depth_) - 1; in SetUp() 168 int bit_depth_; member in __anon237324740111::Loop8Test6Param 181 bit_depth_ = GET_PARAM(2); in SetUp() 182 mask_ = (1 << bit_depth_) - 1; in SetUp() 188 int bit_depth_; member in __anon237324740111::Loop8Test9Param 198 int32_t bd = bit_depth_; in TEST_P() 283 const int32_t bd = bit_depth_; in TEST_P() 354 const int32_t bd = bit_depth_; in TEST_P() 503 const int32_t bd = bit_depth_; in TEST_P()
|
D | variance_test.cc | 224 bit_depth_ = static_cast<vpx_bit_depth_t>(get<3>(params)); in SetUp() 227 bit_depth_ = VPX_BITS_8; in SetUp() 230 mask_ = (1 << bit_depth_) - 1; in SetUp() 272 vpx_bit_depth_t bit_depth_; member in __anon9f3513840111::VarianceTest 286 vpx_memset16(CONVERT_TO_SHORTPTR(src_), i << (bit_depth_ - 8), in ZeroTest() 295 vpx_memset16(CONVERT_TO_SHORTPTR(ref_), j << (bit_depth_ - 8), in ZeroTest() 330 use_high_bit_depth_, bit_depth_); in RefTest() 363 use_high_bit_depth_, bit_depth_); in RefStrideTest() 378 vpx_memset16(CONVERT_TO_SHORTPTR(src_), 255 << (bit_depth_ - 8), in OneQuarterTest() 380 vpx_memset16(CONVERT_TO_SHORTPTR(ref_), 255 << (bit_depth_ - 8), half); in OneQuarterTest() [all …]
|
D | sad_test.cc | 99 bit_depth_ = VPX_BITS_8; in SetUp() 106 bit_depth_ = static_cast<vpx_bit_depth_t>(bd_); in SetUp() 112 mask_ = (1 << bit_depth_) - 1; in SetUp() 225 vpx_bit_depth_t bit_depth_; member in __anon3614a8530111::SADTestBase
|
/external/libvpx/libvpx/third_party/libwebm/ |
D | mkvmuxer.hpp | 509 void set_bit_depth(uint64 bit_depth) { bit_depth_ = bit_depth; } in set_bit_depth() 510 uint64 bit_depth() const { return bit_depth_; } in bit_depth() 518 uint64 bit_depth_; member in mkvmuxer::AudioTrack
|
D | mkvmuxer.cpp | 988 : Track(seed), bit_depth_(0), channels_(1), sample_rate_(0.0) {} in AudioTrack() 998 if (bit_depth_ > 0) in PayloadSize() 999 size += EbmlElementSize(kMkvBitDepth, bit_depth_); in PayloadSize() 1013 if (bit_depth_ > 0) in Write() 1014 size += EbmlElementSize(kMkvBitDepth, bit_depth_); in Write() 1028 if (bit_depth_ > 0) in Write() 1029 if (!WriteEbmlElement(writer, kMkvBitDepth, bit_depth_)) in Write()
|