summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2021-04-13 16:53:10 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2021-04-22 16:56:07 +0100
commit0abed6484302e5dbb36f3c8e2e02c8b1f0437717 (patch)
tree436a0d05c7d7d9b4b4075efdc5ef59a422a6853a /src
parent47c12e2635f46f5295b75121a8dd9c787940feaa (diff)
libcamera: pipeline: rkisp1: Fail RkISP1FrameInfo can't be found
The RkISP1FrameInfo structure associated data sent to the IPA and is essential for handling events. If it can not be found, this is a fatal error which must be fixed. Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Hirokazu Honda <hiroh@chromium.org> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/pipeline/rkisp1/rkisp1.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/libcamera/pipeline/rkisp1/rkisp1.cpp b/src/libcamera/pipeline/rkisp1/rkisp1.cpp
index 549f4a4e..c7566639 100644
--- a/src/libcamera/pipeline/rkisp1/rkisp1.cpp
+++ b/src/libcamera/pipeline/rkisp1/rkisp1.cpp
@@ -267,7 +267,8 @@ RkISP1FrameInfo *RkISP1Frames::find(unsigned int frame)
if (itInfo != frameInfo_.end())
return itInfo->second;
- LOG(RkISP1, Error) << "Can't locate info from frame";
+ LOG(RkISP1, Fatal) << "Can't locate info from frame";
+
return nullptr;
}
@@ -283,7 +284,8 @@ RkISP1FrameInfo *RkISP1Frames::find(FrameBuffer *buffer)
return info;
}
- LOG(RkISP1, Error) << "Can't locate info from buffer";
+ LOG(RkISP1, Fatal) << "Can't locate info from buffer";
+
return nullptr;
}
@@ -296,7 +298,8 @@ RkISP1FrameInfo *RkISP1Frames::find(Request *request)
return info;
}
- LOG(RkISP1, Error) << "Can't locate info from request";
+ LOG(RkISP1, Fatal) << "Can't locate info from request";
+
return nullptr;
}