h6. [[Hardware Abstraction Layer]] h6(. [[HAL entry points from RISC OS]] h6((. » HAL_VideoPixelFormats h2. HAL_VideoPixelFormatList h5. (HAL entry #119) <pre> __value_in_regs PixelFormatList HAL_VideoPixelFormatList(void) </pre> |_<. Entry | | |- | | |_<. Exit | | |a1-a2 |PixelFormatList struct describing available formats | h4. Use This is an internal call for OS use only and should not be used by user software. User software should use [[GraphicsV]] instead of interacting with the HAL directly. The call returns a list of pixel formats supported by the hardware, in the form of a PixelFormatList struct: <pre> typedef struct { uint32_t NColour; uint32_t ModeFlags; uint32_t Log2BPP; } PixelFormat; typedef struct { PixelFormat *formats; uint32_t count; } PixelFormatList; </pre> Each pixel format is expressed as a tuple of (NColour, ModeFlags, Log2BPP) mode variables, as used by [[GraphicsV 17]]. See [[Valid Mode Variable Combinations]] for a full list of pixel formats currently understood by RISC OS. h4. See also * [[HAL Video API]] * [[GraphicsV 17]] * [[Valid Mode Variable Combinations]]