ipa: Add start() and stop() operations
Add two new operations to the IPA interface to start and stop it. The intention is that these functions shall be used by the IPA to perform actions when the camera is started and stopped. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
@@ -32,6 +32,10 @@ public:
|
||||
~IPAVimc();
|
||||
|
||||
int init() override;
|
||||
|
||||
int start() override;
|
||||
void stop() override;
|
||||
|
||||
void configure(const std::map<unsigned int, IPAStream> &streamConfig,
|
||||
const std::map<unsigned int, const ControlInfoMap &> &entityControls) override {}
|
||||
void mapBuffers(const std::vector<IPABuffer> &buffers) override {}
|
||||
@@ -66,6 +70,22 @@ int IPAVimc::init()
|
||||
return 0;
|
||||
}
|
||||
|
||||
int IPAVimc::start()
|
||||
{
|
||||
trace(IPAOperationStart);
|
||||
|
||||
LOG(IPAVimc, Debug) << "start vimc IPA!";
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void IPAVimc::stop()
|
||||
{
|
||||
trace(IPAOperationStop);
|
||||
|
||||
LOG(IPAVimc, Debug) << "stop vimc IPA!";
|
||||
}
|
||||
|
||||
void IPAVimc::initTrace()
|
||||
{
|
||||
struct stat fifoStat;
|
||||
|
||||
Reference in New Issue
Block a user