/third_party/python/Lib/tkinter/test/test_tkinter/ |
H A D | test_images.py | 286 image2 = image.copy() 287 self.assertEqual(image2.width(), 16) 288 self.assertEqual(image2.height(), 16) 293 image2 = image.subsample(2, 3) 294 self.assertEqual(image2.width(), 8) 295 self.assertEqual(image2.height(), 6) 296 self.assertEqual(image2.get(2, 2), image.get(4, 6)) 298 image2 = image.subsample(2) 299 self.assertEqual(image2.width(), 8) 300 self.assertEqual(image2 [all...] |
/third_party/skia/third_party/externals/brotli/research/ |
H A D | draw_diff.cc | 39 void CalculateDiff(int** diff, Image image1, Image image2, in CalculateDiff() argument 43 diff[i][j] = static_cast<int>(image1[i][j]) - image2[i][j]; in CalculateDiff() 48 void DrawDiff(int** diff, Image image1, Image image2, in DrawDiff() argument 56 int img_min = std::min(255 - image1[i][j], 255 - image2[i][j]); in DrawDiff() 69 int min_val = std::min(255 - image1[i][j], 255 - image2[i][j]); in DrawDiff() 92 Image image1, image2; in main() local 100 ReadPGM(fimage2, &image2, &h2, &w2); in main() 110 CalculateDiff(diff, image1, image2, h1, w1); in main() 113 DrawDiff(diff, image1, image2, h1, w1, fdiff); in main()
|
/third_party/spirv-tools/test/diff/diff_files/ |
H A D | large_functions_large_diffs_autogen.cpp | 54 OpName %128 "image2" 274 OpName %63 "image2" 509 OpName %128 "image2"
|
H A D | large_functions_small_diffs_autogen.cpp | 279 OpName %128 "image2" 517 +OpName %138 "image2"
|
/third_party/skia/docs/examples/ |
H A D | Image_MakeFromBitmap.cpp | 18 sk_sp<SkImage> image2 = bitmap.asImage(); in REG_FIDDLE() local 22 canvas->drawImage(image2, 10, 0); in REG_FIDDLE()
|
/third_party/skia/tests/ |
H A D | SurfaceTest.cpp | 343 sk_sp<SkImage> image2(surface->makeImageSnapshot()); in test_backend_unique_id() 345 REPORTER_ASSERT(reporter, image0->uniqueID() != image2->uniqueID()); in test_backend_unique_id() 352 REPORTER_ASSERT(reporter, image2->uniqueID() != image3->uniqueID()); in test_backend_unique_id() 511 sk_sp<SkImage> image2(surface1->makeImageSnapshot()); in test_crbug263329() 513 // pool because it is held by image2 in test_crbug263329() 531 REPORTER_ASSERT(reporter, imageProxy(image4.get()) != imageProxy(image2.get())); in test_crbug263329() 533 REPORTER_ASSERT(reporter, imageProxy(image3.get()) != imageProxy(image2.get())); in test_crbug263329() 535 REPORTER_ASSERT(reporter, imageProxy(image2.get()) != imageProxy(image1.get())); in test_crbug263329() 616 sk_sp<SkImage> image2 = surface->makeImageSnapshot(); in test_no_canvas2() local 617 sk_sp<SkImage> aur_image2(image2); // NOLIN in test_no_canvas2() [all...] |
H A D | ImageTest.cpp | 284 sk_sp<SkImage> image2(surface->makeImageSnapshot()); in DEF_TEST() 285 REPORTER_ASSERT(reporter, image2->readPixels(nullptr, dstInfo, pixels, dstRowBytes, 0, 0)); in DEF_TEST()
|
/third_party/ffmpeg/tests/ |
H A D | fate-run.sh | 337 do_avconv $file -auto_conversion_filters $DEC_OPTS -f image2 -c:v pgmyuv -i $raw_src $DEC_OPTS -ar 44100 -f s16le $1 -i $pcm_src "$ENC_OPTS -metadata title=lavftest" -b:a 64k -t 1 -qscale:v 10 $2 377 run_avconv $DEC_OPTS -f image2 -c:v pgmyuv -i $raw_src $1 "$ENC_OPTS -metadata title=lavftest" -vf scale -frames $nb_frames -y -qscale 10 $target_path/$file 390 do_avconv $file -auto_conversion_filters $DEC_OPTS -f image2 -c:v pgmyuv -i $raw_src -f image2pipe "$ENC_OPTS -metadata title=lavftest" -t 1 -qscale 10 399 do_avconv $file -auto_conversion_filters $DEC_OPTS -f image2 -c:v pgmyuv -i $raw_src "$ENC_OPTS -metadata title=lavftest" -t 1 -qscale 10 $1 $2 452 run_avconv $DEC_OPTS -r 1 -f image2 -c:v pgmyuv -i $raw_src \ 464 ffmpeg $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src \
|
/third_party/ffmpeg/tests/fate/ |
H A D | vbn.mak | 6 fate-vbn-%: CMD = refcmp_metadata_transcode "$(SRC)" "$(ENC_OPTS)" image2 vbn psnr $(PIX_FMT)
|
H A D | fits.mak | 31 fate-fitsdec%: CMD = transcode image2 $(TARGET_SAMPLES)/png1/lena-$(fits-png-map-$(PIXFMT)).png fits "-vf scale -pix_fmt $(PIXFMT)"
|
H A D | utvideo.mak | 71 fate-utvideoenc%: CMD = framemd5 -f image2 -c:v pgmyuv -i $(TARGET_PATH)/tests/vsynth1/%02d.pgm -c:v utvideo -slices 1 -sws_flags +accurate_rnd+bitexact ${OPTS} -vf scale
|
H A D | video.mak | 181 fate-idroq-video-encode: CMD = md5 -auto_conversion_filters -f image2 -c:v pgmyuv -i $(TARGET_SAMPLES)/ffmpeg-synthetic/vsynth1/%02d.pgm -r 30 -sws_flags +bitexact -vf pad=512:512:80:112 -f roq -t 0.2 345 fate-v410enc: CMD = md5 -f image2 -c:v pgmyuv -i $(TARGET_PATH)/tests/vsynth1/%02d.pgm -fflags +bitexact -c:v v410 -f avi -vf scale
|
H A D | image.mak | 4 fate-aliaspix-bgr: CMD = transcode alias_pix $(TARGET_SAMPLES)/aliaspix/first.pix image2 "-c alias_pix" "-map 0 -map 0 -pix_fmt:0 bgr24 -c:v:1 copy" 7 fate-aliaspix-gray: CMD = transcode alias_pix $(TARGET_SAMPLES)/aliaspix/firstgray.pix image2 "-c alias_pix" "-map 0 -map 0 -pix_fmt:0 gray -c:v:1 copy" 393 fate-png-icc: CMD = transcode png_pipe $(TARGET_SAMPLES)/png1/lena-int_rgb24.png image2 "-c png" "" "-show_frames"
|
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
H A D | types_test.cpp | 167 auto* image2 = types.back().get(); in GenerateAllTypes() local 174 types.emplace_back(new SampledImage(image2)); in GenerateAllTypes()
|
H A D | type_manager_test.cpp | 110 auto* image2 = types.back().get(); in GenerateAllTypes() local 117 types.emplace_back(new SampledImage(image2)); in GenerateAllTypes() 1033 ; CHECK: [[image2:%\w+]] = OpTypeImage [[void]] 3D 0 1 0 1 Rg8 ReadWrite in TEST() 1036 ; CHECK: OpTypeSampledImage [[image2]] in TEST()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | types_test.cpp | 167 auto* image2 = types.back().get(); in GenerateAllTypes() local 174 types.emplace_back(new SampledImage(image2)); in GenerateAllTypes()
|
H A D | type_manager_test.cpp | 110 auto* image2 = types.back().get(); in GenerateAllTypes() local 117 types.emplace_back(new SampledImage(image2)); in GenerateAllTypes() 1033 ; CHECK: [[image2:%\w+]] = OpTypeImage [[void]] 3D 0 1 0 1 Rg8 ReadWrite in TEST() 1036 ; CHECK: OpTypeSampledImage [[image2]] in TEST()
|
/third_party/skia/gm/ |
H A D | surface.cpp | 162 sk_sp<SkImage> image2(surf2->makeImageSnapshot()); 163 canvas->drawImage(image2.get(), 10 + SkIntToScalar(image->width()) + 10, 10);
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcCompressedFormatTests.cpp | 1536 const auto image2 = loadImage(archive, formatInfo.internalFormat, 2); in iterate() local 1542 image0.width == image2.width && in iterate() 1543 image0.height == image2.height); in iterate() 1597 gl.texImage2D(GL_TEXTURE_2D, 0, formatInfo.sizedFormat, image2.width, image2.height, 0, formatInfo.format, GL_UNSIGNED_BYTE, image2.data.data()); in iterate()
|
/third_party/spirv-tools/test/opt/ |
H A D | types_test.cpp | 171 auto* image2 = types.back().get(); in GenerateAllTypes() local 178 types.emplace_back(new SampledImage(image2)); in GenerateAllTypes()
|
H A D | type_manager_test.cpp | 114 auto* image2 = types.back().get(); in GenerateAllTypes() local 121 types.emplace_back(new SampledImage(image2)); in GenerateAllTypes() 1062 ; CHECK: [[image2:%\w+]] = OpTypeImage [[void]] 3D 0 1 0 1 Rg8 ReadWrite in TEST() 1065 ; CHECK: OpTypeSampledImage [[image2]] in TEST()
|
/third_party/astc-encoder/Test/ |
H A D | astc_test_functional.py | 241 def compare(self, image1, image2): 250 image2 (str): Path to the second image. 256 img2 = Image.open(image2) 288 def get_channel_rmse(self, image1, image2): 294 image2 (str): Path to the second image. 301 img2 = Image.open(image2)
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | ImageTest.cpp | 1203 EGLImageKHR image2 = eglCreateImageKHR(display, context, EGL_GL_TEXTURE_2D_KHR, in TEST_P() 1205 EXPECT_EQ(image2, EGL_NO_IMAGE_KHR); in TEST_P() 1821 EGLImageKHR image2; in TEST_P() local 1823 static_cast<void *>(&kLinearColor), source2, &image2); in TEST_P() 1827 glEGLImageTargetTexture2DOES(GL_TEXTURE_2D, image2); in TEST_P() 1830 eglDestroyImageKHR(window->getDisplay(), image2); in TEST_P()
|
H A D | GLSLTest.cpp | 4423 layout(rgba32ui) uniform highp readonly uimage2D image2[4]; in TEST_P() 4439 index = glGetProgramResourceIndex(program, GL_UNIFORM, "image2"); in TEST_P() 4755 layout(binding = 6, r32ui) uniform highp readonly uimage2D image2[2][4]; 4772 outbuf.image_value += imageLoad(image2[0][0], ivec2(0, 0)).x; 4773 outbuf.image_value += imageLoad(image2[0][1], ivec2(0, 0)).x; 4774 outbuf.image_value += imageLoad(image2[0][2], ivec2(0, 0)).x; 4775 outbuf.image_value += imageLoad(image2[0][3], ivec2(0, 0)).x; 4776 outbuf.image_value += imageLoad(image2[1][0], ivec2(0, 0)).x; 4777 outbuf.image_value += imageLoad(image2[1][1], ivec2(0, 0)).x; 4778 outbuf.image_value += imageLoad(image2[ [all...] |
/third_party/python/Lib/tkinter/test/test_ttk/ |
H A D | test_widgets.py | 158 image2 = tkinter.PhotoImage(master=self.root, name='image2') 162 self.checkParam(widget, name, (image, 'active', image2), 163 expected=('image1', 'active', 'image2')) 164 self.checkParam(widget, name, 'image1 active image2', 165 expected=('image1', 'active', 'image2'))
|