android Namespace Reference


Data Structures

class  AudioHardwareInterface
 AudioHardwareInterface.h defines the interface to the audio hardware abstraction layer. More...
class  AudioStreamIn
 AudioStreamIn is the abstraction interface for the audio input hardware. More...
class  AudioStreamOut
 AudioStreamOut is the abstraction interface for the audio output hardware. More...
class  CameraHardwareInterface
 CameraHardwareInterface.h defines the interface to the camera hardware abstraction layer, used for setting and getting parameters, live previewing, and taking pictures. More...

Typedefs

typedef void(* autofocus_callback )(bool focused, void *user)
 Callback for autoFocus().
typedef void(* jpeg_callback )(const sp< IMemory > &mem, void *user)
 Callback for takePicture().
typedef void(* preview_callback )(const sp< IMemory > &mem, void *user)
 Callback for startPreview().
typedef void(* raw_callback )(const sp< IMemory > &mem, void *user)
 Callback for takePicture().
typedef void(* recording_callback )(nsecs_t timestamp, const sp< IMemory > &mem, void *user)
 Callback for startRecord().
typedef void(* shutter_callback )(void *user)
 Callback for takePicture().

Functions

AudioHardwareInterfacecreateAudioHardware (void)
sp< CameraHardwareInterfaceopenCameraHardware ()
 factory function to instantiate a camera hardware object

Typedef Documentation

typedef void(* android::autofocus_callback)(bool focused, void *user)

Callback for autoFocus().

Definition at line 43 of file CameraHardwareInterface.h.

typedef void(* android::jpeg_callback)(const sp< IMemory > &mem, void *user)

Callback for takePicture().

Definition at line 40 of file CameraHardwareInterface.h.

typedef void(* android::preview_callback)(const sp< IMemory > &mem, void *user)

Callback for startPreview().

Definition at line 28 of file CameraHardwareInterface.h.

typedef void(* android::raw_callback)(const sp< IMemory > &mem, void *user)

Callback for takePicture().

Definition at line 37 of file CameraHardwareInterface.h.

typedef void(* android::recording_callback)(nsecs_t timestamp, const sp< IMemory > &mem, void *user)

Callback for startRecord().

Definition at line 31 of file CameraHardwareInterface.h.

typedef void(* android::shutter_callback)(void *user)

Callback for takePicture().

Definition at line 34 of file CameraHardwareInterface.h.


Function Documentation

AudioHardwareInterface* android::createAudioHardware ( void   ) 

sp<CameraHardwareInterface> android::openCameraHardware (  ) 

factory function to instantiate a camera hardware object