/art/libartbase/base/ |
stride_iterator.h | 39 stride_(stride) {} 42 DCHECK_EQ(stride_, other.stride_); 51 ptr_ += stride_; 62 ptr_ -= stride_; 73 ptr_ += static_cast<ssize_t>(stride_) * delta; 84 ptr_ -= static_cast<ssize_t>(stride_) * delta; 95 DCHECK_EQ(stride_, rhs.stride_); 96 DCHECK_EQ((ptr_ - rhs.ptr_) % stride_, 0u) 115 size_t stride_; member in class:art::StrideIterator [all...] |
/external/libvpx/libvpx/test/ |
buffer.h | 34 stride_(0), raw_size_(0), num_elements_(0), raw_buffer_(NULL) {} 41 padding_value_(0), stride_(0), raw_size_(0), num_elements_(0), 47 bottom_padding_(padding), alignment_(0), padding_value_(0), stride_(0), 54 stride_(0), raw_size_(0), num_elements_(0), raw_buffer_(NULL) {} 66 int stride() const { return stride_; } 113 stride_ = left_padding_ + width_ + right_padding_; 114 num_elements_ = stride_ * (top_padding_ + height_ + bottom_padding_); 122 if (stride_ != width_) { 123 EXPECT_EQ((stride_ * sizeof(T)) % alignment_, 0u); 145 int stride_; member in class:libvpx_test::Buffer [all...] |
dct_test.cc | 149 // Randomize stride_ to a value less than or equal to 1024 150 stride_ = rnd_(1024) + 1; 151 if (stride_ < size_) { 152 stride_ = size_; 154 // Align stride_ to 16 if it's bigger than 16. 155 if (stride_ > 16) { 156 stride_ &= ~15; 159 block_size_ = size_ * stride_; 204 inv_txfm_(in.TopLeftPixel(), out, stride_, tx_type_, bit_depth_); 227 src_[h * stride_ + w] - dst_[h * stride_ + w] 429 int stride_; member in class:__anon29668::TransTestBase [all...] |
partial_idct_test.cc | 82 // Randomize stride_ to a value less than or equal to 1024 83 stride_ = rnd_(1024) + 1; 84 if (stride_ < size_) { 85 stride_ = size_; 87 // Align stride_ to 16 if it's bigger than 16. 88 if (stride_ > 16) { 89 stride_ &= ~15; 93 output_block_size_ = size_ * stride_; 152 ref = output_block_ref_[y * stride_ + x]; 153 opt = output_block_[y * stride_ + x] 182 int stride_; member in class:__anon29687::PartialIDctTest [all...] |
/external/gemmlowp/public/ |
map.h | 39 int rows_, cols_, stride_; member in class:gemmlowp::MatrixMap 42 MatrixMap() : data_(nullptr), rows_(0), cols_(0), stride_(0) {} 47 stride_(kOrder == MapOrder::ColMajor ? rows : cols) {} 49 : data_(data), rows_(rows), cols_(cols), stride_(stride) {} 54 stride_(other.stride_) {} 58 int stride() const { return stride_; } 59 int rows_stride() const { return kOrder == MapOrder::ColMajor ? 1 : stride_; } 60 int cols_stride() const { return kOrder == MapOrder::RowMajor ? 1 : stride_; } 75 stride_); [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
avgpooling_op.cc | 66 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); 67 OP_REQUIRES(context, stride_.size() == 4, 71 OP_REQUIRES(context, ksize_[0] == 1 && stride_[0] == 1, 78 PoolParameters params{context, ksize_, stride_, 100 std::vector<int32> stride_; member in class:tensorflow::AvgPoolingOp 129 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); 130 OP_REQUIRES(context, stride_.size() == 4, 135 const int32 stride_n = GetTensorDim(stride_, data_format_, 'N'); 143 PoolParameters params{context, ksize_, stride_, 160 stride_, padding_, data_format_, tensor_in 177 std::vector<int32> stride_; member in class:tensorflow::AvgPoolingOp 355 std::vector<int32> stride_; member in class:tensorflow::AvgPoolingGradOp 428 std::vector<int32> stride_; member in class:tensorflow::AvgPoolingGradOp 559 std::vector<int32> stride_; member in class:tensorflow::AvgPoolingGradOpCustomGPUKernel [all...] |
spectrogram_op.cc | 34 OP_REQUIRES_OK(context, context->GetAttr("stride", &stride_)); 45 OP_REQUIRES(context, spectrogram.Initialize(window_size_, stride_), 48 window_size_, " and stride ", stride_)); 61 output_height = 1 + (length_minus_window / stride_); 115 int32 stride_; member in class:tensorflow::AudioSpectrogramOp
|
quantized_pooling_ops.cc | 45 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); 46 OP_REQUIRES(context, stride_.size() == 4, 50 OP_REQUIRES(context, ksize_[0] == 1 && stride_[0] == 1, 57 PoolParameters params{context, ksize_, stride_, 104 std::vector<int32> stride_; member in class:tensorflow::QuantizedAvgPoolingOp
|
maxpooling_op.cc | 230 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); 231 OP_REQUIRES(context, stride_.size() == 4, 234 OP_REQUIRES(context, ksize_[0] == 1 && stride_[0] == 1, 238 context, ksize_[3] == 1 && stride_[3] == 1, 271 std::vector<int32> stride = stride_; 315 std::vector<int32> stride_; member in class:tensorflow::MaxPoolingGradOp 361 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); 362 OP_REQUIRES(context, stride_.size() == 4, 366 const int32 stride_n = GetTensorDim(stride_, data_format_, 'N'); 395 std::vector<int32> stride = stride_; 434 std::vector<int32> stride_; member in class:tensorflow::MaxPoolingGradOp 645 std::vector<int32> stride_; member in class:tensorflow::MaxPoolingGradGradOp 741 std::vector<int32> stride_; member in class:tensorflow::MaxPoolingGradGradOp 800 std::vector<int32> stride_; member in class:tensorflow::MaxPoolingNoMaskOp 878 std::vector<int32> stride_; member in class:tensorflow::MaxPoolingNoMaskV2Op 944 std::vector<int32> stride_; member in class:tensorflow::MaxPoolingWithArgmaxOp 1056 std::vector<int32> stride_; member in class:tensorflow::MaxPoolingGradWithArgmaxOp 1110 std::vector<int32> stride_; member in class:tensorflow::MaxPoolingGradGradWithArgmaxOp 1200 std::vector<int32> stride_; variable 1292 std::vector<int32> stride_; member in class:tensorflow::MaxPoolingNoMaskOp::MaxPoolingNoMaskV2Op [all...] |
pooling_ops_3d.cc | 149 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); 150 OP_REQUIRES(context, stride_.size() == 5, 156 GetTensorDim(stride_, data_format_, 'N') == 1), 161 GetTensorDim(stride_, data_format_, 'C') == 1), 182 std::array<int64, 3> stride{{GetTensorDim(stride_, data_format_, '2'), 183 GetTensorDim(stride_, data_format_, '1'), 184 GetTensorDim(stride_, data_format_, '0')}}; 201 std::vector<int32> stride_; member in class:tensorflow::Pooling3DOp 322 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); 323 OP_REQUIRES(context, stride_.size() == 5 375 std::vector<int32> stride_; member in class:tensorflow::MaxPooling3dGradOp 536 std::vector<int32> stride_; member in class:tensorflow::AvgPooling3dGradOp 711 std::vector<int32> stride_; member in class:tensorflow::MaxPooling3dGradGradOp [all...] |
depthwise_conv_op.cc | 277 stride_ = GetTensorDim(strides_, data_format_, 'H'); 282 OP_REQUIRES(context, stride_ == stride_w, 350 GetWindowedOutputSize(input_rows, filter_rows, stride_, 353 GetWindowedOutputSize(input_cols, filter_cols, stride_, 382 << ", " << out_depth << "], stride = " << stride_ 407 stride_, stride_, padding_, /*explicit_paddings=*/{}, output, 420 args.stride = stride_; 442 int64 stride_; // in height/width dimension. member in class:tensorflow::DepthwiseConv2dNativeOp
|
conv_ops_3d.cc | 81 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); 82 OP_REQUIRES(context, stride_.size() == 5, 87 (GetTensorDim(stride_, data_format_, 'N') == 1 && 88 GetTensorDim(stride_, data_format_, 'C') == 1), 93 (GetTensorDim(stride_, data_format_, '0') > 0 && 94 GetTensorDim(stride_, data_format_, '1') > 0 && 95 GetTensorDim(stride_, data_format_, '2') > 0), 152 std::array<int64, 3> strides = {{GetTensorDim(stride_, data_format_, '0'), 153 GetTensorDim(stride_, data_format_, '1'), 154 GetTensorDim(stride_, data_format_, '2')}} 175 std::vector<int32> stride_; member in class:tensorflow::Conv3DOp [all...] |
conv_grad_ops_3d.cc | 203 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); 204 OP_REQUIRES(context, stride_.size() == 5, 209 (GetTensorDim(stride_, data_format_, 'C') == 1 && 210 GetTensorDim(stride_, data_format_, 'N') == 1), 236 stride_, padding_, data_format_, &dims)); 254 std::vector<int32> stride_; member in class:tensorflow::Conv3DBackpropInputOp 309 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); 310 OP_REQUIRES(context, stride_.size() == 5, 315 (GetTensorDim(stride_, data_format_, 'C') == 1 && 316 GetTensorDim(stride_, data_format_, 'N') == 1) 574 std::vector<int32> stride_; member in class:tensorflow::Conv3DCustomBackpropInputOp 716 std::vector<int32> stride_; member in class:tensorflow::Conv3DBackpropFilterOp 994 std::vector<int32> stride_; member in class:tensorflow::Conv3DCustomBackpropFilterOp 1457 std::vector<int32> stride_; member in class:tensorflow::Conv3DBackpropInputOp 1840 std::vector<int32> stride_; member in class:tensorflow::Conv3DBackpropFilterOp [all...] |
conv_ops_gpu.h | 99 stride_(CheckSpatialArraySize(stride)), 133 "(", str_util::Join(stride_, ", "), "), ", 164 filter_, dilation_, stride_, padding_, dtype_, 198 SpatialArray stride_; member in class:tensorflow::ConvParameters
|
mkl_maxpooling_op.cc | 59 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); 60 OP_REQUIRES(context, stride_.size() == 4, 64 OP_REQUIRES(context, ksize_[0] == 1 && stride_[0] == 1, 86 pool_params.Init(context, ksize_, stride_, padding_, data_format_, 93 pool_params.Init(context, ksize_, stride_, padding_, data_format_, 192 std::vector<int32> stride_; member in class:tensorflow::MklMaxPoolingOp 218 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); 219 OP_REQUIRES(context, stride_.size() == 4, 223 OP_REQUIRES(context, ksize_[0] == 1 && stride_[0] == 1, 253 pool_params.Init(context, ksize_, stride_, padding_, data_format_ 492 std::vector<int32> stride_; member in class:tensorflow::MklMaxPoolingGradOp [all...] |
/external/webrtc/webrtc/modules/desktop_capture/ |
desktop_frame.h | 34 int stride() const { return stride_; } 80 const int stride_; member in class:webrtc::DesktopFrame
|
differ_unittest.cc | 37 stride_ = (kBytesPerPixel * width); 40 differ_.reset(new Differ(width_, height_, bytes_per_pixel_, stride_)); 76 int block_offset = ((block_y * stride_) + (block_x * bytes_per_pixel_)) 80 stride_); 101 buffer += (y * stride_) + (x * bytes_per_pixel_); 197 int stride_; member in class:webrtc::DifferTest
|
/external/libaom/libaom/test/ |
intrapred_test.cc | 104 stride_ = params_.block_width * 3; 116 *error_count += ref_dst_[x + y * stride_] != dst_[x + y * stride_]; 118 ASSERT_EQ(ref_dst_[x + y * stride_], dst_[x + y * stride_]) 130 ptrdiff_t stride_; member in class:__anon26761::AV1IntraPredTest 140 params_.ref_fn(ref_dst_, stride_, above_row_, left_col_, bit_depth); 142 params_.pred_fn(dst_, stride_, above_row_, left_col_, bit_depth)); 149 params_.ref_fn(ref_dst_, stride_, above_row_, left_col_); 151 params_.pred_fn(dst_, stride_, above_row_, left_col_)) [all...] |
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
image.h | 172 return RowData<T>(image_data_ + row * stride_, width_less_one_); 178 return RowData<T>(image_data_ + row * stride_, width_less_one_); 182 return image_data_ + row * stride_; 186 return image_data_ + row * stride_; 192 inline int stride() const { return stride_; } 323 const int stride_; member in class:tf_tracking::Image
|
image_neon.cc | 91 ptr_dst += stride_; 155 ptr_dst += stride_;
|
/external/gemmlowp/internal/ |
pack.h | 145 : data_(data), width_(width), depth_(depth), stride_(stride) {} 149 stride_ = kOrder == SideMapOrder::WidthMajor ? depth_ : width_; 156 stride_(other.stride_) {} 160 int stride() const { return stride_; } 162 return kOrder == SideMapOrder::DepthMajor ? 1 : stride_; 165 return kOrder == SideMapOrder::WidthMajor ? 1 : stride_; 182 stride_); 187 int width_, depth_, stride_; member in class:gemmlowp::SideMap
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
pooling_ops.cc | 61 stride_.push_back(stride_int[i]); 101 return stride_; 126 std::vector<int64> stride_; member in class:tensorflow::__anon44156::PoolingOp 272 OP_REQUIRES_OK(ctx, ctx->GetAttr("strides", &stride_)); 296 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(4, &stride_)); 303 OP_REQUIRES(ctx, stride_.size() == num_dims(), 338 xla::SelectAndScatter(input, select, ksize_, stride_, xla_padding, 347 std::vector<int64> stride_; member in class:tensorflow::__anon44156::MaxPoolGradOp 385 OP_REQUIRES_OK(ctx, ctx->GetAttr("strides", &stride_)); 386 OP_REQUIRES(ctx, stride_.size() == num_dims() 449 std::vector<int32> stride_; member in class:tensorflow::__anon44156::AvgPoolGradOp 620 std::vector<int64> stride_; member in class:tensorflow::__anon44156::MaxPoolGradGradOp [all...] |
/external/gemmlowp/test/ |
test.h | 56 using Map::stride_; 80 stride_ = kOrder == MapOrder::ColMajor ? rows : cols; 89 ConstMap const_map() const { return ConstMap(data_, rows_, cols_, stride_); }
|
/external/deqp/framework/referencerenderer/ |
rrVertexAttrib.hpp | 127 VertexAttrib (VertexAttribType type_, int size_, int stride_, int instanceDivisor_, const void* pointer_) 130 , stride (stride_)
|
/external/webp/src/utils/ |
quant_levels_dec_utils.c | 47 int stride_; // stride in bytes member in struct:__anon49490 104 p->src_ += p->stride_; 154 p->dst_ += p->stride_; // advance output pointer 196 data += p->stride_; 241 p->stride_ = stride;
|