| 16 | namespace { |
| 17 | |
| 18 | PJ::DecodedFrame rawBytesFrame(const std::vector<uint8_t>& bytes) { |
| 19 | PJ::DecodedFrame frame; |
| 20 | frame.pixels = std::make_shared<std::vector<uint8_t>>(bytes); |
| 21 | return frame; |
| 22 | } |
| 23 | |
| 24 | PJ::DecodedFrame mono16Frame(int width, int height, const std::vector<uint16_t>& values) { |
| 25 | PJ::DecodedFrame frame; |