~emersion/go-drm

a6c0a22a347ce4e5924c886dfb8d029a33f748c3 — Simon Ser 9 days ago 8bddc70
go fmt
1 files changed, 143 insertions(+), 143 deletions(-)

M fourcc_generated.go
M fourcc_generated.go => fourcc_generated.go +143 -143
@@ 4,111 4,111 @@
package drm

const (
	FormatInvalid Format = 0x0
	FormatC8 Format = 0x20203843
	FormatR8 Format = 0x20203852
	FormatR16 Format = 0x20363152
	FormatRG88 Format = 0x38384752
	FormatGR88 Format = 0x38385247
	FormatRG1616 Format = 0x32334752
	FormatGR1616 Format = 0x32335247
	FormatRGB332 Format = 0x38424752
	FormatBGR233 Format = 0x38524742
	FormatXRGB4444 Format = 0x32315258
	FormatXBGR4444 Format = 0x32314258
	FormatRGBX4444 Format = 0x32315852
	FormatBGRX4444 Format = 0x32315842
	FormatARGB4444 Format = 0x32315241
	FormatABGR4444 Format = 0x32314241
	FormatRGBA4444 Format = 0x32314152
	FormatBGRA4444 Format = 0x32314142
	FormatXRGB1555 Format = 0x35315258
	FormatXBGR1555 Format = 0x35314258
	FormatRGBX5551 Format = 0x35315852
	FormatBGRX5551 Format = 0x35315842
	FormatARGB1555 Format = 0x35315241
	FormatABGR1555 Format = 0x35314241
	FormatRGBA5551 Format = 0x35314152
	FormatBGRA5551 Format = 0x35314142
	FormatRGB565 Format = 0x36314752
	FormatBGR565 Format = 0x36314742
	FormatRGB888 Format = 0x34324752
	FormatBGR888 Format = 0x34324742
	FormatXRGB8888 Format = 0x34325258
	FormatXBGR8888 Format = 0x34324258
	FormatRGBX8888 Format = 0x34325852
	FormatBGRX8888 Format = 0x34325842
	FormatARGB8888 Format = 0x34325241
	FormatABGR8888 Format = 0x34324241
	FormatRGBA8888 Format = 0x34324152
	FormatBGRA8888 Format = 0x34324142
	FormatXRGB2101010 Format = 0x30335258
	FormatXBGR2101010 Format = 0x30334258
	FormatRGBX1010102 Format = 0x30335852
	FormatBGRX1010102 Format = 0x30335842
	FormatARGB2101010 Format = 0x30335241
	FormatABGR2101010 Format = 0x30334241
	FormatRGBA1010102 Format = 0x30334152
	FormatBGRA1010102 Format = 0x30334142
	FormatXRGB16161616F Format = 0x48345258
	FormatXBGR16161616F Format = 0x48344258
	FormatARGB16161616F Format = 0x48345241
	FormatABGR16161616F Format = 0x48344241
	FormatInvalid              Format = 0x0
	FormatC8                   Format = 0x20203843
	FormatR8                   Format = 0x20203852
	FormatR16                  Format = 0x20363152
	FormatRG88                 Format = 0x38384752
	FormatGR88                 Format = 0x38385247
	FormatRG1616               Format = 0x32334752
	FormatGR1616               Format = 0x32335247
	FormatRGB332               Format = 0x38424752
	FormatBGR233               Format = 0x38524742
	FormatXRGB4444             Format = 0x32315258
	FormatXBGR4444             Format = 0x32314258
	FormatRGBX4444             Format = 0x32315852
	FormatBGRX4444             Format = 0x32315842
	FormatARGB4444             Format = 0x32315241
	FormatABGR4444             Format = 0x32314241
	FormatRGBA4444             Format = 0x32314152
	FormatBGRA4444             Format = 0x32314142
	FormatXRGB1555             Format = 0x35315258
	FormatXBGR1555             Format = 0x35314258
	FormatRGBX5551             Format = 0x35315852
	FormatBGRX5551             Format = 0x35315842
	FormatARGB1555             Format = 0x35315241
	FormatABGR1555             Format = 0x35314241
	FormatRGBA5551             Format = 0x35314152
	FormatBGRA5551             Format = 0x35314142
	FormatRGB565               Format = 0x36314752
	FormatBGR565               Format = 0x36314742
	FormatRGB888               Format = 0x34324752
	FormatBGR888               Format = 0x34324742
	FormatXRGB8888             Format = 0x34325258
	FormatXBGR8888             Format = 0x34324258
	FormatRGBX8888             Format = 0x34325852
	FormatBGRX8888             Format = 0x34325842
	FormatARGB8888             Format = 0x34325241
	FormatABGR8888             Format = 0x34324241
	FormatRGBA8888             Format = 0x34324152
	FormatBGRA8888             Format = 0x34324142
	FormatXRGB2101010          Format = 0x30335258
	FormatXBGR2101010          Format = 0x30334258
	FormatRGBX1010102          Format = 0x30335852
	FormatBGRX1010102          Format = 0x30335842
	FormatARGB2101010          Format = 0x30335241
	FormatABGR2101010          Format = 0x30334241
	FormatRGBA1010102          Format = 0x30334152
	FormatBGRA1010102          Format = 0x30334142
	FormatXRGB16161616F        Format = 0x48345258
	FormatXBGR16161616F        Format = 0x48344258
	FormatARGB16161616F        Format = 0x48345241
	FormatABGR16161616F        Format = 0x48344241
	FormatAXBXGXRX106106106106 Format = 0x30314241
	FormatYUYV Format = 0x56595559
	FormatYVYU Format = 0x55595659
	FormatUYVY Format = 0x59565955
	FormatVYUY Format = 0x59555956
	FormatAYUV Format = 0x56555941
	FormatXYUV8888 Format = 0x56555958
	FormatVUY888 Format = 0x34325556
	FormatVUY101010 Format = 0x30335556
	FormatY210 Format = 0x30313259
	FormatY212 Format = 0x32313259
	FormatY216 Format = 0x36313259
	FormatY410 Format = 0x30313459
	FormatY412 Format = 0x32313459
	FormatY416 Format = 0x36313459
	FormatXVYU2101010 Format = 0x30335658
	FormatXVYU12_16161616 Format = 0x36335658
	FormatXVYU16161616 Format = 0x38345658
	FormatY0L0 Format = 0x304C3059
	FormatX0L0 Format = 0x304C3058
	FormatY0L2 Format = 0x324C3059
	FormatX0L2 Format = 0x324C3058
	FormatYUV420_8BIT Format = 0x38305559
	FormatYUV420_10BIT Format = 0x30315559
	FormatXRGB8888_A8 Format = 0x38415258
	FormatXBGR8888_A8 Format = 0x38414258
	FormatRGBX8888_A8 Format = 0x38415852
	FormatBGRX8888_A8 Format = 0x38415842
	FormatRGB888_A8 Format = 0x38413852
	FormatBGR888_A8 Format = 0x38413842
	FormatRGB565_A8 Format = 0x38413552
	FormatBGR565_A8 Format = 0x38413542
	FormatNV12 Format = 0x3231564E
	FormatNV21 Format = 0x3132564E
	FormatNV16 Format = 0x3631564E
	FormatNV61 Format = 0x3136564E
	FormatNV24 Format = 0x3432564E
	FormatNV42 Format = 0x3234564E
	FormatNV15 Format = 0x3531564E
	FormatP210 Format = 0x30313250
	FormatP010 Format = 0x30313050
	FormatP012 Format = 0x32313050
	FormatP016 Format = 0x36313050
	FormatQ410 Format = 0x30313451
	FormatQ401 Format = 0x31303451
	FormatYUV410 Format = 0x39565559
	FormatYVU410 Format = 0x39555659
	FormatYUV411 Format = 0x31315559
	FormatYVU411 Format = 0x31315659
	FormatYUV420 Format = 0x32315559
	FormatYVU420 Format = 0x32315659
	FormatYUV422 Format = 0x36315559
	FormatYVU422 Format = 0x36315659
	FormatYUV444 Format = 0x34325559
	FormatYVU444 Format = 0x34325659
	FormatYUYV                 Format = 0x56595559
	FormatYVYU                 Format = 0x55595659
	FormatUYVY                 Format = 0x59565955
	FormatVYUY                 Format = 0x59555956
	FormatAYUV                 Format = 0x56555941
	FormatXYUV8888             Format = 0x56555958
	FormatVUY888               Format = 0x34325556
	FormatVUY101010            Format = 0x30335556
	FormatY210                 Format = 0x30313259
	FormatY212                 Format = 0x32313259
	FormatY216                 Format = 0x36313259
	FormatY410                 Format = 0x30313459
	FormatY412                 Format = 0x32313459
	FormatY416                 Format = 0x36313459
	FormatXVYU2101010          Format = 0x30335658
	FormatXVYU12_16161616      Format = 0x36335658
	FormatXVYU16161616         Format = 0x38345658
	FormatY0L0                 Format = 0x304C3059
	FormatX0L0                 Format = 0x304C3058
	FormatY0L2                 Format = 0x324C3059
	FormatX0L2                 Format = 0x324C3058
	FormatYUV420_8BIT          Format = 0x38305559
	FormatYUV420_10BIT         Format = 0x30315559
	FormatXRGB8888_A8          Format = 0x38415258
	FormatXBGR8888_A8          Format = 0x38414258
	FormatRGBX8888_A8          Format = 0x38415852
	FormatBGRX8888_A8          Format = 0x38415842
	FormatRGB888_A8            Format = 0x38413852
	FormatBGR888_A8            Format = 0x38413842
	FormatRGB565_A8            Format = 0x38413552
	FormatBGR565_A8            Format = 0x38413542
	FormatNV12                 Format = 0x3231564E
	FormatNV21                 Format = 0x3132564E
	FormatNV16                 Format = 0x3631564E
	FormatNV61                 Format = 0x3136564E
	FormatNV24                 Format = 0x3432564E
	FormatNV42                 Format = 0x3234564E
	FormatNV15                 Format = 0x3531564E
	FormatP210                 Format = 0x30313250
	FormatP010                 Format = 0x30313050
	FormatP012                 Format = 0x32313050
	FormatP016                 Format = 0x36313050
	FormatQ410                 Format = 0x30313451
	FormatQ401                 Format = 0x31303451
	FormatYUV410               Format = 0x39565559
	FormatYVU410               Format = 0x39555659
	FormatYUV411               Format = 0x31315559
	FormatYVU411               Format = 0x31315659
	FormatYUV420               Format = 0x32315559
	FormatYVU420               Format = 0x32315659
	FormatYUV422               Format = 0x36315559
	FormatYVU422               Format = 0x36315659
	FormatYUV444               Format = 0x34325559
	FormatYVU444               Format = 0x34325659
)

func (v Format) String() string {


@@ 329,16 329,16 @@ func (v Format) String() string {
}

const (
	ModifierVendorIntel ModifierVendor = 0x1
	ModifierVendorAMD ModifierVendor = 0x2
	ModifierVendorNVIDIA ModifierVendor = 0x3
	ModifierVendorSamsung ModifierVendor = 0x4
	ModifierVendorQcom ModifierVendor = 0x5
	ModifierVendorVivante ModifierVendor = 0x6
	ModifierVendorBroadcom ModifierVendor = 0x7
	ModifierVendorARM ModifierVendor = 0x8
	ModifierVendorIntel     ModifierVendor = 0x1
	ModifierVendorAMD       ModifierVendor = 0x2
	ModifierVendorNVIDIA    ModifierVendor = 0x3
	ModifierVendorSamsung   ModifierVendor = 0x4
	ModifierVendorQcom      ModifierVendor = 0x5
	ModifierVendorVivante   ModifierVendor = 0x6
	ModifierVendorBroadcom  ModifierVendor = 0x7
	ModifierVendorARM       ModifierVendor = 0x8
	ModifierVendorAllwinner ModifierVendor = 0x9
	ModifierVendorAmlogic ModifierVendor = 0xA
	ModifierVendorAmlogic   ModifierVendor = 0xA
)

func (v ModifierVendor) String() string {


@@ 369,37 369,37 @@ func (v ModifierVendor) String() string {
}

const (
	ModifierGENERIC_16_16_TILE Modifier = 0x400000000000002
	ModifierInvalid Modifier = 0xFFFFFFFFFFFFFF
	ModifierLinear Modifier = 0x0
	ModifierI915_X_TILED Modifier = 0x100000000000001
	ModifierI915_Y_TILED Modifier = 0x100000000000002
	ModifierI915_Yf_TILED Modifier = 0x100000000000003
	ModifierI915_Y_TILED_CCS Modifier = 0x100000000000004
	ModifierI915_Yf_TILED_CCS Modifier = 0x100000000000005
	ModifierI915_Y_TILED_GEN12_RC_CCS Modifier = 0x100000000000006
	ModifierI915_Y_TILED_GEN12_MC_CCS Modifier = 0x100000000000007
	ModifierSAMSUNG_64_32_TILE Modifier = 0x400000000000001
	ModifierQCOM_COMPRESSED Modifier = 0x500000000000001
	ModifierVIVANTE_TILED Modifier = 0x600000000000001
	ModifierVIVANTE_SUPER_TILED Modifier = 0x600000000000002
	ModifierVIVANTE_SPLIT_TILED Modifier = 0x600000000000003
	ModifierVIVANTE_SPLIT_SUPER_TILED Modifier = 0x600000000000004
	ModifierNVIDIA_TEGRA_TILED Modifier = 0x300000000000001
	ModifierNVIDIA_16BX2_BLOCK_ONE_GOB Modifier = 0x300000000000010
	ModifierNVIDIA_16BX2_BLOCK_TWO_GOB Modifier = 0x300000000000011
	ModifierNVIDIA_16BX2_BLOCK_FOUR_GOB Modifier = 0x300000000000012
	ModifierNVIDIA_16BX2_BLOCK_EIGHT_GOB Modifier = 0x300000000000013
	ModifierNVIDIA_16BX2_BLOCK_SIXTEEN_GOB Modifier = 0x300000000000014
	ModifierGENERIC_16_16_TILE               Modifier = 0x400000000000002
	ModifierInvalid                          Modifier = 0xFFFFFFFFFFFFFF
	ModifierLinear                           Modifier = 0x0
	ModifierI915_X_TILED                     Modifier = 0x100000000000001
	ModifierI915_Y_TILED                     Modifier = 0x100000000000002
	ModifierI915_Yf_TILED                    Modifier = 0x100000000000003
	ModifierI915_Y_TILED_CCS                 Modifier = 0x100000000000004
	ModifierI915_Yf_TILED_CCS                Modifier = 0x100000000000005
	ModifierI915_Y_TILED_GEN12_RC_CCS        Modifier = 0x100000000000006
	ModifierI915_Y_TILED_GEN12_MC_CCS        Modifier = 0x100000000000007
	ModifierSAMSUNG_64_32_TILE               Modifier = 0x400000000000001
	ModifierQCOM_COMPRESSED                  Modifier = 0x500000000000001
	ModifierVIVANTE_TILED                    Modifier = 0x600000000000001
	ModifierVIVANTE_SUPER_TILED              Modifier = 0x600000000000002
	ModifierVIVANTE_SPLIT_TILED              Modifier = 0x600000000000003
	ModifierVIVANTE_SPLIT_SUPER_TILED        Modifier = 0x600000000000004
	ModifierNVIDIA_TEGRA_TILED               Modifier = 0x300000000000001
	ModifierNVIDIA_16BX2_BLOCK_ONE_GOB       Modifier = 0x300000000000010
	ModifierNVIDIA_16BX2_BLOCK_TWO_GOB       Modifier = 0x300000000000011
	ModifierNVIDIA_16BX2_BLOCK_FOUR_GOB      Modifier = 0x300000000000012
	ModifierNVIDIA_16BX2_BLOCK_EIGHT_GOB     Modifier = 0x300000000000013
	ModifierNVIDIA_16BX2_BLOCK_SIXTEEN_GOB   Modifier = 0x300000000000014
	ModifierNVIDIA_16BX2_BLOCK_THIRTYTWO_GOB Modifier = 0x300000000000015
	ModifierBROADCOM_VC4_T_TILED Modifier = 0x700000000000001
	ModifierBROADCOM_SAND32 Modifier = 0x700000000000002
	ModifierBROADCOM_SAND64 Modifier = 0x700000000000003
	ModifierBROADCOM_SAND128 Modifier = 0x700000000000004
	ModifierBROADCOM_SAND256 Modifier = 0x700000000000005
	ModifierBROADCOM_UIF Modifier = 0x700000000000006
	ModifierARM_16X16_BLOCK_U_INTERLEAVED Modifier = 0x810000000000001
	ModifierALLWINNER_TILED Modifier = 0x900000000000001
	ModifierBROADCOM_VC4_T_TILED             Modifier = 0x700000000000001
	ModifierBROADCOM_SAND32                  Modifier = 0x700000000000002
	ModifierBROADCOM_SAND64                  Modifier = 0x700000000000003
	ModifierBROADCOM_SAND128                 Modifier = 0x700000000000004
	ModifierBROADCOM_SAND256                 Modifier = 0x700000000000005
	ModifierBROADCOM_UIF                     Modifier = 0x700000000000006
	ModifierARM_16X16_BLOCK_U_INTERLEAVED    Modifier = 0x810000000000001
	ModifierALLWINNER_TILED                  Modifier = 0x900000000000001
)

func (v Modifier) String() string {