Home
last modified time | relevance | path

Searched refs:img2 (Results 1 - 14 of 14) sorted by relevance

/third_party/astc-encoder/Source/
H A Dastcenccli_error_metrics.cpp115 const astcenc_image* img2, in compute_error_metrics()
129 unsigned int dim_x = astc::min(img1->dim_x, img2->dim_x); in compute_error_metrics()
130 unsigned int dim_y = astc::min(img1->dim_y, img2->dim_y); in compute_error_metrics()
131 unsigned int dim_z = astc::min(img1->dim_z, img2->dim_z); in compute_error_metrics()
133 if (img1->dim_x != img2->dim_x || in compute_error_metrics()
134 img1->dim_y != img2->dim_y || in compute_error_metrics()
135 img1->dim_z != img2->dim_z) in compute_error_metrics()
141 img2->dim_x, img2->dim_y, img2 in compute_error_metrics()
110 compute_error_metrics( bool compute_hdr_metrics, bool compute_normal_metrics, int input_components, const astcenc_image* img1, const astcenc_image* img2, int fstop_lo, int fstop_hi ) compute_error_metrics() argument
[all...]
H A Dastcenccli_internal.h355 * @param img2 The compressed image.
364 const astcenc_image* img2,
/third_party/skia/third_party/externals/libwebp/examples/
H A Danim_diff.c132 const AnimatedImage* const img2, in CompareAnimatedImagePair()
139 ok = CompareValues(img1->canvas_width, img2->canvas_width, in CompareAnimatedImagePair()
141 ok = CompareValues(img1->canvas_height, img2->canvas_height, in CompareAnimatedImagePair()
143 ok = CompareValues(img1->num_frames, img2->num_frames, in CompareAnimatedImagePair()
152 img2->format == ANIM_WEBP && img2->loop_count == 65535) || in CompareAnimatedImagePair()
154 img2->format == ANIM_GIF && img2->loop_count == 65536)) { in CompareAnimatedImagePair()
158 CompareValues(img1->loop_count, img2->loop_count, in CompareAnimatedImagePair()
160 ok = CompareBackgroundColor(img1->bgcolor, img2 in CompareAnimatedImagePair()
131 CompareAnimatedImagePair(const AnimatedImage* const img1, const AnimatedImage* const img2, int premultiply, double min_psnr) CompareAnimatedImagePair() argument
[all...]
/third_party/ffmpeg/libavformat/
H A DMakefile75 OBJS-$(CONFIG_AAC_DEMUXER) += aacdec.o apetag.o img2.o rawdec.o
85 OBJS-$(CONFIG_ADTS_MUXER) += adtsenc.o apetag.o img2.o \
104 OBJS-$(CONFIG_APE_DEMUXER) += ape.o apetag.o img2.o
263 OBJS-$(CONFIG_IMAGE2_DEMUXER) += img2dec.o img2.o
264 OBJS-$(CONFIG_IMAGE2_MUXER) += img2enc.o img2.o
265 OBJS-$(CONFIG_IMAGE2PIPE_DEMUXER) += img2dec.o img2.o
266 OBJS-$(CONFIG_IMAGE2PIPE_MUXER) += img2enc.o img2.o
269 OBJS-$(CONFIG_IMAGE_BMP_PIPE_DEMUXER) += img2dec.o img2.o
270 OBJS-$(CONFIG_IMAGE_CRI_PIPE_DEMUXER) += img2dec.o img2.o
271 OBJS-$(CONFIG_IMAGE_DDS_PIPE_DEMUXER) += img2dec.o img2
[all...]
/third_party/ffmpeg/libavcodec/tests/
H A Dmotion.c44 static uint8_t img2[WIDTH * HEIGHT]; variable
79 fill_random(img2, WIDTH * HEIGHT); in test_motion()
83 ptr = img2 + y * WIDTH + x; in test_motion()
100 ptr = img2 + y * WIDTH + x; in test_motion()
/third_party/skia/tests/
H A DMipMapTest.cpp240 auto img2 = builder.attachTo(img); in DEF_TEST() local
241 REPORTER_ASSERT(reporter, img.get() != img2.get()); in DEF_TEST()
242 REPORTER_ASSERT(reporter, img1.get() != img2.get()); in DEF_TEST()
243 REPORTER_ASSERT(reporter, img2->hasMipmaps()); in DEF_TEST()
252 auto img2 = builder.attachTo(img); in DEF_TEST()
254 REPORTER_ASSERT(reporter, img.get() == img2.get()); in DEF_TEST()
H A DImageTest.cpp1526 auto img2 = SkImage::MakeFromEncoded(img->encodeToData()); in DEF_TEST()
1527 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img.get(), img2.get())); in DEF_TEST()
/third_party/ffmpeg/tests/checkasm/
H A Dmotion.c52 LOCAL_ALIGNED_16(uint8_t, img2, [WIDTH * HEIGHT]); in test_motion()
65 fill_random(img2, WIDTH * HEIGHT); in test_motion()
72 ptr = img2 + y * WIDTH + x; in test_motion()
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_state_uav.c67 struct pipe_image_view *img2) in image_view_desc_identical()
69 if ((img1->resource != img2->resource) || in image_view_desc_identical()
70 (img1->format != img2->format) || in image_view_desc_identical()
71 (img1->access != img2->access) || in image_view_desc_identical()
72 (img1->shader_access != img2->shader_access)) in image_view_desc_identical()
76 if ((img1->u.buf.offset != img2->u.buf.offset) || in image_view_desc_identical()
77 (img1->u.buf.size != img2->u.buf.size)) in image_view_desc_identical()
66 image_view_desc_identical(struct pipe_image_view *img1, struct pipe_image_view *img2) image_view_desc_identical() argument
/third_party/astc-encoder/Test/
H A Dastc_test_functional.py256 img2 = Image.open(image2)
259 if img1.size != img2.size:
264 if img1.getbands() != img2.getbands():
267 self.assertEqual(img2.getbands(), ("R", "G", "B", "A"))
270 bands = img2.split()
274 # Generate a version of img2 without alpha
275 img2 = Image.merge("RGB", (bands[0], bands[1], bands[2]))
279 dat2 = numpy.array(img2)
284 print(img2.load()[0, 0])
301 img2
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_vmafmotion.c61 static uint64_t image_sad(const uint16_t *img1, const uint16_t *img2, int w, in image_sad() argument
65 ptrdiff_t img2_stride = _img2_stride / sizeof(*img2); in image_sad()
71 sum += abs(img1[j] - img2[j]); in image_sad()
74 img2 += img2_stride; in image_sad()
H A Dvmaf_motion.h30 uint64_t (*sad)(const uint16_t *img1, const uint16_t *img2, int w, int h,
/third_party/cups-filters/filter/
H A Dimagetopdf.c1121 cups_image_t *img2 = cupsImageCrop(img,posw,posh,final_w,final_h); in main() local
1123 img = img2; in main()
1135 cups_image_t *img2 = cupsImageCrop(img,posw,posh,final_w,final_h); in main() local
1137 img = img2; in main()
H A Dimagetoraster.c789 cups_image_t *img2 = cupsImageCrop(img,posw,posh,final_w,final_h); in main() local
791 img = img2; in main()
871 cups_image_t *img2 = cupsImageCrop(img,posw,posh,final_w,final_h); in main() local
873 img = img2; in main()

Completed in 15 milliseconds