mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-13 15:29:45 +03:00
test: v4l2_device: Order class sections
Order the sections of a class public, protected and private. There is no functional change only restructuring of existing code to align with the style of other tests. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
9f7649a1f4
commit
4a4c99d0b2
1 changed files with 8 additions and 8 deletions
|
@ -27,14 +27,6 @@ public:
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
|
||||||
const unsigned int bufferCount = 4;
|
|
||||||
|
|
||||||
V4L2Device *output_;
|
|
||||||
|
|
||||||
unsigned int framesCaptured_;
|
|
||||||
unsigned int framesOutput_;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
int init()
|
int init()
|
||||||
{
|
{
|
||||||
|
@ -182,6 +174,14 @@ protected:
|
||||||
|
|
||||||
V4L2DeviceTest::cleanup();
|
V4L2DeviceTest::cleanup();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private:
|
||||||
|
const unsigned int bufferCount = 4;
|
||||||
|
|
||||||
|
V4L2Device *output_;
|
||||||
|
|
||||||
|
unsigned int framesCaptured_;
|
||||||
|
unsigned int framesOutput_;
|
||||||
};
|
};
|
||||||
|
|
||||||
TEST_REGISTER(BufferSharingTest);
|
TEST_REGISTER(BufferSharingTest);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue