libcamera: framebuffer: Allow inheritance of FrameBuffer
To add buffer_handle_t access in android, this patch allows inheritance of FrameBuffer to add a derived class in android. Signed-off-by: Harvey Yang <chenghaoyang@chromium.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Han-Lin Chen <hanlinchen@chromium.org> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
85befa816e
commit
4843bfa66d
1 changed files with 2 additions and 1 deletions
|
@ -46,7 +46,7 @@ private:
|
||||||
std::vector<Plane> planes_;
|
std::vector<Plane> planes_;
|
||||||
};
|
};
|
||||||
|
|
||||||
class FrameBuffer final : public Extensible
|
class FrameBuffer : public Extensible
|
||||||
{
|
{
|
||||||
LIBCAMERA_DECLARE_PRIVATE()
|
LIBCAMERA_DECLARE_PRIVATE()
|
||||||
|
|
||||||
|
@ -60,6 +60,7 @@ public:
|
||||||
|
|
||||||
FrameBuffer(const std::vector<Plane> &planes, unsigned int cookie = 0);
|
FrameBuffer(const std::vector<Plane> &planes, unsigned int cookie = 0);
|
||||||
FrameBuffer(std::unique_ptr<Private> d);
|
FrameBuffer(std::unique_ptr<Private> d);
|
||||||
|
virtual ~FrameBuffer() {}
|
||||||
|
|
||||||
const std::vector<Plane> &planes() const;
|
const std::vector<Plane> &planes() const;
|
||||||
Request *request() const;
|
Request *request() const;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue