| 51 | } |
| 52 | |
| 53 | bool export_octave(const Buffer& buffer, const std::string& path) { |
| 54 | return export_octave_raw( |
| 55 | std::bit_cast<const std::uint8_t*>(buffer.buffer_.data()), |
| 56 | buffer.type, |
| 57 | static_cast<int>(buffer.buffer_width_f), |
| 58 | static_cast<int>(buffer.buffer_height_f), |
| 59 | buffer.channels, |
| 60 | buffer.step, |
| 61 | path); |
| 62 | } |
| 63 | |
| 64 | } // namespace oid::BufferExporter |
no test coverage detected