mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-18 18:05:09 +03:00
libcamera: pipeline: rpi: Do not clear request metadata anymore
Since 6cf9c4d34f
("pipeline: ipa: rpi: Split RPiCameraData::dropFrameCount_")
the initial n frames are not dropped anymore. So clearing the request metadata
should not be necessary anymore, remove it.
Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
This commit is contained in:
parent
305d73cd2c
commit
c0586867a9
2 changed files with 2 additions and 12 deletions
|
@ -2313,16 +2313,11 @@ void PiSPCameraData::tryRunPipeline()
|
||||||
|
|
||||||
/* Take the first request from the queue and action the IPA. */
|
/* Take the first request from the queue and action the IPA. */
|
||||||
Request *request = requestQueue_.front();
|
Request *request = requestQueue_.front();
|
||||||
|
ASSERT(request->metadata().empty());
|
||||||
|
|
||||||
/* See if a new ScalerCrop value needs to be applied. */
|
/* See if a new ScalerCrop value needs to be applied. */
|
||||||
applyScalerCrop(request->controls());
|
applyScalerCrop(request->controls());
|
||||||
|
|
||||||
/*
|
|
||||||
* Clear the request metadata and fill it with some initial non-IPA
|
|
||||||
* related controls. We clear it first because the request metadata
|
|
||||||
* may have been populated if we have dropped the previous frame.
|
|
||||||
*/
|
|
||||||
request->metadata().clear();
|
|
||||||
fillRequestMetadata(job.sensorControls, request);
|
fillRequestMetadata(job.sensorControls, request);
|
||||||
|
|
||||||
/* Set our state to say the pipeline is active. */
|
/* Set our state to say the pipeline is active. */
|
||||||
|
|
|
@ -927,16 +927,11 @@ void Vc4CameraData::tryRunPipeline()
|
||||||
|
|
||||||
/* Take the first request from the queue and action the IPA. */
|
/* Take the first request from the queue and action the IPA. */
|
||||||
Request *request = requestQueue_.front();
|
Request *request = requestQueue_.front();
|
||||||
|
ASSERT(request->metadata().empty());
|
||||||
|
|
||||||
/* See if a new ScalerCrop value needs to be applied. */
|
/* See if a new ScalerCrop value needs to be applied. */
|
||||||
applyScalerCrop(request->controls());
|
applyScalerCrop(request->controls());
|
||||||
|
|
||||||
/*
|
|
||||||
* Clear the request metadata and fill it with some initial non-IPA
|
|
||||||
* related controls. We clear it first because the request metadata
|
|
||||||
* may have been populated if we have dropped the previous frame.
|
|
||||||
*/
|
|
||||||
request->metadata().clear();
|
|
||||||
fillRequestMetadata(bayerFrame.controls, request);
|
fillRequestMetadata(bayerFrame.controls, request);
|
||||||
|
|
||||||
/* Set our state to say the pipeline is active. */
|
/* Set our state to say the pipeline is active. */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue