7 #ifndef __LIBCAMERA_INTERNAL_V4L2_SUBDEVICE_H__ 8 #define __LIBCAMERA_INTERNAL_V4L2_SUBDEVICE_H__ 49 int getSelection(
unsigned int pad,
unsigned int target,
51 int setSelection(
unsigned int pad,
unsigned int target,
57 Whence whence = ActiveFormat);
59 Whence whence = ActiveFormat);
62 const std::string &entity);
65 std::string logPrefix()
const override;
68 std::vector<unsigned int> enumPadCodes(
unsigned int pad);
69 std::vector<SizeRange> enumPadSizes(
unsigned int pad,
Base class for V4L2VideoDevice and V4L2Subdevice.
Definition: v4l2_device.h:21
The format operation applies to TRY formats.
Definition: v4l2_subdevice.h:37
Definition: bound_method.h:15
const MediaEntity * entity() const
Retrieve the media entity associated with the subdevice.
Definition: v4l2_subdevice.h:47
Describe a two-dimensional size.
Definition: geometry.h:30
Describe a rectangle's position and dimensions.
Definition: geometry.h:15
Common base for V4L2 devices and subdevices.
The format operation applies to ACTIVE formats.
Definition: v4l2_subdevice.h:36
Data structures related to geometric objects.
Whence
Specify the type of format for getFormat() and setFormat() operations.
Definition: v4l2_subdevice.h:35
A V4L2 subdevice as exposed by the Linux kernel.
Definition: v4l2_subdevice.h:32