/external/libaom/libaom/test/ |
D | av1_horz_only_frame_superres_test.cc | 42 bd_(bd) { in TestImage() 85 int w_src_, w_dst_, h_, superres_denom_, x0_, bd_; member in __anon32fe2ce60111::TestImage 131 PrepBuffers(rnd, w_src_, h_, src_stride_, bd_, false, &src_data_[0]); in Initialize() 132 PrepBuffers(rnd, w_dst_, h_, dst_stride_, bd_, true, &dst_data_[0]); in Initialize() 176 void SetBitDepth(int bd) { bd_ = bd; } in SetBitDepth() 195 new TestImage<Pixel>(width_src, height, superres_denom, x0, bd_); in CorrectnessTest() 214 image_ = new TestImage<Pixel>(width_src, height, superres_denom, x0, bd_); in SpeedTest() 245 int bd_; member in __anon32fe2ce60111::ConvolveHorizRSTestBase 341 &av1_resize_filter_normative[0][0], x0_qn, x_step_qn, bd_); in RunOne() 344 &av1_resize_filter_normative[0][0], x0_qn, x_step_qn, bd_); in RunOne()
|
D | comp_mask_variance_test.cc | 349 int bd_ = GET_PARAM(2); in RunCheckOutput() local 357 pred_[i] = rnd_.Rand16() & ((1 << bd_) - 1); in RunCheckOutput() 360 ref_buffer_[i] = rnd_.Rand16() & ((1 << bd_) - 1); in RunCheckOutput() 380 int bd_ = GET_PARAM(2); in RunSpeedTest() local 389 pred_[i] = rnd_.Rand16() & ((1 << bd_) - 1); in RunSpeedTest() 392 ref_buffer_[i] = rnd_.Rand16() & ((1 << bd_) - 1); in RunSpeedTest() 463 int bd_ = GET_PARAM(2); in RunCheckOutput() local 469 pred_[i] = rnd_.Rand16() & ((1 << bd_) - 1); in RunCheckOutput() 472 ref_buffer_[i] = rnd_.Rand16() & ((1 << bd_) - 1); in RunCheckOutput() 488 suby, CONVERT_TO_BYTEPTR(ref_), MAX_SB_SIZE, bd_, subpel_search); in RunCheckOutput() [all …]
|
D | yuv_temporal_filter_test.cc | 362 bd_ = GetParam().bd; in SetUp() 363 use_highbd_ = (bd_ != 8); in SetUp() 369 ASSERT_TRUE(bd_ == 8 || bd_ == 10 || bd_ == 12); in SetUp() 398 int bd_; member in __anonf639b5e50111::YUVTemporalFilterTest 466 const int max_val = (1 << bd_) - 1; in CompareTestWithParam() 474 const int max_val = 7 << (bd_ - 8); in CompareTestWithParam() 556 SetArray(y_src, width, height, MAX_WIDTH, &rnd_, 0, 7 << (bd_ = 8)); in RunTestFilterWithParam() 557 SetArray(y_pre, width, height, MAX_WIDTH, &rnd_, 0, 7 << (bd_ = 8)); in RunTestFilterWithParam() 558 SetArray(u_src, width, height, MAX_WIDTH, &rnd_, 0, 7 << (bd_ = 8)); in RunTestFilterWithParam() 559 SetArray(u_pre, width, height, MAX_WIDTH, &rnd_, 0, 7 << (bd_ = 8)); in RunTestFilterWithParam() [all …]
|
D | av1_convolve_scale_test.cc | 113 TestImage(int w, int h, int bd) : w_(w), h_(h), bd_(bd) { in TestImage() 154 int w_, h_, bd_; member in __anonce3848930111::TestImage 201 PrepBuffers(rnd, w_, h_, src_stride_, bd_, false, &src_data_[0]); in Initialize() 202 PrepBuffers(rnd, w_, h_, dst_stride_, bd_, true, &dst_data_[0]); in Initialize() 203 PrepBuffers(rnd, w_, h_, dst_stride_, bd_, true, &dst_16_data_[0]); in Initialize() 276 bd_ = bd; in SetParams() 285 image_ = new TestImage<SrcPixel>(width_, height_, bd_); in SetParams() 380 int width_, height_, bd_; member in __anonce3848930111::ConvolveScaleTestBase 506 &convolve_params_, bd_); in RunOne() 510 subpel_y_, kYStepQn, &convolve_params_, bd_); in RunOne()
|
D | dr_prediction_test.cc | 157 bh_(0), dx_(1), dy_(1), bd_(8), txsize_(TX_4X4) { in DrPredTest() 186 bd_ = params_.bit_depth; in Predict() 191 upsample_above_, upsample_left_, dx_, dy_, bd_); in Predict() 201 upsample_left_, dx_, dy_, bd_)); in Predict() 215 bd_ = params_.bit_depth; in RunTest() 219 above_data_[i] = left_data_[i] = (1 << bd_) - 1; in RunTest() 225 dst_tst_[i] = (1 << bd_) - 1; in RunTest() 226 dst_ref_[i] = (1 << bd_) - 1; in RunTest() 294 int bd_; member in __anond4b7649f0111::DrPredTest
|
D | quantize_func_test.cc | 83 type_(GET_PARAM(3)), bd_(GET_PARAM(4)) {} in QuantizeTest() 104 av1_build_quantizer(bd_, 0, 0, 0, 0, 0, &qtab_->quant, &qtab_->dequant); in InitQuantizer() 223 if (bd_ == AOM_BITS_8) { in GetRandomCoeff() 227 tran_low_t min = -(1 << (7 + bd_)); in GetRandomCoeff() 241 aom_bit_depth_t bd_; member in __anon9e32e5b50111::QuantizeTest
|
D | sad_test.cc | 69 : width_(width), height_(height), bd_(bit_depth) {} in SADTestBase() 126 if (bd_ == -1) { in SetUp() 136 bit_depth_ = static_cast<aom_bit_depth_t>(bd_); in SetUp() 291 int width_, height_, mask_, bd_; member in __anon5df2d0310111::SADTestBase
|
/external/v4l2_codec2/vda/ |
D | vp8_parser.cc | 23 if (!bd_.ReadBool(out)) \ 29 if (!bd_.ReadBool(out, prob)) \ 36 if (!bd_.ReadLiteral(num_bits, &_out)) \ 44 if (!bd_.ReadLiteralWithSign(num_bits, &_out)) \ 135 if (!bd_.Initialize(stream_, bytes_left_)) in ParseFrameHeader() 215 fhdr->macroblock_bit_offset = bd_.BitOffset(); in ParseFrameHeader() 216 fhdr->bool_dec_range = bd_.GetRange(); in ParseFrameHeader() 217 fhdr->bool_dec_value = bd_.GetBottom(); in ParseFrameHeader() 218 fhdr->bool_dec_count = 7 - (bd_.BitOffset() + 7) % 8; in ParseFrameHeader()
|
D | vp8_parser.h | 192 Vp8BoolDecoder bd_; variable
|