diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-06-08 05:30:20 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-06-10 16:48:18 +0300 |
commit | 33d71af84e64d28be278234bf5a152aee67c9013 (patch) | |
tree | a8ad2d5fbc875807567fa6703d35907f3225705a /test/v4l2_videodevice/v4l2_m2mdevice.cpp | |
parent | 7a88b212e0107299b277dae8657476bc8d5d2b0f (diff) |
libcamera: pipeline: rkisp1: Avoid usage of dynamic_cast<>
The logic of the code guarantees that the PipelineHandler pointer passed
to the RkISP1Frames constructor is an instance of PipelineHandlerRkISP1.
We can thus use static_cast<> instead of dynamic_cast<>.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'test/v4l2_videodevice/v4l2_m2mdevice.cpp')
0 files changed, 0 insertions, 0 deletions