Home
last modified time | relevance | path

Searched refs:bit_depth_ (Results 1 – 25 of 27) sorted by relevance

12

/external/libaom/libaom/test/
Dintra_edge_test.cc119 params_.ref_func(edge_ref_, size_, bit_depth_); in Execute()
120 ASM_REGISTER_STATE_CHECK(params_.tst_func(edge_tst, size_, bit_depth_)); in Execute()
122 int bit_depth_; member in __anon67a6246b0111::UpsampleTestHB
128 case 0: bit_depth_ = 8; break; in TEST_P()
129 case 1: bit_depth_ = 10; break; in TEST_P()
130 default: bit_depth_ = 12; break; in TEST_P()
132 const int hi = 1 << bit_depth_; in TEST_P()
245 int bit_depth_; member in __anon67a6246b0111::FilterEdgeTestHB
251 case 0: bit_depth_ = 8; break; in TEST_P()
252 case 1: bit_depth_ = 10; break; in TEST_P()
[all …]
Dblend_a64_mask_test.cc385 mask_, kMaxMaskWidth, w_, h_, subx_, suby_, bit_depth_); in Execute()
394 mask_, kMaxMaskWidth, w_, h_, subx_, suby_, bit_depth_); in Execute()
405 int bit_depth_; member in __anon84e5ef930111::BlendA64MaskTestHBD
412 case 0: bit_depth_ = 8; break; in TEST_P()
413 case 1: bit_depth_ = 10; break; in TEST_P()
414 default: bit_depth_ = 12; break; in TEST_P()
417 const int hi = 1 << bit_depth_; in TEST_P()
437 case 0: bit_depth_ = 8; break; in TEST_P()
438 case 1: bit_depth_ = 10; break; in TEST_P()
439 default: bit_depth_ = 12; break; in TEST_P()
[all …]
Derror_block_test.cc47 bit_depth_ = GET_PARAM(2); in SetUp()
53 aom_bit_depth_t bit_depth_; member in __anon1196a0cd0111::ErrorBlockTest
69 const int msb = bit_depth_ + 8 - 1; in TEST_P()
87 ref_error_block_op_(coeff, dqcoeff, block_size, &ref_ssz, bit_depth_); in TEST_P()
89 ret = error_block_op_(coeff, dqcoeff, block_size, &ssz, bit_depth_)); in TEST_P()
112 const int msb = bit_depth_ + 8 - 1; in TEST_P()
145 ref_error_block_op_(coeff, dqcoeff, block_size, &ref_ssz, bit_depth_); in TEST_P()
147 ret = error_block_op_(coeff, dqcoeff, block_size, &ssz, bit_depth_)); in TEST_P()
168 const int msb = bit_depth_ + 8 - 1; in TEST_P()
199 ref_error_block_op_(coeff, dqcoeff, block_size, &ref_ssz, bit_depth_); in TEST_P()
[all …]
Dhbd_metrics_test.cc126 ((uint16_t *)(hbd_src.buffer_alloc))[i] = spel << (bit_depth_ - 8); in RunAccuracyCheck()
127 ((uint16_t *)(hbd_dst.buffer_alloc))[i] = dpel << (bit_depth_ - 8); in RunAccuracyCheck()
132 hbd_db = hbd_metric_(&hbd_src, &hbd_dst, input_bit_depth_, bit_depth_); in RunAccuracyCheck()
141 ((uint16_t *)(hbd_dst.buffer_alloc))[i] = dpel << (bit_depth_ - 8); in RunAccuracyCheck()
146 hbd_db = hbd_metric_(&hbd_src, &hbd_dst, input_bit_depth_, bit_depth_); in RunAccuracyCheck()
155 ((uint16_t *)(hbd_dst.buffer_alloc))[i] = dpel << (bit_depth_ - 8); in RunAccuracyCheck()
160 hbd_db = hbd_metric_(&hbd_src, &hbd_dst, input_bit_depth_, bit_depth_); in RunAccuracyCheck()
170 int bit_depth_; member in __anone8bd503d0111::HBDMetricsTestBase
185 bit_depth_ = GET_PARAM(3); in SetUp()
Dav1_highbd_iht_test.cc56 bit_depth_ = GET_PARAM(5); in SetUp()
106 int bit_depth_; member in __anona5ef89ca0111::AV1HighbdInvHTNxN
118 const uint16_t mask = (1 << bit_depth_) - 1; in RunBitexactCheck()
127 txfm_ref_(input_, coeffs_, stride, tx_type_, bit_depth_); in RunBitexactCheck()
128 inv_txfm_ref_(coeffs_, output_ref_, stride, tx_type_, bit_depth_); in RunBitexactCheck()
130 inv_txfm_(coeffs_, output_, stride, tx_type_, bit_depth_)); in RunBitexactCheck()
190 int run_times, int bit_depth_) { in RunAV1InvTxfm2dTest() argument
204 const uint16_t mask = (1 << bit_depth_) - 1; in RunAV1InvTxfm2dTest()
216 txfm_param.bd = bit_depth_; in RunAV1InvTxfm2dTest()
229 fwd_func_(input, inv_input, stride, tx_type_, bit_depth_); in RunAV1InvTxfm2dTest()
Dblend_a64_mask_1d_test.cc234 mask_, w_, h_, bit_depth_); in Execute()
239 bit_depth_)); in Execute()
242 int bit_depth_; member in __anona33682670111::BlendA64Mask1DTestHBD
248 case 0: bit_depth_ = 8; break; in TEST_P()
249 case 1: bit_depth_ = 10; break; in TEST_P()
250 default: bit_depth_ = 12; break; in TEST_P()
253 const int hi = 1 << bit_depth_; in TEST_P()
272 case 0: bit_depth_ = 8; break; in TEST_P()
273 case 1: bit_depth_ = 10; break; in TEST_P()
274 default: bit_depth_ = 12; break; in TEST_P()
[all …]
Dtransform_test_base.h69 if (bit_depth_ == AOM_BITS_8) { in RunAccuracyCheck()
82 if (bit_depth_ == AOM_BITS_8) { in RunAccuracyCheck()
91 bit_depth_ == AOM_BITS_8 ? dst[j] - src[j] : dst16[j] - src16[j]; in RunAccuracyCheck()
138 if (bit_depth_ == AOM_BITS_8) { in RunCoeffCheck()
247 EXPECT_GE(row_length * kDctMaxValue << (bit_depth_ - 8), in RunMemCheck()
278 if (bit_depth_ == AOM_BITS_8) { in RunInvAccuracyCheck()
291 if (bit_depth_ == AOM_BITS_8) { in RunInvAccuracyCheck()
300 bit_depth_ == AOM_BITS_8 ? dst[j] - src[j] : dst16[j] - src16[j]; in RunInvAccuracyCheck()
318 aom_bit_depth_t bit_depth_; variable
Dsubtract_test.cc124 bit_depth_ = static_cast<aom_bit_depth_t>(GET_PARAM(2)); in SetUp()
153 aom_bit_depth_t bit_depth_; member in __anon00a264410111::AV1HBDSubtractBlockTest
164 const int mask = (1 << bit_depth_) - 1; in CheckResult()
174 pred_, block_width_, bit_depth_); in CheckResult()
193 const int mask = (1 << bit_depth_) - 1; in RunForSpeed()
203 pred_, block_width_, bit_depth_); in RunForSpeed()
Dmasked_variance_test.cc184 bit_depth_ = GET_PARAM(2); in SetUp()
192 aom_bit_depth_t bit_depth_; member in __anonf3f4b3f60111::HighbdMaskedSubPixelVarianceTest
218 src_ptr[j] = rnd.Rand16() & ((1 << bit_depth_) - 1); in TEST_P()
219 ref_ptr[j] = rnd.Rand16() & ((1 << bit_depth_) - 1); in TEST_P()
220 second_pred_ptr[j] = rnd.Rand16() & ((1 << bit_depth_) - 1); in TEST_P()
277 aom_memset16(src_ptr, (i & 0x1) ? ((1 << bit_depth_) - 1) : 0, in TEST_P()
279 aom_memset16(ref_ptr, (i & 0x2) ? ((1 << bit_depth_) - 1) : 0, in TEST_P()
281 aom_memset16(second_pred_ptr, (i & 0x4) ? ((1 << bit_depth_) - 1) : 0, in TEST_P()
Dlpf_test.cc134 bit_depth_ = ::testing::get<2>(this->GetParam()); in SetUp()
135 mask_ = (1 << bit_depth_) - 1; in SetUp()
141 int bit_depth_; member in __anonde013e5b0111::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 …]
Dfwht4x4_test.cc65 bit_depth_ = GET_PARAM(3); in SetUp()
66 mask_ = (1 << bit_depth_) - 1; in SetUp()
Dsad_test.cc128 bit_depth_ = AOM_BITS_8; in SetUp()
136 bit_depth_ = static_cast<aom_bit_depth_t>(bd_); in SetUp()
143 mask_ = (1 << bit_depth_) - 1; in SetUp()
292 aom_bit_depth_t bit_depth_; member in __anon5df2d0310111::SADTestBase
/external/libvpx/libvpx/test/
Dfdct8x8_test.cc155 test_input_block[j] = ((rnd.Rand16() >> (16 - bit_depth_)) & mask_) - in RunSignBiasCheck()
156 ((rnd.Rand16() >> (16 - bit_depth_)) & mask_); in RunSignBiasCheck()
173 EXPECT_LT(diff, max_diff << (bit_depth_ - 8)) in RunSignBiasCheck()
204 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()
268 bit_depth_ == VPX_BITS_8 ? dst[j] - src[j] : dst16[j] - src16[j]; in RunRoundTripErrorCheck()
278 EXPECT_GE(1 << 2 * (bit_depth_ - 8), max_error) in RunRoundTripErrorCheck()
282 EXPECT_GE((count_test_block << 2 * (bit_depth_ - 8)) / 5, total_error) in RunRoundTripErrorCheck()
306 if (bit_depth_ == VPX_BITS_8) { in RunExtremalCheck()
[all …]
Dvp9_block_error_test.cc60 bit_depth_ = GET_PARAM(2); in SetUp()
66 vpx_bit_depth_t bit_depth_; member in __anon653273cd0111::BlockErrorTest
82 const int msb = bit_depth_ + 8 - 1; in TEST_P()
100 ref_error_block_op_(coeff, dqcoeff, block_size, &ref_ssz, bit_depth_); in TEST_P()
102 ret = error_block_op_(coeff, dqcoeff, block_size, &ssz, bit_depth_)); in TEST_P()
125 const int msb = bit_depth_ + 8 - 1; in TEST_P()
158 ref_error_block_op_(coeff, dqcoeff, block_size, &ref_ssz, bit_depth_); in TEST_P()
160 ret = error_block_op_(coeff, dqcoeff, block_size, &ssz, bit_depth_)); in TEST_P()
Ddct32x32_test.cc93 bit_depth_ = GET_PARAM(3); in SetUp()
94 mask_ = (1 << bit_depth_) - 1; in SetUp()
101 vpx_bit_depth_t bit_depth_; member in __anon04a6ed980111::Trans32x32Test
130 if (bit_depth_ == VPX_BITS_8) { in TEST_P()
144 if (bit_depth_ == VPX_BITS_8) { in TEST_P()
156 bit_depth_ == VPX_BITS_8 ? dst[j] - src[j] : dst16[j] - src16[j]; in TEST_P()
171 EXPECT_GE(1u << 2 * (bit_depth_ - 8), max_error) in TEST_P()
174 EXPECT_GE(count_test_block << 2 * (bit_depth_ - 8), total_error) in TEST_P()
240 EXPECT_GE(4 * DCT_MAX_VALUE << (bit_depth_ - 8), abs(output_ref_block[j])) in TEST_P()
242 EXPECT_GE(4 * DCT_MAX_VALUE << (bit_depth_ - 8), abs(output_block[j])) in TEST_P()
[all …]
Ddct16x16_test.cc336 if (bit_depth_ == VPX_BITS_8) { in RunAccuracyCheck()
351 if (bit_depth_ == VPX_BITS_8) { in RunAccuracyCheck()
363 bit_depth_ == VPX_BITS_8 ? dst[j] - src[j] : dst16[j] - src16[j]; in RunAccuracyCheck()
373 EXPECT_GE(1u << 2 * (bit_depth_ - 8), max_error) in RunAccuracyCheck()
376 EXPECT_GE(count_test_block << 2 * (bit_depth_ - 8), total_error) in RunAccuracyCheck()
427 EXPECT_GE(4 * DCT_MAX_VALUE << (bit_depth_ - 8), abs(output_block[j])) in RunMemCheck()
473 if (bit_depth_ == VPX_BITS_8) { in RunQuantCheck()
484 if (bit_depth_ == VPX_BITS_8) { in RunQuantCheck()
511 if (bit_depth_ == VPX_BITS_8) { in RunInvAccuracyCheck()
529 if (bit_depth_ == VPX_BITS_8) { in RunInvAccuracyCheck()
[all …]
Dlpf_test.cc136 bit_depth_ = GET_PARAM(2); in SetUp()
137 mask_ = (1 << bit_depth_) - 1; in SetUp()
143 int bit_depth_; member in __anonb623167d0111::Loop8Test6Param
155 bit_depth_ = GET_PARAM(2); in SetUp()
156 mask_ = (1 << bit_depth_) - 1; in SetUp()
162 int bit_depth_; member in __anonb623167d0111::Loop8Test9Param
192 ref_loopfilter_op_(ref_s + 8 + p * 8, p, blimit, limit, thresh, bit_depth_); in TEST_P()
194 loopfilter_op_(s + 8 + p * 8, p, blimit, limit, thresh, bit_depth_)); in TEST_P()
255 ref_loopfilter_op_(ref_s + 8 + p * 8, p, blimit, limit, thresh, bit_depth_); in TEST_P()
257 loopfilter_op_(s + 8 + p * 8, p, blimit, limit, thresh, bit_depth_)); in TEST_P()
[all …]
Ddct_test.cc142 bit_depth_ = GET_PARAM(3); in SetUp()
147 max_pixel_value_ = (1 << bit_depth_) - 1; in SetUp()
178 if (pixel_size_ == 1 && bit_depth_ > VPX_BITS_8) return; in InitMem()
204 inv_txfm_(in.TopLeftPixel(), out, stride_, tx_type_, bit_depth_); in RunInvTxfm()
209 if (pixel_size_ == 1 && bit_depth_ > VPX_BITS_8) return; in RunAccuracyCheck()
271 if (pixel_size_ == 1 && bit_depth_ > VPX_BITS_8) return; in RunCoeffCheck()
301 if (pixel_size_ == 1 && bit_depth_ > VPX_BITS_8) return; in RunMemCheck()
338 4 * DCT_MAX_VALUE << (bit_depth_ - 8), in RunMemCheck()
354 if (pixel_size_ == 1 && bit_depth_ > VPX_BITS_8) return; in RunInvAccuracyCheck()
425 vpx_bit_depth_t bit_depth_; member in __anonb5823bd60111::TransTestBase
[all …]
Dpartial_idct_test.cc70 bit_depth_ = GET_PARAM(5); in SetUp()
72 mask_ = (1 << bit_depth_) - 1; in SetUp()
131 const int64_t max_coeff = (32766 << (bit_depth_ - 8)) / 4; in InitInput()
186 int bit_depth_; member in __anon1a8d4c0b0111::PartialIDctTest
234 full_inv_txfm_(input_block_, output_block_ref_, stride_, bit_depth_)); in TEST_P()
236 partial_inv_txfm_(input_block_, output_block_, stride_, bit_depth_)); in TEST_P()
249 full_inv_txfm_(input_block_, output_block_ref_, stride_, bit_depth_)); in TEST_P()
251 partial_inv_txfm_(input_block_, output_block_, stride_, bit_depth_)); in TEST_P()
266 full_inv_txfm_(input_block_, output_block_ref_, stride_, bit_depth_)); in TEST_P()
268 partial_inv_txfm_(input_block_, output_block_, stride_, bit_depth_)); in TEST_P()
[all …]
Ddct_partial_test.cc67 bit_depth_ = GET_PARAM(2); in PartialFdctTest()
76 clip_pixel_highbd(std::numeric_limits<int16_t>::max(), bit_depth_); in RunTest()
107 vpx_bit_depth_t bit_depth_; member in __anonaa8aa4c20111::PartialFdctTest
Davg_test.cc39 bit_depth_(8) {} in AverageTestBase()
57 bit_depth_ = 8; in SetUp()
86 source_data_[i] = rnd_.Rand16() & ((1 << bit_depth_) - 1); in FillRandom()
93 int bit_depth_; member in __anon87e324790111::AverageTestBase
371 bit_depth_ = VPX_BITS_12; in TEST_P()
Dvp9_quantize_test.cc76 : bit_depth_(bit_depth), max_size_(max_size), is_fp_(is_fp), in VP9QuantizeBase()
80 max_value_ = (1 << bit_depth_) - 1; in VP9QuantizeBase()
126 const vpx_bit_depth_t bit_depth_; member in __anonae710bca0111::VP9QuantizeBase
Dsad_test.cc75 bit_depth_ = VPX_BITS_8; in SetUp()
82 bit_depth_ = static_cast<vpx_bit_depth_t>(params_.bit_depth); in SetUp()
88 mask_ = (1 << bit_depth_) - 1; in SetUp()
225 vpx_bit_depth_t bit_depth_; member in __anon3614a8530111::SADTestBase
511 bit_depth_, elapsed_time); in TEST_P()
/external/libvpx/libvpx/third_party/libwebm/mkvmuxer/
Dmkvmuxer.h852 void set_bit_depth(uint64_t bit_depth) { bit_depth_ = bit_depth; } in set_bit_depth()
853 uint64_t bit_depth() const { return bit_depth_; } in bit_depth()
861 uint64_t bit_depth_;
/external/libaom/libaom/third_party/libwebm/mkvmuxer/
Dmkvmuxer.h852 void set_bit_depth(uint64_t bit_depth) { bit_depth_ = bit_depth; } in set_bit_depth()
853 uint64_t bit_depth() const { return bit_depth_; } in bit_depth()
861 uint64_t bit_depth_;

12