mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-24 09:05:06 +03:00
libcamera: v4l2_subdevice: Drop V4L2SubdeviceFormat::bitsPerPixel()
The V4L2SubdeviceFormat::bitsPerPixel() function is just a wrapper around a MediaBusFormatInfo lookup. It made sense when the MediaBusFormatInfo class was not exposed outside of the compilation unit, but is now redundant. Drop it and use MediaBusFormatInfo in the only caller. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
7941903d62
commit
4c82481fc4
3 changed files with 2 additions and 12 deletions
|
@ -66,7 +66,6 @@ struct V4L2SubdeviceFormat {
|
|||
std::optional<ColorSpace> colorSpace;
|
||||
|
||||
const std::string toString() const;
|
||||
uint8_t bitsPerPixel() const;
|
||||
};
|
||||
|
||||
std::ostream &operator<<(std::ostream &out, const V4L2SubdeviceFormat &f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue