Home
last modified time | relevance | path

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

12345678910>>...176

/third_party/weston/clients/
Dimage.c47 struct image { struct
52 cairo_surface_t *image; argument
68 get_scale(struct image *image) in get_scale() argument
70 assert(image->matrix.xy == 0.0 && in get_scale()
71 image->matrix.yx == 0.0 && in get_scale()
72 image->matrix.xx == image->matrix.yy); in get_scale()
73 return image->matrix.xx; in get_scale()
77 clamp_view(struct image *image) in clamp_view() argument
80 double scale = get_scale(image); in clamp_view()
83 sw = image->width * scale; in clamp_view()
[all …]
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlists/vk-default/
Dimage.txt1 dEQP-VK.image.store.with_format.1d.r32g32b32a32_sfloat
2 dEQP-VK.image.store.with_format.1d.r16g16b16a16_sfloat
3 dEQP-VK.image.store.with_format.1d.r32_sfloat
4 dEQP-VK.image.store.with_format.1d.r32g32b32a32_uint
5 dEQP-VK.image.store.with_format.1d.r16g16b16a16_uint
6 dEQP-VK.image.store.with_format.1d.r8g8b8a8_uint
7 dEQP-VK.image.store.with_format.1d.r32_uint
8 dEQP-VK.image.store.with_format.1d.r32g32b32a32_sint
9 dEQP-VK.image.store.with_format.1d.r16g16b16a16_sint
10 dEQP-VK.image.store.with_format.1d.r8g8b8a8_sint
[all …]
Dfragment-shader-interlock.txt1 dEQP-VK.fragment_shader_interlock.basic.nodiscard.image.pixel_ordered.1xaa.no_sample_shading.8x8
2 dEQP-VK.fragment_shader_interlock.basic.nodiscard.image.pixel_ordered.1xaa.no_sample_shading.16x16
3 dEQP-VK.fragment_shader_interlock.basic.nodiscard.image.pixel_ordered.1xaa.no_sample_shading.32x32
4 dEQP-VK.fragment_shader_interlock.basic.nodiscard.image.pixel_ordered.1xaa.no_sample_shading.64x64
5 dEQP-VK.fragment_shader_interlock.basic.nodiscard.image.pixel_ordered.1xaa.no_sample_shading.128x128
6 dEQP-VK.fragment_shader_interlock.basic.nodiscard.image.pixel_ordered.1xaa.no_sample_shading.256x256
7 dEQP-VK.fragment_shader_interlock.basic.nodiscard.image.pixel_ordered.1xaa.no_sample_shading.512x512
8 dEQP-VK.fragment_shader_interlock.basic.nodiscard.image.pixel_ordered.1xaa.no_sample_shading.1024x1…
9 dEQP-VK.fragment_shader_interlock.basic.nodiscard.image.pixel_ordered.4xaa.no_sample_shading.8x8
10 dEQP-VK.fragment_shader_interlock.basic.nodiscard.image.pixel_ordered.4xaa.no_sample_shading.16x16
[all …]
/third_party/pixman/pixman/
Dpixman-image.c37 gradient_property_changed (pixman_image_t *image) in gradient_property_changed() argument
39 gradient_t *gradient = &image->gradient; in gradient_property_changed()
110 _pixman_image_init (pixman_image_t *image) in _pixman_image_init() argument
112 image_common_t *common = &image->common; in _pixman_image_init()
135 _pixman_image_fini (pixman_image_t *image) in _pixman_image_fini() argument
137 image_common_t *common = (image_common_t *)image; in _pixman_image_fini()
143 if (image->common.destroy_func) in _pixman_image_fini()
144 image->common.destroy_func (image, image->common.destroy_data); in _pixman_image_fini()
154 if (image->type == LINEAR || in _pixman_image_fini()
155 image->type == RADIAL || in _pixman_image_fini()
[all …]
Dpixman-bits-image.c43 fetch_pixel_no_alpha_32 (bits_image_t *image, in fetch_pixel_no_alpha_32() argument
50 (x < 0 || x >= image->width || y < 0 || y >= image->height)) in fetch_pixel_no_alpha_32()
53 *ret = image->fetch_pixel_32 (image, x, y); in fetch_pixel_no_alpha_32()
57 fetch_pixel_no_alpha_float (bits_image_t *image, in fetch_pixel_no_alpha_float() argument
64 (x < 0 || x >= image->width || y < 0 || y >= image->height)) in fetch_pixel_no_alpha_float()
67 *ret = image->fetch_pixel_float (image, x, y); in fetch_pixel_no_alpha_float()
70 typedef void (* get_pixel_t) (bits_image_t *image,
74 bits_image_fetch_pixel_nearest (bits_image_t *image, in bits_image_fetch_pixel_nearest() argument
83 if (image->common.repeat != PIXMAN_REPEAT_NONE) in bits_image_fetch_pixel_nearest()
85 repeat (image->common.repeat, &x0, image->width); in bits_image_fetch_pixel_nearest()
[all …]
Dpixman-access.c167 #define YV12_SETUP(image) \ argument
168 bits_image_t *__bits_image = (bits_image_t *)image; \
297 convert_pixel_to_a8r8g8b8 (bits_image_t *image, in convert_pixel_to_a8r8g8b8() argument
304 return image->indexed->rgba[pixel]; in convert_pixel_to_a8r8g8b8()
313 convert_pixel_from_a8r8g8b8 (pixman_image_t *image, in convert_pixel_from_a8r8g8b8() argument
320 return image->bits.indexed->ent[pixel & 0x7fff]; in convert_pixel_from_a8r8g8b8()
326 return image->bits.indexed->ent[pixel & 0x7fff]; in convert_pixel_from_a8r8g8b8()
335 fetch_and_convert_pixel (bits_image_t * image, in fetch_and_convert_pixel() argument
345 pixel = FETCH_1 (image, bits, offset); in fetch_and_convert_pixel()
349 pixel = FETCH_4 (image, bits, offset); in fetch_and_convert_pixel()
[all …]
/third_party/python/Lib/tkinter/test/test_tkinter/
Dtest_images.py47 image = tkinter.BitmapImage()
48 self.assertIn(image.name, tkinter.image_names())
56 image = tkinter.PhotoImage()
57 self.assertIn(image.name, tkinter.image_names())
71 image = tkinter.BitmapImage('::img::test', master=self.root,
74 self.assertEqual(str(image), '::img::test')
75 self.assertEqual(image.type(), 'bitmap')
76 self.assertEqual(image.width(), 16)
77 self.assertEqual(image.height(), 16)
79 del image
[all …]
/third_party/cef/tests/ceftests/
Dimage_unittest.cc14 void LoadImage(CefRefPtr<CefImage> image, double scale_factor) { in LoadImage() argument
15 image_util::LoadIconImage(image, scale_factor); in LoadImage()
18 void VerifyScaleEmpty(CefRefPtr<CefImage> image, float scale_factor) { in VerifyScaleEmpty() argument
23 EXPECT_FALSE(image->HasRepresentation(scale_factor)); in VerifyScaleEmpty()
24 EXPECT_FALSE(image->GetRepresentationInfo(scale_factor, actual_scale_factor, in VerifyScaleEmpty()
29 EXPECT_FALSE(image->RemoveRepresentation(scale_factor)); in VerifyScaleEmpty()
32 void VerifyScaleExists(CefRefPtr<CefImage> image, in VerifyScaleExists() argument
42 EXPECT_TRUE(image->HasRepresentation(scale_factor)); in VerifyScaleExists()
44 EXPECT_FALSE(image->HasRepresentation(scale_factor)); in VerifyScaleExists()
47 EXPECT_TRUE(image->GetRepresentationInfo(scale_factor, actual_scale_factor, in VerifyScaleExists()
[all …]
/third_party/flutter/flutter/packages/flutter/test/rendering/
Dimage_test.dart23 throw UnsupportedError('Cannot encode test image');
42 throw UnsupportedError('Cannot encode test image');
61 throw UnsupportedError('Cannot encode test image');
73 RenderImage image;
75 image = RenderImage(image: SquareImage());
76 layout(image,
82 expect(image.size.width, equals(25.0));
83 expect(image.size.height, equals(25.0));
85 expect(image, hasAGoodToStringDeep);
87 image.toStringDeep(minLevel: DiagnosticLevel.info),
[all …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DTexture.cpp334 egl::Image *image = getRenderTarget(target, level); // Increments reference count in createSharedImage() local
336 if(image) in createSharedImage()
338 image->markShared(); in createSharedImage()
341 return image; in createSharedImage()
344 … GLenum type, const gl::PixelStorageModes &unpackParameters, const void *pixels, egl::Image *image) in setImage() argument
346 if(pixels && image) in setImage()
348 …GLsizei depth = (getTarget() == GL_TEXTURE_3D_OES || getTarget() == GL_TEXTURE_2D_ARRAY) ? image->… in setImage()
349image->loadImageData(0, 0, 0, image->getWidth(), image->getHeight(), depth, format, type, unpackPa… in setImage()
353 void Texture::setCompressedImage(GLsizei imageSize, const void *pixels, egl::Image *image) in setCompressedImage() argument
355 …if(pixels && image && (imageSize > 0)) // imageSize's correlation to width and height is already v… in setCompressedImage()
[all …]
/third_party/glib/gio/tests/desktop-files/home/applications/
Deog.desktop9image/bmp;image/gif;image/jpeg;image/jpg;image/pjpeg;image/png;image/tiff;image/x-bmp;image/x-gray…
/third_party/gstreamer/gstplugins_bad/ext/openjpeg/
Dgstopenjpegdec.c209 fill_frame_packed8_4 (GstVideoFrame * frame, opj_image_t * image) in fill_frame_packed8_4() argument
223 data_in[c] = image->comps[c].data; in fill_frame_packed8_4()
224 off[c] = 0x80 * image->comps[c].sgnd; in fill_frame_packed8_4()
249 fill_frame_packed16_4 (GstVideoFrame * frame, opj_image_t * image) in fill_frame_packed16_4() argument
263 data_in[c] = image->comps[c].data; in fill_frame_packed16_4()
264 off[c] = (1 << (image->comps[c].prec - 1)) * image->comps[c].sgnd; in fill_frame_packed16_4()
266 MAX (MIN (GST_VIDEO_FRAME_COMP_DEPTH (frame, c) - image->comps[c].prec, in fill_frame_packed16_4()
292 fill_frame_packed8_3 (GstVideoFrame * frame, opj_image_t * image) in fill_frame_packed8_3() argument
306 data_in[c] = image->comps[c].data; in fill_frame_packed8_3()
307 off[c] = 0x80 * image->comps[c].sgnd; in fill_frame_packed8_3()
[all …]
/third_party/uboot/u-boot-2020.01/tools/binman/
Dcontrol.py80 image = Image.FromFile(image_fname)
82 entries, lines, widths = image.GetListEntries(entry_paths)
115 from image import Image
117 image = Image.FromFile(image_fname)
118 entry = image.FindEntryPath(entry_path)
137 image = Image.FromFile(image_fname)
145 entry = image.FindEntryPath(entry_paths[0])
154 einfos = image.GetListEntries(entry_paths)[0]
173 def BeforeReplace(image, allow_resize): argument
179 state.PrepareFromLoadedData(image)
[all …]
/third_party/wayland_standard/cursor/
Dwayland-cursor.c137 struct wl_cursor_image image; member
157 struct cursor_image *image = (struct cursor_image *) _img; in wl_cursor_image_get_buffer() local
158 struct wl_cursor_theme *theme = image->theme; in wl_cursor_image_get_buffer()
160 if (!image->buffer) { in wl_cursor_image_get_buffer()
161 image->buffer = in wl_cursor_image_get_buffer()
163 image->offset, in wl_cursor_image_get_buffer()
169 return image->buffer; in wl_cursor_image_get_buffer()
175 struct cursor_image *image = (struct cursor_image *) _img; in wl_cursor_image_destroy() local
177 if (image->buffer) in wl_cursor_image_destroy()
178 wl_buffer_destroy(image->buffer); in wl_cursor_image_destroy()
[all …]
/third_party/ffmpeg/libavcodec/
Dlibopenjpegdec.c157 static inline int libopenjpeg_matches_pix_fmt(const opj_image_t *image, enum AVPixelFormat pix_fmt) in libopenjpeg_matches_pix_fmt() argument
162 if (desc->nb_components != image->numcomps) { in libopenjpeg_matches_pix_fmt()
169 desc->comp[3].depth >= image->comps[3].prec && in libopenjpeg_matches_pix_fmt()
170 1 == image->comps[3].dx && in libopenjpeg_matches_pix_fmt()
171 1 == image->comps[3].dy; in libopenjpeg_matches_pix_fmt()
174 desc->comp[2].depth >= image->comps[2].prec && in libopenjpeg_matches_pix_fmt()
175 1 << desc->log2_chroma_w == image->comps[2].dx && in libopenjpeg_matches_pix_fmt()
176 1 << desc->log2_chroma_h == image->comps[2].dy; in libopenjpeg_matches_pix_fmt()
179 desc->comp[1].depth >= image->comps[1].prec && in libopenjpeg_matches_pix_fmt()
180 1 << desc->log2_chroma_w == image->comps[1].dx && in libopenjpeg_matches_pix_fmt()
[all …]
/third_party/boost/boost/compute/interop/opencv/
Dcore.hpp52 image2d &image, in opencv_copy_mat_to_image() argument
57 BOOST_ASSERT(image.get_context() == queue.get_context()); in opencv_copy_mat_to_image()
59 queue.enqueue_write_image(image, image.origin(), image.size(), mat.data); in opencv_copy_mat_to_image()
62 inline void opencv_copy_image_to_mat(const image2d &image, in opencv_copy_image_to_mat() argument
67 BOOST_ASSERT(image.get_context() == queue.get_context()); in opencv_copy_image_to_mat()
69 queue.enqueue_read_image(image, image.origin(), image.size(), mat.data); in opencv_copy_image_to_mat()
90 inline cv::Mat opencv_create_mat_with_image2d(const image2d &image, in opencv_create_mat_with_image2d() argument
93 BOOST_ASSERT(image.get_context() == queue.get_context()); in opencv_create_mat_with_image2d()
96 image_format format = image.get_format(); in opencv_create_mat_with_image2d()
102 mat = cv::Mat(image.height(), image.width(), CV_8UC4); in opencv_create_mat_with_image2d()
[all …]
/third_party/boost/libs/compute/test/
Dtest_image2d.cpp68 compute::image2d image( in BOOST_AUTO_TEST_CASE() local
72 BOOST_CHECK_EQUAL(image.get_info<size_t>(CL_IMAGE_WIDTH), size_t(48)); in BOOST_AUTO_TEST_CASE()
73 BOOST_CHECK_EQUAL(image.get_info<size_t>(CL_IMAGE_HEIGHT), size_t(64)); in BOOST_AUTO_TEST_CASE()
74 BOOST_CHECK_EQUAL(image.get_info<size_t>(CL_IMAGE_DEPTH), size_t(0)); in BOOST_AUTO_TEST_CASE()
75 BOOST_CHECK_EQUAL(image.get_info<size_t>(CL_IMAGE_ROW_PITCH), size_t(48*4)); in BOOST_AUTO_TEST_CASE()
76 BOOST_CHECK_EQUAL(image.get_info<size_t>(CL_IMAGE_SLICE_PITCH), size_t(0)); in BOOST_AUTO_TEST_CASE()
77 BOOST_CHECK_EQUAL(image.get_info<size_t>(CL_IMAGE_ELEMENT_SIZE), size_t(4)); in BOOST_AUTO_TEST_CASE()
79 BOOST_CHECK(image.format() == format); in BOOST_AUTO_TEST_CASE()
80 BOOST_CHECK_EQUAL(image.width(), size_t(48)); in BOOST_AUTO_TEST_CASE()
81 BOOST_CHECK_EQUAL(image.height(), size_t(64)); in BOOST_AUTO_TEST_CASE()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DImageTest.cpp167 EGLImageKHR image = in createEGLImage2DTextureSource() local
174 *outSourceImage = image; in createEGLImage2DTextureSource()
214 EGLImageKHR image = in createEGLImageCubemapTextureSource() local
221 *outSourceImage = image; in createEGLImageCubemapTextureSource()
259 EGLImageKHR image = in createEGLImage3DTextureSource() local
266 *outSourceImage = image; in createEGLImage3DTextureSource()
305 EGLImageKHR image = in createEGLImageRenderbufferSource() local
312 *outSourceImage = image; in createEGLImageRenderbufferSource()
315 void createEGLImageTargetTexture2D(EGLImageKHR image, GLuint *outTargetTexture) in createEGLImageTargetTexture2D() argument
321 glEGLImageTargetTexture2DOES(GL_TEXTURE_2D, image); in createEGLImageTargetTexture2D()
[all …]
/third_party/flutter/skia/third_party/externals/libpng/contrib/examples/
Dpngtopng.c34 png_image image; in main() local
37 memset(&image, 0, sizeof image); in main()
38 image.version = PNG_IMAGE_VERSION; in main()
40 if (png_image_begin_read_from_file(&image, argv[1])) in main()
47 image.format = PNG_FORMAT_RGBA; in main()
49 buffer = malloc(PNG_IMAGE_SIZE(image)); in main()
53 if (png_image_finish_read(&image, NULL/*background*/, buffer, in main()
56 if (png_image_write_to_file(&image, argv[2], in main()
63 image.message); in main()
68 image.message); in main()
[all …]
/third_party/libpng/contrib/examples/
Dpngtopng.c34 png_image image; in main() local
37 memset(&image, 0, sizeof image); in main()
38 image.version = PNG_IMAGE_VERSION; in main()
40 if (png_image_begin_read_from_file(&image, argv[1])) in main()
47 image.format = PNG_FORMAT_RGBA; in main()
49 buffer = malloc(PNG_IMAGE_SIZE(image)); in main()
53 if (png_image_finish_read(&image, NULL/*background*/, buffer, in main()
56 if (png_image_write_to_file(&image, argv[2], in main()
63 image.message); in main()
68 image.message); in main()
[all …]
/third_party/skia/third_party/externals/libpng/contrib/examples/
Dpngtopng.c34 png_image image; in main() local
37 memset(&image, 0, sizeof image); in main()
38 image.version = PNG_IMAGE_VERSION; in main()
40 if (png_image_begin_read_from_file(&image, argv[1])) in main()
47 image.format = PNG_FORMAT_RGBA; in main()
49 buffer = malloc(PNG_IMAGE_SIZE(image)); in main()
53 if (png_image_finish_read(&image, NULL/*background*/, buffer, in main()
56 if (png_image_write_to_file(&image, argv[2], in main()
63 image.message); in main()
68 image.message); in main()
[all …]
/third_party/gstreamer/gstplugins_good/ext/vpx/
Dgstvp9enc.c94 static void gst_vp9_enc_set_image_format (GstVPXEnc * enc, vpx_image_t * image);
103 GstVideoCodecFrame * frame, vpx_image_t * image);
171 gst_vp9_enc_set_image_format (GstVPXEnc * enc, vpx_image_t * image) in gst_vp9_enc_set_image_format() argument
175 image->fmt = VPX_IMG_FMT_I420; in gst_vp9_enc_set_image_format()
176 image->bps = 12; in gst_vp9_enc_set_image_format()
177 image->x_chroma_shift = image->y_chroma_shift = 1; in gst_vp9_enc_set_image_format()
180 image->fmt = VPX_IMG_FMT_YV12; in gst_vp9_enc_set_image_format()
181 image->bps = 12; in gst_vp9_enc_set_image_format()
182 image->x_chroma_shift = image->y_chroma_shift = 1; in gst_vp9_enc_set_image_format()
185 image->fmt = VPX_IMG_FMT_I422; in gst_vp9_enc_set_image_format()
[all …]
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlists/
Dvk-wsi.txt1 dEQP-VK.image.swapchain_mutable.xlib.2d.r8g8b8a8_unorm_r8g8b8a8_snorm_clear_copy_format_list
2 dEQP-VK.image.swapchain_mutable.xlib.2d.r8g8b8a8_unorm_r8g8b8a8_snorm_clear_load_format_list
3 dEQP-VK.image.swapchain_mutable.xlib.2d.r8g8b8a8_unorm_r8g8b8a8_snorm_clear_texture_format_list
4 dEQP-VK.image.swapchain_mutable.xlib.2d.r8g8b8a8_unorm_r8g8b8a8_snorm_copy_copy_format_list
5 dEQP-VK.image.swapchain_mutable.xlib.2d.r8g8b8a8_unorm_r8g8b8a8_snorm_copy_load_format_list
6 dEQP-VK.image.swapchain_mutable.xlib.2d.r8g8b8a8_unorm_r8g8b8a8_snorm_copy_texture_format_list
7 dEQP-VK.image.swapchain_mutable.xlib.2d.r8g8b8a8_unorm_r8g8b8a8_snorm_store_copy_format_list
8 dEQP-VK.image.swapchain_mutable.xlib.2d.r8g8b8a8_unorm_r8g8b8a8_snorm_store_load_format_list
9 dEQP-VK.image.swapchain_mutable.xlib.2d.r8g8b8a8_unorm_r8g8b8a8_snorm_store_texture_format_list
10 dEQP-VK.image.swapchain_mutable.xlib.2d.r8g8b8a8_unorm_r8g8b8a8_snorm_draw_copy_format_list
[all …]
/third_party/flutter/skia/gm/
Dmakecolorspace.cpp91 const SkImage* image = images[j].get(); variable
92 if (!image) {
98 canvas->drawImage(image, 0, 0);
106 auto image565 = image->makeColorTypeAndColorSpace(kRGB_565_SkColorType, rec2020);
113 auto imageGray = image->makeColorTypeAndColorSpace(kGray_8_SkColorType,
114 image->refColorSpace());
120 ? image->makeTextureImage(canvas->getGrContext())
121 : image->makeRasterImage();
144 sk_sp<SkImage> image = GetResourceAsImage("images/color_wheel.png"); variable
145 if (!image) {
[all …]
/third_party/flutter/skia/third_party/externals/libpng/contrib/libtests/
Dpngstest.c575 png_image image; member
593 newimage(Image *image) in newimage() argument
595 memset(image, 0, sizeof *image); in newimage()
601 resetimage(Image *image) in resetimage() argument
603 if (image->input_file != NULL) in resetimage()
604 rewind(image->input_file); in resetimage()
611 freebuffer(Image *image) in freebuffer() argument
613 if (image->buffer) free(image->buffer); in freebuffer()
614 image->buffer = NULL; in freebuffer()
615 image->bufsize = 0; in freebuffer()
[all …]

12345678910>>...176