/external/libaom/libaom/test/ |
intra_edge_test.cc | 119 params_.ref_func(edge_ref_, size_, bit_depth_); 120 ASM_REGISTER_STATE_CHECK(params_.tst_func(edge_tst, size_, bit_depth_)); 122 int bit_depth_; member in class:__anon26758::UpsampleTestHB 128 case 0: bit_depth_ = 8; break; 129 case 1: bit_depth_ = 10; break; 130 default: bit_depth_ = 12; break; 132 const int hi = 1 << bit_depth_; 245 int bit_depth_; member in class:__anon26758::FilterEdgeTestHB 251 case 0: bit_depth_ = 8; break; 252 case 1: bit_depth_ = 10; break [all...] |
blend_a64_mask_test.cc | 385 mask_, kMaxMaskWidth, w_, h_, subx_, suby_, bit_depth_); 394 mask_, kMaxMaskWidth, w_, h_, subx_, suby_, bit_depth_); 405 int bit_depth_; member in class:__anon26719::BlendA64MaskTestHBD 412 case 0: bit_depth_ = 8; break; 413 case 1: bit_depth_ = 10; break; 414 default: bit_depth_ = 12; break; 417 const int hi = 1 << bit_depth_; 437 case 0: bit_depth_ = 8; break; 438 case 1: bit_depth_ = 10; break; 439 default: bit_depth_ = 12; break 497 bit_depth_); local 508 bit_depth_); local 520 int bit_depth_; member in class:__anon26719::BlendA64MaskTestHBD_d16 [all...] |
error_block_test.cc | 47 bit_depth_ = GET_PARAM(2); 53 aom_bit_depth_t bit_depth_; member in class:__anon26741::ErrorBlockTest 69 const int msb = bit_depth_ + 8 - 1; 87 ref_error_block_op_(coeff, dqcoeff, block_size, &ref_ssz, bit_depth_); 89 ret = error_block_op_(coeff, dqcoeff, block_size, &ssz, bit_depth_)); 112 const int msb = bit_depth_ + 8 - 1; 145 ref_error_block_op_(coeff, dqcoeff, block_size, &ref_ssz, bit_depth_); 147 ret = error_block_op_(coeff, dqcoeff, block_size, &ssz, bit_depth_)); 168 const int msb = bit_depth_ + 8 - 1; 199 ref_error_block_op_(coeff, dqcoeff, block_size, &ref_ssz, bit_depth_); [all...] |
hbd_metrics_test.cc | 126 ((uint16_t *)(hbd_src.buffer_alloc))[i] = spel << (bit_depth_ - 8); 127 ((uint16_t *)(hbd_dst.buffer_alloc))[i] = dpel << (bit_depth_ - 8); 132 hbd_db = hbd_metric_(&hbd_src, &hbd_dst, input_bit_depth_, bit_depth_); 141 ((uint16_t *)(hbd_dst.buffer_alloc))[i] = dpel << (bit_depth_ - 8); 146 hbd_db = hbd_metric_(&hbd_src, &hbd_dst, input_bit_depth_, bit_depth_); 155 ((uint16_t *)(hbd_dst.buffer_alloc))[i] = dpel << (bit_depth_ - 8); 160 hbd_db = hbd_metric_(&hbd_src, &hbd_dst, input_bit_depth_, bit_depth_); 170 int bit_depth_; member in class:__anon26753::HBDMetricsTestBase 185 bit_depth_ = GET_PARAM(3);
|
av1_highbd_iht_test.cc | 56 bit_depth_ = GET_PARAM(5); 106 int bit_depth_; member in class:__anon26709::AV1HighbdInvHTNxN 118 const uint16_t mask = (1 << bit_depth_) - 1; 127 txfm_ref_(input_, coeffs_, stride, tx_type_, bit_depth_); 128 inv_txfm_ref_(coeffs_, output_ref_, stride, tx_type_, bit_depth_); 130 inv_txfm_(coeffs_, output_, stride, tx_type_, bit_depth_)); 190 int run_times, int bit_depth_) { 204 const uint16_t mask = (1 << bit_depth_) - 1; 216 txfm_param.bd = bit_depth_; 229 fwd_func_(input, inv_input, stride, tx_type_, bit_depth_); [all...] |
blend_a64_mask_1d_test.cc | 234 mask_, w_, h_, bit_depth_); 239 bit_depth_)); 242 int bit_depth_; member in class:__anon26718::BlendA64Mask1DTestHBD 248 case 0: bit_depth_ = 8; break; 249 case 1: bit_depth_ = 10; break; 250 default: bit_depth_ = 12; break; 253 const int hi = 1 << bit_depth_; 272 case 0: bit_depth_ = 8; break; 273 case 1: bit_depth_ = 10; break; 274 default: bit_depth_ = 12; break [all...] |
fwht4x4_test.cc | 65 bit_depth_ = GET_PARAM(3); 66 mask_ = (1 << bit_depth_) - 1;
|
subtract_test.cc | 124 bit_depth_ = static_cast<aom_bit_depth_t>(GET_PARAM(2)); 153 aom_bit_depth_t bit_depth_; member in class:__anon26788::AV1HBDSubtractBlockTest 164 const int mask = (1 << bit_depth_) - 1; 174 pred_, block_width_, bit_depth_); 193 const int mask = (1 << bit_depth_) - 1; 203 pred_, block_width_, bit_depth_);
|
transform_test_base.h | 69 if (bit_depth_ == AOM_BITS_8) { 82 if (bit_depth_ == AOM_BITS_8) { 91 bit_depth_ == AOM_BITS_8 ? dst[j] - src[j] : dst16[j] - src16[j]; 138 if (bit_depth_ == AOM_BITS_8) { 247 EXPECT_GE(row_length * kDctMaxValue << (bit_depth_ - 8), 278 if (bit_depth_ == AOM_BITS_8) { 291 if (bit_depth_ == AOM_BITS_8) { 300 bit_depth_ == AOM_BITS_8 ? dst[j] - src[j] : dst16[j] - src16[j]; 318 aom_bit_depth_t bit_depth_; member in class:libaom_test::TransformTestBase
|
masked_variance_test.cc | 184 bit_depth_ = GET_PARAM(2); 192 aom_bit_depth_t bit_depth_; member in class:__anon26767::HighbdMaskedSubPixelVarianceTest 218 src_ptr[j] = rnd.Rand16() & ((1 << bit_depth_) - 1); 219 ref_ptr[j] = rnd.Rand16() & ((1 << bit_depth_) - 1); 220 second_pred_ptr[j] = rnd.Rand16() & ((1 << bit_depth_) - 1); 277 aom_memset16(src_ptr, (i & 0x1) ? ((1 << bit_depth_) - 1) : 0, 279 aom_memset16(ref_ptr, (i & 0x2) ? ((1 << bit_depth_) - 1) : 0, 281 aom_memset16(second_pred_ptr, (i & 0x4) ? ((1 << bit_depth_) - 1) : 0,
|
lpf_test.cc | 134 bit_depth_ = ::testing::get<2>(this->GetParam()); 135 mask_ = (1 << bit_depth_) - 1; 141 int bit_depth_; member in class:__anon26765::LoopTestParam 192 call_filter(ref_s + 8 + p * 8, p, blimit, limit, thresh, bit_depth_, \ 195 thresh, bit_depth_, loopfilter_op_)); \ 238 call_filter(ref_s + 8 + p * 8, p, blimit, limit, thresh, bit_depth_, \ 241 thresh, bit_depth_, loopfilter_op_)); \ 261 const int32_t bd = bit_depth_; \ 323 limit1, thresh1, bit_depth_, ref_loopfilter_op_); \ 326 limit1, thresh1, bit_depth_, loopfilter_op_)); [all...] |
/bootable/recovery/minui/include/private/ |
resources.h | 48 return bit_depth_; 77 int bit_depth_; member in class:PngHandler
|
/external/libvpx/libvpx/test/ |
vp9_block_error_test.cc | 60 bit_depth_ = GET_PARAM(2); 66 vpx_bit_depth_t bit_depth_; member in class:__anon29715::BlockErrorTest 82 const int msb = bit_depth_ + 8 - 1; 100 ref_error_block_op_(coeff, dqcoeff, block_size, &ref_ssz, bit_depth_); 102 ret = error_block_op_(coeff, dqcoeff, block_size, &ssz, bit_depth_)); 125 const int msb = bit_depth_ + 8 - 1; 158 ref_error_block_op_(coeff, dqcoeff, block_size, &ref_ssz, bit_depth_); 160 ret = error_block_op_(coeff, dqcoeff, block_size, &ssz, bit_depth_));
|
dct32x32_test.cc | 93 bit_depth_ = GET_PARAM(3); 94 mask_ = (1 << bit_depth_) - 1; 101 vpx_bit_depth_t bit_depth_; member in class:__anon29666::Trans32x32Test 130 if (bit_depth_ == VPX_BITS_8) { 144 if (bit_depth_ == VPX_BITS_8) { 156 bit_depth_ == VPX_BITS_8 ? dst[j] - src[j] : dst16[j] - src16[j]; 171 EXPECT_GE(1u << 2 * (bit_depth_ - 8), max_error) 174 EXPECT_GE(count_test_block << 2 * (bit_depth_ - 8), total_error) 240 EXPECT_GE(4 * DCT_MAX_VALUE << (bit_depth_ - 8), abs(output_ref_block[j])) 242 EXPECT_GE(4 * DCT_MAX_VALUE << (bit_depth_ - 8), abs(output_block[j]) [all...] |
fdct8x8_test.cc | 155 test_input_block[j] = ((rnd.Rand16() >> (16 - bit_depth_)) & mask_) - 156 ((rnd.Rand16() >> (16 - bit_depth_)) & mask_); 173 EXPECT_LT(diff, max_diff << (bit_depth_ - 8)) 204 EXPECT_LT(diff, max_diff << (bit_depth_ - 8)) 230 if (bit_depth_ == VPX_BITS_8) { 256 if (bit_depth_ == VPX_BITS_8) { 268 bit_depth_ == VPX_BITS_8 ? dst[j] - src[j] : dst16[j] - src16[j]; 278 EXPECT_GE(1 << 2 * (bit_depth_ - 8), max_error) 282 EXPECT_GE((count_test_block << 2 * (bit_depth_ - 8)) / 5, total_error) 306 if (bit_depth_ == VPX_BITS_8) 523 vpx_bit_depth_t bit_depth_; member in class:__anon29677::FwdTrans8x8TestBase [all...] |
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_ == VPX_BITS_8) 609 vpx_bit_depth_t bit_depth_; member in class:__anon29665::Trans16x16TestBase [all...] |
dct_partial_test.cc | 67 bit_depth_ = GET_PARAM(2); 76 clip_pixel_highbd(std::numeric_limits<int16_t>::max(), bit_depth_); 107 vpx_bit_depth_t bit_depth_; member in class:__anon29667::PartialFdctTest
|
lpf_test.cc | 136 bit_depth_ = GET_PARAM(2); 137 mask_ = (1 << bit_depth_) - 1; 143 int bit_depth_; member in class:__anon29685::Loop8Test6Param 155 bit_depth_ = GET_PARAM(2); 156 mask_ = (1 << bit_depth_) - 1; 162 int bit_depth_; member in class:__anon29685::Loop8Test9Param 192 ref_loopfilter_op_(ref_s + 8 + p * 8, p, blimit, limit, thresh, bit_depth_); 194 loopfilter_op_(s + 8 + p * 8, p, blimit, limit, thresh, bit_depth_)); 255 ref_loopfilter_op_(ref_s + 8 + p * 8, p, blimit, limit, thresh, bit_depth_); 257 loopfilter_op_(s + 8 + p * 8, p, blimit, limit, thresh, bit_depth_)); [all...] |
dct_test.cc | 142 bit_depth_ = GET_PARAM(3); 147 max_pixel_value_ = (1 << bit_depth_) - 1; 178 if (pixel_size_ == 1 && bit_depth_ > VPX_BITS_8) return; 204 inv_txfm_(in.TopLeftPixel(), out, stride_, tx_type_, bit_depth_); 209 if (pixel_size_ == 1 && bit_depth_ > VPX_BITS_8) return; 271 if (pixel_size_ == 1 && bit_depth_ > VPX_BITS_8) return; 301 if (pixel_size_ == 1 && bit_depth_ > VPX_BITS_8) return; 338 4 * DCT_MAX_VALUE << (bit_depth_ - 8), 354 if (pixel_size_ == 1 && bit_depth_ > VPX_BITS_8) return; 425 vpx_bit_depth_t bit_depth_; member in class:__anon29668::TransTestBase [all...] |
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:__anon29687::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...] |
avg_test.cc | 39 bit_depth_(8) {} 57 bit_depth_ = 8; 86 source_data_[i] = rnd_.Rand16() & ((1 << bit_depth_) - 1); 93 int bit_depth_; member in class:__anon29655::AverageTestBase 371 bit_depth_ = VPX_BITS_12;
|
sad_test.cc | 75 bit_depth_ = VPX_BITS_8; 82 bit_depth_ = static_cast<vpx_bit_depth_t>(params_.bit_depth); 88 mask_ = (1 << bit_depth_) - 1; 225 vpx_bit_depth_t bit_depth_; member in class:__anon29693::SADTestBase 511 bit_depth_, elapsed_time); [all...] |
vp9_quantize_test.cc | 76 : bit_depth_(bit_depth), max_size_(max_size), is_fp_(is_fp), 80 max_value_ = (1 << bit_depth_) - 1; 126 const vpx_bit_depth_t bit_depth_; member in class:__anon29727::VP9QuantizeBase
|
/bootable/recovery/minui/ |
resources.cpp | 111 png_get_IHDR(png_ptr_, info_ptr_, &width_, &height_, &bit_depth_, &color_type_, nullptr, nullptr, 116 if (bit_depth_ == 8 && channels_ == 3 && color_type_ == PNG_COLOR_TYPE_RGB) { 118 } else if (bit_depth_ <= 8 && channels_ == 1 && color_type_ == PNG_COLOR_TYPE_GRAY) { 121 } else if (bit_depth_ <= 8 && channels_ == 1 && color_type_ == PNG_COLOR_TYPE_PALETTE) { 129 fprintf(stderr, "minui doesn't support PNG depth %d channels %d color_type %d\n", bit_depth_,
|
/external/libaom/libaom/third_party/libwebm/mkvmuxer/ |
mkvmuxer.h | 852 void set_bit_depth(uint64_t bit_depth) { bit_depth_ = bit_depth; } 853 uint64_t bit_depth() const { return bit_depth_; } 861 uint64_t bit_depth_; member in class:mkvmuxer::AudioTrack [all...] |