mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-23 16:45:07 +03:00
libcamera: PixelFormat: Mark all function arguments of type PixelFormat as const reference
PixelFormat was previously an alias for unsigned int but is now a class. Make all functions taking PixelFormat do so as a const reference. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
718f5e99a9
commit
aaf1ce50f9
12 changed files with 20 additions and 18 deletions
|
@ -43,7 +43,7 @@ public:
|
|||
std::vector<Buffer> completedBuffers();
|
||||
|
||||
int configure(StreamConfiguration *streamConfigOut,
|
||||
const Size &size, PixelFormat pixelformat,
|
||||
const Size &size, const PixelFormat &pixelformat,
|
||||
unsigned int bufferCount);
|
||||
|
||||
int allocBuffers(unsigned int count);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue