/dports/www/elgg/elgg-3.3.23/vendor/elgg/elgg/engine/classes/Elgg/ |
H A D | ImageService.php | 186 $crop_height = $y2 - $y1; 187 if ($crop_width <= 0 || $crop_height <= 0 || $crop_width > $width || $crop_height > $height) { 193 $crop_height = $height; 204 $crop_width = $crop_height = min($crop_width, $crop_height); 209 $y1 = floor(($height - $crop_height) / 2); 213 if ($crop_height / $max_height > $crop_width / $max_width) { 214 $max_width = floor($max_height * $crop_width / $crop_height); 216 $max_height = floor($max_width * $crop_height / $crop_width); 220 if (!$upscale && ($crop_height < $max_height || $crop_width < $max_width)) { 222 $max_height = $crop_height; [all …]
|
/dports/www/webtrees20/webtrees-2.0.19/webtrees/vendor/intervention/image/src/Intervention/Image/Imagick/Commands/ |
H A D | TrimCommand.php | 83 list($crop_width, $crop_height) = [$trimed->width, $trimed->height]; 92 $crop_height = $crop_height + ($height - ($height - $crop_y)); 103 $crop_height = $crop_height + $crop_y; 109 $crop_height = min($height, ($crop_height + $feather * 2)); 114 $image->getCore()->cropImage($crop_width, $crop_height, $crop_x, $crop_y);
|
/dports/deskutils/gnome-photos/gnome-photos-40.0/src/ |
H A D | photos-tool-crop.c | 101 gdouble crop_height; member 369 self->crop_height_visible = self->crop_height; in photos_tool_crop_init_crop() 421 self->crop_height = crop_height_new; in photos_tool_crop_set_vert_from_horiz() 443 crop_height_old = self->crop_height; in photos_tool_crop_set_crop() 591 self->crop_height = event_y - self->crop_y; in photos_tool_crop_set_crop() 615 self->crop_height += self->crop_y; in photos_tool_crop_set_crop() 691 if (self->crop_height < CROP_MIN_SIZE in photos_tool_crop_set_crop() 698 self->crop_height = crop_height_old; in photos_tool_crop_set_crop() 920 g_return_if_fail (self->crop_height >= 0.0); in photos_tool_crop_start_constraint_animation() 1124 self->crop_height *= zoom; in photos_tool_crop_process() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/brad/app/ |
H A D | brad_ms_app.cxx | 76 int crop_height = 1585; in main() local 77 mask = vil_crop(mask, crop_x, crop_width, crop_y, crop_height); in main() 78 cal_img = vil_crop(cal_img, crop_x, crop_width, crop_y, crop_height); in main() 81 brad_template_bb(mask, crop_x, crop_y, crop_width, crop_height); in main() 86 vil_image_view<float> chip = vil_crop(cal_img, crop_x, crop_width, crop_y, crop_height); in main() 97 vil_image_view<vxl_byte> chip_mask = vil_crop(mask, crop_x, crop_width, crop_y, crop_height); in main()
|
/dports/graphics/simple-scan/simple-scan-40.7/src/ |
H A D | page.vala | 119 crop_height = t; 133 crop_height = t; 220 this.crop_height = (crop_y + crop_height > scan_height) ? scan_height : crop_height; 366 crop_height = 0; 381 crop_height = height; 389 if (crop_height < ph) 457 if (crop_height < ph) 482 crop_width = crop_height; 483 crop_height = t; 503 crop_height = h; [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/media/webrtc/trunk/webrtc/tools/barcode_tools/ |
H A D | yuv_cropper.py | 47 def crop_frames(yuv_file_name, output_file_name, width, height, crop_height): argument 63 component_sizes = [(width, height, crop_height), 64 (width/2, height/2, crop_height/2), 65 (width/2, height/2, crop_height/2)] 120 options.height, options.crop_height)
|
/dports/www/firefox-legacy/firefox-52.8.0esr/media/webrtc/trunk/webrtc/tools/barcode_tools/ |
H A D | yuv_cropper.py | 47 def crop_frames(yuv_file_name, output_file_name, width, height, crop_height): argument 63 component_sizes = [(width, height, crop_height), 64 (width/2, height/2, crop_height/2), 65 (width/2, height/2, crop_height/2)] 120 options.height, options.crop_height)
|
/dports/devel/efl/efl-1.25.1/src/generic/evas/pdf/ |
H A D | main.cpp | 39 int crop_width = 0, crop_height = 0; variable 107 crop_height = ch; in poppler_init() 142 shm_alloc(crop_width * crop_height * sizeof(DATA32)); in poppler_load_image() 148 for (y = 0; y < crop_height; y++) \ in poppler_load_image() 160 for (y = 0; y < crop_height; y++) in poppler_load_image() 309 D("crop...: %ix%i\n", crop_width, crop_height); in main() 312 printf("size %i %i\n", crop_width, crop_height); in main() 328 if (fwrite(data, crop_width * crop_height * sizeof(DATA32), 1, stdout) != 1) in main() 332 D("fwrite failed (%d bytes): %m\n", crop_width * crop_height * sizeof(DATA32)); in main()
|
/dports/lang/spidermonkey60/firefox-60.9.0/media/webrtc/trunk/webrtc/sdk/android/src/jni/ |
H A D | androidvideotracksource.cc | 68 int crop_height; in OnByteBufferFrameCaptured() local 73 &adapted_height, &crop_width, &crop_height, &crop_x, in OnByteBufferFrameCaptured() 95 y_plane, width, uv_plane, uv_width * 2, crop_width, crop_height, in OnByteBufferFrameCaptured() 122 int crop_height; in OnTextureFrameCaptured() local 127 &adapted_height, &crop_width, &crop_height, &crop_x, in OnTextureFrameCaptured() 136 crop_height / static_cast<float>(height), in OnTextureFrameCaptured()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libvpx/source/libvpx/third_party/libyuv/source/ |
H A D | convert_to_argb.cc | 51 int crop_height, in ConvertToARGB() argument 59 int inv_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 72 int abs_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 75 src_height == 0 || crop_height == 0) { in ConvertToARGB()
|
/dports/www/firefox-esr/firefox-91.8.0/media/libyuv/libyuv/source/ |
H A D | convert_to_argb.cc | 41 int crop_height, in ConvertToARGB() argument 49 int inv_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 62 int abs_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 65 src_height == 0 || crop_height == 0) { in ConvertToARGB()
|
/dports/www/firefox-esr/firefox-91.8.0/media/libvpx/libvpx/third_party/libyuv/source/ |
H A D | convert_to_argb.cc | 51 int crop_height, in ConvertToARGB() argument 59 int inv_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 72 int abs_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 75 src_height == 0 || crop_height == 0) { in ConvertToARGB()
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/libvpx/third_party/libyuv/source/ |
H A D | convert_to_argb.cc | 51 int crop_height, in ConvertToARGB() argument 59 int inv_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 72 int abs_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 75 src_height == 0 || crop_height == 0) { in ConvertToARGB()
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/aom/third_party/libyuv/source/ |
H A D | convert_to_argb.cc | 36 int crop_width, int crop_height, in ConvertToARGB() argument 44 int inv_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 57 int abs_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 61 src_height == 0 || crop_height == 0) { in ConvertToARGB()
|
/dports/net-im/tg_owt/tg_owt-d578c76/src/third_party/libvpx/source/libvpx/third_party/libyuv/source/ |
H A D | convert_to_argb.cc | 51 int crop_height, in ConvertToARGB() argument 59 int inv_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 72 int abs_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 75 src_height == 0 || crop_height == 0) { in ConvertToARGB()
|
/dports/multimedia/libvpx/libvpx-1.11.0/third_party/libyuv/source/ |
H A D | convert_to_argb.cc | 51 int crop_height, in ConvertToARGB() argument 59 int inv_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 72 int abs_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 75 src_height == 0 || crop_height == 0) { in ConvertToARGB()
|
/dports/lang/spidermonkey60/firefox-60.9.0/media/libyuv/libyuv/source/ |
H A D | convert_to_argb.cc | 41 int crop_height, in ConvertToARGB() argument 49 int inv_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 62 int abs_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 65 crop_width <= 0 || src_height == 0 || crop_height == 0) { in ConvertToARGB()
|
/dports/lang/spidermonkey60/firefox-60.9.0/third_party/aom/third_party/libyuv/source/ |
H A D | convert_to_argb.cc | 36 int crop_width, int crop_height, in ConvertToARGB() argument 44 int inv_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 57 int abs_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 61 src_height == 0 || crop_height == 0) { in ConvertToARGB()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/libaom/source/libaom/third_party/libyuv/source/ |
H A D | convert_to_argb.cc | 36 int crop_width, int crop_height, in ConvertToARGB() argument 44 int inv_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 57 int abs_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 61 src_height == 0 || crop_height == 0) { in ConvertToARGB()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/libvpx/source/libvpx/third_party/libyuv/source/ |
H A D | convert_to_argb.cc | 51 int crop_height, in ConvertToARGB() argument 59 int inv_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 72 int abs_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 75 src_height == 0 || crop_height == 0) { in ConvertToARGB()
|
/dports/www/firefox/firefox-99.0/third_party/aom/third_party/libyuv/source/ |
H A D | convert_to_argb.cc | 36 int crop_width, int crop_height, in ConvertToARGB() argument 44 int inv_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 57 int abs_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 61 src_height == 0 || crop_height == 0) { in ConvertToARGB()
|
/dports/net/pjsip/pjproject-2.11.1/third_party/yuv/source/ |
H A D | convert_to_argb.cc | 41 int crop_height, in ConvertToARGB() argument 49 int inv_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 62 int abs_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 65 crop_width <= 0 || src_height == 0 || crop_height == 0) { in ConvertToARGB()
|
/dports/www/firefox/firefox-99.0/media/libyuv/libyuv/source/ |
H A D | convert_to_argb.cc | 41 int crop_height, in ConvertToARGB() argument 49 int inv_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 62 int abs_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 65 src_height == 0 || crop_height == 0) { in ConvertToARGB()
|
/dports/www/firefox/firefox-99.0/media/libvpx/libvpx/third_party/libyuv/source/ |
H A D | convert_to_argb.cc | 51 int crop_height, in ConvertToARGB() argument 59 int inv_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 72 int abs_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 75 src_height == 0 || crop_height == 0) { in ConvertToARGB()
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/aom/third_party/libyuv/source/ |
H A D | convert_to_argb.cc | 36 int crop_width, int crop_height, in ConvertToARGB() argument 44 int inv_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 57 int abs_crop_height = (crop_height < 0) ? -crop_height : crop_height; in ConvertToARGB() 61 src_height == 0 || crop_height == 0) { in ConvertToARGB()
|