| 291 | } |
| 292 | |
| 293 | static std::size_t GetRequiredImageDataSize(const Extent3D& extent, const ImageFormat format, const DataType dataType) |
| 294 | { |
| 295 | return static_cast<std::size_t>(ImageFormatSize(format) * DataTypeSize(dataType) * extent.width * extent.height * extent.depth); |
| 296 | } |
| 297 | |
| 298 | static void ValidateImageDataSize(const Extent3D& extent, const DstImageDescriptor& imageDesc) |
| 299 | { |
no outgoing calls
no test coverage detected