Uses of Enum Class
cloud.opencode.base.image.core.PixelFormat
Packages that use PixelFormat
Package
Description
Reusable output buffer utilities for image operators.
-
Uses of PixelFormat in cloud.opencode.base.image.buffer
Methods in cloud.opencode.base.image.buffer with parameters of type PixelFormatModifier and TypeMethodDescriptionPingPongBufferPool.acquireRasterA(int w, int h, PixelFormat format) Acquire raster slot A, reallocating if required.PingPongBufferPool.acquireRasterB(int w, int h, PixelFormat format) Acquire raster slot B, reallocating if required.static RasterImageBuffers.ensure(Raster dst, int w, int h, PixelFormat expectedFormat) Returnsdstwhen it matches (w, h, expectedFormat); otherwise allocates a freshly zero-filledRaster.static RasterImageBuffers.require(Raster dst, int w, int h, PixelFormat expectedFormat) Throwing variant forRaster— fails fast when caller passed a mismatched raster, intended for performance-critical paths that must not silently allocate. -
Uses of PixelFormat in cloud.opencode.base.image.core
Subclasses with type arguments of type PixelFormat in cloud.opencode.base.image.coreModifier and TypeClassDescriptionenumHigh-level pixel format describing in-memory pixel layout.Methods in cloud.opencode.base.image.core that return PixelFormatModifier and TypeMethodDescriptionRaster.format()static PixelFormatReturns the enum constant of this class with the specified name.static PixelFormat[]PixelFormat.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in cloud.opencode.base.image.core with parameters of type PixelFormatModifier and TypeMethodDescriptionstatic RasterRaster.create(int width, int height, PixelFormat format) Allocates a fresh Raster of the given dimensions with tight stride (zero-filled).static RasterRaster.wrap(byte[] data, int width, int height, PixelFormat format) Wraps existing pixel data (no copy) with tight stride.