Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/libwebp/examples/
Danim_diff.c131 static int CompareAnimatedImagePair(const AnimatedImage* const img1, in CompareAnimatedImagePair() argument
136 const int is_multi_frame_image = (img1->num_frames > 1); 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()
151 if ((img1->format == ANIM_GIF && img1->loop_count == 65536 && in CompareAnimatedImagePair()
153 (img1->format == ANIM_WEBP && img1->loop_count == 65535 && in CompareAnimatedImagePair()
158 CompareValues(img1->loop_count, img2->loop_count, in CompareAnimatedImagePair()
160 ok = CompareBackgroundColor(img1->bgcolor, img2->bgcolor, in CompareAnimatedImagePair()
164 for (i = 0; i < img1->num_frames; ++i) { in CompareAnimatedImagePair()
[all …]
/third_party/astc-encoder/Source/
Dastcenccli_error_metrics.cpp119 const astcenc_image* img1, in compute_error_metrics() argument
134 unsigned int dim_x = astc::min(img1->dim_x, img2->dim_x); in compute_error_metrics()
135 unsigned int dim_y = astc::min(img1->dim_y, img2->dim_y); in compute_error_metrics()
136 unsigned int dim_z = astc::min(img1->dim_z, img2->dim_z); in compute_error_metrics()
138 if (img1->dim_x != img2->dim_x || in compute_error_metrics()
139 img1->dim_y != img2->dim_y || in compute_error_metrics()
140 img1->dim_z != img2->dim_z) in compute_error_metrics()
145 img1->dim_x, img1->dim_y, img1->dim_z, in compute_error_metrics()
150 unsigned int xsize1 = img1->dim_x; in compute_error_metrics()
162 if (img1->data_type == ASTCENC_TYPE_U8) in compute_error_metrics()
[all …]
Dastcenccli_internal.h335 const astcenc_image* img1,
/third_party/skia/gm/
Dencode_alpha_jpeg.cpp71 auto img1 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kBlendOnBlack); in onDraw() local
73 canvas->drawImage(img1, 0.0f, 100.0f); in onDraw()
79 img1 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kBlendOnBlack); in onDraw()
81 canvas->drawImage(img1, 100.0f, 100.0f); in onDraw()
88 img1 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kBlendOnBlack); in onDraw()
90 canvas->drawImage(img1, 200.0f, 100.0f); in onDraw()
96 img1 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kBlendOnBlack); in onDraw()
98 canvas->drawImage(img1, 300.0f, 100.0f); in onDraw()
Dcgm.c73 sk_image_t* img1 = sk_image_new_from_encoded(data); in sk_test_c_api() local
76 if (img1) { in sk_test_c_api()
77 sk_canvas_draw_image(canvas, img1, W/2, H/2, NULL, NULL); in sk_test_c_api()
78 sk_image_unref(img1); in sk_test_c_api()
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
DcompImages.sh21 img1=$compare/$branch1
23 mkdir -p $img1
24 cp images/*.svg $img1
25 (cd $img1 ; ls) > $files1
67 if diff -q $img1/$file $img2/$file > /dev/null ; then
78 compare $img1/$file $img2/$file $compfile
/third_party/ffmpeg/libavcodec/tests/
Dmotion.c42 static uint8_t img1[WIDTH * HEIGHT]; variable
77 fill_random(img1, WIDTH * HEIGHT); in test_motion()
83 d1 = test_func(NULL, img1, ptr, WIDTH, 8); in test_motion()
84 d2 = ref_func(NULL, img1, ptr, WIDTH, 8); in test_motion()
100 d1 += test_func(NULL, img1, ptr, WIDTH, 8); in test_motion()
/third_party/skia/docs/examples/
Dskbug_5648.cpp10 auto img1 = bitmap.asImage(); in draw() local
11 SkDebugf("%u\n%u\n", img0->uniqueID(), img1->uniqueID()); in draw()
/third_party/skia/tests/
DMipMapTest.cpp233 auto img1 = img->withDefaultMipmaps(); in DEF_TEST() local
234 REPORTER_ASSERT(reporter, img.get() != img1.get()); in DEF_TEST()
235 REPORTER_ASSERT(reporter, img1->hasMipmaps()); in DEF_TEST()
242 REPORTER_ASSERT(reporter, img1.get() != img2.get()); in DEF_TEST()
DCanvasStateTest.cpp88 static void compare(skiatest::Reporter* reporter, SkImage* img0, SkImage* img1) { in compare() argument
97 write_image(img1, name.c_str()); in compare()
103 REPORTER_ASSERT(reporter, img1->peekPixels(&pm[1])); in compare()
DTextBlobTest.cpp426 sk_sp<SkImage> img1 = render(blob1.get()); in DEF_TEST() local
427 if (img0 && img1) { in DEF_TEST()
428 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img0.get(), img1.get())); in DEF_TEST()
DSerializationTest.cpp718 sk_sp<SkImage> img1 = render(*readPict); in DEF_TEST() local
719 if (img0 && img1) { in DEF_TEST()
720 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img0.get(), img1.get())); in DEF_TEST()
DImageTest.cpp1286 auto img1 = SkImage::MakeFromEncoded(data); in DEF_TEST() local
1290 img1->readPixels(nullptr, bm1.info(), bm1.getPixels(), bm1.rowBytes(), 0, 0); in DEF_TEST()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_state_uav.c66 image_view_desc_identical(struct pipe_image_view *img1, in image_view_desc_identical() argument
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()
75 if (img1->resource->target == PIPE_BUFFER) { 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()
/third_party/astc-encoder/Test/
Dastc_test_functional.py255 img1 = Image.open(image1)
259 if img1.size != img2.size:
264 if img1.getbands() != img2.getbands():
266 self.assertEqual(img1.getbands(), ("R", "G", "B"))
278 dat1 = numpy.array(img1)
283 print(img1.load()[0, 0])
300 img1 = Image.open(image1)
304 if img1.size != img2.size:
308 if img1.getbands() != img2.getbands():
310 self.assertEqual(img1.getbands(), ("R", "G", "B"))
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_vmafmotion.c61 static uint64_t image_sad(const uint16_t *img1, const uint16_t *img2, int w, in image_sad() argument
64 ptrdiff_t img1_stride = _img1_stride / sizeof(*img1); in image_sad()
71 sum += abs(img1[j] - img2[j]); in image_sad()
73 img1 += img1_stride; in image_sad()
Dvmaf_motion.h30 uint64_t (*sad)(const uint16_t *img1, const uint16_t *img2, int w, int h,
/third_party/glslang/Test/
DspecExamples.vert137 layout(rgba32f) uniform image2D img1;
169 funcA(img1); // OK, adding "restrict" is allowed, ERROR, changing formats
/third_party/glslang/Test/baseResults/
DspecExamples.vert.out217 0:169 'img1' (layout( rgba32f) uniform image2D)
313 0:? 'img1' (layout( rgba32f) uniform image2D)
500 0:169 'img1' (layout( rgba32f) uniform image2D)
596 0:? 'img1' (layout( rgba32f) uniform image2D)
DspecExamplesConf.vert.out218 0:169 'img1' (layout( rgba32f) uniform image2D)
314 0:? 'img1' (layout( rgba32f) uniform image2D)
501 0:169 'img1' (layout( rgba32f) uniform image2D)
597 0:? 'img1' (layout( rgba32f) uniform image2D)
/third_party/ffmpeg/doc/
Dfaq.texi155 For example, img1.jpg, img2.jpg, img3.jpg,...
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_shader_image_load_store.txt1166 layout(size4x32) uniform image2D img1;
1169 funcA(img1); // OK, adding "restrict" is allowed
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_shader_image_load_store.txt1476 layout(rgba32f) uniform image2D img1;
1479 funcA(img1); // OK, adding "restrict" is allowed
/third_party/openGLES/extensions/EXT/
DEXT_shader_image_load_store.txt1166 layout(size4x32) uniform image2D img1;
1169 funcA(img1); // OK, adding "restrict" is allowed
/third_party/openGLES/extensions/ARB/
DARB_shader_image_load_store.txt1486 layout(rgba32f) uniform image2D img1;
1489 funcA(img1); // OK, adding "restrict" is allowed