Home
last modified time | relevance | path

Searched refs:block_width_ (Results 1 – 4 of 4) sorted by relevance

/external/libvpx/libvpx/test/
Dvp9_subtract_test.cc38 GetParam()(block_height_, block_width_, diff_, block_width_, src_, in Run()
39 block_width_, pred_, block_width_); in Run()
43 block_width_ = 4 * num_4x4_blocks_wide_lookup[bsize]; in SetupBlocks()
46 vpx_memalign(16, sizeof(*diff_) * block_width_ * block_height_ * 2)); in SetupBlocks()
48 vpx_memalign(16, block_width_ * block_height_ * 2)); in SetupBlocks()
50 vpx_memalign(16, block_width_ * block_height_ * 2)); in SetupBlocks()
53 int block_width_; member in vp9::VP9SubtractBlockTest
69 RunNTimes(100000000 / (block_height_ * block_width_)); in TEST_P()
72 block_width_); in TEST_P()
92 for (int c = 0; c < block_width_ * 2; ++c) { in TEST_P()
[all …]
Dpp_filter_test.cc57 int block_width_; member in __anon53922e890111::VpxPostProcDownAndAcrossMbRowTest
67 src_image_->stride(), dst_image_->stride(), block_width_, flimits_, 16); in Run()
75 block_width_ = 16; in TEST_P()
79 Buffer<uint8_t> src_image = Buffer<uint8_t>(block_width_, block_height_, 2); in TEST_P()
86 Buffer<uint8_t>(block_width_, block_height_, 8, 16, 8, 8); in TEST_P()
89 flimits_ = reinterpret_cast<uint8_t *>(vpx_memalign(16, block_width_)); in TEST_P()
90 (void)memset(flimits_, 255, block_width_); in TEST_P()
103 dst_image.stride(), block_width_, flimits_, 16)); in TEST_P()
110 for (int j = 0; j < block_width_; ++j) { in TEST_P()
124 block_width_ = 136; in TEST_P()
[all …]
/external/libaom/libaom/test/
Dsubtract_test.cc122 block_width_ = GET_PARAM(0); in SetUp()
152 int block_width_; member in __anon7abe950a0111::AV1HBDSubtractBlockTest
173 func_(block_height_, block_width_, diff_, block_width_, src_, block_width_, in CheckResult()
174 pred_, block_width_, bit_depth_); in CheckResult()
177 for (int c = 0; c < block_width_; ++c) { in CheckResult()
178 EXPECT_EQ(diff_[r * block_width_ + c], in CheckResult()
179 (CONVERT_TO_SHORTPTR(src_)[r * block_width_ + c] - in CheckResult()
180 CONVERT_TO_SHORTPTR(pred_)[r * block_width_ + c])) in CheckResult()
202 func_(block_height_, block_width_, diff_, block_width_, src_, block_width_, in RunForSpeed()
203 pred_, block_width_, bit_depth_); in RunForSpeed()
/external/tensorflow/tensorflow/contrib/image/kernels/
Dsegmentation_ops.h70 block_width_(1), in BlockedImageUnionFindFunctor()
90 return (num_cols_ + block_width_ - 1) / block_width_; in num_blocks_horizontally()
103 return block_width_; in block_width()
109 return block_height_ < num_rows_ || block_width_ < num_cols_; in can_merge()
117 block_width_ *= 2; in merge_blocks()
127 int64 block_start_x = block_horizontal_index * block_width_; in merge_internal_block_edges()
129 int64 block_center_x = block_start_x + block_width_ / 2 - 1; in merge_internal_block_edges()
141 std::min(num_cols_, block_start_x + block_width_); in merge_internal_block_edges()
156 int64 block_width_; variable