HomeSort by relevance Sort by last modified time
    Searched refs:crop_height (Results 1 - 25 of 41) sorted by null

1 2

  /device/google/marlin/camera/QCamera2/HAL3/
QCamera3CropRegionMapper.cpp 123 * @crop_height : height of rectangle
128 int32_t& crop_width, int32_t& crop_height)
139 crop_height = crop_height * mActiveArrayH / mSensorH;
141 boundToSize(crop_left, crop_top, crop_width, crop_height,
154 * @crop_height : height of rectangle
160 int32_t& crop_width, int32_t& crop_height)
171 crop_height = crop_height * mSensorH / mActiveArrayH;
174 crop_left, crop_top, crop_width, crop_height);
    [all...]
QCamera3CropRegionMapper.h 48 int32_t& crop_width, int32_t& crop_height);
50 int32_t& crop_width, int32_t& crop_height);
  /external/webrtc/webrtc/tools/barcode_tools/
yuv_cropper.py 25 planes (Y, U, V) of the YUV file plus the crop_height scaled for every
26 plane. The sizes equal width, height and crop_height for the Y plane,
27 and are equal to width/2, height/2 and crop_height/2 for the U and V
41 # Only write the plane data for the rows bigger than crop_height.
47 def crop_frames(yuv_file_name, output_file_name, width, height, crop_height):
50 This function goes through all the frames in a video and crops the crop_height
59 crop_height(int): The height (the number of pixel rows) to be cropped from
63 component_sizes = [(width, height, crop_height),
64 (width/2, height/2, crop_height/2),
65 (width/2, height/2, crop_height/2)
    [all...]
  /external/tensorflow/tensorflow/core/kernels/
crop_and_resize_op_gpu.cu.cc 44 int image_width, int crop_height, int crop_width, int depth, int method_id,
47 // out_idx = d + depth * (w + crop_width * (h + crop_height * b))
53 const int y = idx % crop_height;
54 const int b = idx / crop_height;
67 (crop_height > 1) ? (y2 - y1) * (image_height - 1) / (crop_height - 1)
72 const float in_y = (crop_height > 1)
136 int image_width, int crop_height, int crop_width, int depth,
139 // out_idx = d + depth * (w + crop_width * (h + crop_height * b))
145 const int y = idx % crop_height;
360 const int crop_height = crops.dimension(1); local
398 const int crop_height = grads.dimension(1); local
448 const int crop_height = grads.dimension(1); local
    [all...]
crop_and_resize_op.cc 160 const int crop_height = internal::SubtleMustCopy(crop_size_vec(0)); variable
163 context, crop_height > 0 && crop_width > 0,
171 0, TensorShape({num_boxes, crop_height, crop_width, depth}),
214 const int crop_height = crops.dimension(1); local
232 (crop_height > 1)
233 ? (y2 - y1) * (image_height - 1) / (crop_height - 1)
239 for (int y = 0; y < crop_height; ++y) {
240 const float in_y = (crop_height > 1)
320 const double cost_per_box = crop_height * crop_width * cost_per_pixel;
345 // The shape of 'grads' is [num_boxes, crop_height, crop_width, depth]
359 const int crop_height = grads.dim_size(1); variable
439 const int crop_height = grads.dimension(1); local
541 const int crop_height = grads.dim_size(1); variable
614 const int crop_height = grads.dimension(1); local
    [all...]
crop_and_resize_op_benchmark_test.cc 25 int crop_height, int crop_width) {
42 crop_size_flat(0) = crop_height;
  /external/libaom/libaom/third_party/libyuv/source/
convert_to_argb.cc 36 int crop_width, int crop_height,
44 int inv_crop_height = (crop_height < 0) ? -crop_height : crop_height;
57 int abs_crop_height = (crop_height < 0) ? -crop_height : crop_height;
61 src_height == 0 || crop_height == 0) {
convert_to_i420.cc 35 int crop_width, int crop_height,
43 int inv_crop_height = (crop_height < 0) ? -crop_height : crop_height;
55 int abs_crop_height = (crop_height < 0) ? -crop_height : crop_height;
59 src_height == 0 || crop_height == 0) {
  /external/libvpx/libvpx/third_party/libyuv/source/
convert_to_argb.cc 51 int crop_height,
59 int inv_crop_height = (crop_height < 0) ? -crop_height : crop_height;
72 int abs_crop_height = (crop_height < 0) ? -crop_height : crop_height;
75 src_height == 0 || crop_height == 0) {
convert_to_i420.cc 41 int crop_height,
49 // TODO(nisse): Why allow crop_height < 0?
50 const int abs_crop_height = (crop_height < 0) ? -crop_height : crop_height;
67 crop_width <= 0 || src_height == 0 || crop_height == 0) {
  /external/libyuv/files/source/
convert_to_argb.cc 41 int crop_height,
49 int inv_crop_height = (crop_height < 0) ? -crop_height : crop_height;
62 int abs_crop_height = (crop_height < 0) ? -crop_height : crop_height;
65 crop_width <= 0 || src_height == 0 || crop_height == 0) {
convert_to_i420.cc 41 int crop_height,
49 // TODO(nisse): Why allow crop_height < 0?
50 const int abs_crop_height = (crop_height < 0) ? -crop_height : crop_height;
67 src_height == 0 || crop_height == 0) {
  /device/google/cuttlefish_common/guest/hals/hwcomposer/cutf_cvm/
vsoc_composer.cpp 151 int crop_height; member in struct:cvd::__anon2821::BufferSpec
163 crop_height(height),
191 v_flip ? -dst.crop_height : dst.crop_height);
205 int height = src.crop_height;
227 int height = src.crop_height;
244 int src_height = src.crop_height;
246 int dst_height = dst.crop_height;
264 int height = dest.crop_height;
281 int height = dest.crop_height;
    [all...]
  /device/google/cuttlefish_common/guest/hals/hwcomposer/vsoc/
vsoc_composer.cpp 153 int crop_height; member in struct:cvd::__anon2825::BufferSpec
165 crop_height(height),
193 v_flip ? -dst.crop_height : dst.crop_height);
207 int height = src.crop_height;
229 int height = src.crop_height;
246 int src_height = src.crop_height;
248 int dst_height = dst.crop_height;
266 int height = dest.crop_height;
283 int height = dest.crop_height;
    [all...]
  /external/libvpx/libvpx/test/
vpx_scale_test.h 115 static void ExtendPlane(uint8_t *buf, int crop_width, int crop_height,
124 const int bottom_extend = padding + (height - crop_height);
127 for (int y = 0; y < crop_height; ++y) {
146 uint8_t *bottom = left + (crop_height * stride);
148 memcpy(bottom, left + (crop_height - 1) * stride, extend_width);
  /external/libjpeg-turbo/
transupp.h 137 JDIMENSION crop_height; /* Height of selected region */ member in struct:__anon28868
djpeg.c 101 JDIMENSION crop_x, crop_y, crop_width, crop_height; variable
410 if (sscanf(argv[argn], "%u%c%u+%u+%u", &crop_width, &c, &crop_height,
412 (c != 'X' && c != 'x') || crop_width < 1 || crop_height < 1)
724 crop_y + crop_height > cinfo.output_height) {
740 cinfo.output_height = crop_height;
746 while (cinfo.output_scanline < crop_y + crop_height) {
751 jpeg_skip_scanlines(&cinfo, cinfo.output_height - crop_y - crop_height);
transupp.c     [all...]
  /external/tensorflow/tensorflow/core/lib/jpeg/
jpeg_mem.h 74 int crop_height = 0; member in struct:tensorflow::jpeg::UncompressFlags
jpeg_mem_unittest.cc 132 int crop_height) {
140 flags.crop_height = crop_height;
157 ASSERT_EQ(h, crop_height);
162 for (int i = 0; i < crop_height; i++) {
253 flags.crop_height = h;
283 // Invalid crop window height: y + crop_height= h + 1 > h
jpeg_mem.cc 78 return flags.crop_width > 0 && flags.crop_height > 0 && flags.crop_x >= 0 &&
80 flags.crop_y + flags.crop_height <= input_image_height &&
195 target_output_height = flags.crop_height;
359 cinfo.output_height - flags.crop_y - flags.crop_height);
442 target_output_height = flags.crop_height;
  /frameworks/av/services/camera/libcameraservice/utils/
ExifUtils.h 93 virtual bool setDigitalZoomRatio(uint32_t crop_width, uint32_t crop_height,
  /external/tensorflow/tensorflow/python/ops/
image_grad_test.py 333 crop_height = 4
339 crop_size = [crop_height, crop_width]
340 crops_shape = [num_boxes, crop_height, crop_width, depth]
411 for crop_height in range(1, 3):
418 crop_size = [crop_height, crop_width]
419 crops_shape = [num_boxes, crop_height, crop_width, depth]
  /device/linaro/hikey/gralloc960/
gralloc_buffer_priv.h 34 int crop_height; member in struct:attr_region
  /external/libaom/libaom/third_party/libyuv/include/libyuv/
convert_argb.h 212 // "crop_width" / "crop_height" is the size to crop the src to.
223 int crop_width, int crop_height,

Completed in 480 milliseconds

1 2