Constants§
- BUFFER_
COLLECTION_ CONSTRAINTS_ DEFAULT - The default buffer collection constraints for allocating buffers.
- BUFFER_
MEMORY_ CONSTRAINTS_ DEFAULT - The default buffer memory constraints for allocating buffers.
- BUFFER_
USAGE_ DEFAULT - The default buffers usage for allocating buffers.
- DRM_
FORMAT_ ABGR8888 - DRM_
FORMAT_ ARGB8888 - DRM_
FORMAT_ MOD_ INVALID - DRM_
FORMAT_ MOD_ LINEAR - DRM_
FORMAT_ MOD_ RESERVED - DRM_
FORMAT_ MOD_ VENDOR_ INTEL - DRM_
FORMAT_ MOD_ VENDOR_ NONE - DRM_
FORMAT_ RGB565 - DRM_
FORMAT_ XBGR8888 - DRM_
FORMAT_ XRGB8888 - I915_
FORMAT_ MOD_ X_ TILED - I915_
FORMAT_ MOD_ YF_ TILED - I915_
FORMAT_ MOD_ YF_ TILED_ CCS - I915_
FORMAT_ MOD_ Y_ TILED - I915_
FORMAT_ MOD_ Y_ TILED_ CCS - IMAGE_
FORMAT_ CONSTRAINTS_ DEFAULT - The default image format constraints for allocating buffers.
Functions§
- constraints_
to_ format - Converts a
fsysmem::ImageFormatConstraints
to anfsysmem::ImageFormat2
. - constraints_
to_ image_ format - Converts a
fsysmem::ImageFormatConstraints
to anfimages2::ImageFormat
. - drm_
format_ to_ images2_ format - drm_
format_ to_ sysmem_ format - drm_
format_ to_ vulkan_ format - drm_
modifier_ to_ sysmem_ modifier - drm_
modifier_ to_ sysmem_ modifier_ 2 - get_
plane_ row_ bytes - Returns the number of bytes per row for a given plane.
- get_
plane_ row_ bytes_ 2 - Returns the number of bytes per row for a given plane.
- image_
format_ minimum_ row_ bytes - Returns the minimum row bytes for the given constraints and width.
- image_
format_ minimum_ row_ bytes_ 2 - Returns the minimum row bytes for the given constraints and width.
- image_
format_ plane_ byte_ offset - Returns the byte offset for the given plane.
- image_
format_ plane_ byte_ offset_ 2 - Returns the byte offset for the given plane.
- image_
format_ stride_ bytes_ per_ width_ pixel - image_
format_ stride_ bytes_ per_ width_ pixel_ 2 - images2_
color_ space_ from_ sysmem_ color_ space_ type - images2_
image_ format_ from_ sysmem_ image_ format - images2_
pixel_ format_ from_ sysmem_ pixel_ format_ type - images2_
pixel_ format_ modifier_ from_ sysmem_ pixel_ format_ modifier - linear_
size - Returns the linear size for the given
type_
. - min_
bytes_ per_ row - round_
up_ to_ increment - sysmem1_
color_ space_ type_ from_ images2_ color_ space - sysmem1_
image_ format_ from_ images2_ image_ format - sysmem1_
pixel_ format_ modifier_ from_ images2_ pixel_ format_ modifier - sysmem1_
pixel_ format_ type_ from_ images2_ pixel_ format - sysmem_
modifier_ to_ drm_ modifier - sysmem_
modifier_ to_ drm_ modifier_ 2