| 73 | } |
| 74 | |
| 75 | NativeCodec::NativeCodec(int width, int height, std::shared_ptr<Data> imageBytes) |
| 76 | : ImageCodec(width, height), imageBytes(std::move(imageBytes)) { |
| 77 | } |
| 78 | |
| 79 | NativeCodec::NativeCodec(int width, int height, emscripten::val nativeImage) |
| 80 | : ImageCodec(width, height), nativeImage(std::move(nativeImage)) { |
nothing calls this directly
no outgoing calls
no test coverage detected