/external/libvpx/libvpx/test/ |
H A D | vp9_block_error_test.cc | 59 bit_depth_ = GET_PARAM(2); 65 vpx_bit_depth_t bit_depth_; member in class:__anon12713::BlockErrorTest 81 const int msb = bit_depth_ + 8 - 1; 99 ref_error_block_op_(coeff, dqcoeff, block_size, &ref_ssz, bit_depth_); 101 ret = error_block_op_(coeff, dqcoeff, block_size, &ssz, bit_depth_)); 124 const int msb = bit_depth_ + 8 - 1; 157 ref_error_block_op_(coeff, dqcoeff, block_size, &ref_ssz, bit_depth_); 159 ret = error_block_op_(coeff, dqcoeff, block_size, &ssz, bit_depth_));
|
H A D | dct32x32_test.cc | 90 bit_depth_ = GET_PARAM(3); 91 mask_ = (1 << bit_depth_) - 1; 98 vpx_bit_depth_t bit_depth_; member in class:__anon12667::Trans32x32Test 121 if (bit_depth_ == VPX_BITS_8) { 135 if (bit_depth_ == VPX_BITS_8) { 147 bit_depth_ == VPX_BITS_8 ? dst[j] - src[j] : dst16[j] - src16[j]; 162 EXPECT_GE(1u << 2 * (bit_depth_ - 8), max_error) 165 EXPECT_GE(count_test_block << 2 * (bit_depth_ - 8), total_error) 231 EXPECT_GE(4 * DCT_MAX_VALUE << (bit_depth_ - 8), abs(output_ref_block[j])) 233 EXPECT_GE(4 * DCT_MAX_VALUE << (bit_depth_ [all...] |
H A D | fdct8x8_test.cc | 154 test_input_block[j] = ((rnd.Rand16() >> (16 - bit_depth_)) & mask_) - 155 ((rnd.Rand16() >> (16 - bit_depth_)) & mask_); 172 EXPECT_LT(diff, max_diff << (bit_depth_ - 8)) 203 EXPECT_LT(diff, max_diff << (bit_depth_ - 8)) 229 if (bit_depth_ == VPX_BITS_8) { 255 if (bit_depth_ == VPX_BITS_8) { 267 bit_depth_ == VPX_BITS_8 ? dst[j] - src[j] : dst16[j] - src16[j]; 277 EXPECT_GE(1 << 2 * (bit_depth_ - 8), max_error) 281 EXPECT_GE((count_test_block << 2 * (bit_depth_ - 8)) / 5, total_error) 305 if (bit_depth_ 522 vpx_bit_depth_t bit_depth_; member in class:__anon12677::FwdTrans8x8TestBase [all...] |
H A D | dct16x16_test.cc | 336 if (bit_depth_ == VPX_BITS_8) { 351 if (bit_depth_ == VPX_BITS_8) { 363 bit_depth_ == VPX_BITS_8 ? dst[j] - src[j] : dst16[j] - src16[j]; 373 EXPECT_GE(1u << 2 * (bit_depth_ - 8), max_error) 376 EXPECT_GE(count_test_block << 2 * (bit_depth_ - 8), total_error) 427 EXPECT_GE(4 * DCT_MAX_VALUE << (bit_depth_ - 8), abs(output_block[j])) 473 if (bit_depth_ == VPX_BITS_8) { 484 if (bit_depth_ == VPX_BITS_8) { 511 if (bit_depth_ == VPX_BITS_8) { 529 if (bit_depth_ 609 vpx_bit_depth_t bit_depth_; member in class:__anon12666::Trans16x16TestBase [all...] |
H A D | dct_partial_test.cc | 63 bit_depth_ = GET_PARAM(2); 72 clip_pixel_highbd(std::numeric_limits<int16_t>::max(), bit_depth_); 99 vpx_bit_depth_t bit_depth_; member in class:__anon12668::PartialFdctTest
|
H A D | dct_test.cc | 156 if (bit_depth_ == 8) { 182 if (bit_depth_ == VPX_BITS_8) { 196 if (bit_depth_ != 8) { 285 4 * DCT_MAX_VALUE << (bit_depth_ - 8), 319 if (bit_depth_ == VPX_BITS_8) { 345 if (bit_depth_ == VPX_BITS_8) { 358 if (bit_depth_ != 8) { 378 vpx_bit_depth_t bit_depth_; member in class:__anon12669::TransTestBase 393 bit_depth_ = GET_PARAM(4); 394 max_pixel_value_ = (1 << bit_depth_) [all...] |
H A D | lpf_test.cc | 135 bit_depth_ = GET_PARAM(2); 136 mask_ = (1 << bit_depth_) - 1; 142 int bit_depth_; member in class:__anon12685::Loop8Test6Param 154 bit_depth_ = GET_PARAM(2); 155 mask_ = (1 << bit_depth_) - 1; 161 int bit_depth_; member in class:__anon12685::Loop8Test9Param 191 ref_loopfilter_op_(ref_s + 8 + p * 8, p, blimit, limit, thresh, bit_depth_); 193 loopfilter_op_(s + 8 + p * 8, p, blimit, limit, thresh, bit_depth_)); 254 ref_loopfilter_op_(ref_s + 8 + p * 8, p, blimit, limit, thresh, bit_depth_); 256 loopfilter_op_(s + 8 + p * 8, p, blimit, limit, thresh, bit_depth_)); [all...] |
H A D | partial_idct_test.cc | 70 bit_depth_ = GET_PARAM(5); 72 mask_ = (1 << bit_depth_) - 1; 131 const int64_t max_coeff = (32766 << (bit_depth_ - 8)) / 4; 186 int bit_depth_; member in class:__anon12687::PartialIDctTest 234 full_inv_txfm_(input_block_, output_block_ref_, stride_, bit_depth_)); 236 partial_inv_txfm_(input_block_, output_block_, stride_, bit_depth_)); 249 full_inv_txfm_(input_block_, output_block_ref_, stride_, bit_depth_)); 251 partial_inv_txfm_(input_block_, output_block_, stride_, bit_depth_)); 266 full_inv_txfm_(input_block_, output_block_ref_, stride_, bit_depth_)); 268 partial_inv_txfm_(input_block_, output_block_, stride_, bit_depth_)); [all...] |
H A D | vp9_quantize_test.cc | 73 : bit_depth_(bit_depth), max_size_(max_size), is_fp_(is_fp) { 74 max_value_ = (1 << bit_depth_) - 1; 117 const vpx_bit_depth_t bit_depth_; member in class:__anon12724::VP9QuantizeBase
|
H A D | sad_test.cc | 73 bit_depth_ = VPX_BITS_8; 80 bit_depth_ = static_cast<vpx_bit_depth_t>(params_.bit_depth); 86 mask_ = (1 << bit_depth_) - 1; 223 vpx_bit_depth_t bit_depth_; member in class:__anon12693::SADTestBase
|
/external/libvpx/libvpx/third_party/libwebm/mkvmuxer/ |
H A D | mkvmuxer.h | 849 void set_bit_depth(uint64_t bit_depth) { bit_depth_ = bit_depth; } 850 uint64_t bit_depth() const { return bit_depth_; } 858 uint64_t bit_depth_; member in class:mkvmuxer::AudioTrack
|
H A D | mkvmuxer.cc | 1644 : Track(seed), bit_depth_(0), channels_(1), sample_rate_(0.0) {} 1655 if (bit_depth_ > 0) 1657 EbmlElementSize(libwebm::kMkvBitDepth, static_cast<uint64>(bit_depth_)); 1672 if (bit_depth_ > 0) 1674 EbmlElementSize(libwebm::kMkvBitDepth, static_cast<uint64>(bit_depth_)); 1689 if (bit_depth_ > 0) 1691 static_cast<uint64>(bit_depth_)))
|