Searched refs:bytesPerComponent (Results 1 – 3 of 3) sorted by relevance
608 unsigned int* bytesPerComponent) in computeFormatAndTypeParameters() argument632 *bytesPerComponent = sizeof(GC3Dubyte); in computeFormatAndTypeParameters()635 *bytesPerComponent = sizeof(GC3Dushort); in computeFormatAndTypeParameters()641 *bytesPerComponent = sizeof(GC3Dushort); in computeFormatAndTypeParameters()645 *bytesPerComponent = sizeof(GC3Duint); in computeFormatAndTypeParameters()648 *bytesPerComponent = sizeof(GC3Dfloat); in computeFormatAndTypeParameters()651 *bytesPerComponent = sizeof(GC3Dhalffloat); in computeFormatAndTypeParameters()666 unsigned int bytesPerComponent, componentsPerPixel; in computeImageSizeInBytes() local667 if (!computeFormatAndTypeParameters(format, type, &bytesPerComponent, &componentsPerPixel)) in computeImageSizeInBytes()675 CheckedInt<uint32_t> checkedValue(bytesPerComponent * componentsPerPixel); in computeImageSizeInBytes()
1530 unsigned int componentsPerPixel, bytesPerComponent; in extractTextureData() local1531 if (!computeFormatAndTypeParameters(format, type, &componentsPerPixel, &bytesPerComponent)) in extractTextureData()1533 unsigned bytesPerPixel = componentsPerPixel * bytesPerComponent; in extractTextureData()
153 unsigned int* bytesPerComponent);