Documentation ¶
Overview ¶
Package fmts contains a number of standard stream formats.
Package fmts contains a number of standard stream formats.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( A_U8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }}, } A_U16_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }}, } )
View Source
var ( ABGR_U8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Alpha, }, { DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Blue, }, { DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Red, }}, } ABGR_S8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Alpha, }, { DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Blue, }, { DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Red, }}, } ABGR_U4_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U4, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }, { DataType: &stream.U4, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.U4, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U4, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }}, } ABGR_U8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }, { DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }}, } ABGR_S8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }, { DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }}, } ABGR_NU8N_sRGBU8N_sRGBU8N_sRGBU8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }, { DataType: &stream.U8, Sampling: stream.SRGBNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.U8, Sampling: stream.SRGBNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U8, Sampling: stream.SRGBNormalized, Channel: stream.Channel_Red, }}, } ABGR_U1U5U5U5_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U1, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }, { DataType: &stream.U5, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.U5, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U5, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }}, } ABGR_U2U10U10U10 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U2, Sampling: stream.Linear, Channel: stream.Channel_Alpha, }, { DataType: &stream.U10, Sampling: stream.Linear, Channel: stream.Channel_Blue, }, { DataType: &stream.U10, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.U10, Sampling: stream.Linear, Channel: stream.Channel_Red, }}, } ABGR_S2S10S10S10 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S2, Sampling: stream.Linear, Channel: stream.Channel_Alpha, }, { DataType: &stream.S10, Sampling: stream.Linear, Channel: stream.Channel_Blue, }, { DataType: &stream.S10, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.S10, Sampling: stream.Linear, Channel: stream.Channel_Red, }}, } ABGR_U2U10U10U10_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U2, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }, { DataType: &stream.U10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.U10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }}, } ABGR_S2S10S10S10_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S2, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }, { DataType: &stream.S10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.S10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.S10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }}, } )
View Source
var ( ARGB_U4_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U4, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }, { DataType: &stream.U4, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.U4, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U4, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }}, } ARGB_U1U5U5U5_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U1, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }, { DataType: &stream.U5, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.U5, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U5, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }}, } ARGB_U2U10U10U10 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U2, Sampling: stream.Linear, Channel: stream.Channel_Alpha, }, { DataType: &stream.U10, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.U10, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.U10, Sampling: stream.Linear, Channel: stream.Channel_Blue, }}, } ARGB_S2S10S10S10 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S2, Sampling: stream.Linear, Channel: stream.Channel_Alpha, }, { DataType: &stream.S10, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.S10, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.S10, Sampling: stream.Linear, Channel: stream.Channel_Blue, }}, } ARGB_U2U10U10U10_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U2, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }, { DataType: &stream.U10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.U10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }}, } ARGB_S2S10S10S10_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S2, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }, { DataType: &stream.S10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.S10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.S10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }}, } )
View Source
var ( BGR_U5U6U5_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U5, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.U6, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U5, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }}, } BGR_F10F11F11 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F10, Sampling: stream.Linear, Channel: stream.Channel_Blue, }, { DataType: &stream.F11, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.F11, Sampling: stream.Linear, Channel: stream.Channel_Red, }}, } BGR_U8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Blue, }, { DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Red, }}, } BGR_S8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Blue, }, { DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Red, }}, } BGR_U8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }}, } BGR_S8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }}, } BGR_U8_NORM_sRGB = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.SRGBNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.U8, Sampling: stream.SRGBNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U8, Sampling: stream.SRGBNormalized, Channel: stream.Channel_Red, }}, } )
View Source
var ( BGRA_U4_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U4, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.U4, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U4, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.U4, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }}, } BGRA_U5U5U5U1_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U5, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.U5, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U5, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.U1, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }}, } BGRA_U8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Blue, }, { DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Alpha, }}, } BGRA_S8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Blue, }, { DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Alpha, }}, } BGRA_U8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }}, } BGRA_S8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }}, } BGRA_N_sRGBU8N_sRGBU8N_sRGBU8NU8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.SRGBNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.U8, Sampling: stream.SRGBNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U8, Sampling: stream.SRGBNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }}, } BGRA_U10U10U10U2_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.U10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.U2, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }}, } BGRA_S10S10S10S2_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.S10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.S10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.S2, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }}, } BGRA_U10U10U10U2 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U10, Sampling: stream.Linear, Channel: stream.Channel_Blue, }, { DataType: &stream.U10, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.U10, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.U2, Sampling: stream.Linear, Channel: stream.Channel_Alpha, }}, } BGRA_S10S10S10S2 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S10, Sampling: stream.Linear, Channel: stream.Channel_Blue, }, { DataType: &stream.S10, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.S10, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.S2, Sampling: stream.Linear, Channel: stream.Channel_Alpha, }}, } )
View Source
var ( D_U16_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Depth, }}, } D_U24_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U24, Sampling: stream.LinearNormalized, Channel: stream.Channel_Depth, }}, } D_F32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F32, Sampling: stream.Linear, Channel: stream.Channel_Depth, }}, } ЖD_U8U24_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Undefined, }, { DataType: &stream.U24, Sampling: stream.LinearNormalized, Channel: stream.Channel_Depth, }}, } )
View Source
var ( DS_NU16U8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Depth, }, { DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Stencil, }}, } DS_NU16S8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Depth, }, { DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Stencil, }}, } DS_NU24U8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U24, Sampling: stream.LinearNormalized, Channel: stream.Channel_Depth, }, { DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Stencil, }}, } DS_NU24S8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U24, Sampling: stream.LinearNormalized, Channel: stream.Channel_Depth, }, { DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Stencil, }}, } DS_F32U8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F32, Sampling: stream.Linear, Channel: stream.Channel_Depth, }, { DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Stencil, }}, } )
View Source
var ( Gray_U8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Gray, }}, } Gray_U8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Gray, }}, } Gray_U16_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Gray, }}, } )
View Source
var ( L_U8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Luminance, }}, } L_F32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F32, Sampling: stream.Linear, Channel: stream.Channel_Luminance, }}, } )
View Source
var ( R_U8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Red, }}, } R_S8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Red, }}, } R_U8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }}, } R_U8_NORM_sRGB = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.SRGBNormalized, Channel: stream.Channel_Red, }}, } R_S8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }}, } R_U16 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U16, Sampling: stream.Linear, Channel: stream.Channel_Red, }}, } R_U16_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }}, } R_S16 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S16, Sampling: stream.Linear, Channel: stream.Channel_Red, }}, } R_S16_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }}, } R_F16 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F16, Sampling: stream.Linear, Channel: stream.Channel_Red, }}, } R_U32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U32, Sampling: stream.Linear, Channel: stream.Channel_Red, }}, } R_S32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S32, Sampling: stream.Linear, Channel: stream.Channel_Red, }}, } R_F32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F32, Sampling: stream.Linear, Channel: stream.Channel_Red, }}, } R_U64 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U64, Sampling: stream.Linear, Channel: stream.Channel_Red, }}, } R_S64 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S64, Sampling: stream.Linear, Channel: stream.Channel_Red, }}, } R_F64 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F64, Sampling: stream.Linear, Channel: stream.Channel_Red, }}, } )
View Source
var ( RG_U4_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U4, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.U4, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }}, } RG_S8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Green, }}, } RG_U8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Green, }}, } RG_S8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }}, } RG_U8_NORM_sRGB = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.SRGBNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.U8, Sampling: stream.SRGBNormalized, Channel: stream.Channel_Green, }}, } RG_U8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }}, } RG_U16 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U16, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.U16, Sampling: stream.Linear, Channel: stream.Channel_Green, }}, } RG_U16_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.U16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }}, } RG_S16 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S16, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.S16, Sampling: stream.Linear, Channel: stream.Channel_Green, }}, } RG_S16_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.S16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }}, } RG_F16 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F16, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.F16, Sampling: stream.Linear, Channel: stream.Channel_Green, }}, } RG_U32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U32, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.U32, Sampling: stream.Linear, Channel: stream.Channel_Green, }}, } RG_S32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S32, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.S32, Sampling: stream.Linear, Channel: stream.Channel_Green, }}, } RG_F32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F32, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.F32, Sampling: stream.Linear, Channel: stream.Channel_Green, }}, } RG_U64 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U64, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.U64, Sampling: stream.Linear, Channel: stream.Channel_Green, }}, } RG_S64 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S64, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.S64, Sampling: stream.Linear, Channel: stream.Channel_Green, }}, } RG_F64 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F64, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.F64, Sampling: stream.Linear, Channel: stream.Channel_Green, }}, } )
View Source
var ( RGB_U1 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U1, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.U1, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.U1, Sampling: stream.Linear, Channel: stream.Channel_Blue, }}, } RGB_U1_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U1, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.U1, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U1, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }}, } RGB_U4 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U4, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.U4, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.U4, Sampling: stream.Linear, Channel: stream.Channel_Blue, }}, } RGB_U4_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U4, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.U4, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U4, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }}, } RGB_U5_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U5, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.U5, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U5, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }}, } RGB_U5U6U5_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U5, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.U6, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U5, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }}, } RGB_U8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Blue, }}, } RGB_S8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Blue, }}, } RGB_U8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }}, } RGB_S8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }}, } SRGB_U8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.SRGBNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.U8, Sampling: stream.SRGBNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U8, Sampling: stream.SRGBNormalized, Channel: stream.Channel_Blue, }}, } RGB_U16 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U16, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.U16, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.U16, Sampling: stream.Linear, Channel: stream.Channel_Blue, }}, } RGB_S16 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S16, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.S16, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.S16, Sampling: stream.Linear, Channel: stream.Channel_Blue, }}, } RGB_U16_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.U16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }}, } RGB_S16_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.S16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.S16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }}, } RGB_F16 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F16, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.F16, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.F16, Sampling: stream.Linear, Channel: stream.Channel_Blue, }}, } RGB_U32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U32, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.U32, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.U32, Sampling: stream.Linear, Channel: stream.Channel_Blue, }}, } RGB_S32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S32, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.S32, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.S32, Sampling: stream.Linear, Channel: stream.Channel_Blue, }}, } RGB_F32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F32, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.F32, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.F32, Sampling: stream.Linear, Channel: stream.Channel_Blue, }}, } RGB_U64 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U64, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.U64, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.U64, Sampling: stream.Linear, Channel: stream.Channel_Blue, }}, } RGB_S64 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S64, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.S64, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.S64, Sampling: stream.Linear, Channel: stream.Channel_Blue, }}, } RGB_F64 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F64, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.F64, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.F64, Sampling: stream.Linear, Channel: stream.Channel_Blue, }}, } RGB_F11F11F10 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F11, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.F11, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.F10, Sampling: stream.Linear, Channel: stream.Channel_Blue, }}, } )
View Source
var ( RGBA_U4_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U4, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.U4, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U4, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.U4, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }}, } RGBA_U5U5U5U1_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U5, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.U5, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U5, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.U1, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }}, } RGBA_U8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Blue, }, { DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Alpha, }}, } RGBA_S8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Blue, }, { DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Alpha, }}, } RGBA_U8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }}, } RGBA_S8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }}, } SRGBA_U8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.SRGBNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.U8, Sampling: stream.SRGBNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U8, Sampling: stream.SRGBNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }}, } RGBA_U10U10U10U2_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.U10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.U2, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }}, } RGBA_U10U10U10U2 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U10, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.U10, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.U10, Sampling: stream.Linear, Channel: stream.Channel_Blue, }, { DataType: &stream.U2, Sampling: stream.Linear, Channel: stream.Channel_Alpha, }}, } RGBA_S10S10S10S2_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.S10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.S10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.S2, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }}, } RGBA_S10S10S10S2 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S10, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.S10, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.S10, Sampling: stream.Linear, Channel: stream.Channel_Blue, }, { DataType: &stream.S2, Sampling: stream.Linear, Channel: stream.Channel_Alpha, }}, } RGBA_sRGBU8N_sRGBU8N_sRGBU8_NU8N = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.SRGBNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.U8, Sampling: stream.SRGBNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U8, Sampling: stream.SRGBNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }}, } RGBA_U16 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U16, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.U16, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.U16, Sampling: stream.Linear, Channel: stream.Channel_Blue, }, { DataType: &stream.U16, Sampling: stream.Linear, Channel: stream.Channel_Alpha, }}, } RGBA_S16 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S16, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.S16, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.S16, Sampling: stream.Linear, Channel: stream.Channel_Blue, }, { DataType: &stream.S16, Sampling: stream.Linear, Channel: stream.Channel_Alpha, }}, } RGBA_U16_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.U16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.U16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.U16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }}, } RGBA_S16_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Red, }, { DataType: &stream.S16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Green, }, { DataType: &stream.S16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Blue, }, { DataType: &stream.S16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }}, } RGBA_F16 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F16, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.F16, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.F16, Sampling: stream.Linear, Channel: stream.Channel_Blue, }, { DataType: &stream.F16, Sampling: stream.Linear, Channel: stream.Channel_Alpha, }}, } RGBA_U32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U32, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.U32, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.U32, Sampling: stream.Linear, Channel: stream.Channel_Blue, }, { DataType: &stream.U32, Sampling: stream.Linear, Channel: stream.Channel_Alpha, }}, } RGBA_S32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S32, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.S32, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.S32, Sampling: stream.Linear, Channel: stream.Channel_Blue, }, { DataType: &stream.S32, Sampling: stream.Linear, Channel: stream.Channel_Alpha, }}, } RGBA_F32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F32, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.F32, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.F32, Sampling: stream.Linear, Channel: stream.Channel_Blue, }, { DataType: &stream.F32, Sampling: stream.Linear, Channel: stream.Channel_Alpha, }}, } RGBA_U64 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U64, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.U64, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.U64, Sampling: stream.Linear, Channel: stream.Channel_Blue, }, { DataType: &stream.U64, Sampling: stream.Linear, Channel: stream.Channel_Alpha, }}, } RGBA_S64 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S64, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.S64, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.S64, Sampling: stream.Linear, Channel: stream.Channel_Blue, }, { DataType: &stream.S64, Sampling: stream.Linear, Channel: stream.Channel_Alpha, }}, } RGBA_F64 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F64, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.F64, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.F64, Sampling: stream.Linear, Channel: stream.Channel_Blue, }, { DataType: &stream.F64, Sampling: stream.Linear, Channel: stream.Channel_Alpha, }}, } )
View Source
var ( SD_U8NU16 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Stencil, }, { DataType: &stream.U16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Depth, }}, } SD_U8NU24 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Stencil, }, { DataType: &stream.U24, Sampling: stream.LinearNormalized, Channel: stream.Channel_Depth, }}, } SD_U8F32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Stencil, }, { DataType: &stream.F32, Sampling: stream.Linear, Channel: stream.Channel_Depth, }}, } )
View Source
var ( X_U8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_X, }}, } X_S8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_X, }}, } X_U8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_X, }}, } X_S8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_X, }}, } X_U16 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U16, Sampling: stream.Linear, Channel: stream.Channel_X, }}, } X_S16 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S16, Sampling: stream.Linear, Channel: stream.Channel_X, }}, } X_U16_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U16, Sampling: stream.LinearNormalized, Channel: stream.Channel_X, }}, } X_S16_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S16, Sampling: stream.LinearNormalized, Channel: stream.Channel_X, }}, } X_F16 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F16, Sampling: stream.Linear, Channel: stream.Channel_X, }}, } X_U32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U32, Sampling: stream.Linear, Channel: stream.Channel_X, }}, } X_S32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S32, Sampling: stream.Linear, Channel: stream.Channel_X, }}, } X_F32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F32, Sampling: stream.Linear, Channel: stream.Channel_X, }}, } )
View Source
var ( XY_U8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_X, }, { DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Y, }}, } XY_S8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_X, }, { DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Y, }}, } XY_U8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_X, }, { DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Y, }}, } XY_S8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_X, }, { DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Y, }}, } XY_U16 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U16, Sampling: stream.Linear, Channel: stream.Channel_X, }, { DataType: &stream.U16, Sampling: stream.Linear, Channel: stream.Channel_Y, }}, } XY_S16 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S16, Sampling: stream.Linear, Channel: stream.Channel_X, }, { DataType: &stream.S16, Sampling: stream.Linear, Channel: stream.Channel_Y, }}, } XY_U16_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U16, Sampling: stream.LinearNormalized, Channel: stream.Channel_X, }, { DataType: &stream.U16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Y, }}, } XY_S16_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S16, Sampling: stream.LinearNormalized, Channel: stream.Channel_X, }, { DataType: &stream.S16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Y, }}, } XY_F16 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F16, Sampling: stream.Linear, Channel: stream.Channel_X, }, { DataType: &stream.F16, Sampling: stream.Linear, Channel: stream.Channel_Y, }}, } XY_U32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U32, Sampling: stream.Linear, Channel: stream.Channel_X, }, { DataType: &stream.U32, Sampling: stream.Linear, Channel: stream.Channel_Y, }}, } XY_S32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S32, Sampling: stream.Linear, Channel: stream.Channel_X, }, { DataType: &stream.S32, Sampling: stream.Linear, Channel: stream.Channel_Y, }}, } XY_U32_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U32, Sampling: stream.LinearNormalized, Channel: stream.Channel_X, }, { DataType: &stream.U32, Sampling: stream.LinearNormalized, Channel: stream.Channel_Y, }}, } XY_S32_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S32, Sampling: stream.LinearNormalized, Channel: stream.Channel_X, }, { DataType: &stream.S32, Sampling: stream.LinearNormalized, Channel: stream.Channel_Y, }}, } XY_F32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F32, Sampling: stream.Linear, Channel: stream.Channel_X, }, { DataType: &stream.F32, Sampling: stream.Linear, Channel: stream.Channel_Y, }}, } XY_F64 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F64, Sampling: stream.Linear, Channel: stream.Channel_X, }, { DataType: &stream.F64, Sampling: stream.Linear, Channel: stream.Channel_Y, }}, } )
View Source
var ( XYZ_S8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_X, }, { DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Y, }, { DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Z, }}, } XYZ_S8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_X, }, { DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Y, }, { DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Z, }}, } XYZ_S16 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S16, Sampling: stream.Linear, Channel: stream.Channel_X, }, { DataType: &stream.S16, Sampling: stream.Linear, Channel: stream.Channel_Y, }, { DataType: &stream.S16, Sampling: stream.Linear, Channel: stream.Channel_Z, }}, } XYZ_S16_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S16, Sampling: stream.LinearNormalized, Channel: stream.Channel_X, }, { DataType: &stream.S16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Y, }, { DataType: &stream.S16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Z, }}, } XYZ_U32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U32, Sampling: stream.Linear, Channel: stream.Channel_X, }, { DataType: &stream.U32, Sampling: stream.Linear, Channel: stream.Channel_Y, }, { DataType: &stream.U32, Sampling: stream.Linear, Channel: stream.Channel_Z, }}, } XYZ_S32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S32, Sampling: stream.Linear, Channel: stream.Channel_X, }, { DataType: &stream.S32, Sampling: stream.Linear, Channel: stream.Channel_Y, }, { DataType: &stream.S32, Sampling: stream.Linear, Channel: stream.Channel_Z, }}, } XYZ_F32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F32, Sampling: stream.Linear, Channel: stream.Channel_X, }, { DataType: &stream.F32, Sampling: stream.Linear, Channel: stream.Channel_Y, }, { DataType: &stream.F32, Sampling: stream.Linear, Channel: stream.Channel_Z, }}, } XYZ_F64 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F64, Sampling: stream.Linear, Channel: stream.Channel_X, }, { DataType: &stream.F64, Sampling: stream.Linear, Channel: stream.Channel_Y, }, { DataType: &stream.F64, Sampling: stream.Linear, Channel: stream.Channel_Z, }}, } )
View Source
var ( XYZW_U10U10U10U2 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U10, Sampling: stream.Linear, Channel: stream.Channel_X, }, { DataType: &stream.U10, Sampling: stream.Linear, Channel: stream.Channel_Y, }, { DataType: &stream.U10, Sampling: stream.Linear, Channel: stream.Channel_Z, }, { DataType: &stream.U2, Sampling: stream.Linear, Channel: stream.Channel_W, }}, } XYZW_S10S10S10S2 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S10, Sampling: stream.Linear, Channel: stream.Channel_X, }, { DataType: &stream.S10, Sampling: stream.Linear, Channel: stream.Channel_Y, }, { DataType: &stream.S10, Sampling: stream.Linear, Channel: stream.Channel_Z, }, { DataType: &stream.S2, Sampling: stream.Linear, Channel: stream.Channel_W, }}, } XYZW_U10U10U10U2_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U10, Sampling: stream.LinearNormalized, Channel: stream.Channel_X, }, { DataType: &stream.U10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Y, }, { DataType: &stream.U10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Z, }, { DataType: &stream.U2, Sampling: stream.LinearNormalized, Channel: stream.Channel_W, }}, } XYZW_S10S10S10S2_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S10, Sampling: stream.LinearNormalized, Channel: stream.Channel_X, }, { DataType: &stream.S10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Y, }, { DataType: &stream.S10, Sampling: stream.LinearNormalized, Channel: stream.Channel_Z, }, { DataType: &stream.S2, Sampling: stream.LinearNormalized, Channel: stream.Channel_W, }}, } XYZW_U8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_X, }, { DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Y, }, { DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Z, }, { DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_W, }}, } XYZW_U8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_X, }, { DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Y, }, { DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Z, }, { DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_W, }}, } XYZW_S8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_X, }, { DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Y, }, { DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_Z, }, { DataType: &stream.S8, Sampling: stream.Linear, Channel: stream.Channel_W, }}, } XYZW_S8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_X, }, { DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Y, }, { DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Z, }, { DataType: &stream.S8, Sampling: stream.LinearNormalized, Channel: stream.Channel_W, }}, } XYZW_U16 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U16, Sampling: stream.Linear, Channel: stream.Channel_X, }, { DataType: &stream.U16, Sampling: stream.Linear, Channel: stream.Channel_Y, }, { DataType: &stream.U16, Sampling: stream.Linear, Channel: stream.Channel_Z, }, { DataType: &stream.U16, Sampling: stream.Linear, Channel: stream.Channel_W, }}, } XYZW_U16_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U16, Sampling: stream.LinearNormalized, Channel: stream.Channel_X, }, { DataType: &stream.U16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Y, }, { DataType: &stream.U16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Z, }, { DataType: &stream.U16, Sampling: stream.LinearNormalized, Channel: stream.Channel_W, }}, } XYZW_S16 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S16, Sampling: stream.Linear, Channel: stream.Channel_X, }, { DataType: &stream.S16, Sampling: stream.Linear, Channel: stream.Channel_Y, }, { DataType: &stream.S16, Sampling: stream.Linear, Channel: stream.Channel_Z, }, { DataType: &stream.S16, Sampling: stream.Linear, Channel: stream.Channel_W, }}, } XYZW_S16_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S16, Sampling: stream.LinearNormalized, Channel: stream.Channel_X, }, { DataType: &stream.S16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Y, }, { DataType: &stream.S16, Sampling: stream.LinearNormalized, Channel: stream.Channel_Z, }, { DataType: &stream.S16, Sampling: stream.LinearNormalized, Channel: stream.Channel_W, }}, } XYZW_F16 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F16, Sampling: stream.Linear, Channel: stream.Channel_X, }, { DataType: &stream.F16, Sampling: stream.Linear, Channel: stream.Channel_Y, }, { DataType: &stream.F16, Sampling: stream.Linear, Channel: stream.Channel_Z, }, { DataType: &stream.F16, Sampling: stream.Linear, Channel: stream.Channel_W, }}, } XYZW_F32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F32, Sampling: stream.Linear, Channel: stream.Channel_X, }, { DataType: &stream.F32, Sampling: stream.Linear, Channel: stream.Channel_Y, }, { DataType: &stream.F32, Sampling: stream.Linear, Channel: stream.Channel_Z, }, { DataType: &stream.F32, Sampling: stream.Linear, Channel: stream.Channel_W, }}, } XYZW_U32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U32, Sampling: stream.Linear, Channel: stream.Channel_X, }, { DataType: &stream.U32, Sampling: stream.Linear, Channel: stream.Channel_Y, }, { DataType: &stream.U32, Sampling: stream.Linear, Channel: stream.Channel_Z, }, { DataType: &stream.U32, Sampling: stream.Linear, Channel: stream.Channel_W, }}, } XYZW_U32_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U32, Sampling: stream.LinearNormalized, Channel: stream.Channel_X, }, { DataType: &stream.U32, Sampling: stream.LinearNormalized, Channel: stream.Channel_Y, }, { DataType: &stream.U32, Sampling: stream.LinearNormalized, Channel: stream.Channel_Z, }, { DataType: &stream.U32, Sampling: stream.LinearNormalized, Channel: stream.Channel_W, }}, } XYZW_S32 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S32, Sampling: stream.Linear, Channel: stream.Channel_X, }, { DataType: &stream.S32, Sampling: stream.Linear, Channel: stream.Channel_Y, }, { DataType: &stream.S32, Sampling: stream.Linear, Channel: stream.Channel_Z, }, { DataType: &stream.S32, Sampling: stream.Linear, Channel: stream.Channel_W, }}, } XYZW_S32_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.S32, Sampling: stream.LinearNormalized, Channel: stream.Channel_X, }, { DataType: &stream.S32, Sampling: stream.LinearNormalized, Channel: stream.Channel_Y, }, { DataType: &stream.S32, Sampling: stream.LinearNormalized, Channel: stream.Channel_Z, }, { DataType: &stream.S32, Sampling: stream.LinearNormalized, Channel: stream.Channel_W, }}, } XYZW_F64 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.F64, Sampling: stream.Linear, Channel: stream.Channel_X, }, { DataType: &stream.F64, Sampling: stream.Linear, Channel: stream.Channel_Y, }, { DataType: &stream.F64, Sampling: stream.Linear, Channel: stream.Channel_Z, }, { DataType: &stream.F64, Sampling: stream.Linear, Channel: stream.Channel_W, }}, } )
View Source
var ( Count_U8 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.Linear, Channel: stream.Channel_Count, }}, } )
View Source
var ( LA_U8_NORM = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Luminance, }, { DataType: &stream.U8, Sampling: stream.LinearNormalized, Channel: stream.Channel_Alpha, }}, } )
View Source
var ( RGBE_U9U9U9U5 = &stream.Format{ Components: []*stream.Component{{ DataType: &stream.U9, Sampling: stream.Linear, Channel: stream.Channel_Red, }, { DataType: &stream.U9, Sampling: stream.Linear, Channel: stream.Channel_Green, }, { DataType: &stream.U9, Sampling: stream.Linear, Channel: stream.Channel_Blue, }, { DataType: &stream.U5, Sampling: stream.Linear, Channel: stream.Channel_SharedExponent, }}, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.