/external/skqp/gm/ |
D | encode-alpha-jpeg.cpp | 59 auto img0 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kIgnore); in onDraw() local 61 canvas->drawImage(img0, 0.0f, 0.0f); in onDraw() 67 img0 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kIgnore); in onDraw() 69 canvas->drawImage(img0, 100.0f, 0.0f); in onDraw() 77 img0 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kIgnore); in onDraw() 79 canvas->drawImage(img0, 200.0f, 0.0f); in onDraw() 85 img0 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kIgnore); in onDraw() 87 canvas->drawImage(img0, 300.0f, 0.0f); in onDraw()
|
D | cgm.c | 61 sk_image_t* img0 = sk_surface_new_image_snapshot(surf); in sk_test_c_api() local 64 sk_canvas_draw_image(canvas, img0, W + 10, 10, NULL); in sk_test_c_api() 66 sk_data_t* data = sk_image_encode(img0); in sk_test_c_api() 67 sk_image_unref(img0); in sk_test_c_api()
|
/external/skia/gm/ |
D | encode-alpha-jpeg.cpp | 61 auto img0 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kIgnore); in onDraw() local 63 canvas->drawImage(img0, 0.0f, 0.0f); in onDraw() 69 img0 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kIgnore); in onDraw() 71 canvas->drawImage(img0, 100.0f, 0.0f); in onDraw() 78 img0 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kIgnore); in onDraw() 80 canvas->drawImage(img0, 200.0f, 0.0f); in onDraw() 86 img0 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kIgnore); in onDraw() 88 canvas->drawImage(img0, 300.0f, 0.0f); in onDraw()
|
D | cgm.c | 61 sk_image_t* img0 = sk_surface_new_image_snapshot(surf); in sk_test_c_api() local 64 sk_canvas_draw_image(canvas, img0, W + 10, 10, NULL); in sk_test_c_api() 66 sk_data_t* data = sk_image_encode(img0); in sk_test_c_api() 67 sk_image_unref(img0); in sk_test_c_api()
|
/external/python/cpython2/Demo/tix/samples/ |
D | CmpImg.py | 147 w.img0 = Tix.Image('pixmap', data=network_pixmap) 148 if not w.img0: 149 w.img0 = Tix.Image('bitmap', data=network_bitmap) 151 if not w.img0: 180 w.net_img.tk.call(str(w.net_img), 'add', 'image', '-image', w.img0)
|
/external/mesa3d/src/mesa/main/ |
D | texobj.c | 879 const struct gl_texture_image *img0, *img; in _mesa_cube_level_complete() local 889 img0 = texObj->Image[0][level]; in _mesa_cube_level_complete() 890 if (!img0 || in _mesa_cube_level_complete() 891 img0->Width < 1 || in _mesa_cube_level_complete() 892 img0->Width != img0->Height) in _mesa_cube_level_complete() 899 img->Width != img0->Width || in _mesa_cube_level_complete() 900 img->Height != img0->Height || in _mesa_cube_level_complete() 901 img->TexFormat != img0->TexFormat) in _mesa_cube_level_complete()
|
/external/skqp/tests/ |
D | TextBlobTest.cpp | 429 sk_sp<SkImage> img0 = render(blob0.get()); in DEF_TEST() local 431 if (img0 && img1) { in DEF_TEST() 432 REPORTER_ASSERT(reporter, sk_tool_utils::equal_pixels(img0.get(), img1.get())); in DEF_TEST()
|
D | ImageTest.cpp | 1260 auto img0 = SkImage::MakeFromBitmap(bm0); in DEF_TEST() local 1261 sk_sp<SkData> data = img0->encodeToData(SkEncodedImageFormat::kPNG, 100); in DEF_TEST()
|
/external/skia/tests/ |
D | TextBlobTest.cpp | 429 sk_sp<SkImage> img0 = render(blob0.get()); in DEF_TEST() local 431 if (img0 && img1) { in DEF_TEST() 432 REPORTER_ASSERT(reporter, sk_tool_utils::equal_pixels(img0.get(), img1.get())); in DEF_TEST()
|
D | ImageTest.cpp | 1260 auto img0 = SkImage::MakeFromBitmap(bm0); in DEF_TEST() local 1261 sk_sp<SkData> data = img0->encodeToData(SkEncodedImageFormat::kPNG, 100); in DEF_TEST()
|
/external/tensorflow/tensorflow/examples/tutorials/deepdream/ |
D | deepdream.ipynb | 426 "def render_naive(t_obj, img0=img_noise, iter_n=20, step=1.0):\n", 430 " img = img0.copy()\n", 595 …"def render_multiscale(t_obj, img0=img_noise, iter_n=10, step=1.0, octave_n=3, octave_scale=1.4):\… 599 " img = img0.copy()\n", 806 "def render_lapnorm(t_obj, img0=img_noise, visfunc=visstd,\n", 813 " img = img0.copy()\n", 1103 "def render_deepdream(t_obj, img0=img_noise,\n", 1109 " img = img0\n", 1189 "img0 = PIL.Image.open('pilatus800.jpg')\n", 1190 "img0 = np.float32(img0)\n", [all …]
|