/external/libxcam/modules/soft/ |
soft_blender_tasks_priv.cpp | 43 uint32_t in_x = x * 4, in_y = y * 4; local 47 in_luma->read_array<float, 7> (in_x - 2, in_y - 2, line); 49 in_luma->read_array<float, 7> (in_x - 2, in_y - 1, line); 51 in_luma->read_array<float, 7> (in_x - 2, in_y, line); 54 in_luma->read_array<float, 7> (in_x - 2, in_y + 1, line); 57 in_luma->read_array<float, 7> (in_x - 2, in_y + 2, line); 60 in_luma->read_array<float, 7> (in_x - 2, in_y + 3, line); 62 in_luma->read_array<float, 7> (in_x - 2, in_y + 4, line); 112 int32_t in_x = x * 2, in_y = y * 2; local 116 in_uv->read_array<Float2, 5> (in_x - 2, in_y - 2, uv_line) 219 uint32_t in_x = x * 8; local 444 uint32_t in_x = x * 8, in_y = y * 4; local [all...] |
/external/libxcam/cl_kernel/ |
kernel_bayer_pipe.cl | 131 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...] |
kernel_gauss_lap_pyramid.cl | 52 int in_x = g_x + in_offset_x; 60 write_imageui (dump_orig, (int2)(g_x, g_y + 0), read_imageui(input, sampler, (int2)(in_x, g_y))); 61 write_imageui (dump_orig, (int2)(g_x, g_y + 1), read_imageui(input, sampler, (int2)(in_x, g_y + 1))); 62 write_imageui (dump_orig, (int2)(g_x, g_y + 2), read_imageui(input, sampler, (int2)(in_x, g_y + 2))); 63 write_imageui (dump_orig, (int2)(g_x, g_y + 3), read_imageui(input, sampler, (int2)(in_x, g_y + 3))); 79 tmp_data = convert_float8(as_uchar8(convert_ushort4(read_imageui(input, sampler, (int2)(in_x - 1, cur_g_y))))); 82 tmp_data = convert_float8(as_uchar8(convert_ushort4(read_imageui(input, sampler, (int2)(in_x, cur_g_y))))); 85 tmp_data = convert_float8(as_uchar8(convert_ushort4(read_imageui(input, sampler, (int2)(in_x + 1, cur_g_y))))); 557 int in_x = g_x; 576 tmp_data = convert_float8(as_uchar8(convert_ushort4(read_imageui(input, sampler, (int2)(in_x - 1, cur_g_y))))) [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
crop_and_resize_op_gpu.cu.cc | 75 const float in_x = (crop_width > 1) local 78 if (in_x < 0 || in_x > image_width - 1) { 87 const int left_x_index = floorf(in_x); 88 const int right_x_index = ceilf(in_x); 89 const float x_lerp = in_x - left_x_index; 156 const float in_x = (crop_width > 1) local 159 if (in_x < 0 || in_x > image_width - 1) { 167 const int left_x_index = floorf(in_x); 246 const float in_x = (crop_width > 1) local [all...] |
batch_matmul_op_impl.h | 74 static void Run(const OpKernelContext* context, const Tensor& in_x, 78 auto Tx = in_x.tensor<Scalar, 3>(); 110 static void Run(const OpKernelContext* context, const Tensor& in_x, 113 auto Tx = in_x.tensor<Scalar, 3>(); 170 static void Run(const Tensor& in_x, const Tensor& in_y, bool adj_x, 173 auto x = ConstTensorSliceToEigenMatrix(in_x, i); 201 static void Launch(OpKernelContext* context, const Tensor& in_x, 208 const int64 batch_size = in_x.dim_size(0); 210 in_x.dim_size(1) * in_x.dim_size(2) * out->dim_size(2) [all...] |
resize_nearest_neighbor_op_gpu.cu.cc | 55 const int in_x = local 59 const int idx = (in_y * in_width + in_x) * channels + c; 74 int in_x = n % in_width; local 85 min((align_corners) ? static_cast<int>(roundf(in_x * width_scale)) 86 : static_cast<int>(floorf(in_x * width_scale)),
|
crop_and_resize_op.cc | 256 const float in_x = (crop_width > 1) 259 if (in_x < 0 || in_x > image_width - 1) { 265 const int left_x_index = floorf(in_x); 266 const int right_x_index = ceilf(in_x); 267 const float x_lerp = in_x - left_x_index; 446 const float in_x = (crop_width > 1) local 449 if (in_x < 0 || in_x > image_width - 1) { 452 const int left_x_index = floorf(in_x); 618 const float in_x = (crop_width > 1) local [all...] |
resize_bilinear_op_gpu.cu.cc | 57 const float in_x = x * width_scale; local 58 const int left_x_index = floorf(in_x); 60 (in_x < in_width - 1) ? ceilf(in_x) : in_width - 1; 61 const float x_lerp = in_x - left_x_index;
|
resize_area_op.cc | 160 const float in_x = x * st.width_scale; variable 164 int64 v = floor(in_x); 168 v < in_x ? (v + 1 > in_x1 ? st.width_scale : v + 1 - in_x) 175 v < in_x ? (v + 1 > in_x1 ? st.width_scale : v + 1 - in_x)
|
resize_area_op_test.cc | 110 const float in_x = x * width_scale; local 114 int64 x_start = floor(in_x); 123 float scale_x = j < in_x 124 ? (j + 1 > in_x1 ? width_scale : j + 1 - in_x)
|
conv_ops_fused.cc | 234 // Implement mirror padding by flipping in_x if it's off the edge. 235 float in_x = (cache_x - left_padding); local 236 if (in_x < 0) { 237 in_x = -(in_x + 1.0f - pad_offset); 238 } else if (in_x >= resized_width) { 239 in_x = (resized_width * 2.0f) - (in_x + 1.0f + pad_offset); 242 in_x *= st.width_scale; 244 result.left_x_index = static_cast<int64>(std::floor(in_x)); [all...] |
resize_bilinear_op.cc | 306 const float in_x = x * width_scale; local 307 const int64 left_x_index = static_cast<int64>(floorf(in_x)); 309 std::min(static_cast<int64>(ceilf(in_x)), original_width - 1); 310 const float x_lerp = in_x - left_x_index;
|
resize_bilinear_op_test.cc | 89 const float in_x = x * width_scale; local 90 const int64 left_x_index = static_cast<int64>(floorf(in_x)); 92 std::min(static_cast<int64>(ceilf(in_x)), in_width - 1); 93 const float x_lerp = in_x - left_x_index;
|
resize_nearest_neighbor_op.cc | 106 const int64 in_x = std::min( local 110 std::copy_n(&input(b, in_y, in_x, 0), channels, &output(b, y, x, 0));
|
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/ |
esextcTessellationShaderUtils.hpp | 47 * @param in_x Value to use for X component; 52 _ivec4(int in_x, int in_y, int in_z, int in_w) 54 x = in_x; 89 * @param in_x Value to use for X component; 92 _vec2(float in_x, float in_y) 94 x = in_x; 129 * @param in_x Value to use for X component; 134 _vec4(float in_x, float in_y, float in_z, float in_w) 136 x = in_x;
|
/external/libconstrainedcrypto/include/constrainedcrypto/ |
p256.h | 129 // {out_x,out_y} := n{in_x,in_y} 131 const p256_int *in_x, 136 // {out_x,out_y} := n1G + n2{in_x,in_y} 139 const p256_int *in_x, const p256_int *in_y,
|
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/reference/ |
depthwiseconv_float.h | 55 const int in_x = in_x_origin + filter_x; local 59 if ((in_x >= 0) && (in_x < input_width) && (in_y >= 0) && 62 input_data[Offset(input_dims, ic, in_x, in_y, b)];
|
depthwiseconv_uint8.h | 61 const int in_x = in_x_origin + filter_x; local 65 if ((in_x >= 0) && (in_x < input_width) && (in_y >= 0) && 68 input_data[Offset(input_dims, ic, in_x, in_y, b)];
|
/external/eigen/unsupported/test/ |
cxx11_tensor_cuda.cu | 718 Tensor<Scalar, 1> in_x(6); 724 in_x(0) = Scalar(1); 725 in_x(1) = Scalar(1.5); 726 in_x(2) = Scalar(4); 727 in_x(3) = Scalar(-10.5); 728 in_x(4) = Scalar(10000.5); 729 in_x(5) = Scalar(3); 745 std::size_t bytes = in_x.size() * sizeof(Scalar); 754 cudaMemcpy(d_in_x, in_x.data(), bytes, cudaMemcpyHostToDevice); 786 Tensor<Scalar, 1> in_x(7) [all...] |
/external/freetype/src/base/ |
ftcalc.c | 911 ft_corner_orientation( FT_Pos in_x, 918 FT_Int64 delta = (FT_Int64)in_x * out_y - (FT_Int64)in_y * out_x; 930 if ( ADD_LONG( FT_ABS( in_x ), FT_ABS( out_y ) ) <= 131071L && 933 FT_Long z1 = MUL_LONG( in_x, out_y ); 950 ft_multo64( (FT_UInt32)in_x, (FT_UInt32)out_y, &z1 ); 975 ft_corner_is_flat( FT_Pos in_x, 980 FT_Pos ax = in_x + out_x; 1005 d_in = FT_HYPOT( in_x, in_y );
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/ops/ |
seq2seq_ops.py | 77 in_x = array_ops.unstack(x, axis=1) 87 return in_x, in_y, out_y
|
seq2seq_ops_test.py | 66 in_x, in_y, out_y = ops.seq2seq_inputs(x, y, 3, 2) 67 enc_inp = session.run(in_x, feed_dict={x.name: inp})
|
/external/tensorflow/tensorflow/contrib/lite/examples/ios/simple/ |
RunModelViewController.mm | 170 const int in_x = (x * image_width) / wanted_width; 171 uint8_t* in_pixel = in_row + (in_x * image_channels);
|
/external/tensorflow/tensorflow/contrib/pi_examples/label_image/ |
label_image.cc | 176 const float in_x = x * width_scale; local 177 const int left_x_index = static_cast<int>(floorf(in_x)); 179 std::min(static_cast<int>(ceilf(in_x)), (image_width - 1)); 188 const float x_lerp = in_x - left_x_index;
|
/external/tensorflow/tensorflow/examples/ios/simple/ |
RunModelViewController.mm | 192 const int in_x = (x * image_width) / wanted_width; 193 tensorflow::uint8* in_pixel = in_row + (in_x * image_channels);
|