github.com/racerxdl/gonx@v0.0.0-20210103083128-c5afc43bcbd2/nx/graphics/formats.go (about)

     1  package graphics
     2  
     3  type PixelFormat uint32
     4  
     5  const (
     6  	PixelFormatRgba8888              PixelFormat = 1
     7  	PixelFormatRgbx8888              PixelFormat = 2
     8  	PixelFormatRgb888                PixelFormat = 3
     9  	PixelFormatRgb565                PixelFormat = 4
    10  	PixelFormatBgra8888              PixelFormat = 5
    11  	PixelFormatRgba5551              PixelFormat = 6
    12  	PixelFormatRgba4444              PixelFormat = 7
    13  	PixelFormatYcrcb420Sp            PixelFormat = 17
    14  	PixelFormatRaw16                 PixelFormat = 32
    15  	PixelFormatBlob                  PixelFormat = 33
    16  	PixelFormatImplementationDefined PixelFormat = 34
    17  	PixelFormatYcbcr420888           PixelFormat = 35
    18  	PixelFormatY8                    PixelFormat = 0x20203859
    19  	PixelFormatY16                   PixelFormat = 0x20363159
    20  	PixelFormatYv12                  PixelFormat = 0x32315659
    21  )