|
| static Image | androidImageToJuceWithFixedOrientation (const LocalRef< jobject > &androidImage, Desktop::DisplayOrientation deviceOrientationFromAccelerometerSensor, Desktop::DisplayOrientation targetOrientation, bool cameraLensFrontFacing, int cameraSensorOrientation) |
| |
| static LocalRef< jobject > | getBitmapWithCorrectOrientationFrom (LocalRef< jobject > &origBitmap, int rotationAngle) |
| |
| static ImageBuffer | getImageBufferWithCorrectedOrientationFrom (const LocalRef< jobject > &imagePlaneBuffer, Desktop::DisplayOrientation deviceOrientationFromAccelerometerSensor, Desktop::DisplayOrientation targetOrientation, bool cameraLensFrontFacing, int cameraSensorOrientation) |
| |
| static int | getRotationAngle (Desktop::DisplayOrientation deviceOrientationFromAccelerometerSensor, Desktop::DisplayOrientation targetOrientation, bool cameraLensFrontFacing, int cameraSensorOrientation) |
| |
◆ ImageReader()
| CameraDevice::Pimpl::ImageReader::ImageReader |
( |
Pimpl & |
ownerToUse, |
|
|
GlobalRef & |
handlerToUse, |
|
|
int |
imageWidth, |
|
|
int |
imageHeight, |
|
|
int |
cameraSensorOrientationToUse |
|
) |
| |
|
inline |
◆ ~ImageReader()
| CameraDevice::Pimpl::ImageReader::~ImageReader |
( |
| ) |
|
|
inlineoverride |
◆ androidImageToJuceWithFixedOrientation()
| static Image CameraDevice::Pimpl::ImageReader::androidImageToJuceWithFixedOrientation |
( |
const LocalRef< jobject > & |
androidImage, |
|
|
Desktop::DisplayOrientation |
deviceOrientationFromAccelerometerSensor, |
|
|
Desktop::DisplayOrientation |
targetOrientation, |
|
|
bool |
cameraLensFrontFacing, |
|
|
int |
cameraSensorOrientation |
|
) |
| |
|
inlinestaticprivate |
◆ getBitmapWithCorrectOrientationFrom()
| static LocalRef< jobject > CameraDevice::Pimpl::ImageReader::getBitmapWithCorrectOrientationFrom |
( |
LocalRef< jobject > & |
origBitmap, |
|
|
int |
rotationAngle |
|
) |
| |
|
inlinestaticprivate |
◆ getImageBufferWithCorrectedOrientationFrom()
| static ImageBuffer CameraDevice::Pimpl::ImageReader::getImageBufferWithCorrectedOrientationFrom |
( |
const LocalRef< jobject > & |
imagePlaneBuffer, |
|
|
Desktop::DisplayOrientation |
deviceOrientationFromAccelerometerSensor, |
|
|
Desktop::DisplayOrientation |
targetOrientation, |
|
|
bool |
cameraLensFrontFacing, |
|
|
int |
cameraSensorOrientation |
|
) |
| |
|
inlinestaticprivate |
◆ getRotationAngle()
| static int CameraDevice::Pimpl::ImageReader::getRotationAngle |
( |
Desktop::DisplayOrientation |
deviceOrientationFromAccelerometerSensor, |
|
|
Desktop::DisplayOrientation |
targetOrientation, |
|
|
bool |
cameraLensFrontFacing, |
|
|
int |
cameraSensorOrientation |
|
) |
| |
|
inlinestaticprivate |
◆ getSurface()
| LocalRef< jobject > CameraDevice::Pimpl::ImageReader::getSurface |
( |
| ) |
const |
|
inline |
◆ onImageAvailable()
| void CameraDevice::Pimpl::ImageReader::onImageAvailable |
( |
LocalRef< jobject > & |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ resetNotificationFlag()
| void CameraDevice::Pimpl::ImageReader::resetNotificationFlag |
( |
| ) |
|
|
inline |
◆ cameraSensorOrientation
| int CameraDevice::Pimpl::ImageReader::cameraSensorOrientation |
|
private |
◆ hasNotifiedListeners
| Atomic<int> CameraDevice::Pimpl::ImageReader::hasNotifiedListeners { 0 } |
|
private |
◆ imageReader
| GlobalRef CameraDevice::Pimpl::ImageReader::imageReader |
|
private |
◆ numImagesToKeep
| constexpr int CameraDevice::Pimpl::ImageReader::numImagesToKeep = 2 |
|
staticconstexprprivate |
◆ onImageAvailableListener
◆ owner
| Pimpl& CameraDevice::Pimpl::ImageReader::owner |
|
private |
The documentation for this class was generated from the following file: