diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2019-03-01 12:44:52 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2019-03-02 18:31:40 +0100 |
commit | 00889796830bb46a9dbf2029a059dda90287e3db (patch) | |
tree | 317212e3370b2398e37af92be669d823020c8945 | |
parent | de16573bcc670776565fe2966b86233408d38bc9 (diff) |
libcamera: v4l2_subdevice: Cosmetic update
Cosmetic updated of V4L2Subdevice class: re-sort methods and comments to
reflect the declaration order in the class definition.
Cosmetic update, no functional changes intended.
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
-rw-r--r-- | src/libcamera/v4l2_subdevice.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/libcamera/v4l2_subdevice.cpp b/src/libcamera/v4l2_subdevice.cpp index 394ed0f0..5f58904b 100644 --- a/src/libcamera/v4l2_subdevice.cpp +++ b/src/libcamera/v4l2_subdevice.cpp @@ -55,6 +55,11 @@ LOG_DEFINE_CATEGORY(V4L2Subdev) */ /** + * \var V4L2SubdeviceFormat::mbus_code + * \brief The image format bus code + */ + +/** * \var V4L2SubdeviceFormat::width * \brief The image width in pixels */ @@ -65,11 +70,6 @@ LOG_DEFINE_CATEGORY(V4L2Subdev) */ /** - * \var V4L2SubdeviceFormat::mbus_code - * \brief The image format bus code - */ - -/** * \class V4L2Subdevice * \brief A V4L2 subdevice as exposed by the Linux kernel * @@ -154,11 +154,6 @@ void V4L2Subdevice::close() * \return The name of the media entity the subdevice is associated to */ -std::string V4L2Subdevice::logPrefix() const -{ - return "'" + deviceName() + "'"; -} - /** * \brief Set a crop rectangle on one of the V4L2 subdevice pads * \param[in] pad The 0-indexed pad number the rectangle is to be applied to @@ -301,6 +296,11 @@ int V4L2Subdevice::setFormat(unsigned int pad, V4L2SubdeviceFormat *format) return 0; } +std::string V4L2Subdevice::logPrefix() const +{ + return "'" + deviceName() + "'"; +} + int V4L2Subdevice::enumPadSizes(unsigned int pad,unsigned int code, std::vector<SizeRange> *sizes) { |