Home
last modified time | relevance | path

Searched refs:img_width (Results 1 – 25 of 63) sorted by relevance

123

/third_party/skia/third_party/externals/libjpeg-turbo/simd/
Djsimd.h36 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
39 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
42 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
45 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
48 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
51 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
54 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
59 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
62 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
65 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
[all …]
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/simd/
Djsimd.h35 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
38 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
41 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
44 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
47 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
50 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
53 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
58 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
61 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
64 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
[all …]
/third_party/libjpeg-turbo/simd/
Djsimd.h35 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
38 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
41 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
44 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
47 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
50 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
53 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
58 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
61 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
64 (JDIMENSION img_width, JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
[all …]
/third_party/ffmpeg/libavformat/
Dmtv.c46 unsigned int img_width; member
116 mtv->img_width = avio_rl16(pb); in mtv_read_header()
131 if (!mtv->img_width && mtv->img_height > 0 && mtv->img_bpp >= 8) in mtv_read_header()
132 mtv->img_width=mtv->img_segment_size / (mtv->img_bpp>>3) in mtv_read_header()
135 if (!mtv->img_height && mtv->img_width > 0 && mtv->img_bpp >= 8) in mtv_read_header()
137 / mtv->img_width; in mtv_read_header()
139 if(!mtv->img_height || !mtv->img_width || !mtv->img_segment_size){ in mtv_read_header()
171 st->codecpar->width = mtv->img_width; in mtv_read_header()
/third_party/mindspore/mindspore/dataset/vision/
Dpy_transforms_util.py290 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
326 crop_left = int(round((img_width - crop_width) / 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/ffmpeg/libavcodec/mips/
Dh264dsp_msa.c686 ptrdiff_t img_width) in avc_loopfilter_luma_intra_edge_hor_msa() argument
692 LD_UB4(data - (img_width << 1), img_width, p1_org, p0_org, q0_org, q1_org); in avc_loopfilter_luma_intra_edge_hor_msa()
713 v16u8 q2_org = LD_UB(data + (2 * img_width)); in avc_loopfilter_luma_intra_edge_hor_msa()
714 v16u8 p2_org = LD_UB(data - (3 * img_width)); in avc_loopfilter_luma_intra_edge_hor_msa()
736 v16u8 p3_org = LD_UB(data - (img_width << 2)); in avc_loopfilter_luma_intra_edge_hor_msa()
757 ST_UB(p1_org, data - (2 * img_width)); in avc_loopfilter_luma_intra_edge_hor_msa()
758 ST_UB(p2_org, data - (3 * img_width)); in avc_loopfilter_luma_intra_edge_hor_msa()
768 ST_UB(p0_org, data - img_width); in avc_loopfilter_luma_intra_edge_hor_msa()
781 v16u8 q3_org = LD_UB(data + (3 * img_width)); in avc_loopfilter_luma_intra_edge_hor_msa()
801 ST_UB(q1_org, data + img_width); in avc_loopfilter_luma_intra_edge_hor_msa()
[all …]
/third_party/mindspore/tests/st/fl/cross_silo_faster_rcnn/src/
Ddataset.py163 …img_data, scale_factor = mmcv.imrescale(img, (config.img_width, config.img_height), return_scale=T…
173 pad_w = config.img_width - img_data.shape[1]
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…
192 pad_w = config.img_width - img_data.shape[1]
195 pad_img_data = np.zeros((config.img_height, config.img_width, 3)).astype(img_data.dtype)
208 img_data, (config.img_width, config.img_height), return_scale=True)
211 img_shape = (config.img_height, config.img_width, 1.0)
226 img_data, (config.img_width, config.img_height), return_scale=True)
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/soft_dvpp/
Dsoft_dvpp_decode_random_crop_resize_jpeg_op.cc42 int img_width = 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/
Dradeon_blit.c241 static inline void calc_tex_coords(float img_width, float img_height, in calc_tex_coords() argument
246 buf[0] = x / img_width; in calc_tex_coords()
247 buf[1] = buf[0] + reg_width / img_width; in calc_tex_coords()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/simd/i386/
Djcsample-mmx.asm36 %define img_width(b) (b) + 8 ; JDIMENSION image_width
59 mov edx, JDIMENSION [img_width(ebp)]
179 %define img_width(b) (b) + 8 ; JDIMENSION image_width
202 mov edx, JDIMENSION [img_width(ebp)]
Djcsample-sse2.asm36 %define img_width(b) (b) + 8 ; JDIMENSION image_width
59 mov edx, JDIMENSION [img_width(ebp)]
192 %define img_width(b) (b) + 8 ; JDIMENSION image_width
215 mov edx, JDIMENSION [img_width(ebp)]
Djcgryext-mmx.asm26 ; jsimd_rgb_gray_convert_mmx(JDIMENSION img_width, JSAMPARRAY input_buf,
31 %define img_width(b) (b) + 8 ; JDIMENSION img_width
64 mov ecx, JDIMENSION [img_width(eax)] ; num_cols
Djcsample-avx2.asm37 %define img_width(b) (b) + 8 ; JDIMENSION image_width
60 mov edx, JDIMENSION [img_width(ebp)]
210 %define img_width(b) (b) + 8 ; JDIMENSION image_width
233 mov edx, JDIMENSION [img_width(ebp)]
/third_party/libjpeg-turbo/simd/i386/
Djcsample-mmx.asm34 %define img_width(b) (b) + 8 ; JDIMENSION image_width
57 mov edx, JDIMENSION [img_width(ebp)]
177 %define img_width(b) (b) + 8 ; JDIMENSION image_width
200 mov edx, JDIMENSION [img_width(ebp)]
Djcsample-sse2.asm34 %define img_width(b) (b) + 8 ; JDIMENSION image_width
57 mov edx, JDIMENSION [img_width(ebp)]
190 %define img_width(b) (b) + 8 ; JDIMENSION image_width
213 mov edx, JDIMENSION [img_width(ebp)]
Djcsample-avx2.asm35 %define img_width(b) (b) + 8 ; JDIMENSION image_width
58 mov edx, JDIMENSION [img_width(ebp)]
208 %define img_width(b) (b) + 8 ; JDIMENSION image_width
231 mov edx, JDIMENSION [img_width(ebp)]
Djcgryext-mmx.asm24 ; jsimd_rgb_gray_convert_mmx(JDIMENSION img_width, JSAMPARRAY input_buf,
29 %define img_width(b) (b) + 8 ; JDIMENSION img_width
62 mov ecx, JDIMENSION [img_width(eax)] ; num_cols
/third_party/skia/third_party/externals/libjpeg-turbo/simd/i386/
Djcsample-mmx.asm34 %define img_width(b) (b) + 8 ; JDIMENSION image_width
57 mov edx, JDIMENSION [img_width(ebp)]
177 %define img_width(b) (b) + 8 ; JDIMENSION image_width
200 mov edx, JDIMENSION [img_width(ebp)]
Djcsample-sse2.asm34 %define img_width(b) (b) + 8 ; JDIMENSION image_width
57 mov edx, JDIMENSION [img_width(ebp)]
190 %define img_width(b) (b) + 8 ; JDIMENSION image_width
213 mov edx, JDIMENSION [img_width(ebp)]
Djcgryext-mmx.asm24 ; jsimd_rgb_gray_convert_mmx(JDIMENSION img_width, JSAMPARRAY input_buf,
29 %define img_width(b) (b) + 8 ; JDIMENSION img_width
62 mov ecx, JDIMENSION [img_width(eax)] ; num_cols
Djcsample-avx2.asm35 %define img_width(b) (b) + 8 ; JDIMENSION image_width
58 mov edx, JDIMENSION [img_width(ebp)]
208 %define img_width(b) (b) + 8 ; JDIMENSION image_width
231 mov edx, JDIMENSION [img_width(ebp)]
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/simd/powerpc/
Djcgryext-altivec.c27 void jsimd_rgb_gray_convert_altivec(JDIMENSION img_width, JSAMPARRAY input_buf, in jsimd_rgb_gray_convert_altivec() argument
32 int pitch = img_width * RGB_PIXELSIZE, num_cols; in jsimd_rgb_gray_convert_altivec()
/third_party/libjpeg-turbo/simd/powerpc/
Djcgryext-altivec.c27 void jsimd_rgb_gray_convert_altivec(JDIMENSION img_width, JSAMPARRAY input_buf, in jsimd_rgb_gray_convert_altivec() argument
32 int pitch = img_width * RGB_PIXELSIZE, num_cols; in jsimd_rgb_gray_convert_altivec()
Djccolext-altivec.c27 void jsimd_rgb_ycc_convert_altivec(JDIMENSION img_width, JSAMPARRAY input_buf, in jsimd_rgb_ycc_convert_altivec() argument
32 int pitch = img_width * RGB_PIXELSIZE, num_cols; in jsimd_rgb_ycc_convert_altivec()
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dr200_blit.c392 static inline void calc_tex_coords(float img_width, float img_height, argument
397 buf[0] = x / img_width;
398 buf[1] = buf[0] + reg_width / img_width;

123