Home
last modified time | relevance | path

Searched refs:in_y (Results 1 – 25 of 47) sorted by relevance

12

/external/libxcam/modules/soft/
Dsoft_blender_tasks_priv.cpp43 uint32_t in_x = x * 4, in_y = y * 4; in gauss_luma_2x2() local
47 in_luma->read_array<float, 7> (in_x - 2, in_y - 2, line); in gauss_luma_2x2()
49 in_luma->read_array<float, 7> (in_x - 2, in_y - 1, line); in gauss_luma_2x2()
51 in_luma->read_array<float, 7> (in_x - 2, in_y, line); in gauss_luma_2x2()
54 in_luma->read_array<float, 7> (in_x - 2, in_y + 1, line); in gauss_luma_2x2()
57 in_luma->read_array<float, 7> (in_x - 2, in_y + 2, line); in gauss_luma_2x2()
60 in_luma->read_array<float, 7> (in_x - 2, in_y + 3, line); in gauss_luma_2x2()
62 in_luma->read_array<float, 7> (in_x - 2, in_y + 4, line); in gauss_luma_2x2()
112 int32_t in_x = x * 2, in_y = y * 2; in work_range() local
116 in_uv->read_array<Float2, 5> (in_x - 2, in_y - 2, uv_line); in work_range()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dcrop_and_resize_op_gpu.cu.cc72 const float in_y = (crop_height > 1) in CropAndResizeKernel() local
75 if (in_y < 0 || in_y > image_height - 1) { in CropAndResizeKernel()
89 const int top_y_index = floorf(in_y); in CropAndResizeKernel()
90 const int bottom_y_index = ceilf(in_y); in CropAndResizeKernel()
91 const float y_lerp = in_y - top_y_index; in CropAndResizeKernel()
122 const int closest_y_index = roundf(in_y); in CropAndResizeKernel()
164 const float in_y = (crop_height > 1) in CropAndResizeBackpropImageKernel() local
167 if (in_y < 0 || in_y > image_height - 1) { in CropAndResizeBackpropImageKernel()
179 const int top_y_index = floorf(in_y); in CropAndResizeBackpropImageKernel()
180 const int bottom_y_index = ceilf(in_y); in CropAndResizeBackpropImageKernel()
[all …]
Dbatch_matmul_op_impl.h77 const Tensor in_y, bool adj_x, bool adj_y, Tensor* out, in Run()
81 auto Ty = in_y.tensor<Scalar, 3>(); in Run()
113 const Tensor& in_y, bool adj_x, bool adj_y, Tensor* out,
116 auto Ty = in_y.tensor<Scalar, 3>();
172 static void Run(const Tensor& in_x, const Tensor& in_y, bool adj_x,
176 auto y = ConstTensorSliceToEigenMatrix(in_y, i);
204 const Tensor& in_y, bool adj_x, bool adj_y, Tensor* out) {
222 ParallelMatMulKernel::Run(context, in_x, in_y, adj_x, adj_y, out, 0,
230 [&in_x, &in_y, adj_x, adj_y, out](int start, int limit) {
231 SequentialMatMulKernel<Scalar>::Run(in_x, in_y, adj_x, adj_y, out,
[all …]
Dresize_bilinear_op_gpu.cu.cc51 const float in_y = (static_cast<float>(y) + 0.5f) * height_scale - 0.5f; in ResizeBilinearKernel() local
53 const int top_y_index = in_y > 0.0 ? floorf(in_y) : 0; in ResizeBilinearKernel()
55 (in_y < in_height - 1) ? ceilf(in_y) : in_height - 1; in ResizeBilinearKernel()
56 const float y_lerp = in_y - floorf(in_y); in ResizeBilinearKernel()
166 const float in_y = y * height_scale; in LegacyResizeBilinearKernel() local
167 const int top_y_index = floorf(in_y); in LegacyResizeBilinearKernel()
169 (in_y < in_height - 1) ? ceilf(in_y) : in_height - 1; in LegacyResizeBilinearKernel()
170 const float y_lerp = in_y - top_y_index; in LegacyResizeBilinearKernel()
Dresize_nearest_neighbor_op_gpu.cu.cc51 const int in_y = in ResizeNearestNeighborNHWC() local
61 const int idx = (in_y * in_width + in_x) * channels + c; in ResizeNearestNeighborNHWC()
82 const int in_y = in LegacyResizeNearestNeighborNHWC() local
90 const int idx = (in_y * in_width + in_x) * channels + c; in LegacyResizeNearestNeighborNHWC()
107 int in_y = n % in_height; in ResizeNearestNeighborBackwardNHWC() local
113 floorf((static_cast<float>(in_y) + 0.5f) * height_scale)), in ResizeNearestNeighborBackwardNHWC()
138 int in_y = n % in_height; in LegacyResizeNearestNeighborBackwardNHWC() local
143 min((align_corners) ? static_cast<int>(roundf(in_y * height_scale)) in LegacyResizeNearestNeighborBackwardNHWC()
144 : static_cast<int>(floorf(in_y * height_scale)), in LegacyResizeNearestNeighborBackwardNHWC()
Dcrop_and_resize_op.cc240 const float in_y = (crop_height > 1) in operator ()() local
243 if (in_y < 0 || in_y > image_height - 1) { in operator ()()
252 const int top_y_index = floorf(in_y); in operator ()()
253 const int bottom_y_index = ceilf(in_y); in operator ()()
254 const float y_lerp = in_y - top_y_index; in operator ()()
297 const int closest_y_index = roundf(in_y); in operator ()()
464 const float in_y = (crop_height > 1) in operator ()() local
467 if (in_y < 0 || in_y > image_height - 1) { in operator ()()
470 const int top_y_index = floorf(in_y); in operator ()()
471 const int bottom_y_index = ceilf(in_y); in operator ()()
[all …]
Dconv_ops_using_gemm.cc160 const int in_y = in_y_origin + filter_y; in operator ()() local
164 if ((in_x >= 0) && (in_x < input_width) && (in_y >= 0) && in operator ()()
165 (in_y < input_height)) { in operator ()()
169 (in_y * input_width * input_depth) + in operator ()()
345 const int in_y = in_y_origin + filter_y; in operator ()() local
350 if ((in_y < 0) || (in_y >= input_height)) { in operator ()()
385 input_batch_start + (in_y * input_width * input_depth) + in operator ()()
Dresize_area_op_test.cc102 const float in_y = y * height_scale; in ResizeAreaBaseline() local
106 int64 y_start = floor(in_y); in ResizeAreaBaseline()
119 float scale_y = i < in_y in ResizeAreaBaseline()
120 ? (i + 1 > in_y1 ? height_scale : i + 1 - in_y) in ResizeAreaBaseline()
Dconv_ops_fused_image_transform.cc187 float in_y = (cache_y - top_padding); in CalculatePerCacheLineParameters() local
188 if (in_y < 0) { in CalculatePerCacheLineParameters()
189 in_y = -(in_y + 1.0f - pad_offset); in CalculatePerCacheLineParameters()
190 } else if (in_y >= resized_height) { in CalculatePerCacheLineParameters()
191 in_y = (resized_height * 2.0f) - (in_y + 1.0f + pad_offset); in CalculatePerCacheLineParameters()
194 in_y *= st.height_scale; in CalculatePerCacheLineParameters()
195 const int64 top_y_index = static_cast<int64>(std::floor(in_y)); in CalculatePerCacheLineParameters()
197 std::min(static_cast<int64>(std::ceil(in_y)), (st.in_height - 1)); in CalculatePerCacheLineParameters()
199 result.y_lerp = static_cast<T1>(in_y - top_y_index); in CalculatePerCacheLineParameters()
Dquantized_conv_ops.cc137 const int in_y = in_y_origin + filter_y; in operator ()() local
141 if ((in_x >= 0) && (in_x < input_width) && (in_y >= 0) && in operator ()()
142 (in_y < input_height)) { in operator ()()
146 (in_y * input_width * input_depth) + in operator ()()
313 const int in_y = in_y_origin + filter_y; in operator ()() local
318 if ((in_y < 0) || (in_y >= input_height)) { in operator ()()
355 input_batch_start + (in_y * input_width * input_depth) + in operator ()()
Dresize_bilinear_op_test.cc86 const float in_y = in ResizeBilinearBaseline() local
91 std::max(static_cast<int64>(floorf(in_y)), static_cast<int64>(0)); in ResizeBilinearBaseline()
93 std::min(static_cast<int64>(ceilf(in_y)), in_height - 1); in ResizeBilinearBaseline()
94 const float y_lerp = in_y - std::floor(in_y); in ResizeBilinearBaseline()
Dresize_area_op.cc225 const float in_y = y * st.height_scale; in ComputeLoop() local
229 const int64 y_start = floor(in_y); in ComputeLoop()
235 if (i < in_y) { in ComputeLoop()
236 scale_y = (i + 1 > in_y1 ? st.height_scale : i + 1 - in_y); in ComputeLoop()
Dresize_nearest_neighbor_op.cc147 Eigen::Index in_y = std::min( in operator ()() local
153 in_y = std::max(static_cast<Eigen::Index>(0), in_y); in operator ()()
164 std::copy_n(&input(b, in_y, in_x, 0), channels, &output(b, y, x, 0)); in operator ()()
Dresize_bilinear_op.cc321 const float in_y = scaler(y, height_scale); in ResizeGradCore() local
323 std::max(static_cast<Eigen::Index>(floorf(in_y)), in ResizeGradCore()
326 static_cast<Eigen::Index>(ceilf(in_y)), original_height - 1); in ResizeGradCore()
327 const float y_lerp = in_y - floorf(in_y); in ResizeGradCore()
/external/libxcam/cl_kernel/
Dkernel_bayer_pipe.cl131 int in_x, int in_y,
139 index = shared_pos (in_x - 1, in_y);
141 index = shared_pos (in_x - 1, in_y + 1);
155 index = shared_pos (in_x, in_y - 1);
157 index = shared_pos (in_x, in_y);
171 index = shared_pos (in_x, in_y);
173 index = shared_pos (in_x, in_y + 1);
176 index = shared_pos (in_x - 1, in_y - 1);
178 index = shared_pos (in_x - 1, in_y);
196 int in_x, int in_y,
[all …]
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderUtils.hpp52 _ivec4(int in_x, int in_y, int in_z, int in_w) in _ivec4()
55 y = in_y; in _ivec4()
92 _vec2(float in_x, float in_y) in _vec2()
95 y = in_y; in _vec2()
134 _vec4(float in_x, float in_y, float in_z, float in_w) in _vec4()
137 y = in_y; in _vec4()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Ddepthwiseconv_float.h68 const int in_y = in DepthwiseConv() local
72 if ((in_x >= 0) && (in_x < input_width) && (in_y >= 0) && in DepthwiseConv()
73 (in_y < input_height)) { in DepthwiseConv()
75 input_data[Offset(input_shape, b, in_y, in_x, ic)]; in DepthwiseConv()
Ddepthwiseconv_uint8.h143 const int in_y = in Run() local
147 if ((in_x >= 0) && (in_x < input_width) && (in_y >= 0) && in Run()
148 (in_y < input_height)) { in Run()
150 input_data[Offset(input_shape, b, in_y, in_x, ic)]; in Run()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dconv.h75 const int in_y = in ConvPerChannel() local
79 (in_x >= 0) && (in_x < input_width) && (in_y >= 0) && in ConvPerChannel()
80 (in_y < input_height); in ConvPerChannel()
82 int32 input_val = input_data[Offset(input_shape, batch, in_y, in ConvPerChannel()
Ddepthwise_conv.h74 const int in_y = in DepthwiseConvPerChannel() local
78 (in_x >= 0) && (in_x < input_width) && (in_y >= 0) && in DepthwiseConvPerChannel()
79 (in_y < input_height); in DepthwiseConvPerChannel()
81 int32 input_val = input_data[Offset(input_shape, batch, in_y, in DepthwiseConvPerChannel()
Dpooling.h62 const int in_y = in_y_origin + filter_y; in AveragePool() local
64 input_data[Offset(input_shape, batch, in_y, in_x, channel)]; in AveragePool()
122 const int in_y = in_y_origin + filter_y; in MaxPool() local
125 input_data[Offset(input_shape, batch, in_y, in_x, channel)]); in MaxPool()
/external/freetype/src/base/
Dftcalc.c978 FT_Pos in_y, in ft_corner_orientation() argument
984 FT_Int64 delta = (FT_Int64)in_x * out_y - (FT_Int64)in_y * out_x; in ft_corner_orientation()
997 ADD_LONG( FT_ABS( in_y ), FT_ABS( out_x ) ) <= 131071L ) in ft_corner_orientation()
1000 FT_Long z2 = MUL_LONG( in_y, out_x ); in ft_corner_orientation()
1017 ft_multo64( (FT_UInt32)in_y, (FT_UInt32)out_x, &z2 ); in ft_corner_orientation()
1042 FT_Pos in_y, in ft_corner_is_flat() argument
1047 FT_Pos ay = in_y + out_y; in ft_corner_is_flat()
1071 d_in = FT_HYPOT( in_x, in_y ); in ft_corner_is_flat()
/external/tensorflow/tensorflow/contrib/learn/python/learn/ops/
Dseq2seq_ops.py93 in_y = [sentinel] + y
95 return in_x, in_y, out_y
Dseq2seq_ops_test.py66 in_x, in_y, out_y = ops.seq2seq_inputs(x, y, 3, 2)
68 dec_inp = session.run(in_y, feed_dict={x.name: inp, y.name: out})
/external/tensorflow/tensorflow/contrib/pi_examples/label_image/
Dlabel_image.cc167 const float in_y = y * height_scale; in ReadTensorFromImageFile() local
168 const int top_y_index = static_cast<int>(floorf(in_y)); in ReadTensorFromImageFile()
170 std::min(static_cast<int>(ceilf(in_y)), (image_height - 1)); in ReadTensorFromImageFile()
171 const float y_lerp = in_y - top_y_index; in ReadTensorFromImageFile()

12