ipa: rkisp1: Pass parameters buffer size to pipeline handler
The ISP parameters buffer currently has a fixed payload size, which is hardcoded in the pipeline handler. To prepare for support of the extensible parameters format that has a variable payload size, pass the size from the IPA module to the pipeline handler explicitly. Keep the size hardcoded to sizeof(struct rkisp1_params_cfg) for now, this will be udpated later. Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
This commit is contained in:
committed by
Laurent Pinchart
parent
db15711692
commit
e70cda4238
@@ -332,7 +332,7 @@ void IPARkISP1::fillParamsBuffer(const uint32_t frame, const uint32_t bufferId)
|
||||
for (auto const &algo : algorithms())
|
||||
algo->prepare(context_, frame, frameContext, params);
|
||||
|
||||
paramsBufferReady.emit(frame);
|
||||
paramsBufferReady.emit(frame, sizeof(*params));
|
||||
}
|
||||
|
||||
void IPARkISP1::processStatsBuffer(const uint32_t frame, const uint32_t bufferId,
|
||||
|
||||
Reference in New Issue
Block a user