JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
CameraDevice::Pimpl::CaptureSessionPreviewMode Struct Reference
Inheritance diagram for CameraDevice::Pimpl::CaptureSessionPreviewMode:
Collaboration diagram for CameraDevice::Pimpl::CaptureSessionPreviewMode:

Public Member Functions

 CaptureSessionPreviewMode (Pimpl &ownerToUse, ScopedCameraDevice &cameraDeviceToUse, GlobalRef &handlerToUse, PreviewDisplay &pd, ImageReader &ir, int cameraSensorOrientation, int cameraLensFacingToUse, StreamConfigurationMap &streamConfigurationMapToUse)
 
LocalRef< jobject > getCaptureSessionSurfaces () const
 
LocalRef< jobject > getTargetSurfaces () const
 
bool isVideoRecordSession () const override
 
void sessionStarted ()
 
void takeStillPicture ()
 
void triggerStillPictureCapture () override
 

Static Public Member Functions

static int getTemplate ()
 
static bool isVideoRecord ()
 

Protected Member Functions

void captureSessionConfigured (ScopedCameraDevice::CaptureSession *session) override
 
CaptureSessionPreviewModecrtp ()
 
void previewDisplayAboutToBeDestroyed () override
 
void previewDisplayReady () override
 
void startSession ()
 
void stopPreview ()
 

Protected Attributes

int cameraLensFacing
 
int cameraSensorOrientation
 
std::unique_ptr< ScopedCameraDevice::CaptureSessioncaptureSession
 
GlobalRef & handler
 
Pimplowner
 
PreviewDisplaypreviewDisplay
 
ScopedCameraDevicescopedCameraDevice
 
StreamConfigurationMapstreamConfigurationMap
 

Private Attributes

ImageReaderimageReader
 

Constructor & Destructor Documentation

◆ CaptureSessionPreviewMode()

CameraDevice::Pimpl::CaptureSessionPreviewMode::CaptureSessionPreviewMode ( Pimpl ownerToUse,
ScopedCameraDevice cameraDeviceToUse,
GlobalRef &  handlerToUse,
PreviewDisplay pd,
ImageReader ir,
int  cameraSensorOrientation,
int  cameraLensFacingToUse,
StreamConfigurationMap streamConfigurationMapToUse 
)
inline

Member Function Documentation

◆ captureSessionConfigured()

◆ crtp()

◆ getCaptureSessionSurfaces()

LocalRef<jobject> CameraDevice::Pimpl::CaptureSessionPreviewMode::getCaptureSessionSurfaces ( ) const
inline

References juce::getEnv(), and jassert.

◆ getTargetSurfaces()

LocalRef<jobject> CameraDevice::Pimpl::CaptureSessionPreviewMode::getTargetSurfaces ( ) const
inline

References juce::getEnv().

◆ getTemplate()

static int CameraDevice::Pimpl::CaptureSessionPreviewMode::getTemplate ( )
inlinestatic

◆ isVideoRecord()

static bool CameraDevice::Pimpl::CaptureSessionPreviewMode::isVideoRecord ( )
inlinestatic

◆ isVideoRecordSession()

bool CameraDevice::Pimpl::CaptureSessionMode< CaptureSessionPreviewMode >::isVideoRecordSession ( ) const
inlineoverridevirtualinherited

◆ previewDisplayAboutToBeDestroyed()

void CameraDevice::Pimpl::CaptureSessionMode< CaptureSessionPreviewMode >::previewDisplayAboutToBeDestroyed ( )
inlineoverrideprotectedvirtualinherited

◆ previewDisplayReady()

◆ sessionStarted()

void CameraDevice::Pimpl::CaptureSessionPreviewMode::sessionStarted ( )
inline

◆ startSession()

void CameraDevice::Pimpl::CaptureSessionMode< CaptureSessionPreviewMode >::startSession ( )
inlineprotectedinherited

References jassertfalse, and JUCE_CAMERA_LOG.

◆ stopPreview()

◆ takeStillPicture()

void CameraDevice::Pimpl::CaptureSessionPreviewMode::takeStillPicture ( )
inline

◆ triggerStillPictureCapture()

void CameraDevice::Pimpl::CaptureSessionMode< CaptureSessionPreviewMode >::triggerStillPictureCapture ( )
inlineoverridevirtualinherited

Member Data Documentation

◆ cameraLensFacing

◆ cameraSensorOrientation

int CameraDevice::Pimpl::CaptureSessionMode< CaptureSessionPreviewMode >::cameraSensorOrientation
protectedinherited

◆ captureSession

◆ handler

GlobalRef& CameraDevice::Pimpl::CaptureSessionMode< CaptureSessionPreviewMode >::handler
protectedinherited

◆ imageReader

ImageReader& CameraDevice::Pimpl::CaptureSessionPreviewMode::imageReader
private

◆ owner

◆ previewDisplay

◆ scopedCameraDevice

◆ streamConfigurationMap


The documentation for this struct was generated from the following file: