mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-18 18:05:09 +03:00
ipa: vimc: Rename processControls() to queueRequest()
Synchronise with other IPA interfaces (for e.g. IPU3, RkISP1) that uses queueRequest() to pass in the request controls to IPA. Signed-off-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
08d7e66df0
commit
28a44e80f0
3 changed files with 5 additions and 5 deletions
|
@ -37,7 +37,7 @@ interface IPAVimcInterface {
|
||||||
* handle parameters at runtime.
|
* handle parameters at runtime.
|
||||||
*/
|
*/
|
||||||
[async] fillParams(uint32 frame, uint32 bufferId);
|
[async] fillParams(uint32 frame, uint32 bufferId);
|
||||||
[async] processControls(uint32 frame, libcamera.ControlList controls);
|
[async] queueRequest(uint32 frame, libcamera.ControlList controls);
|
||||||
};
|
};
|
||||||
|
|
||||||
interface IPAVimcEventInterface {
|
interface IPAVimcEventInterface {
|
||||||
|
|
|
@ -44,7 +44,7 @@ public:
|
||||||
void unmapBuffers(const std::vector<unsigned int> &ids) override;
|
void unmapBuffers(const std::vector<unsigned int> &ids) override;
|
||||||
|
|
||||||
void fillParams(uint32_t frame, uint32_t bufferId) override;
|
void fillParams(uint32_t frame, uint32_t bufferId) override;
|
||||||
void processControls(uint32_t frame, const ControlList &controls) override;
|
void queueRequest(uint32_t frame, const ControlList &controls) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void initTrace();
|
void initTrace();
|
||||||
|
@ -140,8 +140,8 @@ void IPAVimc::fillParams([[maybe_unused]] uint32_t frame, uint32_t bufferId)
|
||||||
paramsFilled.emit(bufferId);
|
paramsFilled.emit(bufferId);
|
||||||
}
|
}
|
||||||
|
|
||||||
void IPAVimc::processControls([[maybe_unused]] uint32_t frame,
|
void IPAVimc::queueRequest([[maybe_unused]] uint32_t frame,
|
||||||
[[maybe_unused]] const ControlList &controls)
|
[[maybe_unused]] const ControlList &controls)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -432,7 +432,7 @@ int PipelineHandlerVimc::queueRequestDevice(Camera *camera, Request *request)
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
data->ipa_->processControls(request->sequence(), request->controls());
|
data->ipa_->queueRequest(request->sequence(), request->controls());
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue