/external/libvpx/libvpx/test/ |
D | buffer.h | 34 stride_(0), raw_size_(0), num_elements_(0), raw_buffer_(NULL) {} in Buffer() 41 padding_value_(0), stride_(0), raw_size_(0), num_elements_(0), in Buffer() 47 bottom_padding_(padding), alignment_(0), padding_value_(0), stride_(0), in Buffer() 54 stride_(0), raw_size_(0), num_elements_(0), raw_buffer_(NULL) {} in Buffer() 66 int stride() const { return stride_; } in stride() 113 stride_ = left_padding_ + width_ + right_padding_; in Init() 114 num_elements_ = stride_ * (top_padding_ + height_ + bottom_padding_); in Init() 122 if (stride_ != width_) { in Init() 123 EXPECT_EQ((stride_ * sizeof(T)) % alignment_, 0u); in Init() 145 int stride_; variable [all …]
|
D | dct_test.cc | 150 stride_ = rnd_(1024) + 1; in SetUp() 151 if (stride_ < size_) { in SetUp() 152 stride_ = size_; in SetUp() 155 if (stride_ > 16) { in SetUp() 156 stride_ &= ~15; in SetUp() 159 block_size_ = size_ * stride_; in SetUp() 204 inv_txfm_(in.TopLeftPixel(), out, stride_, tx_type_, bit_depth_); in RunInvTxfm() 227 src_[h * stride_ + w] - dst_[h * stride_ + w]; in RunAccuracyCheck() 233 src[h * stride_ + w] - dst[h * stride_ + w]; in RunAccuracyCheck() 245 diff = dst_[h * stride_ + w] - src_[h * stride_ + w]; in RunAccuracyCheck() [all …]
|
D | partial_idct_test.cc | 83 stride_ = rnd_(1024) + 1; in SetUp() 84 if (stride_ < size_) { in SetUp() 85 stride_ = size_; in SetUp() 88 if (stride_ > 16) { in SetUp() 89 stride_ &= ~15; in SetUp() 93 output_block_size_ = size_ * stride_; in SetUp() 152 ref = output_block_ref_[y * stride_ + x]; in PrintDiff() 153 opt = output_block_[y * stride_ + x]; in PrintDiff() 156 output_block_ref_)[y * stride_ + x]; in PrintDiff() 157 opt = reinterpret_cast<uint16_t *>(output_block_)[y * stride_ + x]; in PrintDiff() [all …]
|
D | vp9_intrapred_test.cc | 85 stride_ = params_.block_size * 3; in SetUp() 96 *error_count += ref_dst_[x + y * stride_] != dst_[x + y * stride_]; in CheckPrediction() 98 ASSERT_EQ(ref_dst_[x + y * stride_], dst_[x + y * stride_]) in CheckPrediction() 109 ptrdiff_t stride_; member in __anon22853b2b0111::IntraPredTest 117 params_.ref_fn(ref_dst_, stride_, above_row_, left_col_); in Predict() 119 params_.pred_fn(dst_, stride_, above_row_, left_col_)); in Predict() 460 params_.ref_fn(ref_dst_, stride_, above_row_, left_col_, bit_depth); in Predict() 462 params_.pred_fn(dst_, stride_, above_row_, left_col_, bit_depth)); in Predict()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | avgpooling_op.cc | 66 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); in AvgPoolingOp() 67 OP_REQUIRES(context, stride_.size() == 4, in AvgPoolingOp() 71 OP_REQUIRES(context, ksize_[0] == 1 && stride_[0] == 1, in AvgPoolingOp() 78 PoolParameters params{context, ksize_, stride_, in Compute() 100 std::vector<int32> stride_; member in tensorflow::AvgPoolingOp 129 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); in AvgPoolingOp() 130 OP_REQUIRES(context, stride_.size() == 4, in AvgPoolingOp() 135 const int32 stride_n = GetTensorDim(stride_, data_format_, 'N'); in AvgPoolingOp() 143 PoolParameters params{context, ksize_, stride_, in Compute() 160 stride_, padding_, data_format_, tensor_in, in Compute() [all …]
|
D | maxpooling_op.cc | 230 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); in MaxPoolingGradOp() 231 OP_REQUIRES(context, stride_.size() == 4, in MaxPoolingGradOp() 234 OP_REQUIRES(context, ksize_[0] == 1 && stride_[0] == 1, in MaxPoolingGradOp() 238 context, ksize_[3] == 1 && stride_[3] == 1, in MaxPoolingGradOp() 271 std::vector<int32> stride = stride_; in Compute() 315 std::vector<int32> stride_; member in tensorflow::MaxPoolingGradOp 361 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); in MaxPoolingGradOp() 362 OP_REQUIRES(context, stride_.size() == 4, in MaxPoolingGradOp() 366 const int32 stride_n = GetTensorDim(stride_, data_format_, 'N'); in MaxPoolingGradOp() 395 std::vector<int32> stride = stride_; in Compute() [all …]
|
D | pooling_ops_3d.cc | 149 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); in Pooling3DOp() 150 OP_REQUIRES(context, stride_.size() == 5, in Pooling3DOp() 156 GetTensorDim(stride_, data_format_, 'N') == 1), in Pooling3DOp() 161 GetTensorDim(stride_, data_format_, 'C') == 1), in Pooling3DOp() 182 std::array<int64, 3> stride{{GetTensorDim(stride_, data_format_, '2'), in Compute() 183 GetTensorDim(stride_, data_format_, '1'), in Compute() 184 GetTensorDim(stride_, data_format_, '0')}}; in Compute() 201 std::vector<int32> stride_; member in tensorflow::Pooling3DOp 322 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); in MaxPooling3dGradOp() 323 OP_REQUIRES(context, stride_.size() == 5, in MaxPooling3dGradOp() [all …]
|
D | spectrogram_op.cc | 34 OP_REQUIRES_OK(context, context->GetAttr("stride", &stride_)); in AudioSpectrogramOp() 45 OP_REQUIRES(context, spectrogram.Initialize(window_size_, stride_), in Compute() 48 window_size_, " and stride ", stride_)); in Compute() 61 output_height = 1 + (length_minus_window / stride_); in Compute() 115 int32 stride_; member in tensorflow::AudioSpectrogramOp
|
D | conv_grad_ops_3d.cc | 203 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); in Conv3DBackpropInputOp() 204 OP_REQUIRES(context, stride_.size() == 5, in Conv3DBackpropInputOp() 209 (GetTensorDim(stride_, data_format_, 'C') == 1 && in Conv3DBackpropInputOp() 210 GetTensorDim(stride_, data_format_, 'N') == 1), in Conv3DBackpropInputOp() 236 stride_, padding_, data_format_, &dims)); in Compute() 254 std::vector<int32> stride_; member in tensorflow::Conv3DBackpropInputOp 309 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); in Conv3DCustomBackpropInputOp() 310 OP_REQUIRES(context, stride_.size() == 5, in Conv3DCustomBackpropInputOp() 315 (GetTensorDim(stride_, data_format_, 'C') == 1 && in Conv3DCustomBackpropInputOp() 316 GetTensorDim(stride_, data_format_, 'N') == 1), in Conv3DCustomBackpropInputOp() [all …]
|
D | quantized_pooling_ops.cc | 45 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); in QuantizedAvgPoolingOp() 46 OP_REQUIRES(context, stride_.size() == 4, in QuantizedAvgPoolingOp() 50 OP_REQUIRES(context, ksize_[0] == 1 && stride_[0] == 1, in QuantizedAvgPoolingOp() 57 PoolParameters params{context, ksize_, stride_, in Compute() 104 std::vector<int32> stride_; member in tensorflow::QuantizedAvgPoolingOp
|
D | depthwise_conv_op.cc | 277 stride_ = GetTensorDim(strides_, data_format_, 'H'); in DepthwiseConv2dNativeOp() 282 OP_REQUIRES(context, stride_ == stride_w, in DepthwiseConv2dNativeOp() 350 GetWindowedOutputSize(input_rows, filter_rows, stride_, in Compute() 353 GetWindowedOutputSize(input_cols, filter_cols, stride_, in Compute() 382 << ", " << out_depth << "], stride = " << stride_ in Compute() 407 stride_, stride_, padding_, /*explicit_paddings=*/{}, output, in Compute() 420 args.stride = stride_; in Compute() 442 int64 stride_; // in height/width dimension. member in tensorflow::DepthwiseConv2dNativeOp
|
D | conv_ops_3d.cc | 81 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); in Conv3DOp() 82 OP_REQUIRES(context, stride_.size() == 5, in Conv3DOp() 87 (GetTensorDim(stride_, data_format_, 'N') == 1 && in Conv3DOp() 88 GetTensorDim(stride_, data_format_, 'C') == 1), in Conv3DOp() 93 (GetTensorDim(stride_, data_format_, '0') > 0 && in Conv3DOp() 94 GetTensorDim(stride_, data_format_, '1') > 0 && in Conv3DOp() 95 GetTensorDim(stride_, data_format_, '2') > 0), in Conv3DOp() 152 std::array<int64, 3> strides = {{GetTensorDim(stride_, data_format_, '0'), in Compute() 153 GetTensorDim(stride_, data_format_, '1'), in Compute() 154 GetTensorDim(stride_, data_format_, '2')}}; in Compute() [all …]
|
D | mkl_avgpooling_op.cc | 58 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); in MklAvgPoolingOp() 59 OP_REQUIRES(context, stride_.size() == 4, in MklAvgPoolingOp() 63 OP_REQUIRES(context, ksize_[0] == 1 && stride_[0] == 1, in MklAvgPoolingOp() 81 pool_params.Init(context, ksize_, stride_, padding_, data_format_, in Compute() 84 pool_params.Init(context, ksize_, stride_, padding_, data_format_, in Compute() 212 std::vector<int32> stride_; member in tensorflow::MklAvgPoolingOp 233 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); in MklAvgPoolingGradOp() 234 OP_REQUIRES(context, stride_.size() == 4, in MklAvgPoolingGradOp() 238 OP_REQUIRES(context, ksize_[0] == 1 && stride_[0] == 1, in MklAvgPoolingGradOp() 258 pool_params.Init(context, ksize_, stride_, padding_, data_format_, in Compute() [all …]
|
D | pooling_ops_common.h | 99 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); in MaxPoolingOp() 100 OP_REQUIRES(context, stride_.size() == 4, in MaxPoolingOp() 104 OP_REQUIRES(context, ksize_[0] == 1 && stride_[0] == 1, in MaxPoolingOp() 111 PoolParameters params{context, ksize_, stride_, in Compute() 259 std::vector<int32> stride_; variable 311 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); 312 OP_REQUIRES(context, stride_.size() == 4, 315 OP_REQUIRES(context, ksize_[0] == 1 && stride_[0] == 1, 326 std::vector<int32> stride = stride_; 506 std::vector<int32> stride_;
|
D | mkl_maxpooling_op.cc | 59 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); in MklMaxPoolingOp() 60 OP_REQUIRES(context, stride_.size() == 4, in MklMaxPoolingOp() 64 OP_REQUIRES(context, ksize_[0] == 1 && stride_[0] == 1, in MklMaxPoolingOp() 86 pool_params.Init(context, ksize_, stride_, padding_, data_format_, in Compute() 93 pool_params.Init(context, ksize_, stride_, padding_, data_format_, in Compute() 192 std::vector<int32> stride_; member in tensorflow::MklMaxPoolingOp 218 OP_REQUIRES_OK(context, context->GetAttr("strides", &stride_)); in MklMaxPoolingGradOp() 219 OP_REQUIRES(context, stride_.size() == 4, in MklMaxPoolingGradOp() 223 OP_REQUIRES(context, ksize_[0] == 1 && stride_[0] == 1, in MklMaxPoolingGradOp() 253 pool_params.Init(context, ksize_, stride_, padding_, data_format_, in Compute() [all …]
|
D | conv_ops_gpu.h | 99 stride_(CheckSpatialArraySize(stride)), in ConvParameters() 133 "(", str_util::Join(stride_, ", "), "), ", in ToString() 164 filter_, dilation_, stride_, padding_, dtype_, in get_data_as_tuple() 198 SpatialArray stride_; variable
|
D | depthwise_conv_grad_op.cc | 114 const auto stride = stride_; \ 551 stride_ = GetTensorDim(strides_, data_format_, 'H'); in DepthwiseConv2dNativeBackpropInputOp() 556 OP_REQUIRES(context, stride_ == stride_w, in DepthwiseConv2dNativeBackpropInputOp() 611 << ", " << out_depth << "], stride = " << stride_ in Compute() 636 stride_, stride_, padding_, /*explicit_paddings=*/{}, in Compute() 656 int64 stride_; member in tensorflow::DepthwiseConv2dNativeBackpropInputOp 1025 stride_ = GetTensorDim(strides_, data_format_, 'H'); in DepthwiseConv2dNativeBackpropFilterOp() 1030 OP_REQUIRES(context, stride_ == stride_w, in DepthwiseConv2dNativeBackpropFilterOp() 1093 << ", " << out_depth << "], stride = " << stride_ in Compute() 1118 /*row_dilation=*/1, /*col_dilation=*/1, stride_, stride_, in Compute() [all …]
|
/external/gemmlowp/public/ |
D | map.h | 39 int rows_, cols_, stride_; variable 42 MatrixMap() : data_(nullptr), rows_(0), cols_(0), stride_(0) {} in MatrixMap() 47 stride_(kOrder == MapOrder::ColMajor ? rows : cols) {} in MatrixMap() 49 : data_(data), rows_(rows), cols_(cols), stride_(stride) {} in MatrixMap() 54 stride_(other.stride_) {} in MatrixMap() 58 int stride() const { return stride_; } in stride() 59 int rows_stride() const { return kOrder == MapOrder::ColMajor ? 1 : stride_; } in rows_stride() 60 int cols_stride() const { return kOrder == MapOrder::RowMajor ? 1 : stride_; } in cols_stride() 75 stride_); in block()
|
/external/libaom/libaom/test/ |
D | intrapred_test.cc | 104 stride_ = params_.block_width * 3; in SetUp() 116 *error_count += ref_dst_[x + y * stride_] != dst_[x + y * stride_]; in CheckPrediction() 118 ASSERT_EQ(ref_dst_[x + y * stride_], dst_[x + y * stride_]) in CheckPrediction() 130 ptrdiff_t stride_; member in __anon38ff106b0211::AV1IntraPredTest 140 params_.ref_fn(ref_dst_, stride_, above_row_, left_col_, bit_depth); in Predict() 142 params_.pred_fn(dst_, stride_, above_row_, left_col_, bit_depth)); in Predict() 149 params_.ref_fn(ref_dst_, stride_, above_row_, left_col_); in Predict() 151 params_.pred_fn(dst_, stride_, above_row_, left_col_)); in Predict()
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | pooling_ops.cc | 61 stride_.push_back(stride_int[i]); in PoolingOp() 101 return stride_; in GetStride() 126 std::vector<int64> stride_; member in tensorflow::__anon05e5a9280111::PoolingOp 272 OP_REQUIRES_OK(ctx, ctx->GetAttr("strides", &stride_)); in MaxPoolGradOp() 296 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntVector(4, &stride_)); in Compile() 303 OP_REQUIRES(ctx, stride_.size() == num_dims(), in Compile() 338 xla::SelectAndScatter(input, select, ksize_, stride_, xla_padding, in Compile() 347 std::vector<int64> stride_; member in tensorflow::__anon05e5a9280111::MaxPoolGradOp 385 OP_REQUIRES_OK(ctx, ctx->GetAttr("strides", &stride_)); in AvgPoolGradOp() 386 OP_REQUIRES(ctx, stride_.size() == num_dims(), in AvgPoolGradOp() [all …]
|
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
D | 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_; } in stride() 323 const int stride_; variable
|
/external/gemmlowp/internal/ |
D | pack.h | 145 : data_(data), width_(width), depth_(depth), stride_(stride) {} in SideMap() 149 stride_ = kOrder == SideMapOrder::WidthMajor ? depth_ : width_; in SideMap() 156 stride_(other.stride_) {} in SideMap() 160 int stride() const { return stride_; } in stride() 162 return kOrder == SideMapOrder::DepthMajor ? 1 : stride_; in width_stride() 165 return kOrder == SideMapOrder::WidthMajor ? 1 : stride_; in depth_stride() 182 stride_); in block() 187 int width_, depth_, stride_; variable
|
/external/webrtc/webrtc/modules/desktop_capture/ |
D | differ_unittest.cc | 37 stride_ = (kBytesPerPixel * width); in InitDiffer() 40 differ_.reset(new Differ(width_, height_, bytes_per_pixel_, stride_)); in InitDiffer() 76 int block_offset = ((block_y * stride_) + (block_x * bytes_per_pixel_)) in DiffBlock() 80 stride_); in DiffBlock() 101 buffer += (y * stride_) + (x * bytes_per_pixel_); in WritePixel() 197 int stride_; member in webrtc::DifferTest
|
/external/webp/src/utils/ |
D | quant_levels_dec_utils.c | 47 int stride_; // stride in bytes member 104 p->src_ += p->stride_; in VFilter() 154 p->dst_ += p->stride_; // advance output pointer in ApplyFilter() 196 data += p->stride_; in CountLevels() 241 p->stride_ = stride; in InitParams()
|
/external/gemmlowp/test/ |
D | test.h | 56 using Map::stride_; 80 stride_ = kOrder == MapOrder::ColMajor ? rows : cols; in Resize() 89 ConstMap const_map() const { return ConstMap(data_, rows_, cols_, stride_); } in const_map()
|