Searched refs:bytesPerComponent (Results 1 – 2 of 2) sorted by relevance
229 const uint32_t bytesPerComponent = is16bpc ? 2u : 1u; in CreateImage() local230 const uint32_t bitsPerPixel = bytesPerComponent * componentCount * 8u; in CreateImage()234 …eBytesLength_ = static_cast<size_t>(imageWidth * imageHeight * componentCount * bytesPerComponent); in CreateImage()
295 const uint32_t bytesPerComponent = is16bpc ? 2u : 1u; in CreateImage() local296 const uint32_t bitsPerPixel = bytesPerComponent * componentCount * 8u; in CreateImage()301 image->imageBytesLength_ = imageWidth * imageHeight * componentCount * bytesPerComponent; in CreateImage()