ofxAndroidVideoGrabber
close( )
void close()getAuxBuffer( )
ofPixelsRef getAuxBuffer()getBackCamera( )
int getBackCamera()Get device id of back facing camera. Returns -1 if no match is found
getCameraFacing( ... )
int getCameraFacing(int facing)getCameraOrientation( ... )
int getCameraOrientation(int device)Get the physical orientation of the camera. Typically on a phone the camera mounted in landscape mode, this returns 90
getFacingOfCamera( ... )
int getFacingOfCamera(int device)Get facing of camera. Leave device = -1 to get selected cameras facing
Returns 0 on backfacing camera, and 1 on frontal facing camera.
getFrontCamera( )
int getFrontCamera()Get device id of front facing (selfie) camera. Returns -1 if no match is found
getHeight( )
float getHeight()getNumCameras( )
int getNumCameras()Get number of cameras available
getPixelFormat( )
ofPixelFormat getPixelFormat()getPixels( )
ofPixels & getPixels()getPixels( )
const ofPixels & getPixels()getTexturePtr( )
ofTexture * getTexturePtr()getWidth( )
float getWidth()initCamera( )
bool initCamera()isFrameNew( )
bool isFrameNew()isInitialized( )
bool isInitialized()listDevices( )
int listDevices()ofxAndroidVideoGrabber( )
ofxAndroidVideoGrabber()setAutoFocus( ... )
bool setAutoFocus(bool autofocus)setDesiredFrameRate( ... )
void setDesiredFrameRate(int framerate)Set desired frame rate of the camera. By default will the camera pick the highest frame rate available
setDeviceID( ... )
void setDeviceID(int _deviceID)Set specific camera device id. Must be a value between 0 and numCameras. Default is first back facing camera
setPixelFormat( ... )
bool setPixelFormat(ofPixelFormat pixelFormat)setUsePixels( ... )
void setUsePixels(bool usePixels)setVerbose( ... )
void setVerbose(bool bTalkToMe)setup( ... )
bool setup(int w, int h)supportsTextureRendering( )
bool supportsTextureRendering()update( )
void update()videoSettings( )
void videoSettings()~ofxAndroidVideoGrabber( )
~ofxAndroidVideoGrabber()