Searched refs:aspect_ratio (Results 1 – 11 of 11) sorted by relevance
/external/tensorflow/tensorflow/core/kernels/ |
D | sample_distorted_bounding_box_op.cc | 112 float max_relative_crop_area, float aspect_ratio, in GenerateRandomCrop() argument 114 if (max_relative_crop_area <= 0.0 || aspect_ratio <= 0.0 || in GenerateRandomCrop() 125 int height = static_cast<int>(lrintf(sqrt(min_area / aspect_ratio))); in GenerateRandomCrop() 126 int max_height = static_cast<int>(lrintf(sqrt(max_area / aspect_ratio))); in GenerateRandomCrop() 128 if (lrintf(max_height * aspect_ratio) > original_width) { in GenerateRandomCrop() 132 max_height = static_cast<int>((original_width + 0.5 - kEps) / aspect_ratio); in GenerateRandomCrop() 148 int width = static_cast<int>(lrintf(height * aspect_ratio)); in GenerateRandomCrop() 157 width = static_cast<int>(lrintf(height * aspect_ratio)); in GenerateRandomCrop() 166 width = static_cast<int>(lrintf(height * aspect_ratio)); in GenerateRandomCrop()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/model/ |
D | VUIParameters.java | 62 public AspectRatio aspect_ratio; field in VUIParameters 91 ", aspect_ratio=" + aspect_ratio + "\n" + in toString()
|
D | SeqParameterSet.java | 198 vuip.aspect_ratio = AspectRatio.fromValue((int) reader.readNBit(8, in ReadVUIParameters() 200 if (vuip.aspect_ratio == AspectRatio.Extended_SAR) { in ReadVUIParameters() 406 writer.writeNBit(vuip.aspect_ratio.getValue(), 8, in writeVUIParameters() 408 if (vuip.aspect_ratio == AspectRatio.Extended_SAR) { in writeVUIParameters()
|
/external/ImageMagick/coders/ |
D | fpx.c | 249 aspect_ratio; in ReadFPXImage() local 254 aspect_ratio=(float) width/height; in ReadFPXImage() 255 fpx_status=FPX_GetImageResultAspectRatio(flashpix,&aspect_ratio); in ReadFPXImage() 258 if (width != (size_t) floor((aspect_ratio*height)+0.5)) in ReadFPXImage() 997 aspect_ratio; in WriteFPXImage() local 1034 aspect_ratio=(double) image->columns/image->rows; in WriteFPXImage() 1037 view_rect.width=aspect_ratio-0.2; in WriteFPXImage() 1076 fpx_status=FPX_SetImageResultAspectRatio(flashpix,&aspect_ratio); in WriteFPXImage()
|
D | rla.c | 133 aspect_ratio[8+1], in ReadRLAImage() member 245 (void) ReadBlob(image,8,(unsigned char *) rla_info.aspect_ratio); in ReadRLAImage()
|
D | dpx.c | 268 aspect_ratio[2]; member 938 dpx.orientation.aspect_ratio[i]=ReadBlobLong(image); in ReadDPXImage() 941 if ((dpx.orientation.aspect_ratio[0] != ~0U) && in ReadDPXImage() 942 (dpx.orientation.aspect_ratio[1] != ~0U)) in ReadDPXImage() 944 "%ux%u",dpx.orientation.aspect_ratio[0], in ReadDPXImage() 945 dpx.orientation.aspect_ratio[1]); in ReadDPXImage() 1794 dpx.orientation.aspect_ratio[i]=0U; in WriteDPXImage() 1801 dpx.orientation.aspect_ratio[0]=(unsigned int) (geometry_info.rho+0.5); in WriteDPXImage() 1802 dpx.orientation.aspect_ratio[1]=(unsigned int) (geometry_info.sigma+0.5); in WriteDPXImage() 1805 offset+=WriteBlobLong(image,dpx.orientation.aspect_ratio[i]); in WriteDPXImage()
|
/external/webrtc/talk/app/webrtc/ |
D | videosource_unittest.cc | 328 double aspect_ratio = static_cast<double>(format->width) / format->height; in TEST_F() local 329 EXPECT_LT(aspect_ratio, 2); in TEST_F() 363 double aspect_ratio = static_cast<double>(format->width) / format->height; in TEST_F() local 364 EXPECT_LE(requested_aspect_ratio, aspect_ratio); in TEST_F()
|
/external/kernel-headers/original/uapi/linux/dvb/ |
D | video.h | 49 video_format_t aspect_ratio; member
|
/external/autotest/client/site_tests/camera_V4L2/src/ |
D | media_v4l2_test.cc | 211 float aspect_ratio = static_cast<float>(format.width) / format.height; in GetResolutionForCropping() local 212 if (std::fabs(sensor_aspect_ratio - aspect_ratio) < kAspectRatioMargin) { in GetResolutionForCropping()
|
/external/tensorflow/tensorflow/python/ops/ |
D | image_ops_test.py | 2056 aspect_ratio = float(crop_width) / float(crop_height) 2059 aspect_ratios.append(aspect_ratio) 2079 aspect_ratio = float(crop_width) / float(crop_height) 2082 aspect_ratios.append(aspect_ratio)
|
/external/libpng/ |
D | libpng-manual.txt | 1638 aspect_ratio = png_get_pixel_aspect_ratio(png_ptr,
|