/external/tensorflow/tensorflow/core/kernels/ |
D | resize_nearest_neighbor_op_gpu.cu.cc | 37 const int in_width, const int channels, const int out_height, in ResizeNearestNeighborNHWC() argument 49 const T* bottom_data_n = bottom_data + n * channels * in_height * in_width; in ResizeNearestNeighborNHWC() 58 in_width - 1), in ResizeNearestNeighborNHWC() 60 const int idx = (in_y * in_width + in_x) * channels + c; in ResizeNearestNeighborNHWC() 68 const int in_width, const int channels, const int out_height, in LegacyResizeNearestNeighborNHWC() argument 80 const T* bottom_data_n = bottom_data + n * channels * in_height * in_width; in LegacyResizeNearestNeighborNHWC() 88 in_width - 1); in LegacyResizeNearestNeighborNHWC() 89 const int idx = (in_y * in_width + in_x) * channels + c; in LegacyResizeNearestNeighborNHWC() 97 const int in_width, const int channels, const int out_height, in ResizeNearestNeighborBackwardNHWC() argument 104 int in_x = n % in_width; in ResizeNearestNeighborBackwardNHWC() [all …]
|
D | resize_bilinear_op_gpu.cu.cc | 38 int in_width, int channels, int out_height, int out_width, in ResizeBilinearKernel_faster() argument 61 (in_x < in_width - 1) ? ceilf(in_x) : in_width - 1; in ResizeBilinearKernel_faster() 74 ((float4*)images)[(((b * in_height + top_y_index) * in_width + in ResizeBilinearKernel_faster() 80 ((float4*)images)[(((b * in_height + top_y_index) * in_width + in ResizeBilinearKernel_faster() 86 ((float4*)images)[(((b * in_height + bottom_y_index) * in_width + in ResizeBilinearKernel_faster() 92 ((float4*)images)[(((b * in_height + bottom_y_index) * in_width + in ResizeBilinearKernel_faster() 118 float width_scale, int batch, int in_height, int in_width, int channels, in ResizeBilinearKernel() argument 140 (in_x < in_width - 1) ? ceilf(in_x) : in_width - 1; in ResizeBilinearKernel() 144 images[((b * in_height + top_y_index) * in_width + left_x_index) * in ResizeBilinearKernel() 148 images[((b * in_height + top_y_index) * in_width + right_x_index) * in ResizeBilinearKernel() [all …]
|
D | depthwise_conv_op_gpu.h | 92 const int in_width = args.in_cols; 128 input_row_end < in_height && input_col_end < in_width) { 139 in_depth * (in_col + in_width * (in_row + input_offset_temp)); 157 in_col < in_width) { 162 in_depth * (in_col + in_width * (in_row + input_offset_temp)); 203 const int in_width = args.in_cols; 218 const int block_size = block_height * in_width * kBlockDepth; 219 const int in_row_size = in_width * in_depth; 221 const int in_increment = (in_width - 1) * kBlockDepth; 223 const int tile_width = in_width + filter_width - 1; [all …]
|
D | resize_area_op.cc | 72 int64 offset = 3 * BOUND_IF_NEEDED(x_interp.start, st.in_width); in ComputePatchSumOf3Channels() 79 int64 offset = 3 * BOUND_IF_NEEDED(x, st.in_width); in ComputePatchSumOf3Channels() 85 offset = 3 * BOUND_IF_NEEDED(x_interp.end - 1, st.in_width); in ComputePatchSumOf3Channels() 123 BOUND_IF_NEEDED(x_interp.start, st.in_width) + in ComputePatchSum() 129 ptr[num_channels * BOUND_IF_NEEDED(x, st.in_width) + c]); in ComputePatchSum() 134 BOUND_IF_NEEDED(x_interp.end - 1, st.in_width) + in ComputePatchSum() 182 Bound(x_interp.start, st.in_width) != x_interp.start || in Compute() 183 Bound(x_interp.end - 1, st.in_width) != (x_interp.end - 1); in Compute() 243 input_ptr + (b * st.in_height * st.in_width * st.channels + in ComputeLoop() 244 Bound(i, st.in_height) * st.in_width * st.channels)); in ComputeLoop()
|
D | quantized_resize_bilinear_op_test.cc | 111 const int64 in_width, const int64 out_height, in CalcReferenceResizedVal() argument 117 half_pixel_centers, out_width, in_width, channels, x, width_scale); in CalcReferenceResizedVal() 121 const int64 in_row_size = in_width * channels; in CalcReferenceResizedVal() 145 const int64 in_height, const int64 in_width, in CheckTensorValue() argument 155 CalculateResizeScale(in_width, out_width, align_corners); in CheckTensorValue() 162 in_data, half_pixel_centers, batch_size, in_height, in_width, in CheckTensorValue() 296 void RunTestResizeBilinearTwoDims(int batch_size, int in_height, int in_width, in RunTestResizeBilinearTwoDims() argument 302 const float max = batch_size * in_height * in_width * channels / RATIO; in RunTestResizeBilinearTwoDims() 305 batch_size, in_height, in_width, channels, RATIO, min, max); in RunTestResizeBilinearTwoDims() 313 batch_size, in_height, in_width, out_height, out_width, channels, in RunTestResizeBilinearTwoDims() [all …]
|
D | resize_area_op_test.cc | 67 const int64 in_width = input_data.dimension(2); in ResizeAreaBaseline() local 77 const float width_scale = in_width / static_cast<float>(out_width); in ResizeAreaBaseline() 134 BOUND(j, in_width), c)) * in ResizeAreaBaseline() 149 void RunRandomTest(int in_height, int in_width, int target_height, in RunRandomTest() argument 152 SetRandomImageInput(TensorShape({1, in_height, in_width, channels})); in RunRandomTest()
|
D | resize_nearest_neighbor_op.cc | 55 OP_REQUIRES(context, st.in_height < (1 << 24) && st.in_width < (1 << 24), in Compute() 140 const Eigen::Index in_width = input.dimension(2); in operator ()() local 164 in_width - 1); in operator ()() 190 in_width - 1); in operator ()() 244 const int64 in_width = input.dim_size(2); in Compute() local 266 CalculateResizeScale(out_width, in_width, align_corners_); in Compute() 322 const Eigen::Index in_width = input.dimension(2); in operator ()() local 336 for (Eigen::Index x = 0; x < in_width; ++x) { in operator ()()
|
D | resize_bicubic_op_test.cc | 117 const int64 in_width = images.dimension(2); in ResizeBicubicBaseline() local 127 const float width_scale = in_width / static_cast<float>(out_width); in ResizeBicubicBaseline() 139 GetWeightsAndIndices(width_scale, x, in_width, &x_weights, in ResizeBicubicBaseline() 162 const int64 in_width, const int target_height, in RunRandomTest() argument 164 LOG(INFO) << "Running random test " << in_height << "x" << in_width << "x" in RunRandomTest() 168 TensorShape({batch_size, in_height, in_width, channels})); in RunRandomTest()
|
D | resize_bilinear_op.cc | 113 const int64 in_height, const int64 in_width, const int64 out_height, 121 const int64 in_width, const int64 out_height, in resize_image() argument 126 const int64 in_row_size = in_width * channels; in resize_image() 218 const int64 in_width = images.dimension(2); in operator ()() local 225 if (out_height == in_height && out_width == in_width) { in operator ()() 237 compute_interpolation_weights(HalfPixelScaler(), out_width, in_width, in operator ()() 243 compute_interpolation_weights(LegacyScaler(), out_width, in_width, in operator ()() 252 resize_image<T>(images, batch_size, in_height, in_width, out_height, in operator ()()
|
D | quantized_resize_bilinear_op.cc | 469 const int64 in_width, const int64 out_height, in ResizeImageReference() argument 478 out_width, in_width, width_scale, channels, 0, half_pixel_centers); in ResizeImageReference() 482 const int64 in_row_size = in_width * channels; in ResizeImageReference() 518 const int64 in_width, const int64 out_height, in ResizeImage() argument 524 ResizeImageReference<T>(images, batch_size, in_height, in_width, out_height, in ResizeImage() 532 const int64 in_width, const int64 out_height, in ResizeImage() argument 545 BuildLerpCache<int32>(out_width, in_width, width_scale, channels, in ResizeImage() 550 const int64 in_row_size = in_width * channels; in ResizeImage() 595 const int64 in_width, const int64 out_height, in ResizeImage() argument 608 BuildLerpCache<int16>(out_width, in_width, width_scale, channels, in ResizeImage() [all …]
|
D | image_resizer_state.h | 108 in_width = static_cast<int32>(input.dim_size(2)); in ValidateAndCalculateOutputSize() 119 width_scale = CalculateResizeScale(in_width, out_width, align_corners_); in ValidateAndCalculateOutputSize() 149 int64 in_width; member
|
/external/libaom/libaom/av1/encoder/ |
D | cnn.c | 23 int in_width; member 150 static void find_layer_output_size(int in_width, int in_height, in find_layer_output_size() argument 157 *out_width = (in_width + layer_config->skip_width - 1) / in find_layer_output_size() 164 (in_width - layer_config->filter_width + layer_config->skip_width) / in find_layer_output_size() 176 *out_width = in_width * layer_config->skip_width; in find_layer_output_size() 180 *out_width = (in_width - 1) * layer_config->skip_width + in find_layer_output_size() 234 void av1_find_cnn_output_size(int in_width, int in_height, in av1_find_cnn_output_size() argument 240 i_width[0] = in_width + cnn_config->ext_width * 2; in av1_find_cnn_output_size() 350 convolve_ops->input, convolve_ops->in_width, convolve_ops->in_height, in convolve_layer() 356 static void convolve_layer_mt(const float **input, int in_width, int in_height, in convolve_layer_mt() argument [all …]
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | padding.h | 59 int dilation_rate_width, int in_height, int in_width, int filter_height, in ComputePaddingHeightWidth() argument 61 *out_width = ComputeOutSize(padding, in_width, filter_width, stride_width, in ComputePaddingHeightWidth() 73 ComputePaddingWithOffset(stride_width, dilation_rate_width, in_width, in ComputePaddingHeightWidth()
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_Conv3D.pbtxt | 6 Shape `[batch, in_depth, in_height, in_width, in_channels]`. 34 [batch, in_depth, in_height, in_width, in_channels]. 36 [batch, in_channels, in_depth, in_height, in_width].
|
D | api_def_Conv2DBackpropInput.pbtxt | 27 4-D with shape `[batch, in_height, in_width, in_channels]`. Gradient 59 [batch, in_height, in_width, in_channels]. 61 [batch, in_channels, in_height, in_width].
|
D | api_def_Conv2DBackpropFilter.pbtxt | 6 4-D with shape `[batch, in_height, in_width, in_channels]`. 60 [batch, in_height, in_width, in_channels]. 62 [batch, in_channels, in_height, in_width].
|
D | api_def_Dilation2DBackpropInput.pbtxt | 6 4-D with shape `[batch, in_height, in_width, depth]`. 24 4-D with shape `[batch, in_height, in_width, depth]`.
|
D | api_def_MaxPool.pbtxt | 39 [batch, in_height, in_width, in_channels]. 41 [batch, in_channels, in_height, in_width].
|
D | api_def_MaxPoolV2.pbtxt | 39 [batch, in_height, in_width, in_channels]. 41 [batch, in_channels, in_height, in_width].
|
D | api_def_AvgPool3D.pbtxt | 40 [batch, in_depth, in_height, in_width, in_channels]. 42 [batch, in_channels, in_depth, in_height, in_width].
|
D | api_def_AvgPool.pbtxt | 38 [batch, in_height, in_width, in_channels]. 40 [batch, in_channels, in_height, in_width].
|
D | api_def_MaxPool3D.pbtxt | 40 [batch, in_depth, in_height, in_width, in_channels]. 42 [batch, in_channels, in_depth, in_height, in_width].
|
D | api_def_MaxPoolGradV2.pbtxt | 51 [batch, in_height, in_width, in_channels]. 53 [batch, in_channels, in_height, in_width].
|
/external/webrtc/talk/media/base/ |
D | videoadapter.cc | 260 VideoFormat VideoAdapter::AdaptFrameResolution(int in_width, int in_height) { in AdaptFrameResolution() argument 265 in_width, in_height, input_format_.interval, input_format_.fourcc)); in AdaptFrameResolution() 295 << " Input: " << in_width in AdaptFrameResolution() 305 in_width, in_height, output_num_pixels_); in AdaptFrameResolution() 306 const int output_width = static_cast<int>(in_width * scale + .5f); in AdaptFrameResolution() 334 << " Input: " << in_width in AdaptFrameResolution()
|
/external/webrtc/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/ |
D | ViESurfaceRenderer.java | 61 int in_width, int in_height) { in surfaceChanged() argument 64 changeDestRect(in_width, in_height); in surfaceChanged() 67 " in_width:" + in_width + " in_height:" + in_height + in surfaceChanged()
|