android: post_processor: Change the type destination in process()
The type of the destination buffer in PostProcessor::process() is libcamera::Span. libcamera::Span is used for one dimension buffer (e.g. blob buffer). The destination can be multiple dimensions buffer (e.g. yuv frame). Therefore, this changes the type of the destination buffer to MappedFrameBuffer. Signed-off-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
parent
bc6440792b
commit
fb9051ff74
5 changed files with 13 additions and 10 deletions
|
@ -19,9 +19,10 @@
|
|||
#include <libcamera/geometry.h>
|
||||
#include <libcamera/pixel_format.h>
|
||||
|
||||
#include <libcamera/internal/buffer.h>
|
||||
|
||||
class CameraDevice;
|
||||
class CameraMetadata;
|
||||
class MappedCamera3Buffer;
|
||||
class PostProcessor;
|
||||
|
||||
class CameraStream
|
||||
|
@ -119,7 +120,7 @@ public:
|
|||
|
||||
int configure();
|
||||
int process(const libcamera::FrameBuffer &source,
|
||||
MappedCamera3Buffer *dest,
|
||||
libcamera::MappedBuffer *destination,
|
||||
const CameraMetadata &requestMetadata,
|
||||
CameraMetadata *resultMetadata);
|
||||
libcamera::FrameBuffer *getBuffer();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue