android Namespace Reference


Data Structures

class  AudioStreamOut
 AudioStreamOut is the abstraction interface for the audio output hardware. More...
class  AudioStreamIn
 AudioStreamIn is the abstraction interface for the audio input hardware. More...
class  AudioHardwareInterface
 AudioHardwareInterface.h defines the interface to the audio hardware abstraction layer. 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(* preview_callback )(const sp< IMemory > &mem, void *user)
 Callback for startPreview().
typedef void(* shutter_callback )(void *user)
 Callback for takePicture().
typedef void(* raw_callback )(const sp< IMemory > &mem, void *user)
 Callback for takePicture().
typedef void(* jpeg_callback )(const sp< IMemory > &mem, void *user)
 Callback for takePicture().
typedef void(* autofocus_callback )(bool focused, void *user)
 Callback for autoFocus().

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 39 of file CameraHardwareInterface.h.

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

Callback for takePicture().

Definition at line 36 of file CameraHardwareInterface.h.

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

Callback for startPreview().

Definition at line 27 of file CameraHardwareInterface.h.

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

Callback for takePicture().

Definition at line 33 of file CameraHardwareInterface.h.

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

Callback for takePicture().

Definition at line 30 of file CameraHardwareInterface.h.


Function Documentation

AudioHardwareInterface* android::createAudioHardware ( void   ) 

sp<CameraHardwareInterface> android::openCameraHardware (  ) 

factory function to instantiate a camera hardware object