/third_party/ffmpeg/libavformat/ |
D | mtv.c | 47 unsigned int img_height; member 117 mtv->img_height = avio_rl16(pb); in mtv_read_header() 131 if (!mtv->img_width && mtv->img_height > 0 && mtv->img_bpp >= 8) in mtv_read_header() 133 / mtv->img_height; in mtv_read_header() 135 if (!mtv->img_height && mtv->img_width > 0 && mtv->img_bpp >= 8) in mtv_read_header() 136 mtv->img_height=mtv->img_segment_size / (mtv->img_bpp>>3) in mtv_read_header() 139 if(!mtv->img_height || !mtv->img_width || !mtv->img_segment_size){ in mtv_read_header() 172 st->codecpar->height = mtv->img_height; in mtv_read_header()
|
/third_party/mindspore/mindspore/dataset/vision/ |
D | py_transforms_util.py | 290 img_width, img_height = img.size 291 aspect_ratio = img_width / img_height # maintain the aspect ratio 292 if (img_width <= img_height and img_width == size) or \ 293 (img_height <= img_width and img_height == size): 295 if img_width < img_height: 323 img_width, img_height = img.size 325 crop_top = int(round((img_height - crop_height) / 2.)) 361 img_width, img_height = img.size 362 img_area = img_width * img_height 374 if 0 < width <= img_width and 0 < height <= img_height: [all …]
|
/third_party/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_tex_layout.c | 160 GLuint img_height; in i945_miptree_layout_2d() local 165 img_height = ALIGN(height, mt->align_h); in i945_miptree_layout_2d() 167 img_height /= mt->align_h; in i945_miptree_layout_2d() 172 mt->total_height = MAX2(mt->total_height, y + img_height); in i945_miptree_layout_2d() 180 y += img_height; in i945_miptree_layout_2d()
|
D | i915_tex_layout.c | 204 GLuint img_height; in i915_miptree_layout_2d() local 216 img_height = ALIGN(height, 4) / 4; in i915_miptree_layout_2d() 218 img_height = ALIGN(height, 2); in i915_miptree_layout_2d() 220 mt->total_height += img_height; in i915_miptree_layout_2d()
|
/third_party/mindspore/tests/st/fl/cross_silo_faster_rcnn/src/ |
D | dataset.py | 163 …img_data, scale_factor = mmcv.imrescale(img, (config.img_width, config.img_height), return_scale=T… 164 if img_data.shape[0] > config.img_height: 165 …img_data, scale_factor2 = mmcv.imrescale(img_data, (config.img_height, config.img_height), return_… 172 pad_h = config.img_height - img_data.shape[0] 176 pad_img_data = np.zeros((config.img_height, config.img_width, 3)).astype(img_data.dtype) 179 img_shape = (config.img_height, config.img_width, 1.0) 186 …img_data, scale_factor = mmcv.imrescale(img, (config.img_width, config.img_height), return_scale=T… 187 if img_data.shape[0] > config.img_height: 188 …img_data, scale_factor2 = mmcv.imrescale(img_data, (config.img_height, config.img_height), return_… 191 pad_h = config.img_height - img_data.shape[0] [all …]
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/soft_dvpp/ |
D | soft_dvpp_decode_random_crop_resize_jpeg_op.cc | 43 int img_height = 0; in GetCropInfo() local 44 RETURN_IF_NOT_OK(GetJpegImageInfo(input, &img_width, &img_height)); in GetCropInfo() 52 …RETURN_IF_NOT_OK(random_crop_resize->GetCropBox(img_height, img_width, &x, &y, &crop_heigh, &crop_… in GetCropInfo()
|
/third_party/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_blit.c | 241 static inline void calc_tex_coords(float img_width, float img_height, in calc_tex_coords() argument 248 buf[2] = y / img_height; in calc_tex_coords() 249 buf[3] = buf[2] + reg_height / img_height; in calc_tex_coords()
|
/third_party/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_blit.c | 392 static inline void calc_tex_coords(float img_width, float img_height, argument 399 buf[2] = y / img_height; 400 buf[3] = buf[2] + reg_height / img_height;
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/ |
D | lite_image_utils.h | 78 Status GetJpegImageInfo(const std::shared_ptr<Tensor> &input, int *img_width, int *img_height);
|
D | image_utils.h | 335 Status GetJpegImageInfo(const std::shared_ptr<Tensor> &input, int *img_width, int *img_height);
|
D | lite_image_utils.cc | 309 Status GetJpegImageInfo(const std::shared_ptr<Tensor> &input, int *img_width, int *img_height) { in GetJpegImageInfo() argument 323 *img_height = cinfo.output_height; in GetJpegImageInfo()
|
D | image_utils.cc | 1449 Status GetJpegImageInfo(const std::shared_ptr<Tensor> &input, int *img_width, int *img_height) { in GetJpegImageInfo() argument 1463 *img_height = cinfo.output_height; in GetJpegImageInfo()
|
/third_party/mesa3d/src/mapi/glapi/gen/ |
D | gl_API.dtd | 58 img_height NMTOKEN #IMPLIED attribute 109 img_width / img_height / img_depth / img_extent - name of parameters
|
/third_party/mindspore/tests/st/fl/cross_silo_faster_rcnn/src/FasterRcnn/ |
D | proposal_generator.py | 88 self.decode = P.BoundingBoxDecode(max_shape=(cfg.img_height, cfg.img_width), \
|
D | faster_rcnn_resnet50v1.py | 119 …self.decode = P.BoundingBoxDecode(max_shape=(config.img_height, config.img_width), means=self.targ…
|
D | faster_rcnn_resnet.py | 118 …self.decode = P.BoundingBoxDecode(max_shape=(config.img_height, config.img_width), means=self.targ…
|
/third_party/mindspore/third_party/proto/caffe/ |
D | caffe.proto | 1504 // By default, we calculate img_height, img_width, step_x, step_y based on
|