Showing changes from revision #3 to #4:
Added | Removed | Changed
int HAL_VideoPixelFormats(void)
Entry | |
---|---|
- |
Exit | |
---|---|
Bit 0 | 1bpp is supported |
Bit 1 | 2bpp is supported |
Bit 2 | 4bpp is supported |
Bit 3 | 8bpp is supported |
Bit 4 | 16bpp is supported |
Bit 5 | 32bpp is supported |
Other bits reserved (returned as 0) |
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.
Bits are set for true. Bits 0-5 refer to support with standard RISC OS pixel layout. (such as little endian packing for 1,2,4 bpp, 5-5-5 RGB for 16 bpp, etc). See the HAL Video API section for more information. Other formats may be introduced when/if RO supports them.HAL_VideoPixelFormatList can be used to provide a full list of formats supported by the hardware.