Lines Matching defs:ASTCDecompressionData

1074 struct ASTCDecompressionData {  struct
1075 ASTCDecompressionData(int dimX, int dimY) : fDimX(dimX), fDimY(dimY) { } in ASTCDecompressionData() function
1076 const int fDimX; // the X dimension of the decompressed block
1077 const int fDimY; // the Y dimension of the decompressed block
1078 ASTCBlock fBlock; // the block data
1079 int fBlockMode; // the block header that contains the block mode.
1081 bool fDualPlaneEnabled; // is this block compressing dual weight planes?
1082 int fDualPlane; // the independent plane in dual plane mode.
1084 bool fVoidExtent; // is this block a single color?
1085 bool fError; // does this block have an error encoding?
1087 int fWeightDimX; // the x dimension of the weight grid
1088 int fWeightDimY; // the y dimension of the weight grid
1090 int fWeightBits; // the number of bits used for each weight value
1091 int fWeightTrits; // the number of trits used for each weight value
1092 int fWeightQuints; // the number of quints used for each weight value
1094 int fPartCount; // the number of partitions in this block
1095 int fPartIndex; // the partition index: only relevant if fPartCount > 0
1099 enum ColorEndpointMode {
1117 static const int kMaxColorEndpointModes = 16;
1120 static const int kMaxPartitions = 4;
1121 ColorEndpointMode fCEM[kMaxPartitions];
1123 int fColorStartBit; // The bit position of the first bit of the color data
1124 int fColorEndBit; // The bit position of the last *possible* bit of the color data
1127 int numPartitions() const { in numPartitions()
1132 int numWeights() const { in numWeights()
1139 int maxWeightValue() const { in maxWeightValue()
1154 int numWeightBits() const { in numWeightBits()
1164 int numColorValues() const { in numColorValues()
1177 bool getColorValueEncoding(int *nBits, int *nTrits, int *nQuints) const { in getColorValueEncoding()
1233 void colorEndpoints(SkColor endpoints[4][2], const int* colorValues) const { in colorEndpoints()
1331 int unquantizeWeight(int x) const { in unquantizeWeight()
1433 int getWeight(const int* unquantizedWeights, int idx, bool dualPlane) const { in getWeight()
1456 int infillWeight(const int* unquantizedValues, int s, int t, bool dualPlane) const { in infillWeight()
1491 void texelWeights(int texelWeights[2][12][12], const int* texelValues) const { in texelWeights()
1514 int getPartition(int x, int y) const { in getPartition()
1596 SkColor getTexel(const SkColor endpoints[4][2], in getTexel()
1623 void decode() { in decode()
1645 void decodeDualPlane(int bitLoc) { in decodeDualPlane()
1655 void decodeColorData() { in decodeColorData()
1787 void decodeBlockMode() { in decodeBlockMode()