libcamera: framebuffer: Turn the cookie into a 64-bit integer
To allow associating pointers with FrameBuffer instances, turn the cookie into a 64-bit integer. This matches the Request cookie with is also a uint64_t. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
This commit is contained in:
parent
3fa79cc688
commit
d5b0cec839
1 changed files with 3 additions and 3 deletions
|
@ -66,8 +66,8 @@ public:
|
|||
Request *request() const;
|
||||
const FrameMetadata &metadata() const { return metadata_; }
|
||||
|
||||
unsigned int cookie() const { return cookie_; }
|
||||
void setCookie(unsigned int cookie) { cookie_ = cookie; }
|
||||
uint64_t cookie() const { return cookie_; }
|
||||
void setCookie(uint64_t cookie) { cookie_ = cookie; }
|
||||
|
||||
std::unique_ptr<Fence> releaseFence();
|
||||
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
|
||||
FrameMetadata metadata_;
|
||||
|
||||
unsigned int cookie_;
|
||||
uint64_t cookie_;
|
||||
};
|
||||
|
||||
} /* namespace libcamera */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue