YSTest  PreAlpha_b500_20140530
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
platform::XYZATrait< _vX, _vY, _vZ, _vA > 模板结构体 参考

XYZA 特征。 更多...

#include <Video.h>

platform::XYZATrait< _vX, _vY, _vZ, _vA > 的协作图:

Public 类型

using AType = typename ystdex::make_width_int< ABitsN >::unsigned_least_type
 
using BType = typename ystdex::make_width_int< XBitsN >::unsigned_least_type
 
using GType = typename ystdex::make_width_int< YBitsN >::unsigned_least_type
 
using RType = typename ystdex::make_width_int< ZBitsN >::unsigned_least_type
 
using IntegerType = typename ystdex::make_width_int< UIntBitsN >::unsigned_least_type
 
using ArrayType = ystdex::byte[BytesN]
 

静态 Public 属性

static yconstexpr size_t ABitsN = _vA
 
static yconstexpr size_t XBitsN = _vX
 
static yconstexpr size_t YBitsN = _vY
 
static yconstexpr size_t ZBitsN = _vZ
 
static yconstexpr size_t XYBitsN = XBitsN + YBitsN
 
static yconstexpr size_t XYZBitsN = XBitsN + YBitsN + ZBitsN
 
static yconstexpr size_t BitsN = XBitsN + YBitsN + ZBitsN + ABitsN
 
static yconstexpr size_t BytesN = (BitsN + CHAR_BIT - 1) / CHAR_BIT
 
static yconstexpr bool GAligned = XBitsN / CHAR_BIT == XYBitsN / CHAR_BIT
 
static yconstexpr bool RAligned = XYBitsN / CHAR_BIT == XYZBitsN / CHAR_BIT
 
static yconstexpr size_t UIntBitsN = BitsN > 64 ? 64 : BitsN
 
static yconstexpr IntegerType AMask = ((1 << ABitsN) - 1) << XYZBitsN
 
static yconstexpr IntegerType XMask = (1 << XBitsN) - 1
 
static yconstexpr IntegerType YMask = ((1 << YBitsN) - 1) << XBitsN
 
static yconstexpr IntegerType ZMask = ((1 << ZBitsN) - 1) << XYBitsN
 
static yconstexpr size_t Width = ystdex::integer_width<IntegerType>::value
 

详细描述

template<size_t _vX, size_t _vY, size_t _vZ, size_t _vA>
struct platform::XYZATrait< _vX, _vY, _vZ, _vA >

XYZA 特征。

自从
build 441

在文件 Video.h47 行定义.

成员类型定义说明

template<size_t _vX, size_t _vY, size_t _vZ, size_t _vA>
using platform::XYZATrait< _vX, _vY, _vZ, _vA >::ArrayType = ystdex::byte[BytesN]

在文件 Video.h74 行定义.

template<size_t _vX, size_t _vY, size_t _vZ, size_t _vA>
using platform::XYZATrait< _vX, _vY, _vZ, _vA >::AType = typename ystdex::make_width_int<ABitsN>::unsigned_least_type

在文件 Video.h61 行定义.

template<size_t _vX, size_t _vY, size_t _vZ, size_t _vA>
using platform::XYZATrait< _vX, _vY, _vZ, _vA >::BType = typename ystdex::make_width_int<XBitsN>::unsigned_least_type

在文件 Video.h62 行定义.

template<size_t _vX, size_t _vY, size_t _vZ, size_t _vA>
using platform::XYZATrait< _vX, _vY, _vZ, _vA >::GType = typename ystdex::make_width_int<YBitsN>::unsigned_least_type

在文件 Video.h63 行定义.

template<size_t _vX, size_t _vY, size_t _vZ, size_t _vA>
using platform::XYZATrait< _vX, _vY, _vZ, _vA >::IntegerType = typename ystdex::make_width_int<UIntBitsN>::unsigned_least_type

在文件 Video.h66 行定义.

template<size_t _vX, size_t _vY, size_t _vZ, size_t _vA>
using platform::XYZATrait< _vX, _vY, _vZ, _vA >::RType = typename ystdex::make_width_int<ZBitsN>::unsigned_least_type

在文件 Video.h64 行定义.

类成员变量说明

template<size_t _vX, size_t _vY, size_t _vZ, size_t _vA>
yconstexpr size_t platform::XYZATrait< _vX, _vY, _vZ, _vA >::ABitsN = _vA
static

在文件 Video.h49 行定义.

template<size_t _vX, size_t _vY, size_t _vZ, size_t _vA>
yconstexpr IntegerType platform::XYZATrait< _vX, _vY, _vZ, _vA >::AMask = ((1 << ABitsN) - 1) << XYZBitsN
static

在文件 Video.h68 行定义.

template<size_t _vX, size_t _vY, size_t _vZ, size_t _vA>
yconstexpr size_t platform::XYZATrait< _vX, _vY, _vZ, _vA >::BitsN = XBitsN + YBitsN + ZBitsN + ABitsN
static

在文件 Video.h55 行定义.

template<size_t _vX, size_t _vY, size_t _vZ, size_t _vA>
yconstexpr size_t platform::XYZATrait< _vX, _vY, _vZ, _vA >::BytesN = (BitsN + CHAR_BIT - 1) / CHAR_BIT
static

在文件 Video.h56 行定义.

template<size_t _vX, size_t _vY, size_t _vZ, size_t _vA>
yconstexpr bool platform::XYZATrait< _vX, _vY, _vZ, _vA >::GAligned = XBitsN / CHAR_BIT == XYBitsN / CHAR_BIT
static

在文件 Video.h57 行定义.

template<size_t _vX, size_t _vY, size_t _vZ, size_t _vA>
yconstexpr bool platform::XYZATrait< _vX, _vY, _vZ, _vA >::RAligned = XYBitsN / CHAR_BIT == XYZBitsN / CHAR_BIT
static

在文件 Video.h58 行定义.

template<size_t _vX, size_t _vY, size_t _vZ, size_t _vA>
yconstexpr size_t platform::XYZATrait< _vX, _vY, _vZ, _vA >::UIntBitsN = BitsN > 64 ? 64 : BitsN
static

在文件 Video.h59 行定义.

template<size_t _vX, size_t _vY, size_t _vZ, size_t _vA>
yconstexpr size_t platform::XYZATrait< _vX, _vY, _vZ, _vA >::Width = ystdex::integer_width<IntegerType>::value
static

在文件 Video.h72 行定义.

template<size_t _vX, size_t _vY, size_t _vZ, size_t _vA>
yconstexpr size_t platform::XYZATrait< _vX, _vY, _vZ, _vA >::XBitsN = _vX
static

在文件 Video.h50 行定义.

template<size_t _vX, size_t _vY, size_t _vZ, size_t _vA>
yconstexpr IntegerType platform::XYZATrait< _vX, _vY, _vZ, _vA >::XMask = (1 << XBitsN) - 1
static

在文件 Video.h69 行定义.

template<size_t _vX, size_t _vY, size_t _vZ, size_t _vA>
yconstexpr size_t platform::XYZATrait< _vX, _vY, _vZ, _vA >::XYBitsN = XBitsN + YBitsN
static

在文件 Video.h53 行定义.

template<size_t _vX, size_t _vY, size_t _vZ, size_t _vA>
yconstexpr size_t platform::XYZATrait< _vX, _vY, _vZ, _vA >::XYZBitsN = XBitsN + YBitsN + ZBitsN
static

在文件 Video.h54 行定义.

template<size_t _vX, size_t _vY, size_t _vZ, size_t _vA>
yconstexpr size_t platform::XYZATrait< _vX, _vY, _vZ, _vA >::YBitsN = _vY
static

在文件 Video.h51 行定义.

template<size_t _vX, size_t _vY, size_t _vZ, size_t _vA>
yconstexpr IntegerType platform::XYZATrait< _vX, _vY, _vZ, _vA >::YMask = ((1 << YBitsN) - 1) << XBitsN
static

在文件 Video.h70 行定义.

template<size_t _vX, size_t _vY, size_t _vZ, size_t _vA>
yconstexpr size_t platform::XYZATrait< _vX, _vY, _vZ, _vA >::ZBitsN = _vZ
static

在文件 Video.h52 行定义.

template<size_t _vX, size_t _vY, size_t _vZ, size_t _vA>
yconstexpr IntegerType platform::XYZATrait< _vX, _vY, _vZ, _vA >::ZMask = ((1 << ZBitsN) - 1) << XYBitsN
static

在文件 Video.h71 行定义.


该结构体的文档由以下文件生成: