nn::y2r::CTR::OutputFormat Enumerated Type

Syntax

enum OutputFormat;

Values

Value Description
OUTPUT_RGB_32 RGB 32-bit (RGB=888, Alpha=8)
OUTPUT_RGB_24 RGB 24-bit (RGB=888)
OUTPUT_RGB_16_555 RGB 16-bit (RGB=555, Alpha=1)
OUTPUT_RGB_16_565 RGB 16-bit (RGB=565)

Description

Enumerated type that indicates the output pixel format.

The output data formats are as follows.

RGB 16-bit (RGB=555, Alpha=1)

Bits 31-27Bits 26-22Bits 21-17Bit 16Bits 15-11Bits 10-6Bits 5-1Bit 0
R (n+1)G (n+1)B (n+1)A[7]R (n)G (n)B (n)A[7]

RGB 16-bit (RGB=565)

Bits 31-27Bits 26-21Bits 20-16Bits 15-11Bits 10-5Bits 4-0
R (n+1)G (n+1)B (n+1)R (n)G (n)B (n)

RGB 24-bit (RGB=888)

Bits 31-24Bits 23-16Bits 15-8Bits 7-0
B (n+1)R (n)G (n)B (n)

RGB 32-bit (RGB=888, Alpha=8)

Bits 31-24Bits 23-16Bits 15-8Bits 7-0
R (n)G (n)B (n)A[7:0]

Revision History

2010/01/07
Initial version.

CONFIDENTIAL