mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-25 09:35:06 +03:00
libcamera: ipa: ipu3: Add an IPA skeleton for the IPU3 pipeline
Add an empty IPA skeleton for the IPU3 pipeline. The skeleton IPA handles the flow of parameter and statistic buffers but does not read or write anything in the buffers. It also allows the IPA to set sensor controls but does not implement any logic to set optimal values and instead sets the V4L2 exposure and gain controls to max and keeps them at that setting. This IPA is meant as a base to allow the pipeline handler to be wired up to an IPA. The image algorithms can then later be added to the IPA independently from also having to add plumbing to the pipeline handler. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
ef80137671
commit
0a7000cc96
4 changed files with 287 additions and 1 deletions
23
include/libcamera/ipa/ipu3.h
Normal file
23
include/libcamera/ipa/ipu3.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
/*
|
||||
* Copyright (C) 2020, Google Inc.
|
||||
*
|
||||
* ipu3.h - Image Processing Algorithm interface for IPU3
|
||||
*/
|
||||
#ifndef __LIBCAMERA_IPA_INTERFACE_IPU3_H__
|
||||
#define __LIBCAMERA_IPA_INTERFACE_IPU3_H__
|
||||
|
||||
#ifndef __DOXYGEN__
|
||||
|
||||
enum IPU3Operations {
|
||||
IPU3_IPA_ACTION_SET_SENSOR_CONTROLS = 1,
|
||||
IPU3_IPA_ACTION_PARAM_FILLED = 2,
|
||||
IPU3_IPA_ACTION_METADATA_READY = 3,
|
||||
IPU3_IPA_EVENT_PROCESS_CONTROLS = 4,
|
||||
IPU3_IPA_EVENT_STAT_READY = 5,
|
||||
IPU3_IPA_EVENT_FILL_PARAMS = 6,
|
||||
};
|
||||
|
||||
#endif /* __DOXYGEN__ */
|
||||
|
||||
#endif /* __LIBCAMERA_IPA_INTERFACE_IPU3_H__ */
|
Loading…
Add table
Add a link
Reference in a new issue