| 20 | const std::string& okey) |
| 21 | : KeyTransformOp(ikey, okey) {} |
| 22 | std::shared_ptr<Array> ImageTransformOp::apply_key( |
| 23 | const std::shared_ptr<const Array>& src) const { |
| 24 | if (src->shape().size() == 4) { |
| 25 | core::video::verify_video(src); |
| 26 | return apply_video(src); |
| 27 | } else { |
| 28 | core::image::verify_image(src); |
| 29 | return apply_image(src); |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | std::shared_ptr<Array> ImageTransformOp::apply_video( |
| 34 | const std::shared_ptr<const Array>& video) const { |
nothing calls this directly
no test coverage detected