Home
last modified time | relevance | path

Searched refs:row_stride (Results 1 – 25 of 80) sorted by relevance

1234

/external/gemmlowp/internal/
Doutput_neon.h313 int row_stride = dst->rows_stride();
321 vst1q_s32(dst_ptr + i * row_stride, transpose_top.buf.reg[i]);
330 vst1q_s32(dst_ptr + (i + 4) * row_stride, transpose_bottom.buf.reg[i]);
384 int row_stride = dst->rows_stride();
392 vst1q_s32(dst_ptr + i * row_stride, transpose_top_left.buf.reg[i]);
401 vst1q_s32(dst_ptr + (i + 4) * row_stride,
411 vst1q_s32(dst_ptr + i * row_stride + 4, transpose_top_right.buf.reg[i]);
420 vst1q_s32(dst_ptr + (i + 4) * row_stride + 4,
435 int row_stride = dst->rows_stride();
436 vst1q_lane_s32(dst_ptr + 0 * row_stride, src.buf.reg[0], 0);
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dpooling_ops_test.py884 row_stride, argument
928 strides = [1, 1, row_stride, col_stride]
932 strides = [1, row_stride, col_stride, 1]
960 row_stride, argument
1004 strides = [1, 1, row_stride, col_stride]
1008 strides = [1, row_stride, col_stride, 1]
1039 row_stride=1,
1053 row_stride=1,
1067 row_stride=1,
1081 row_stride=2,
[all …]
/external/libjpeg-turbo/
Dexample.c93 int row_stride; /* physical row width in image buffer */ in write_JPEG_file() local
154 row_stride = image_width * 3; /* JSAMPLEs per row in image_buffer */ in write_JPEG_file()
161 row_pointer[0] = & image_buffer[cinfo.next_scanline * row_stride]; in write_JPEG_file()
298 int row_stride; /* physical row width in output buffer */ in read_JPEG_file() local
361 row_stride = cinfo.output_width * cinfo.output_components; in read_JPEG_file()
364 ((j_common_ptr) &cinfo, JPOOL_IMAGE, row_stride, 1); in read_JPEG_file()
379 put_scanline_someplace(buffer[0], row_stride); in read_JPEG_file()
/external/honggfuzz/examples/libjpeg/
Dpersistent-jpeg.c76 int row_stride = cinfo.output_width * cinfo.output_components; in LLVMFuzzerTestOneInput() local
77 … JSAMPARRAY buffer = (*cinfo.mem->alloc_sarray)((j_common_ptr)&cinfo, JPOOL_IMAGE, row_stride, 1); in LLVMFuzzerTestOneInput()
81 __msan_poison(buffer[0], row_stride); in LLVMFuzzerTestOneInput()
85 write(null_fd, buffer[0], row_stride); in LLVMFuzzerTestOneInput()
/external/tensorflow/tensorflow/core/kernels/
Dconv_2d.h56 Filter filter, int row_stride, int col_stride, in SpatialConvolutionFunc() argument
61 Eigen::SpatialConvolution(input, filter, col_stride, row_stride, padding, in SpatialConvolutionFunc()
69 typename TTypes<T, 4>::ConstTensor filter, int row_stride, in operator()
72 SpatialConvolutionFunc(d, output, input, filter, row_stride, col_stride, in operator()
83 int row_stride, int col_stride, int row_dilation,
87 col_stride, row_stride, padding, col_dilation,
98 int row_stride, int col_stride, int row_dilation,
103 input_backward.dimension(1), col_stride, row_stride, col_dilation,
114 int row_stride, int col_stride, int row_dilation,
119 kernel_backward.dimension(0), col_stride, row_stride, col_dilation,
Dconv_grad_ops.h178 int row_dilation, int col_dilation, int row_stride,
187 int row_dilation, int col_dilation, int row_stride,
197 int col_dilation, int row_stride, int col_stride,
206 int row_dilation, int col_dilation, int row_stride,
Dpooling_ops_common.h60 int row_stride; member
169 params.row_stride, params.col_stride, pt); in SpatialMaxPool()
204 const int32 row_stride = params.row_stride; in SpatialMaxPool() local
227 : (hpad - window_rows) / row_stride + 1; in SpatialMaxPool()
228 const int32 h_end = std::min(hpad / row_stride + 1, out_height); in SpatialMaxPool()
276 params.window_cols, params.row_stride, params.col_stride,
413 params.row_stride, params.col_stride, pt);
451 const int32 row_stride = params.row_stride;
474 : (hpad - window_rows) / row_stride + 1;
475 const int32 h_end = std::min(hpad / row_stride + 1, out_height);
[all …]
Dmaxpooling_op.h33 int window_cols, int row_stride, int col_stride, in operator()
38 col_stride, row_stride, padding); in operator()
46 int window_cols, int row_stride, int col_stride,
Deigen_backward_spatial_convolutions.h102 const DenseIndex row_stride = 1, const DenseIndex col_stride = 1,
152 0, ((outputRows - 1) * row_stride + kernelRowsEff - inputRows) / 2);
158 const TensorIndex padding_bottom = inputRows - (outputRows - 1) * row_stride -
276 col_in_stride, row_stride, col_stride, padding_top,
283 col_in_stride, row_stride, col_stride,
354 const DenseIndex row_stride = 1, const DenseIndex col_stride = 1,
371 eigen_assert(!(row_stride > 1 && row_in_stride > 1) &&
412 0, (outputRows - 1) * row_stride + kernelRowsEff - inputRows);
482 kernelRows, kernelCols, row_stride, col_stride,
490 .extract_image_patches(kernelRows, kernelCols, row_stride, col_stride,
Davgpooling_op.h31 int window_cols, int row_stride, int col_stride, in operator()
37 row_stride, padding); in operator()
41 input.swap_layout(), window_cols, window_rows, col_stride, row_stride, in operator()
Davgpooling_op.cc168 params.row_stride, params.col_stride, pt); in Compute()
186 int window_cols, int row_stride, int col_stride, \
268 const int row_stride = stride_[1]; in Compute() local
281 GetWindowedOutputSize(in_rows, window_rows, row_stride, in Compute()
292 in_rows, in_cols, window_rows, window_cols, row_stride, in Compute()
303 GetBroadcastSize(r, in_rows, window_rows, row_stride, in Compute()
502 const int row_stride = stride_[1]; in Compute() local
515 GetWindowedOutputSize(in_rows, window_rows, row_stride, in Compute()
530 row_stride, // stride_h in Compute()
Dconv_ops.cc62 const Tensor& filter, int row_stride, int col_stride, in operator ()()
67 if (filter.dim_size(0) == 1 && filter.dim_size(1) == 1 && row_stride == 1 && in operator ()()
106 input.tensor<T, 4>(), filter.tensor<T, 4>(), row_stride, col_stride, in operator ()()
117 int col_dilation, int row_stride, int col_stride, in operator ()()
126 LaunchGeneric<CPUDevice, T>()(ctx, input, filter, row_stride, col_stride, in operator ()()
484 int col_dilation, int row_stride, int col_stride, const Padding& padding, in operator ()() argument
502 col_dilation == 1 && row_stride == 1 && col_stride == 1 && in operator ()()
580 std::max<int>(0, (out_rows - 1) * row_stride + in operator ()()
651 .set_vertical_filter_stride(row_stride) in operator ()()
700 {{row_stride, // stride_rows in operator ()()
[all …]
Dconv_ops.h38 int col_dilation, int row_stride, int col_stride,
48 int col_dilation, int row_stride, int col_stride,
Dmkl_pooling_ops_common.cc90 row_stride = GetTensorDim(stride, data_format, 'H'); in Init()
104 tensor_in_rows, window_rows, row_stride, in Init()
176 mkl_params->kernel_stride[1] = params.row_stride; in ExtractMklOpParams()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Druntime_single_threaded_conv2d.cc30 int64 output_cols, int64 row_stride, int64 col_stride, int64 padding_top, in __xla_cpu_runtime_EigenSingleThreadedConvF16() argument
37 kernel_filters, output_rows, output_cols, row_stride, col_stride, in __xla_cpu_runtime_EigenSingleThreadedConvF16()
48 int64 row_stride, int64 col_stride, int64 padding_top, int64 padding_bottom, in __xla_cpu_runtime_EigenSingleThreadedConvF32() argument
54 kernel_filters, output_rows, output_cols, row_stride, col_stride, in __xla_cpu_runtime_EigenSingleThreadedConvF32()
Druntime_conv2d.cc32 int64 row_stride, int64 col_stride, int64 padding_top, int64 padding_bottom, in __xla_cpu_runtime_EigenConvF32() argument
40 kernel_channels, kernel_filters, output_rows, output_cols, row_stride, in __xla_cpu_runtime_EigenConvF32()
50 int64 output_cols, int64 row_stride, int64 col_stride, int64 padding_top, in __xla_cpu_runtime_EigenConvF16() argument
59 kernel_channels, kernel_filters, output_rows, output_cols, row_stride, in __xla_cpu_runtime_EigenConvF16()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_sampler.c248 uint32_t row_stride[PIPE_MAX_TEXTURE_LEVELS]; in prepare_shader_sampling() local
282 row_stride[j] = lp_tex->row_stride[j]; in prepare_shader_sampling()
307 row_stride[0] = 0; in prepare_shader_sampling()
325 row_stride[0] = lp_tex->row_stride[0]; in prepare_shader_sampling()
336 row_stride, img_stride, mip_offsets); in prepare_shader_sampling()
Dlp_texture.c122 lpr->row_stride[level] = nblocksx * block_size; in llvmpipe_texture_layout()
124 lpr->row_stride[level] = align(nblocksx * block_size, util_cpu_caps.cacheline); in llvmpipe_texture_layout()
127 if ((uint64_t)lpr->row_stride[level] * nblocksy > LP_MAX_TEXTURE_SIZE) { in llvmpipe_texture_layout()
132 lpr->img_stride[level] = lpr->row_stride[level] * nblocksy; in llvmpipe_texture_layout()
220 &lpr->row_stride[0] ); in llvmpipe_displaytarget_layout()
230 memset(map, 0, height * lpr->row_stride[0]); in llvmpipe_displaytarget_layout()
288 lpr->row_stride[0] = bytes; in llvmpipe_resource_create_front()
466 &lpr->row_stride[0]); in llvmpipe_resource_from_handle()
566 pt->stride = lpr->row_stride[level]; in llvmpipe_transfer_map()
/external/libvncserver/client_examples/
Dppmtest.c22 int row_stride=client->width*bpp; in SaveFramebufferAsPPM() local
44 for(j=0;j<client->height*row_stride;j+=row_stride) in SaveFramebufferAsPPM()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_sampler.c175 uint32_t row_stride[PIPE_MAX_TEXTURE_LEVELS]; in prepare_shader_sampling() local
214 row_stride[j] = sp_tex->stride[j]; in prepare_shader_sampling()
239 row_stride[0] = 0; in prepare_shader_sampling()
257 row_stride[0] = sp_tex->stride[0]; in prepare_shader_sampling()
268 row_stride, img_stride, mip_offsets); in prepare_shader_sampling()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_texture.c419 const GLvoid *src, GLvoid *dst, int row_stride) in nouveau_compressed_copy() argument
435 dst += row_stride; in nouveau_compressed_copy()
471 int row_stride; in nouveau_teximage() local
477 &map, &row_stride); in nouveau_teximage()
482 pixels, map, row_stride); in nouveau_teximage()
486 row_stride, in nouveau_teximage()
564 int row_stride; in nouveau_texsubimage() local
568 GL_MAP_WRITE_BIT, &map, &row_stride); in nouveau_texsubimage()
573 pixels, map, row_stride); in nouveau_texsubimage()
577 row_stride, &map, in nouveau_texsubimage()
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/
Deigen_spatial_convolutions.h98 const DenseIndex row_stride = 1,
150 static_cast<float>(row_stride));
155 out_height = numext::ceil(InputRows / static_cast<float>(row_stride));
218 .extract_image_patches(kernelRows, kernelCols, row_stride, col_stride,
/external/tensorflow/tensorflow/contrib/fused_conv/kernels/
Dfused_conv2d_bias_activation_op.h41 const Tensor& filter, int32 row_stride, int32 col_stride,
55 const Tensor& filter, int32 row_stride, int32 col_stride,
/external/libpng/
Dpngwrite.c1510 png_int_32 row_stride; member
1961 if (display->row_stride == 0) in png_image_write_main()
1962 display->row_stride = (png_int_32)/*SAFE*/png_row_stride; in png_image_write_main()
1964 if (display->row_stride < 0) in png_image_write_main()
1965 check = (png_uint_32)(-display->row_stride); in png_image_write_main()
1968 check = (png_uint_32)display->row_stride; in png_image_write_main()
2092 ptrdiff_t row_bytes = display->row_stride; in png_image_write_main()
2215 const void *buffer, png_int_32 row_stride, const void *colormap) in png_image_write_to_memory() argument
2236 display.row_stride = row_stride; in png_image_write_to_memory()
2281 const void *buffer, png_int_32 row_stride, const void *colormap) in png_image_write_to_stdio() argument
[all …]
/external/pdfium/third_party/libpng16/
Dpngwrite.c1499 png_int_32 row_stride; member
1948 if (display->row_stride == 0) in png_image_write_main()
1949 display->row_stride = (png_int_32)/*SAFE*/png_row_stride; in png_image_write_main()
1951 if (display->row_stride < 0) in png_image_write_main()
1952 check = -display->row_stride; in png_image_write_main()
1955 check = display->row_stride; in png_image_write_main()
2079 ptrdiff_t row_bytes = display->row_stride; in png_image_write_main()
2202 const void *buffer, png_int_32 row_stride, const void *colormap) in png_image_write_to_memory() argument
2223 display.row_stride = row_stride; in png_image_write_to_memory()
2268 const void *buffer, png_int_32 row_stride, const void *colormap) in png_image_write_to_stdio() argument
[all …]

1234