#include <juce_win32_CameraDevice.h>
Classes | |
class | CaptureSession |
struct | CaptureSessionMode |
struct | CaptureSessionModeBase |
struct | CaptureSessionPreviewMode |
struct | CaptureSessionVideoRecordingMode |
struct | DelegateClass |
class | DeviceOrientationChangeListener |
struct | GrabberCallback |
struct | ImageOutputBase |
class | ImageReader |
class | ImageReader |
class | MediaRecorder |
class | PreCatalinaStillImageOutput |
class | PreviewDisplay |
class | PreviewDisplay |
class | ScopedCameraDevice |
class | ScopedCameraDevice |
class | ScopedCameraDevice |
class | ScopedCameraDevice |
class | StreamConfigurationMap |
Public Types | |
using | InternalOpenCameraResultCallback = std::function< void(const String &, const String &)> |
using | InternalOpenCameraResultCallback = std::function< void(const String &, const String &)> |
Public Member Functions | |
Pimpl (CameraDevice &ownerToUse, const String &, int index, int minWidth, int minHeight, int maxWidth, int maxHeight, bool) | |
Pimpl (CameraDevice &ownerToUse, const String &cameraIdToUse, int, int minWidthToUse, int minHeightToUse, int maxWidthToUse, int maxHeightToUse, bool) | |
Pimpl (CameraDevice &ownerToUse, const String &cameraIdToUse, int, int, int, int, int, bool useHighQuality) | |
Pimpl (CameraDevice &ownerToUse, const String &deviceNameToUse, int, int, int, int, int, bool useHighQuality) | |
~Pimpl () | |
~Pimpl () | |
~Pimpl () override | |
void | addListener (CameraDevice::Listener *listenerToAdd) |
void | addListener (CameraDevice::Listener *listenerToAdd) |
void | addListener (CameraDevice::Listener *listenerToAdd) |
void | addListener (CameraDevice::Listener *listenerToAdd) |
void | addUser () |
void | callListeners (const Image &image) |
void | continueOpenRequest (bool granted) |
bool | createFileCaptureFilter (const File &file, int quality) |
NSView * | createVideoCapturePreview () |
void | drawCurrentImage (Graphics &g, Rectangle< int > area) |
String | getCameraId () const noexcept |
String | getCameraId () const noexcept |
AVCaptureSession * | getCaptureSession () |
Time | getTimeOfFirstRecordedFrame () const |
Time | getTimeOfFirstRecordedFrame () const |
Time | getTimeOfFirstRecordedFrame () const |
Time | getTimeOfFirstRecordedFrame () const |
void | handleFrame (double, BYTE *buffer, long) |
void | notifyPictureTakenIfNeeded (const Image &image) |
void | open (InternalOpenCameraResultCallback cameraOpenCallbackToUse) |
void | open (InternalOpenCameraResultCallback cameraOpenCallbackToUse) |
bool | openedOk () const noexcept |
bool | openedOk () const noexcept |
bool | openedOk () const noexcept |
bool | openedOk () const noexcept |
void | removeFileCaptureFilter () |
void | removeListener (CameraDevice::Listener *listenerToRemove) |
void | removeListener (CameraDevice::Listener *listenerToRemove) |
void | removeListener (CameraDevice::Listener *listenerToRemove) |
void | removeListener (CameraDevice::Listener *listenerToRemove) |
void | removeUser () |
void | startRecordingToFile (const File &file, int quality) |
void | startRecordingToFile (const File &file, int) |
void | startRecordingToFile (const File &file, int) |
void | startRecordingToFile (const File &file, int) |
void | startSession () |
void | stopRecording () |
void | stopRecording () |
void | stopRecording () |
void | stopRecording () |
void | takeStillPicture (std::function< void(const Image &)> pictureTakenCallbackToUse) |
void | takeStillPicture (std::function< void(const Image &)> pictureTakenCallbackToUse) |
void | takeStillPicture (std::function< void(const Image &)> pictureTakenCallbackToUse) |
void | takeStillPicture (std::function< void(const Image &)> pictureTakenCallbackToUse) |
Static Public Member Functions | |
static ComSmartPtr< ComTypes::IBaseFilter > | enumerateCameras (StringArray *names, const int deviceIndexToOpen) |
static StringArray | getAvailableDevices () |
static StringArray | getAvailableDevices () |
static StringArray | getAvailableDevices () |
static StringArray | getAvailableDevices () |
static NSArray * | getCaptureDevices () |
Public Attributes | |
Image | activeImage |
int | activeUsers = 0 |
ComSmartPtr< ComTypes::IBaseFilter > | asfWriter |
ComSmartPtr< GrabberCallback > | callback |
ComSmartPtr< ComTypes::ICaptureGraphBuilder2 > | captureGraphBuilder |
ComSmartPtr< ComTypes::IBaseFilter > | filter |
Time | firstRecordedTime |
ComSmartPtr< ComTypes::IGraphBuilder > | graphBuilder |
DWORD | graphRegistrationID |
int | height = 0 |
Array< int > | heights |
bool | imageNeedsFlipping = false |
CriticalSection | imageSwapLock |
Image | loadingImage |
ComSmartPtr< ComTypes::IMediaControl > | mediaControl |
bool | openedSuccessfully = false |
CriticalSection | pictureTakenCallbackLock |
int | previewMaxFPS = 60 |
bool | recordNextFrameTime = false |
ComSmartPtr< ComTypes::ISampleGrabber > | sampleGrabber |
ComSmartPtr< ComTypes::IBaseFilter > | smartTee |
ComSmartPtr< ComTypes::IPin > | smartTeeCaptureOutputPin |
ComSmartPtr< ComTypes::IPin > | smartTeePreviewOutputPin |
Array< ViewerComponent * > | viewerComps |
int | width = 0 |
Array< int > | widths |
DynamicLibrary | wmvcoreLibrary { "wmvcore" } |
Private Types | |
enum | { ERROR_CAMERA_IN_USE = 1, ERROR_MAX_CAMERAS_IN_USE = 2, ERROR_CAMERA_DISABLED = 3, ERROR_CAMERA_DEVICE = 4, ERROR_CAMERA_SERVICE = 5 } |
Static Private Member Functions | |
static String | cameraErrorCodeToString (int errorCode) |
static Rectangle< int > | chooseBestSize (int minWidth, int minHeight, int maxWidth, int maxHeight, Array< Rectangle< int >> supportedSizes) |
static String | cmTimeToString (CMTime time) |
static void | deleteMediaType (ComTypes::AM_MEDIA_TYPE *const pmt) |
static String | frameRateRangeToString (AVFrameRateRange *range) |
static NSArray< AVCaptureDevice * > * | getDevices () |
static String | getHighResStillImgDimensionsString (CMVideoDimensions d) |
static bool | getPin (ComTypes::IBaseFilter *filter, const ComTypes::PIN_DIRECTION wantedDirection, ComSmartPtr< ComTypes::IPin > &result, const char *pinName=nullptr) |
static LocalRef< jobject > | initialiseCameraCharacteristics (const GlobalRef &cameraManager, const String &cameraId) |
static LocalRef< jobject > | initialiseCameraManager () |
static Array< int > | jintArrayToJuceArray (const LocalRef< jintArray > &jArray) |
static void | printDebugCameraFormatInfo (AVCaptureDeviceFormat *format) |
static void | printDebugCameraInfo (AVCaptureDevice *device) |
static void | printDebugCameraInfo (const LocalRef< jobject > &cameraManagerToUse, const String &cameraId) |
static void | printPrimitiveArrayElements (const LocalRef< jobject > &keyValue, const String &keyName, const String &keyValueString) |
static void | printRangeArrayElements (const LocalRef< jobject > &rangeArray, const String &keyName) |
Friends | |
struct | CameraDevice::ViewerComponent |
using CameraDevice::Pimpl::InternalOpenCameraResultCallback = std::function<void (const String& , const String& )> |
using CameraDevice::Pimpl::InternalOpenCameraResultCallback = std::function<void (const String& , const String& )> |
|
private |
|
inline |
References startBackgroundThread().
|
inlineoverride |
References activityLifeListener, juce::dsp::get(), juce::getAppContext(), and juce::getEnv().
|
inline |
|
inline |
References callbackDelegate, removeImageCapture(), removeInput(), removeMovieCapture(), and session.
|
inline |
References __uuidof, activeImage, addGraphToRot(), callback, captureGraphBuilder, juce::ComTypes::CLSID_CaptureGraphBuilder2, juce::ComTypes::CLSID_FilterGraph, juce::ComTypes::CLSID_NullRenderer, juce::ComTypes::CLSID_SampleGrabber, juce::ComTypes::CLSID_SmartTee, connectFilters(), enumerateCameras(), filter, juce::ComTypes::FORMAT_VideoInfo, getPin(), getVideoSizes(), graphBuilder, height, juce::gl::index, JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE(), JUCE_END_IGNORE_WARNINGS_GCC_LIKE, loadingImage, maxHeight, maxWidth, mediaControl, juce::ComTypes::MEDIASUBTYPE_RGB24, juce::ComTypes::MEDIATYPE_Video, minHeight, minWidth, openedSuccessfully, juce::ComTypes::PIN_CATEGORY_CAPTURE, juce::ComTypes::PINDIR_INPUT, juce::ComTypes::PINDIR_OUTPUT, sampleGrabber, selectVideoSize(), smartTee, smartTeeCaptureOutputPin, smartTeePreviewOutputPin, and width.
|
inline |
|
inlineprivate |
References juce::gl::buffer, graphBuilder, and graphRegistrationID.
Referenced by Pimpl().
|
inlineprivate |
References imageOutput, and session.
Referenced by refreshConnections().
|
inlineprivate |
References currentInput, deviceName, getCaptureDevices(), jassert, jassertfalse, juce::nsStringToJuce(), removeCurrentSessionVideoInputs(), and session.
Referenced by refreshConnections().
|
inline |
References listenerLock, listeners, and triggerStillPictureCapture().
|
inline |
References listenerLock, listeners, and triggerImageCapture().
|
inline |
References addUser(), listenerLock, and listeners.
|
inline |
References listenerLock, listeners, and triggerStillPictureCapture().
|
inlineprivate |
References fileOutput, and session.
Referenced by refreshConnections().
|
inline |
References activeUsers, mediaControl, and openedSuccessfully.
Referenced by addListener(), startRecordingToFile(), takeStillPicture(), and CameraDevice::ViewerComponent::ViewerComponent().
|
inline |
References listenerLock, and listeners.
|
inlineprivate |
References listenerLock, listeners, and triggerStillPictureCapture().
|
inlineprivate |
References listenerLock, and listeners.
Referenced by handleFrame(), and CameraDevice::Pimpl::ImageReader::onImageAvailable().
|
inlineprivate |
|
inlinestaticprivate |
|
inlineprivate |
|
inlineprivate |
References JUCE_CAMERA_LOG, and owner.
|
inlineprivate |
References cameraOpenCallback, JUCE_CAMERA_LOG, notifiedOfCameraOpening, and owner.
Referenced by CameraDevice::Pimpl::DelegateClass::sessionRuntimeError().
|
inlineprivate |
References cameraId, cameraOpenCallback, and JUCE_CAMERA_LOG.
|
inlinestaticprivate |
References height, jassert, maxHeight, maxWidth, juce::gl::result, juce::gl::size, and width.
Referenced by setupStillImageSize(), and startRecordingToFile().
|
inlinestaticprivate |
References juce::UnitTestCategories::time.
Referenced by frameRateRangeToString(), and printDebugCameraFormatInfo().
|
inlineprivate |
References juce::gl::first, getPin(), graphBuilder, juce::gl::in, juce::ComTypes::PINDIR_INPUT, and juce::ComTypes::PINDIR_OUTPUT.
Referenced by Pimpl().
|
inline |
References activeUsers, asfWriter, juce::ComTypes::CLSID_WMAsfWriter, firstRecordedTime, getPin(), graphBuilder, height, jassertfalse, juce::jlimit(), mediaControl, juce::numElementsInArray(), openedSuccessfully, juce::ComTypes::PINDIR_INPUT, previewMaxFPS, recordNextFrameTime, removeFileCaptureFilter(), smartTeeCaptureOutputPin, width, and wmvcoreLibrary.
Referenced by startRecordingToFile().
|
inline |
References getCaptureSession(), jassert, JUCE_AUTORELEASEPOOL, session, and startSession().
|
inlinestaticprivate |
Referenced by getVideoSizes(), and selectVideoSize().
|
private |
References viewerComps.
Referenced by ~Pimpl().
|
inline |
References activeImage, juce::Colours::black, juce::gl::g, height, imageNeedsFlipping, imageSwapLock, loadingImage, and width.
Referenced by CameraDevice::ViewerComponent::paint().
|
inlinestatic |
|
inlinestaticprivate |
References cmTimeToString(), juce::gl::range, and juce::gl::result.
Referenced by printDebugCameraFormatInfo().
|
inlineprivate |
References getSupportedAutoFocusModes().
Referenced by continueOpenRequest().
|
inlinestatic |
References getDevices(), juce::gl::in, JUCE_CAMERA_LOG, juce::nsStringToJuce(), and printDebugCameraInfo().
|
inlinestatic |
References getCaptureDevices(), and juce::nsStringToJuce().
|
inlinestatic |
References enumerateCameras().
|
inlinestatic |
|
inlineprivate |
References cameraCharacteristics, juce::getEnv(), and juce::gl::key.
Referenced by getCameraLensFacing(), and getCameraSensorOrientation().
|
inlinenoexcept |
References cameraId.
|
inlinenoexcept |
References cameraId.
|
inlineprivate |
|
inlineprivate |
References getCameraCharacteristicsIntegerKeyValue().
Referenced by setupStillImageSize(), startPreviewMode(), startRecordingToFile(), and startVideoRecordingMode().
|
inlinestatic |
References JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE(), and JUCE_END_IGNORE_WARNINGS_GCC_LIKE.
Referenced by addInput(), and getAvailableDevices().
|
inline |
References session.
Referenced by createVideoCapturePreview().
|
inlinestaticprivate |
Referenced by getAvailableDevices().
|
inlinestaticprivate |
Referenced by printDebugCameraFormatInfo().
|
inlinestaticprivate |
References filter, and juce::gl::result.
Referenced by connectFilters(), createFileCaptureFilter(), handleFrame(), and Pimpl().
|
inlineprivate |
References cameraCharacteristics, juce::getEnv(), and jintArrayToJuceArray().
Referenced by getAutoFocusModeToUse().
|
inline |
References captureSession.
|
inline |
References firstPresentationTime.
|
inline |
References firstRecordedTime.
|
inline |
References firstRecordedFrameTimeMs.
|
inlineprivate |
References imageOutput, and juce::gl::in.
Referenced by refreshIfNeeded(), and triggerImageCapture().
|
inlineprivate |
References juce::Array< ElementType, TypeOfCriticalSectionToUse, minimumAllocatedSize >::add(), juce::Array< ElementType, TypeOfCriticalSectionToUse, minimumAllocatedSize >::clear(), juce::gl::count, deleteMediaType(), juce::Array< ElementType, TypeOfCriticalSectionToUse, minimumAllocatedSize >::getUnchecked(), juce::gl::h, heights, juce::gl::j, juce::Array< ElementType, TypeOfCriticalSectionToUse, minimumAllocatedSize >::size(), juce::gl::size, juce::gl::w, and widths.
Referenced by Pimpl().
|
inline |
References juce::gl::buffer, callListeners(), filter, firstRecordedTime, getPin(), height, imageNeedsFlipping, imageSwapLock, listeners, loadingImage, notifyPictureTakenIfNeeded(), juce::ComTypes::PINDIR_OUTPUT, recordNextFrameTime, and width.
Referenced by CameraDevice::Pimpl::GrabberCallback::BufferCB().
|
inlineprivate |
References listenerLock, listeners, and triggerImageCapture().
Referenced by imageCaptureFinished().
|
inlineprivate |
References handleImageCapture().
|
inlinestaticprivate |
|
inlinestaticprivate |
References juce::dsp::get(), juce::getAppContext(), juce::getEnv(), and juce::anonymous_namespace{juce_android_JNIHelpers.h}::javaString().
Referenced by getAvailableDevices().
|
inlineprivate |
References cameraId, cameraOpenCallback, and JUCE_CAMERA_LOG.
Referenced by cameraOpenFinished(), and continueOpenRequest().
|
inlinestaticprivate |
References juce::getEnv(), and juce::gl::s.
Referenced by getSupportedAutoFocusModes().
|
inlineprivate |
References JUCE_CAMERA_LOG, and pictureTakenCallback.
|
inlineprivate |
References JUCE_CAMERA_LOG, and pictureTakenCallback.
|
inline |
References pictureTakenCallback, and pictureTakenCallbackLock.
Referenced by handleFrame().
|
inlineoverrideprivate |
|
inlineoverrideprivate |
|
inline |
References cameraId, cameraOpenCallback, captureSession, jassertfalse, and jassertquiet.
|
inline |
References cameraOpenCallback, jassert, and scopedCameraDevice.
|
inlinenoexcept |
References captureSession.
|
inlinenoexcept |
References openingError.
|
inlinenoexcept |
References openedSuccessfully.
|
inlinenoexcept |
References scopedCameraDevice.
Referenced by startRecordingToFile().
|
inlinestaticprivate |
References cmTimeToString(), juce::gl::format, frameRateRangeToString(), getHighResStillImgDimensionsString(), juce::gl::in, JUCE_CAMERA_LOG, juce::nsStringToJuce(), and juce::gl::range.
Referenced by printDebugCameraInfo().
|
inlinestaticprivate |
References juce::gl::format, juce::gl::in, JUCE_CAMERA_LOG, juce::nsStringToJuce(), and printDebugCameraFormatInfo().
|
inlinestaticprivate |
References cameraId, juce::dsp::get(), juce::getEnv(), juce::ignoreUnused(), juce::gl::j, juce::anonymous_namespace{juce_android_JNIHelpers.h}::javaString(), JUCE_CAMERA_LOG, juce::anonymous_namespace{juce_android_JNIHelpers.h}::juceString(), juce::gl::key, printPrimitiveArrayElements(), printRangeArrayElements(), and juce::gl::size.
Referenced by getAvailableDevices().
|
inlinestaticprivate |
References juce::getEnv(), juce::ignoreUnused(), JUCE_CAMERA_LOG, PRINT_ELEMENTS, and juce::gl::result.
Referenced by printDebugCameraInfo().
|
inlinestaticprivate |
References juce::getEnv(), juce::ignoreUnused(), JUCE_CAMERA_LOG, juce::anonymous_namespace{juce_android_JNIHelpers.h}::juceString(), juce::gl::range, and juce::gl::result.
Referenced by printDebugCameraInfo().
|
inlineprivate |
References addImageCapture(), addInput(), addMovieCapture(), removeImageCapture(), removeInput(), removeMovieCapture(), and session.
Referenced by Pimpl(), and refreshIfNeeded().
|
inlineprivate |
References getVideoConnection(), and refreshConnections().
Referenced by startRecordingToFile(), and triggerImageCapture().
|
inlineprivate |
References juce::gl::input, removeInput(), and session.
Referenced by addInput().
|
inline |
References activeUsers, asfWriter, graphBuilder, mediaControl, openedSuccessfully, and previewMaxFPS.
Referenced by createFileCaptureFilter(), and stopRecording().
|
inlineprivate |
References graphRegistrationID.
Referenced by ~Pimpl().
|
inlineprivate |
References imageOutput, and session.
Referenced by refreshConnections(), and ~Pimpl().
|
inlineprivate |
References currentInput, and session.
Referenced by refreshConnections(), removeCurrentSessionVideoInputs(), and ~Pimpl().
|
inline |
References listenerLock, and listeners.
|
inline |
References listenerLock, and listeners.
|
inline |
References listenerLock, listeners, and removeUser().
|
inline |
References listenerLock, and listeners.
|
inlineprivate |
References fileOutput, and session.
Referenced by refreshConnections(), and ~Pimpl().
|
inline |
References activeUsers, mediaControl, and openedSuccessfully.
Referenced by removeListener(), stopRecording(), and CameraDevice::ViewerComponent::~ViewerComponent().
|
inlineprivate |
References juce::gl::count, deleteMediaType(), maxHeight, maxWidth, minHeight, minWidth, and juce::gl::size.
Referenced by Pimpl().
|
inlineprivate |
|
inlineprivate |
References juce::dsp::get(), juce::getEnv(), handler, handlerThread, and juce::anonymous_namespace{juce_android_JNIHelpers.h}::javaString().
Referenced by onActivityResumed(), and Pimpl().
|
inlineprivate |
References currentCaptureSessionMode, getCameraLensFacing(), getCameraSensorOrientation(), handler, jassert, previewDisplay, scopedCameraDevice, and streamConfigurationMap.
Referenced by cameraOpenFinished(), and stopRecording().
|
inline |
References addUser(), createFileCaptureFilter(), and isRecording.
|
inline |
References captureSession.
|
inline |
|
inline |
References chooseBestSize(), currentCaptureSessionMode, firstRecordedFrameTimeMs, getCameraLensFacing(), getCameraSensorOrientation(), CameraDevice::Pimpl::StreamConfigurationMap::getSupportedVideoRecordingOutputSizes(), CameraDevice::Pimpl::PreviewDisplay::isReady(), jassert, jassertfalse, juce::jmin(), maxHeight, maxWidth, mediaRecorder, minHeight, minWidth, openedOk(), previewDisplay, startVideoRecordingMode(), and streamConfigurationMap.
|
inline |
References session.
Referenced by createVideoCapturePreview(), startRecordingToFile(), and triggerImageCapture().
|
inlineprivate |
References currentCaptureSessionMode, getCameraLensFacing(), getCameraSensorOrientation(), handler, jassert, previewDisplay, scopedCameraDevice, and streamConfigurationMap.
Referenced by startRecordingToFile().
|
inlineprivate |
References juce::getEnv(), handler, handlerThread, jassert, and juce::anonymous_namespace{juce_android_JNIHelpers.h}::jniCheckHasExceptionOccurredAndClear().
Referenced by onActivityPaused().
|
inline |
References captureSession.
|
inline |
References fileOutput, isRecording, and stopRecording().
|
inline |
References isRecording, removeFileCaptureFilter(), and removeUser().
|
inline |
References currentCaptureSessionMode, imageReader, mediaRecorder, and startPreviewMode().
Referenced by startRecordingToFile(), and stopRecording().
|
inline |
References jassertfalse, pictureTakenCallback, and triggerStillPictureCapture().
|
inline |
References jassertfalse, pictureTakenCallback, and triggerImageCapture().
|
inline |
References addUser(), jassert, pictureTakenCallback, and pictureTakenCallbackLock.
|
inline |
References currentCaptureSessionMode, jassertfalse, pictureTakenCallback, and triggerStillPictureCapture().
|
inlineprivate |
References getVideoConnection(), imageOutput, refreshIfNeeded(), and startSession().
Referenced by addListener(), handleImageCapture(), and takeStillPicture().
|
inlineprivate |
References captureSession.
|
inlineprivate |
References currentCaptureSessionMode.
Referenced by addListener(), callListeners(), and takeStillPicture().
Image CameraDevice::Pimpl::activeImage |
Referenced by drawCurrentImage(), and Pimpl().
int CameraDevice::Pimpl::activeUsers = 0 |
Referenced by addUser(), createFileCaptureFilter(), removeFileCaptureFilter(), and removeUser().
|
private |
Referenced by continueOpenRequest(), and ~Pimpl().
|
private |
Referenced by onActivityPaused(), and onActivityResumed().
ComSmartPtr<ComTypes::IBaseFilter> CameraDevice::Pimpl::asfWriter |
Referenced by createFileCaptureFilter(), removeFileCaptureFilter(), and ~Pimpl().
ComSmartPtr<GrabberCallback> CameraDevice::Pimpl::callback |
|
private |
Referenced by Pimpl(), startRecordingToFile(), and ~Pimpl().
|
private |
Referenced by getCameraCharacteristicsIntegerKeyValue(), and getSupportedAutoFocusModes().
|
private |
|
private |
Referenced by continueOpenRequest(), and initialiseCameraCharacteristics().
|
private |
Referenced by cameraSessionRuntimeError(), cameraSessionStarted(), invokeCameraOpenCallback(), and open().
ComSmartPtr<ComTypes::ICaptureGraphBuilder2> CameraDevice::Pimpl::captureGraphBuilder |
|
private |
Referenced by getTimeOfFirstRecordedFrame(), open(), openedOk(), startRecordingToFile(), stopRecording(), and triggerStillPictureCapture().
|
private |
|
private |
Referenced by addInput(), and removeInput().
|
private |
Referenced by addInput().
|
private |
Referenced by onActivityPaused(), onActivityResumed(), and CameraDevice::Pimpl::ImageReader::onImageAvailable().
|
private |
Referenced by addMovieCapture(), removeMovieCapture(), startRecordingToFile(), and stopRecording().
ComSmartPtr<ComTypes::IBaseFilter> CameraDevice::Pimpl::filter |
Referenced by getPin(), handleFrame(), Pimpl(), and ~Pimpl().
|
private |
Referenced by getTimeOfFirstRecordedFrame(), and startRecordingToFile().
|
private |
Referenced by getTimeOfFirstRecordedFrame(), and startRecordingToFile().
Time CameraDevice::Pimpl::firstRecordedTime |
Referenced by createFileCaptureFilter(), getTimeOfFirstRecordedFrame(), and handleFrame().
ComSmartPtr<ComTypes::IGraphBuilder> CameraDevice::Pimpl::graphBuilder |
Referenced by addGraphToRot(), connectFilters(), createFileCaptureFilter(), Pimpl(), removeFileCaptureFilter(), and ~Pimpl().
DWORD CameraDevice::Pimpl::graphRegistrationID |
Referenced by addGraphToRot(), and removeGraphFromRot().
|
private |
|
private |
Referenced by startBackgroundThread(), and stopBackgroundThread().
int CameraDevice::Pimpl::height = 0 |
Array<int> CameraDevice::Pimpl::heights |
Referenced by getVideoSizes().
bool CameraDevice::Pimpl::imageNeedsFlipping = false |
Referenced by drawCurrentImage(), and handleFrame().
|
private |
Referenced by CameraDevice::Pimpl::PreCatalinaStillImageOutput::addImageCapture(), addImageCapture(), CameraDevice::Pimpl::PreCatalinaStillImageOutput::getConnections(), getVideoConnection(), Pimpl(), CameraDevice::Pimpl::PreCatalinaStillImageOutput::removeImageCapture(), removeImageCapture(), CameraDevice::Pimpl::PreCatalinaStillImageOutput::triggerImageCapture(), and triggerImageCapture().
|
private |
Referenced by cameraOpenFinished(), setupStillImageSize(), and stopRecording().
CriticalSection CameraDevice::Pimpl::imageSwapLock |
Referenced by drawCurrentImage(), and handleFrame().
|
private |
Referenced by startRecordingToFile(), and stopRecording().
|
private |
Referenced by addListener(), callListeners(), handleImageCapture(), and removeListener().
|
private |
Referenced by addListener(), callListeners(), handleFrame(), handleImageCapture(), and removeListener().
Image CameraDevice::Pimpl::loadingImage |
Referenced by drawCurrentImage(), handleFrame(), and Pimpl().
|
private |
Referenced by chooseBestSize(), Pimpl(), selectVideoSize(), setupStillImageSize(), and startRecordingToFile().
|
private |
Referenced by chooseBestSize(), Pimpl(), selectVideoSize(), setupStillImageSize(), and startRecordingToFile().
ComSmartPtr<ComTypes::IMediaControl> CameraDevice::Pimpl::mediaControl |
Referenced by addUser(), createFileCaptureFilter(), Pimpl(), removeFileCaptureFilter(), removeUser(), and ~Pimpl().
|
private |
Referenced by startRecordingToFile(), and stopRecording().
|
private |
Referenced by Pimpl(), selectVideoSize(), setupStillImageSize(), and startRecordingToFile().
|
private |
Referenced by Pimpl(), selectVideoSize(), setupStillImageSize(), and startRecordingToFile().
|
private |
Referenced by cameraOpenFinished(), and cameraSessionRuntimeError().
bool CameraDevice::Pimpl::openedSuccessfully = false |
Referenced by addUser(), createFileCaptureFilter(), openedOk(), Pimpl(), removeFileCaptureFilter(), and removeUser().
|
private |
Referenced by openedOk().
|
private |
Referenced by cameraDeviceError(), cameraSessionRuntimeError(), and CameraDevice::Pimpl::DelegateClass::setOwner().
|
private |
Referenced by notifyPictureTaken(), notifyPictureTakenIfNeeded(), and takeStillPicture().
CriticalSection CameraDevice::Pimpl::pictureTakenCallbackLock |
Referenced by notifyPictureTakenIfNeeded(), and takeStillPicture().
|
private |
Referenced by startPreviewMode(), startRecordingToFile(), and startVideoRecordingMode().
int CameraDevice::Pimpl::previewMaxFPS = 60 |
bool CameraDevice::Pimpl::recordNextFrameTime = false |
Referenced by createFileCaptureFilter(), and handleFrame().
ComSmartPtr<ComTypes::ISampleGrabber> CameraDevice::Pimpl::sampleGrabber |
|
private |
Referenced by continueOpenRequest(), onActivityPaused(), onActivityResumed(), open(), openedOk(), startPreviewMode(), and startVideoRecordingMode().
|
private |
Referenced by addImageCapture(), addInput(), addMovieCapture(), CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::cameraCaptureSessionActive(), CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::cameraCaptureSessionActiveCallback(), CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::cameraCaptureSessionCaptureCompleted(), CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::cameraCaptureSessionCaptureCompletedCallback(), CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::cameraCaptureSessionCaptureFailed(), CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::cameraCaptureSessionCaptureFailedCallback(), CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::cameraCaptureSessionCaptureProgressed(), CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::cameraCaptureSessionCaptureProgressedCallback(), CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::cameraCaptureSessionCaptureSequenceAborted(), CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::cameraCaptureSessionCaptureSequenceAbortedCallback(), CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::cameraCaptureSessionCaptureSequenceCompleted(), CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::cameraCaptureSessionCaptureSequenceCompletedCallback(), CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::cameraCaptureSessionCaptureStarted(), CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::StillPictureTaker::cameraCaptureSessionCaptureStartedCallback(), CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::cameraCaptureSessionClosed(), CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::cameraCaptureSessionClosedCallback(), CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::cameraCaptureSessionConfigured(), CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::cameraCaptureSessionConfiguredCallback(), CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::cameraCaptureSessionConfigureFailed(), CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::cameraCaptureSessionConfigureFailedCallback(), CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::cameraCaptureSessionReady(), CameraDevice::Pimpl::ScopedCameraDevice::CaptureSession::cameraCaptureSessionReadyCallback(), CameraDevice::Pimpl::CaptureSessionMode< CaptureSessionPreviewMode >::captureSessionConfigured(), createVideoCapturePreview(), getCaptureSession(), Pimpl(), refreshConnections(), removeCurrentSessionVideoInputs(), removeImageCapture(), removeInput(), removeMovieCapture(), startSession(), CameraDevice::Pimpl::CaptureSessionMode< CaptureSessionPreviewMode >::stopPreview(), and ~Pimpl().
ComSmartPtr<ComTypes::IBaseFilter> CameraDevice::Pimpl::smartTee |
ComSmartPtr<ComTypes::IPin> CameraDevice::Pimpl::smartTeeCaptureOutputPin |
Referenced by createFileCaptureFilter(), Pimpl(), and ~Pimpl().
ComSmartPtr<ComTypes::IPin> CameraDevice::Pimpl::smartTeePreviewOutputPin |
|
private |
Referenced by setupStillImageSize(), startPreviewMode(), startRecordingToFile(), and startVideoRecordingMode().
Array<ViewerComponent*> CameraDevice::Pimpl::viewerComps |
int CameraDevice::Pimpl::width = 0 |
Array<int> CameraDevice::Pimpl::widths |
Referenced by getVideoSizes().
DynamicLibrary CameraDevice::Pimpl::wmvcoreLibrary { "wmvcore" } |
Referenced by createFileCaptureFilter().