libcamera
v0.3.2+250-e3783092
Supporting cameras in Linux since 2019
|
Enum to represent and manipulate 2D plane transforms. More...
Go to the source code of this file.
Namespaces | |
libcamera | |
Top-level libcamera namespace. | |
Enumerations | |
enum | libcamera::Transform : int { libcamera::Transform::Identity = 0, libcamera::Transform::Rot0 = Identity, libcamera::Transform::HFlip = 1, libcamera::Transform::VFlip = 2, libcamera::Transform::HVFlip = HFlip | VFlip, libcamera::Transform::Rot180 = HVFlip, libcamera::Transform::Transpose = 4, libcamera::Transform::Rot270 = HFlip | Transpose, libcamera::Transform::Rot90 = VFlip | Transpose, libcamera::Transform::Rot180Transpose = HFlip | VFlip | Transpose } |
Enum to represent a 2D plane transform. More... | |
Functions | |
constexpr Transform | libcamera::operator & (Transform t0, Transform t1) |
Apply bitwise AND operator between the bits in the two transforms. More... | |
constexpr Transform | libcamera::operator| (Transform t0, Transform t1) |
Apply bitwise OR operator between the bits in the two transforms. More... | |
constexpr Transform | libcamera::operator^ (Transform t0, Transform t1) |
Apply bitwise XOR operator between the bits in the two transforms. More... | |
constexpr Transform & | libcamera::operator &= (Transform &t0, Transform t1) |
Apply bitwise AND-assignment operator between the bits in the two transforms. More... | |
constexpr Transform & | libcamera::operator|= (Transform &t0, Transform t1) |
Apply bitwise OR-assignment operator between the bits in the two transforms. More... | |
constexpr Transform & | libcamera::operator^= (Transform &t0, Transform t1) |
Apply bitwise XOR-assignment operator between the bits in the two transforms. More... | |
Transform | libcamera::operator* (Transform t0, Transform t1) |
Compose two transforms by applying t0 first then t1. More... | |
Transform | libcamera::operator- (Transform t) |
Invert a transform. More... | |
constexpr bool | libcamera::operator! (Transform t) |
Return true if the transform is the Identity , otherwise false More... | |
constexpr Transform | libcamera::operator~ (Transform t) |
Return the transform with all the bits inverted individually. More... | |
Transform | libcamera::transformFromRotation (int angle, bool *success) |
Return the transform representing a rotation of the given angle clockwise. More... | |
Transform | libcamera::operator/ (const Orientation &o1, const Orientation &o2) |
Return the Transform that applied to o2 gives o1. More... | |
Orientation | libcamera::operator* (const Orientation &o, const Transform &t) |
Apply the Transform t on the orientation o. More... | |
const char * | libcamera::transformToString (Transform t) |
Return a character string describing the transform. More... | |
Enum to represent and manipulate 2D plane transforms.