HomeSort by relevance Sort by last modified time
    Searched refs:target_height (Results 1 - 18 of 18) sorted by null

  /external/libvpx/libvpx/test/
resize_util.sh 53 local target_height=$((${YUV_RAW_INPUT_HEIGHT} / 2))
55 resize_util "${target_width}x${target_height}"
61 local target_height=$((${YUV_RAW_INPUT_HEIGHT} * 2))
63 resize_util "${target_width}x${target_height}"
  /external/libvpx/libvpx/examples/
resize_util.c 25 printf("%s <input_yuv> <width>x<height> <target_width>x<target_height> ",
54 int width, height, target_width, target_height; local
71 if (!parse_dim(argv[3], &target_width, &target_height)) {
95 printf("Target size: %dx%d, Frames: ", target_width, target_height);
102 outbuf = (uint8_t *)malloc(target_width * target_height * 3 / 2);
105 outbuf_u = outbuf + target_width * target_height;
106 outbuf_v = outbuf_u + target_width * target_height / 4;
112 target_width / 2, target_height, target_width);
113 fwrite(outbuf, target_width * target_height * 3 / 2, 1, fpout);
  /external/tensorflow/tensorflow/core/kernels/
random_crop_op.cc 48 const int32 target_height = shape_vec(0); variable
59 TensorShape({target_height, target_width, channels});
63 if ((target_height == height) && (target_width == width)) {
70 // be [target_height, target_width] in size.
75 OP_REQUIRES(context, height >= target_height,
77 "height must be >= target_height: height = ", height,
78 ", target_height = ", target_height));
89 if (height > target_height) {
90 offset_height = random.Rand32() % (height - target_height + 1)
    [all...]
resize_area_op_test.cc 145 void RunRandomTest(int in_height, int in_width, int target_height,
149 AddInputFromArray<int32>(TensorShape({2}), {target_height, target_width});
155 TensorShape({1, target_height, target_width, channels})));
163 for (int target_height : {1, 2, 3, 50, 113}) {
164 for (int target_width : {target_height, target_height / 2 + 1}) {
165 RunRandomTest(in_h, in_w, target_height, target_width, channels);
resize_bicubic_op_test.cc 159 const int64 in_width, const int target_height,
162 << channels << " to " << target_height << "x" << target_width
166 AddInputFromArray<int32>(TensorShape({2}), {target_height, target_width});
173 TensorShape({batch_size, target_height, target_width, channels})));
189 for (int target_height : {1, 2, 3, 50, 113}) {
190 for (int target_width : {target_height, target_height / 2 + 1}) {
191 RunRandomTest(batch_size, in_h, in_w, target_height, target_width,
resize_bilinear_op_test.cc 131 for (int target_height : {1, 2, 3, 50, 113}) {
132 for (int target_width : {target_height, target_height / 2 + 1}) {
134 target_height);
sample_distorted_bounding_box_op.cc 363 const int target_height = crop_rect.max_y_ - crop_rect.min_y_; variable
373 OP_REQUIRES(context, height >= target_height + offset_height,
375 "height must be >= target_height: height = ", height, "vs ",
376 target_height, " + ", offset_height));
395 size_data(0) = T(target_height);
  /external/webrtc/webrtc/test/
frame_generator.h 46 // is the size of the source images, target_width/target_height is the size of
57 size_t target_height,
frame_generator.cc 138 size_t target_height,
151 RTC_DCHECK_GE(source_height, target_height);
157 static_cast<int>(target_height),
263 size_t target_height,
275 clock, files, source_width, source_height, target_width, target_height,
  /external/webrtc/webrtc/modules/video_processing/test/
video_processing_unittest.cc 32 int target_height,
43 // The |source_data| is cropped and scaled to |target_width| x |target_height|,
50 int target_height,
311 int target_height,
314 ASSERT_EQ(VPM_OK, vpm->SetTargetResolution(target_width, target_height, 30));
319 if (target_width == source.width() && target_height == source.height()) {
329 EXPECT_EQ(target_height, (out_frame)->height());
351 int target_height,
357 PreprocessFrameAndVerify(source_frame, target_width, target_height, vpm,
377 target_height);
    [all...]
  /external/tensorflow/tensorflow/python/ops/
image_ops_impl.py 549 def pad_to_bounding_box(image, offset_height, offset_width, target_height,
555 with zeros until it has dimensions `target_height`, `target_width`.
558 `target_height` by `target_width`.
565 target_height: Height of output image.
570 `[batch, target_height, target_width, channels]`
572 `[target_height, target_width, channels]`
599 after_padding_height = target_height - offset_height - height
621 for i in [batch, target_height, target_width, depth]
632 def crop_to_bounding_box(image, offset_height, offset_width, target_height,
639 `offset_height + target_height, offset_width + target_width`
    [all...]
image_ops_test.py     [all...]
  /external/webrtc/webrtc/modules/video_capture/
video_capture_impl.cc 264 int target_height = height; local
274 target_height = width;
284 abs(target_height),
  /hardware/qcom/display/msm8996/sdm/libs/hwc/
blit_engine_c2d.cpp 315 int target_height = 0; local
346 target_height += height;
349 dst_rects[processed_blit].top = FLOAT(target_height - height);
359 if (blit_needed && (AllocateBlitTargetBuffers(target_width, target_height,
371 layer->input_buffer->height = target_height;
  /hardware/qcom/display/msm8909/sdm/libs/hwc/
blit_engine_c2d.cpp 321 int target_height = 0; local
353 target_height += height;
372 if (blit_needed && (AllocateBlitTargetBuffers(target_width, target_height,
386 layer->input_buffer.unaligned_height = target_height;
  /hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
blit_engine_c2d.cpp 321 int target_height = 0; local
353 target_height += height;
372 if (blit_needed && (AllocateBlitTargetBuffers(target_width, target_height,
386 layer->input_buffer.unaligned_height = target_height;
  /external/tensorflow/tensorflow/python/kernel_tests/
decode_jpeg_op_test.py 100 target_height=crop_window[2],
  /external/tensorflow/tensorflow/go/op/
wrappers.go     [all...]

Completed in 596 milliseconds