Home
last modified time | relevance | path

Searched refs:image (Results 1 - 25 of 1837) sorted by relevance

12345678910>>...74

/third_party/python/Lib/tkinter/test/test_tkinter/
H A Dtest_images.py48 image = tkinter.BitmapImage()
49 self.assertIn(image.name, tkinter.image_names())
57 image = tkinter.PhotoImage()
58 self.assertIn(image.name, tkinter.image_names())
72 image = tkinter.BitmapImage('::img::test', master=self.root,
75 self.assertEqual(str(image), '::img::test')
76 self.assertEqual(image.type(), 'bitmap')
77 self.assertEqual(image.width(), 16)
78 self.assertEqual(image.height(), 16)
80 del image
[all...]
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_image.c82 /* Do not enable TC-compatible HTILE if the image isn't readable by a in radv_use_tc_compat_htile_for_image()
124 const struct radv_image *image) in radv_image_use_fast_clear_for_image_early()
129 if (image->info.samples <= 1 && image->info.width * image->info.height <= 512 * 512) { in radv_image_use_fast_clear_for_image_early()
132 * clear. RadeonSI does this, but the image threshold is in radv_image_use_fast_clear_for_image_early()
138 return !!(image->vk.usage & VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT); in radv_image_use_fast_clear_for_image_early()
143 const struct radv_image *image) in radv_image_use_fast_clear_for_image()
148 return radv_image_use_fast_clear_for_image_early(device, image) && in radv_image_use_fast_clear_for_image()
149 (image in radv_image_use_fast_clear_for_image()
123 radv_image_use_fast_clear_for_image_early(const struct radv_device *device, const struct radv_image *image) radv_image_use_fast_clear_for_image_early() argument
142 radv_image_use_fast_clear_for_image(const struct radv_device *device, const struct radv_image *image) radv_image_use_fast_clear_for_image() argument
228 radv_use_dcc_for_image_early(struct radv_device *device, struct radv_image *image, const VkImageCreateInfo *pCreateInfo, VkFormat format, bool *sign_reinterpret) radv_use_dcc_for_image_early() argument
288 radv_use_dcc_for_image_late(struct radv_device *device, struct radv_image *image) radv_use_dcc_for_image_late() argument
319 radv_image_use_dcc_image_stores(const struct radv_device *device, const struct radv_image *image) radv_image_use_dcc_image_stores() argument
330 radv_image_use_dcc_predication(const struct radv_device *device, const struct radv_image *image) radv_image_use_dcc_predication() argument
336 radv_use_fmask_for_image(const struct radv_device *device, const struct radv_image *image) radv_use_fmask_for_image() argument
343 radv_use_htile_for_image(const struct radv_device *device, const struct radv_image *image) radv_use_htile_for_image() argument
374 radv_use_tc_compat_cmask_for_image(struct radv_device *device, struct radv_image *image) radv_use_tc_compat_cmask_for_image() argument
451 radv_patch_image_dimensions(struct radv_device *device, struct radv_image *image, const struct radv_image_create_info *create_info, struct ac_surf_info *image_info) radv_patch_image_dimensions() argument
512 radv_patch_image_from_extra_info(struct radv_device *device, struct radv_image *image, const struct radv_image_create_info *create_info, struct ac_surf_info *image_info) radv_patch_image_from_extra_info() argument
568 radv_image_get_plane_format(const struct radv_physical_device *pdev, const struct radv_image *image, unsigned plane) radv_image_get_plane_format() argument
581 radv_get_surface_flags(struct radv_device *device, struct radv_image *image, unsigned plane_id, const VkImageCreateInfo *pCreateInfo, VkFormat image_format) radv_get_surface_flags() argument
767 si_set_mutable_tex_desc_fields(struct radv_device *device, struct radv_image *image, const struct legacy_surf_level *base_level_info, unsigned plane_id, unsigned base_level, unsigned first_level, unsigned block_width, bool is_stencil, bool is_storage_image, bool disable_compression, bool enable_write_compression, uint32_t *state) si_set_mutable_tex_desc_fields() argument
954 gfx10_make_texture_descriptor(struct radv_device *device, struct radv_image *image, bool is_storage_image, VkImageViewType view_type, VkFormat vk_format, const VkComponentMapping *mapping, unsigned first_level, unsigned last_level, unsigned first_layer, unsigned last_layer, unsigned width, unsigned height, unsigned depth, float min_lod, uint32_t *state, uint32_t *fmask_state, VkImageCreateFlags img_create_flags) gfx10_make_texture_descriptor() argument
1114 si_make_texture_descriptor(struct radv_device *device, struct radv_image *image, bool is_storage_image, VkImageViewType view_type, VkFormat vk_format, const VkComponentMapping *mapping, unsigned first_level, unsigned last_level, unsigned first_layer, unsigned last_layer, unsigned width, unsigned height, unsigned depth, float min_lod, uint32_t *state, uint32_t *fmask_state, VkImageCreateFlags img_create_flags) si_make_texture_descriptor() argument
1328 radv_make_texture_descriptor(struct radv_device *device, struct radv_image *image, bool is_storage_image, VkImageViewType view_type, VkFormat vk_format, const VkComponentMapping *mapping, unsigned first_level, unsigned last_level, unsigned first_layer, unsigned last_layer, unsigned width, unsigned height, unsigned depth, float min_lod, uint32_t *state, uint32_t *fmask_state, VkImageCreateFlags img_create_flags) radv_make_texture_descriptor() argument
1347 radv_query_opaque_metadata(struct radv_device *device, struct radv_image *image, struct radeon_bo_metadata *md) radv_query_opaque_metadata() argument
1369 radv_init_metadata(struct radv_device *device, struct radv_image *image, struct radeon_bo_metadata *metadata) radv_init_metadata() argument
1408 radv_image_override_offset_stride(struct radv_device *device, struct radv_image *image, uint64_t offset, uint32_t stride) radv_image_override_offset_stride() argument
1416 radv_image_alloc_single_sample_cmask(const struct radv_device *device, const struct radv_image *image, struct radeon_surf *surf) radv_image_alloc_single_sample_cmask() argument
1433 radv_image_alloc_values(const struct radv_device *device, struct radv_image *image) radv_image_alloc_values() argument
1470 radv_image_is_pipe_misaligned(const struct radv_device *device, const struct radv_image *image) radv_image_is_pipe_misaligned() argument
1518 radv_image_is_l2_coherent(const struct radv_device *device, const struct radv_image *image) radv_image_is_l2_coherent() argument
1543 radv_image_can_fast_clear(const struct radv_device *device, const struct radv_image *image) radv_image_can_fast_clear() argument
1571 radv_image_use_comp_to_single(const struct radv_device *device, const struct radv_image *image) radv_image_use_comp_to_single() argument
1602 radv_image_reset_layout(const struct radv_physical_device *pdev, struct radv_image *image) radv_image_reset_layout() argument
1635 radv_image_create_layout(struct radv_device *device, struct radv_image_create_info create_info, const struct VkImageDrmFormatModifierExplicitCreateInfoEXT *mod_info, struct radv_image *image) radv_image_create_layout() argument
1739 radv_destroy_image(struct radv_device *device, const VkAllocationCallbacks *pAllocator, struct radv_image *image) radv_destroy_image() argument
1755 radv_image_print_info(struct radv_device *device, struct radv_image *image) radv_image_print_info() argument
1823 struct radv_image *image = NULL; radv_image_create() local
1941 struct radv_image *image = iview->image; radv_image_view_make_descriptor() local
2006 radv_get_aspect_format(struct radv_image *image, VkImageAspectFlags mask) radv_get_aspect_format() argument
2033 struct radv_image *image; radv_image_view_can_fast_clear() local
2219 radv_layout_is_htile_compressed(const struct radv_device *device, const struct radv_image *image, VkImageLayout layout, bool in_render_loop, unsigned queue_mask) radv_layout_is_htile_compressed() argument
2273 radv_layout_can_fast_clear(const struct radv_device *device, const struct radv_image *image, unsigned level, VkImageLayout layout, bool in_render_loop, unsigned queue_mask) radv_layout_can_fast_clear() argument
2296 radv_layout_dcc_compressed(const struct radv_device *device, const struct radv_image *image, unsigned level, VkImageLayout layout, bool in_render_loop, unsigned queue_mask) radv_layout_dcc_compressed() argument
2327 radv_layout_fmask_compressed(const struct radv_device *device, const struct radv_image *image, VkImageLayout layout, unsigned queue_mask) radv_layout_fmask_compressed() argument
2346 radv_image_queue_family_mask(const struct radv_image *image, enum radv_queue_family family, enum radv_queue_family queue_family) radv_image_queue_family_mask() argument
[all...]
H A Dradv_sdma_copy_image.c71 radv_sdma_v4_v5_copy_image_to_buffer(struct radv_cmd_buffer *cmd_buffer, struct radv_image *image, in radv_sdma_v4_v5_copy_image_to_buffer() argument
75 assert(image->plane_count == 1); in radv_sdma_v4_v5_copy_image_to_buffer()
77 unsigned bpp = image->planes[0].surface.bpe; in radv_sdma_v4_v5_copy_image_to_buffer()
79 uint64_t src_address = image->bindings[0].bo->va + image->planes[0].surface.u.gfx9.surf_offset; in radv_sdma_v4_v5_copy_image_to_buffer()
80 unsigned src_pitch = image->planes[0].surface.u.gfx9.surf_pitch; in radv_sdma_v4_v5_copy_image_to_buffer()
81 unsigned copy_width = DIV_ROUND_UP(image->info.width, image->planes[0].surface.blk_w); in radv_sdma_v4_v5_copy_image_to_buffer()
82 unsigned copy_height = DIV_ROUND_UP(image->info.height, image in radv_sdma_v4_v5_copy_image_to_buffer()
191 radv_sdma_copy_image(struct radv_cmd_buffer *cmd_buffer, struct radv_image *image, struct radv_buffer *buffer, const VkBufferImageCopy2 *region) radv_sdma_copy_image() argument
[all...]
/third_party/mesa3d/src/imagination/vulkan/
H A Dpvr_image.c43 static void pvr_image_init_memlayout(struct pvr_image *image) in pvr_image_init_memlayout() argument
45 switch (image->vk.tiling) { in pvr_image_init_memlayout()
49 if (image->vk.wsi_legacy_scanout) in pvr_image_init_memlayout()
50 image->memlayout = PVR_MEMLAYOUT_LINEAR; in pvr_image_init_memlayout()
51 else if (image->vk.image_type == VK_IMAGE_TYPE_3D) in pvr_image_init_memlayout()
52 image->memlayout = PVR_MEMLAYOUT_3DTWIDDLED; in pvr_image_init_memlayout()
54 image->memlayout = PVR_MEMLAYOUT_TWIDDLED; in pvr_image_init_memlayout()
57 image->memlayout = PVR_MEMLAYOUT_LINEAR; in pvr_image_init_memlayout()
62 static void pvr_image_init_physical_extent(struct pvr_image *image) in pvr_image_init_physical_extent() argument
64 assert(image in pvr_image_init_physical_extent()
83 pvr_image_setup_mip_levels(struct pvr_image *image) pvr_image_setup_mip_levels() argument
132 struct pvr_image *image; pvr_CreateImage() local
[all...]
/third_party/libdrm/tests/tegra/
H A Dvic.c55 struct vic_image *image; in vic_image_new() local
61 image = calloc(1, sizeof(*image)); in vic_image_new()
62 if (!image) in vic_image_new()
66 image->align = 256; in vic_image_new()
68 image->align = 256; /* XXX */ in vic_image_new()
70 image->width = width; in vic_image_new()
71 image->stride = ALIGN(width, image->align); in vic_image_new()
72 image in vic_image_new()
100 vic_image_free(struct vic_image *image) vic_image_free() argument
109 vic_image_dump(struct vic_image *image, FILE *fp) vic_image_dump() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A 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 void Texture::setImage(GLenum format, 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->getDepth() : 1; in setImage()
349 image->loadImageData(0, 0, 0, image->getWidth(), image in setImage()
353 setCompressedImage(GLsizei imageSize, const void *pixels, egl::Image *image) setCompressedImage() argument
362 subImage(GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const gl::PixelStorageModes &unpackParameters, const void *pixels, egl::Image *image) subImage() argument
375 subImageCompressed(GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *pixels, egl::Image *image) subImageCompressed() argument
[all...]
/third_party/mesa3d/src/intel/vulkan/
H A Danv_image.c60 image_aspect_to_binding(struct anv_image *image, VkImageAspectFlags aspect) in image_aspect_to_binding() argument
64 assert(image->disjoint); in image_aspect_to_binding()
66 if (image->vk.tiling == VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT) { in image_aspect_to_binding()
74 assert(!isl_drm_modifier_has_aux(image->vk.drm_format_mod)); in image_aspect_to_binding()
78 plane = anv_image_aspect_to_plane(image, aspect); in image_aspect_to_binding()
81 return &image->bindings[ANV_IMAGE_MEMORY_BINDING_PLANE_0 + plane]; in image_aspect_to_binding()
95 struct anv_image *image, in image_binding_grow()
115 if (!image->disjoint) in image_binding_grow()
126 &image->bindings[binding].memory_range; in image_binding_grow()
246 /* blorp implements transfers by sampling from the source image in choose_isl_surf_usage()
94 image_binding_grow(const struct anv_device *device, struct anv_image *image, enum anv_image_memory_binding binding, uint64_t offset, uint64_t size, uint32_t alignment, struct anv_image_memory_range *out_range) image_binding_grow() argument
309 add_surface(struct anv_device *device, struct anv_image *image, struct anv_surface *surf, enum anv_image_memory_binding binding, uint64_t offset) add_surface() argument
373 can_fast_clear_with_non_zero_color(const struct intel_device_info *devinfo, const struct anv_image *image, uint32_t plane, const VkImageFormatListCreateInfo *fmt_list) can_fast_clear_with_non_zero_color() argument
644 add_aux_state_tracking_buffer(struct anv_device *device, struct anv_image *image, uint32_t plane) add_aux_state_tracking_buffer() argument
701 add_aux_surface_if_supported(struct anv_device *device, struct anv_image *image, uint32_t plane, struct anv_format_plane plane_format, const VkImageFormatListCreateInfo *fmt_list, uint64_t offset, uint32_t stride, isl_surf_usage_flags_t isl_extra_usage_flags) add_aux_surface_if_supported() argument
885 add_shadow_surface(struct anv_device *device, struct anv_image *image, uint32_t plane, struct anv_format_plane plane_format, uint32_t stride, VkImageUsageFlags vk_plane_usage) add_shadow_surface() argument
927 add_primary_surface(struct anv_device *device, struct anv_image *image, uint32_t plane, struct anv_format_plane plane_format, uint64_t offset, uint32_t stride, isl_tiling_flags_t isl_tiling_flags, isl_surf_usage_flags_t isl_usage) add_primary_surface() argument
1027 check_memory_bindings(const struct anv_device *device, const struct anv_image *image) check_memory_bindings() argument
1141 check_drm_format_mod(const struct anv_device *device, const struct anv_image *image) check_drm_format_mod() argument
1200 add_all_surfaces_implicit_layout( struct anv_device *device, struct anv_image *image, const VkImageFormatListCreateInfo *format_list_info, uint32_t stride, isl_tiling_flags_t isl_tiling_flags, isl_surf_usage_flags_t isl_extra_usage_flags) add_all_surfaces_implicit_layout() argument
1264 add_all_surfaces_explicit_layout( struct anv_device *device, struct anv_image *image, const VkImageFormatListCreateInfo *format_list_info, const VkImageDrmFormatModifierExplicitCreateInfoEXT *drm_info, isl_tiling_flags_t isl_tiling_flags, isl_surf_usage_flags_t isl_extra_usage_flags) add_all_surfaces_explicit_layout() argument
1402 alloc_private_binding(struct anv_device *device, struct anv_image *image, const VkImageCreateInfo *create_info) alloc_private_binding() argument
1426 anv_image_init(struct anv_device *device, struct anv_image *image, const struct anv_image_create_info *create_info) anv_image_init() argument
1531 anv_image_finish(struct anv_image *image) anv_image_finish() argument
1556 VkImage image = wsi_common_get_image(swapchain, index); anv_swapchain_get_image() local
1561 anv_image_init_from_create_info(struct anv_device *device, struct anv_image *image, const VkImageCreateInfo *pCreateInfo) anv_image_init_from_create_info() argument
1613 struct anv_image *image = anv_CreateImage() local
1651 resolve_ahw_image(struct anv_device *device, struct anv_image *image, struct anv_device_memory *mem) resolve_ahw_image() argument
1705 anv_image_get_memory_requirements(struct anv_device *device, struct anv_image *image, VkImageAspectFlags aspects, VkMemoryRequirements2 *pMemoryRequirements) anv_image_get_memory_requirements() argument
1809 struct anv_image image = { 0 }; anv_GetDeviceImageMemoryRequirementsKHR() local
1822 anv_GetImageSparseMemoryRequirements( VkDevice device, VkImage image, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements* pSparseMemoryRequirements) anv_GetImageSparseMemoryRequirements() argument
2095 anv_layout_to_aux_state(const struct intel_device_info * const devinfo, const struct anv_image * const image, const VkImageAspectFlagBits aspect, const VkImageLayout layout) anv_layout_to_aux_state() argument
2299 anv_layout_to_aux_usage(const struct intel_device_info * const devinfo, const struct anv_image * const image, const VkImageAspectFlagBits aspect, const VkImageUsageFlagBits usage, const VkImageLayout layout) anv_layout_to_aux_usage() argument
2366 anv_layout_to_fast_clear_type(const struct intel_device_info * const devinfo, const struct anv_image * const image, const VkImageAspectFlagBits aspect, const VkImageLayout layout) anv_layout_to_fast_clear_type() argument
2465 anv_image_fill_surface_state(struct anv_device *device, const struct anv_image *image, VkImageAspectFlagBits aspect, const struct isl_view *view_in, isl_surf_usage_flags_t view_usage, enum isl_aux_usage aux_usage, const union isl_color_value *clear_color, enum anv_image_view_state_flags flags, struct anv_surface_state *state_inout, struct brw_image_param *image_param_out) anv_image_fill_surface_state() argument
[all...]
/third_party/vk-gl-cts/framework/delibs/deimage/
H A DdeImage.c36 static void* getPixelAddress (const deImage* image, int x, int y) in getPixelAddress() argument
38 int offset = ((y*image->width) + x) * deImageFormat_getBytesPerPixel(image->format); in getPixelAddress()
39 DE_ASSERT(deInBounds32(x, 0, image->width)); in getPixelAddress()
40 DE_ASSERT(deInBounds32(y, 0, image->height)); in getPixelAddress()
41 return (void*)((deUint8*)image->pixels + offset); in getPixelAddress()
46 deImage* image = DE_NEW(deImage); in deImage_create() local
48 if (!image) in deImage_create()
51 image->width = width; in deImage_create()
52 image in deImage_create()
65 deImage_destroy(deImage* image) deImage_destroy() argument
71 deImage_getPixel(const deImage* image, int x, int y) deImage_getPixel() argument
84 deImage_setPixel(deImage* image, int x, int y, deARGB argb) deImage_setPixel() argument
96 deImage_convertFormat(const deImage* image, deImageFormat format) deImage_convertFormat() argument
161 deImage_copyToUint8RGBA(const deImage* image, deUint8* pixels) deImage_copyToUint8RGBA() argument
179 deImage_getPixelPtr(const deImage* image) deImage_getPixelPtr() argument
184 deImage_getWidth(const deImage* image) deImage_getWidth() argument
189 deImage_getHeight(const deImage* image) deImage_getHeight() argument
[all...]
/third_party/mesa3d/src/gbm/backends/dri/
H A Dgbm_dri.c62 dri_lookup_egl_image(__DRIscreen *screen, void *image, void *data) in dri_lookup_egl_image() argument
69 return dri->lookup_image(screen, image, dri->lookup_user_data); in dri_lookup_egl_image()
73 dri_validate_egl_image(void *image, void *data) in dri_validate_egl_image() argument
80 return dri->validate_image(image, dri->lookup_user_data); in dri_validate_egl_image()
84 dri_lookup_egl_image_validated(void *image, void *data) in dri_lookup_egl_image_validated() argument
91 return dri->lookup_image_validated(image, dri->lookup_user_data); in dri_lookup_egl_image_validated()
298 { __DRI_IMAGE, 1, offsetof(struct gbm_dri_device, image), false },
676 if (dri->image->base.version <= 15 || !dri->image->queryDmaBufModifiers) { in gbm_dri_is_format_supported()
688 if (!dri->image in gbm_dri_is_format_supported()
751 get_number_planes(struct gbm_dri_device *dri, __DRIimage *image) get_number_planes() argument
807 __DRIimage *image = dri->image->fromPlanar(bo->image, plane, NULL); gbm_dri_bo_get_handle_for_plane() local
846 __DRIimage *image = dri->image->fromPlanar(bo->image, plane, NULL); gbm_dri_bo_get_plane_fd() local
863 __DRIimage *image; gbm_dri_bo_get_stride() local
921 __DRIimage *image = dri->image->fromPlanar(bo->image, plane, NULL); gbm_dri_bo_get_offset() local
990 __DRIimage *image; gbm_dri_bo_import() local
[all...]
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dv_image.c74 v3d_setup_slices(struct v3dv_image *image) in v3d_setup_slices() argument
76 assert(image->cpp > 0); in v3d_setup_slices()
78 uint32_t width = image->vk.extent.width; in v3d_setup_slices()
79 uint32_t height = image->vk.extent.height; in v3d_setup_slices()
80 uint32_t depth = image->vk.extent.depth; in v3d_setup_slices()
91 uint32_t utile_w = v3d_utile_width(image->cpp); in v3d_setup_slices()
92 uint32_t utile_h = v3d_utile_height(image->cpp); in v3d_setup_slices()
96 uint32_t block_width = vk_format_get_blockwidth(image->vk.format); in v3d_setup_slices()
97 uint32_t block_height = vk_format_get_blockheight(image->vk.format); in v3d_setup_slices()
99 assert(image in v3d_setup_slices()
235 v3dv_layer_offset(const struct v3dv_image *image, uint32_t level, uint32_t layer) v3dv_layer_offset() argument
251 struct v3dv_image *image = NULL; create_image() local
[all...]
/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_image.c52 unreachable("invalid image type"); in sanitize_image_extent()
58 struct vk_image *image, in vk_image_init()
61 vk_object_base_init(device, &image->base, VK_OBJECT_TYPE_IMAGE); in vk_image_init()
76 image->create_flags = pCreateInfo->flags; in vk_image_init()
77 image->image_type = pCreateInfo->imageType; in vk_image_init()
78 vk_image_set_format(image, pCreateInfo->format); in vk_image_init()
79 image->extent = sanitize_image_extent(pCreateInfo->imageType, in vk_image_init()
81 image->mip_levels = pCreateInfo->mipLevels; in vk_image_init()
82 image->array_layers = pCreateInfo->arrayLayers; in vk_image_init()
83 image in vk_image_init()
57 vk_image_init(struct vk_device *device, struct vk_image *image, const VkImageCreateInfo *pCreateInfo) vk_image_init() argument
133 struct vk_image *image = vk_image_create() local
145 vk_image_finish(struct vk_image *image) vk_image_finish() argument
151 vk_image_destroy(struct vk_device *device, const VkAllocationCallbacks *alloc, struct vk_image *image) vk_image_destroy() argument
177 vk_image_set_format(struct vk_image *image, VkFormat format) vk_image_set_format() argument
184 vk_image_usage(const struct vk_image *image, VkImageAspectFlags aspect_mask) vk_image_usage() argument
242 vk_image_expand_aspect_mask(const struct vk_image *image, VkImageAspectFlags aspect_mask) vk_image_expand_aspect_mask() argument
255 vk_image_extent_to_elements(const struct vk_image *image, VkExtent3D extent) vk_image_extent_to_elements() argument
269 vk_image_offset_to_elements(const struct vk_image *image, VkOffset3D offset) vk_image_offset_to_elements() argument
288 vk_image_buffer_copy_layout(const struct vk_image *image, const VkBufferImageCopy2* region) vk_image_buffer_copy_layout() argument
[all...]
H A Dvk_image.h81 struct vk_image *image,
83 void vk_image_finish(struct vk_image *image);
91 struct vk_image *image);
93 void vk_image_set_format(struct vk_image *image, VkFormat format);
95 VkImageUsageFlags vk_image_usage(const struct vk_image *image,
98 VkImageAspectFlags vk_image_expand_aspect_mask(const struct vk_image *image,
102 vk_image_mip_level_extent(const struct vk_image *image, in vk_image_mip_level_extent() argument
106 u_minify(image->extent.width, mip_level), in vk_image_mip_level_extent()
107 u_minify(image->extent.height, mip_level), in vk_image_mip_level_extent()
108 u_minify(image in vk_image_mip_level_extent()
121 vk_image_subresource_level_count(const struct vk_image *image, const VkImageSubresourceRange *range) vk_image_subresource_level_count() argument
129 vk_image_sanitize_extent(const struct vk_image *image, const VkExtent3D imageExtent) vk_image_sanitize_extent() argument
148 vk_image_sanitize_offset(const struct vk_image *image, const VkOffset3D imageOffset) vk_image_sanitize_offset() argument
202 struct vk_image *image; global() member
[all...]
/third_party/ffmpeg/libavcodec/
H A Dlibopenjpegdec.c158 static inline int libopenjpeg_matches_pix_fmt(const opj_image_t *image, enum AVPixelFormat pix_fmt) in libopenjpeg_matches_pix_fmt() argument
163 if (desc->nb_components != image->numcomps) { in libopenjpeg_matches_pix_fmt()
170 desc->comp[3].depth >= image->comps[3].prec && in libopenjpeg_matches_pix_fmt()
171 1 == image->comps[3].dx && in libopenjpeg_matches_pix_fmt()
172 1 == image->comps[3].dy; in libopenjpeg_matches_pix_fmt()
175 desc->comp[2].depth >= image->comps[2].prec && in libopenjpeg_matches_pix_fmt()
176 1 << desc->log2_chroma_w == image->comps[2].dx && in libopenjpeg_matches_pix_fmt()
177 1 << desc->log2_chroma_h == image->comps[2].dy; in libopenjpeg_matches_pix_fmt()
180 desc->comp[1].depth >= image->comps[1].prec && in libopenjpeg_matches_pix_fmt()
181 1 << desc->log2_chroma_w == image in libopenjpeg_matches_pix_fmt()
195 libopenjpeg_guess_pix_fmt(const opj_image_t *image) libopenjpeg_guess_pix_fmt() argument
242 libopenjpeg_copy_to_packed8(AVFrame *picture, opj_image_t *image) libopenjpeg_copy_to_packed8() argument
254 libopenjpeg_copy_to_packed16(AVFrame *picture, opj_image_t *image) libopenjpeg_copy_to_packed16() argument
272 libopenjpeg_copyto8(AVFrame *picture, opj_image_t *image) libopenjpeg_copyto8() argument
290 libopenjpeg_copyto16(AVFrame *picture, opj_image_t *image) libopenjpeg_copyto16() argument
332 opj_image_t *image = NULL; libopenjpeg_decode_frame() local
[all...]
H A Dlibopenjpegenc.c269 // x0, y0 is the top left corner of the image in mj2_create_image()
349 const int linesize[4], opj_image_t *image) in libopenjpeg_copy_packed8()
356 const int numcomps = image->numcomps; in libopenjpeg_copy_packed8()
359 if (image->comps[compno].w > linesize[0] / numcomps) { in libopenjpeg_copy_packed8()
360 av_log(avctx, AV_LOG_ERROR, "Error: frame's linesize is too small for the image\n"); in libopenjpeg_copy_packed8()
367 image_line = image->comps[compno].data + y * image->comps[compno].w; in libopenjpeg_copy_packed8()
373 for (; x < image->comps[compno].w; ++x) { in libopenjpeg_copy_packed8()
377 for (; y < image->comps[compno].h; ++y) { in libopenjpeg_copy_packed8()
378 image_line = image in libopenjpeg_copy_packed8()
348 libopenjpeg_copy_packed8(AVCodecContext *avctx, const uint8_t *src[4], const int linesize[4], opj_image_t *image) libopenjpeg_copy_packed8() argument
389 libopenjpeg_copy_packed12(AVCodecContext *avctx, const uint8_t *src[4], const int linesize[4], opj_image_t *image) libopenjpeg_copy_packed12() argument
429 libopenjpeg_copy_packed16(AVCodecContext *avctx, const uint8_t *src[4], const int linesize[4], opj_image_t *image) libopenjpeg_copy_packed16() argument
470 libopenjpeg_copy_unpacked8(AVCodecContext *avctx, const uint8_t *src[4], const int linesize[4], opj_image_t *image) libopenjpeg_copy_unpacked8() argument
512 libopenjpeg_copy_unpacked16(AVCodecContext *avctx, const uint8_t *src[4], const int linesize[4], opj_image_t *image) libopenjpeg_copy_unpacked16() argument
564 opj_image_t *image = mj2_create_image(avctx, &ctx->enc_params); libopenjpeg_encode_frame() local
[all...]
/third_party/skia/third_party/externals/libpng/contrib/libtests/
H A Dpngstest.c570 /* The super-class of a png_image, contains the decoded image plus the input
575 png_image image; member
593 newimage(Image *image) in newimage() argument
595 memset(image, 0, sizeof *image); in newimage()
598 /* Reset the image to be read again - only needs to rewind the FILE* at present.
601 resetimage(Image *image) in resetimage() argument
603 if (image->input_file != NULL) in resetimage()
604 rewind(image->input_file); in resetimage()
607 /* Free the image buffe
611 freebuffer(Image *image) freebuffer() argument
623 freeimage(Image *image) freeimage() argument
651 initimage(Image *image, png_uint_32 opts, const char *file_name, int stride_extra) initimage() argument
666 allocbuffer(Image *image) allocbuffer() argument
705 checkbuffer(Image *image, const char *arg) checkbuffer() argument
726 logerror(Image *image, const char *a1, const char *a2, const char *a3) logerror() argument
749 logclose(Image *image, FILE *f, const char *name, const char *operation) logclose() argument
761 checkopaque(Image *image) checkopaque() argument
2950 read_file(Image *image, png_uint_32 format, png_const_colorp background) read_file() argument
3051 read_one_file(Image *image) read_one_file() argument
3134 write_one_file(Image *output, Image *image, int convert_to_8bit) write_one_file() argument
3307 testimage(Image *image, png_uint_32 opts, format_list *pf) testimage() argument
3449 Image image; test_one_file() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiCopiesAndBlittingTests.cpp58 #include "pipeline/vktPipelineImageUtil.hpp" // required for compressed image blit
359 ImageParms image; member
377 deBool clearDestinationWithRed; // Used for CopyImageToImage tests to clear dst image with vec4(1.0f, 0.0f, 0.0f, 1.0f)
389 src.image.createFlags = VK_IMAGE_CREATE_FLAG_BITS_MAX_ENUM; in TestParams()
390 dst.image.createFlags = VK_IMAGE_CREATE_FLAG_BITS_MAX_ENUM; in TestParams()
392 src.image.fillMode = FILL_MODE_GRADIENT; in TestParams()
394 dst.image.fillMode = FILL_MODE_WHITE; in TestParams()
435 const VkImage& image, in allocateImage()
445 VkMemoryRequirements memoryRequirements = getImageMemoryRequirements(vkd, device, image); in allocateImage()
453 VkMemoryRequirements memoryRequirements = getImageMemoryRequirements(vkd, device, image); in allocateImage()
431 allocateImage(const InstanceInterface& vki, const DeviceInterface& vkd, const VkPhysicalDevice& physDevice, const VkDevice device, const VkImage& image, const MemoryRequirement requirement, Allocator& allocator, AllocationKind allocationKind, const deUint32 offset) allocateImage() argument
752 uploadImageAspect(const tcu::ConstPixelBufferAccess& imageAccess, const VkImage& image, const ImageParms& parms, const deUint32 mipLevels) uploadImageAspect() argument
955 readImageAspect(vk::VkImage image, const tcu::PixelBufferAccess& dst, const ImageParms& imageParms, const deUint32 mipLevel) readImageAspect() argument
1088 readImage(vk::VkImage image, const ImageParms& parms, const deUint32 mipLevel) readImage() argument
[all...]
/third_party/skia/third_party/externals/libpng/contrib/examples/
H A Dpngtopng.c34 png_image image; in main() local
36 /* Only the image structure version number needs to be set. */ in main()
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, arg in main()
[all...]
H A Dsimpleover.c15 * channel), and apply the intermediate image generated above to specified
16 * locations in the image.
104 png_imagep image, const png_uint_16 *buffer) in sprite_op()
108 * image processing operation could be used here. in sprite_op()
112 /* Check for an x or y offset that pushes any part of the image beyond the in sprite_op()
133 const png_uint_16 *in_pixel = buffer + (y * image->width + x)*4; in sprite_op()
181 while (++x < image->width); in sprite_op()
183 while (++y < image->height); in sprite_op()
212 png_image image; in create_sprite() local
214 image in create_sprite()
103 sprite_op(const struct sprite *sprite, int x_offset, int y_offset, png_imagep image, const png_uint_16 *buffer) sprite_op() argument
537 png_image image; main() local
[all...]
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_image.c155 TU_FROM_HANDLE(tu_image, image, pCreateInfo->image); in tu_image_view_init()
167 iview->image = image; in tu_image_view_init()
171 layouts[0] = &image->layout[tu6_plane_index(image->vk.format, aspect_mask)]; in tu_image_view_init()
179 if (image->vk.format == VK_FORMAT_G8_B8R8_2PLANE_420_UNORM && in tu_image_view_init()
195 layouts[1] = &image->layout[1]; in tu_image_view_init()
196 layouts[2] = &image->layout[2]; in tu_image_view_init()
200 args.iova = image in tu_image_view_init()
342 tu_image_init(struct tu_device *device, struct tu_image *image, const VkImageCreateInfo *pCreateInfo, uint64_t modifier, const VkSubresourceLayout *plane_layouts) tu_image_init() argument
596 struct tu_image *image = tu_CreateImage() local
679 tu_get_image_memory_requirements(struct tu_image *image, VkMemoryRequirements2 *pMemoryRequirements) tu_get_image_memory_requirements() argument
732 struct tu_image image = {0}; tu_GetDeviceImageMemoryRequirements() local
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DImageTest.cpp304 // Create an image from the source texture in createEGLImage2DTextureSource()
307 EGLImageKHR image = in createEGLImage2DTextureSource() local
313 *outSourceImage = image; in createEGLImage2DTextureSource()
343 // Create an image from the source texture in createEGLImageCubemapTextureSource()
346 EGLImageKHR image = in createEGLImageCubemapTextureSource() local
352 *outSourceImage = image; in createEGLImageCubemapTextureSource()
378 // Create an image from the source texture in createEGLImage3DTextureSource()
381 EGLImageKHR image = in createEGLImage3DTextureSource() local
387 *outSourceImage = image; in createEGLImage3DTextureSource()
414 // Create an image fro in createEGLImageRenderbufferSource()
417 EGLImageKHR image = eglCreateImageKHR( createEGLImageRenderbufferSource() local
426 createEGLImageTargetTexture2D(EGLImageKHR image, GLTexture &targetTexture) createEGLImageTargetTexture2D() argument
439 createEGLImageTargetTexture2DArray(EGLImageKHR image, GLTexture &targetTexture) createEGLImageTargetTexture2DArray() argument
452 createEGLImageTargetTextureExternal(EGLImageKHR image, GLTexture &targetTexture) createEGLImageTargetTextureExternal() argument
637 EGLImageKHR image = eglCreateImageKHR( createEGLImageAndroidHardwareBufferSource() local
672 EGLImageKHR image = createEGLImageANWBClientBufferSource() local
680 createEGLImageTargetRenderbuffer(EGLImageKHR image, GLRenderbuffer &targetRenderbuffer) createEGLImageTargetRenderbuffer() argument
1125 EGLImageKHR image = EGL_NO_IMAGE_KHR; TEST_P() local
1242 EGLImageKHR image = EGL_NO_IMAGE_KHR; TEST_P() local
1505 EGLImageKHR image; ValidationGLEGLImage_helper() local
1672 EGLImageKHR image; Source2DTarget2D_helper() local
1704 EGLImageKHR image; TEST_P() local
1740 EGLImageKHR image; TEST_P() local
1774 EGLImageKHR image; TEST_P() local
1856 EGLImageKHR image; Source2DTarget2DArray_helper() local
1892 EGLImageKHR image; TEST_P() local
1937 EGLImageKHR image; SourceAHBTarget2D_helper() local
2288 EGLImageKHR image; TEST_P() local
2349 EGLImageKHR image; SourceAHBTarget2DArray_helper() local
2402 EGLImageKHR image; SourceAHBTargetExternal_helper() local
2493 EGLImageKHR image; TEST_P() local
2641 EGLImageKHR image; TEST_P() local
3147 EGLImageKHR image; SourceAHBTargetExternalESSL3_helper() local
3193 EGLImageKHR image; TEST_P() local
3270 EGLImageKHR image; Source2DTargetRenderbuffer_helper() local
3320 EGLImageKHR image; SourceNativeClientBufferTargetExternal_helper() local
3372 EGLImageKHR image; SourceNativeClientBufferTargetRenderbuffer_helper() local
3417 EGLImageKHR image; Source2DTargetExternal_helper() local
3460 EGLImageKHR image; Source2DTargetExternalESSL3_helper() local
3504 EGLImageKHR image; SourceCubeTarget2D_helper() local
3555 EGLImageKHR image; SourceCubeTargetRenderbuffer_helper() local
3605 EGLImageKHR image; SourceCubeTargetExternal_helper() local
3652 EGLImageKHR image; SourceCubeTargetExternalESSL3_helper() local
3702 EGLImageKHR image; Source3DTargetTexture_helper() local
3759 EGLImageKHR image; Source3DTargetRenderbuffer_helper() local
3814 EGLImageKHR image; Source3DTargetExternal_helper() local
3866 EGLImageKHR image; Source3DTargetExternalESSL3_helper() local
3910 EGLImageKHR image; SourceRenderbufferTargetTexture_helper() local
3954 EGLImageKHR image; SourceRenderbufferTargetTextureExternal_helper() local
3996 EGLImageKHR image; SourceRenderbufferTargetTextureExternalESSL3_helper() local
4039 EGLImageKHR image; SourceRenderbufferTargetRenderbuffer_helper() local
4074 EGLImageKHR image; TEST_P() local
4158 EGLImageKHR image = TEST_P() local
4230 EGLImageKHR image; TEST_P() local
4264 EGLImageKHR image; TEST_P() local
4300 EGLImageKHR image; TEST_P() local
4355 EGLImageKHR image; TEST_P() local
4399 EGLImageKHR image; TEST_P() local
4452 EGLImageKHR image; TEST_P() local
4517 EGLImageKHR image; TEST_P() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiCopiesAndBlittingTests.cpp57 #include "pipeline/vktPipelineImageUtil.hpp" // required for compressed image blit
307 ImageParms image; member
335 src.image.createFlags = VK_IMAGE_CREATE_FLAG_BITS_MAX_ENUM; in TestParams()
336 dst.image.createFlags = VK_IMAGE_CREATE_FLAG_BITS_MAX_ENUM; in TestParams()
337 src.image.fillMode = FILL_MODE_GRADIENT; in TestParams()
338 dst.image.fillMode = FILL_MODE_WHITE; in TestParams()
379 const VkImage& image, in allocateImage()
389 VkMemoryRequirements memoryRequirements = getImageMemoryRequirements(vkd, device, image); in allocateImage()
397 VkMemoryRequirements memoryRequirements = getImageMemoryRequirements(vkd, device, image); in allocateImage()
404 image, // VkImag in allocateImage()
375 allocateImage(const InstanceInterface& vki, const DeviceInterface& vkd, const VkPhysicalDevice& physDevice, const VkDevice device, const VkImage& image, const MemoryRequirement requirement, Allocator& allocator, AllocationKind allocationKind, const deUint32 offset) allocateImage() argument
660 uploadImageAspect(const tcu::ConstPixelBufferAccess& imageAccess, const VkImage& image, const ImageParms& parms, const deUint32 mipLevels) uploadImageAspect() argument
863 readImageAspect(vk::VkImage image, const tcu::PixelBufferAccess& dst, const ImageParms& imageParms, const deUint32 mipLevel) readImageAspect() argument
996 readImage(vk::VkImage image, const ImageParms& parms, const deUint32 mipLevel) readImage() argument
4463 uploadCompressedImage(const VkImage& image, const ImageParms& parms) uploadCompressedImage() argument
[all...]
/third_party/skia/tests/
H A DImageTest.cpp36 #include "src/image/SkImage_Base.h"
37 #include "src/image/SkImage_GpuYUVA.h"
46 SkImageInfo read_pixels_info(SkImage* image) { in read_pixels_info() argument
47 if (image->colorSpace()) { in read_pixels_info()
48 return SkImageInfo::MakeS32(image->width(), image->height(), image->alphaType()); in read_pixels_info()
51 return SkImageInfo::MakeN32(image->width(), image->height(), image in read_pixels_info()
163 test_encode(skiatest::Reporter* reporter, GrDirectContext* dContext, SkImage* image) test_encode() argument
475 sk_sp<SkImage> image = factory(); DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
641 sk_sp<SkImage> image = SkImage::MakeRasterData(info, data, rowBytes); DEF_TEST() local
656 image_test_read_pixels(GrDirectContext* dContext, skiatest::Reporter* reporter, SkImage* image) image_test_read_pixels() argument
728 check_legacy_bitmap(skiatest::Reporter* reporter, GrDirectContext* dContext, const SkImage* image, const SkBitmap& bitmap) check_legacy_bitmap() argument
745 test_legacy_bitmap(skiatest::Reporter* reporter, GrDirectContext* dContext, const SkImage* image) test_legacy_bitmap() argument
788 test_peek(skiatest::Reporter* reporter, SkImage* image, bool expectPeekSuccess) test_peek() argument
1068 sk_sp<SkImage> image = SkImage::MakeCrossContextFromPixmap(dContext, pixmap, false); DEF_GPUTEST() local
1183 sk_sp<SkImage> image = GetResourceAsImage("images/mandrill_512_q075.jpg"); DEF_TEST() local
1326 test_scale_pixels(skiatest::Reporter* reporter, const SkImage* image, uint32_t expected) test_scale_pixels() argument
1521 sk_sp<SkImage> image = GetResourceAsImage("images/mandrill_128.png"); DEF_TEST() local
[all...]
/third_party/mesa3d/src/vulkan/wsi/
H A Dwsi_common_drm.c110 const struct wsi_image *image) in prepare_signal_dma_buf_from_semaphore()
119 result = wsi_dma_buf_export_sync_file(image->dma_buf_fd, &sync_file_fd); in prepare_signal_dma_buf_from_semaphore()
123 result = wsi_dma_buf_import_sync_file(image->dma_buf_fd, sync_file_fd); in prepare_signal_dma_buf_from_semaphore()
148 const struct wsi_image *image) in wsi_prepare_signal_dma_buf_from_semaphore()
154 result = prepare_signal_dma_buf_from_semaphore(chain, image); in wsi_prepare_signal_dma_buf_from_semaphore()
166 const struct wsi_image *image) in wsi_signal_dma_buf_from_semaphore()
181 result = wsi_dma_buf_import_sync_file(image->dma_buf_fd, sync_file_fd); in wsi_signal_dma_buf_from_semaphore()
204 const struct wsi_image *image, in wsi_create_sync_for_dma_buf_wait()
217 result = wsi_dma_buf_export_sync_file(image->dma_buf_fd, &sync_file_fd); in wsi_create_sync_for_dma_buf_wait()
318 struct wsi_image *image);
109 prepare_signal_dma_buf_from_semaphore(struct wsi_swapchain *chain, const struct wsi_image *image) prepare_signal_dma_buf_from_semaphore() argument
147 wsi_prepare_signal_dma_buf_from_semaphore(struct wsi_swapchain *chain, const struct wsi_image *image) wsi_prepare_signal_dma_buf_from_semaphore() argument
165 wsi_signal_dma_buf_from_semaphore(const struct wsi_swapchain *chain, const struct wsi_image *image) wsi_signal_dma_buf_from_semaphore() argument
203 wsi_create_sync_for_dma_buf_wait(const struct wsi_swapchain *chain, const struct wsi_image *image, enum vk_sync_features req_features, struct vk_sync **sync_out) wsi_create_sync_for_dma_buf_wait() argument
462 wsi_create_native_image_mem(const struct wsi_swapchain *chain, const struct wsi_image_info *info, struct wsi_image *image) wsi_create_native_image_mem() argument
565 wsi_create_prime_image_mem(const struct wsi_swapchain *chain, const struct wsi_image_info *info, struct wsi_image *image) wsi_create_prime_image_mem() argument
[all...]
/third_party/mesa3d/src/microsoft/vulkan/
H A Ddzn_image.c32 dzn_image_align_extent(const struct dzn_image *image, in dzn_image_align_extent() argument
35 enum pipe_format pfmt = vk_format_to_pipe_format(image->vk.format); in dzn_image_align_extent()
50 dzn_image_destroy(struct dzn_image *image, in dzn_image_destroy() argument
53 if (!image) in dzn_image_destroy()
56 struct dzn_device *device = container_of(image->vk.base.device, struct dzn_device, vk); in dzn_image_destroy()
58 if (image->res) in dzn_image_destroy()
59 ID3D12Resource_Release(image->res); in dzn_image_destroy()
61 vk_image_finish(&image->vk); in dzn_image_destroy()
62 vk_free2(&device->vk.alloc, pAllocator, image); in dzn_image_destroy()
71 struct dzn_image *image in dzn_image_create() local
308 dzn_image_layers_get_subresource_index(const struct dzn_image *image, const VkImageSubresourceLayers *subres, VkImageAspectFlagBits aspect, uint32_t layer) dzn_image_layers_get_subresource_index() argument
322 dzn_image_range_get_subresource_index(const struct dzn_image *image, const VkImageSubresourceRange *subres, VkImageAspectFlagBits aspect, uint32_t level, uint32_t layer) dzn_image_range_get_subresource_index() argument
336 dzn_image_get_subresource_index(const struct dzn_image *image, const VkImageSubresource *subres, VkImageAspectFlagBits aspect) dzn_image_get_subresource_index() argument
349 dzn_image_get_copy_loc(const struct dzn_image *image, const VkImageSubresourceLayers *subres, VkImageAspectFlagBits aspect, uint32_t layer) dzn_image_get_copy_loc() argument
380 dzn_image_get_dsv_desc(const struct dzn_image *image, const VkImageSubresourceRange *range, uint32_t level) dzn_image_get_dsv_desc() argument
447 dzn_image_get_rtv_desc(const struct dzn_image *image, const VkImageSubresourceRange *range, uint32_t level) dzn_image_get_rtv_desc() argument
533 dzn_image_layout_to_state(const struct dzn_image *image, VkImageLayout layout, VkImageAspectFlagBits aspect) dzn_image_layout_to_state() argument
651 dzn_DestroyImage(VkDevice device, VkImage image, const VkAllocationCallbacks *pAllocator) dzn_DestroyImage() argument
664 struct dzn_image *image = NULL; dzn_swapchain_get_image() local
[all...]
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_image.c39 panvk_image_get_plane_size(const struct panvk_image *image, unsigned plane) in panvk_image_get_plane_size() argument
42 return image->pimage.layout.data_size; in panvk_image_get_plane_size()
46 panvk_image_get_total_size(const struct panvk_image *image) in panvk_image_get_total_size() argument
48 assert(util_format_get_num_planes(image->pimage.layout.format) == 1); in panvk_image_get_total_size()
49 return image->pimage.layout.data_size; in panvk_image_get_total_size()
59 default: unreachable("Invalid image type"); in panvk_image_type_to_mali_tex_dim()
72 struct panvk_image *image = NULL; in panvk_image_create() local
74 image = vk_image_create(&device->vk, pCreateInfo, alloc, sizeof(*image)); in panvk_image_create()
75 if (!image) in panvk_image_create()
[all...]

Completed in 33 milliseconds

12345678910>>...74