CustomSource Class Reference


Public Member Functions

 CustomSource (AVCodecContext *avctx, sp< MetaData > meta)
virtual sp< MetaData > getFormat ()
virtual status_t start (MetaData *params)
virtual status_t stop ()
virtual status_t read (MediaBuffer **buffer, const MediaSource::ReadOptions *options)

Private Attributes

MediaBufferGroup buf_group
sp< MetaData > source_meta
StagefrightContexts
int frame_size

Detailed Description

Definition at line 81 of file libstagefright.cpp.


Constructor & Destructor Documentation

CustomSource::CustomSource ( AVCodecContext avctx,
sp< MetaData >  meta 
) [inline]

Definition at line 83 of file libstagefright.cpp.


Member Function Documentation

virtual sp<MetaData> CustomSource::getFormat (  )  [inline, virtual]

Definition at line 90 of file libstagefright.cpp.

virtual status_t CustomSource::read ( MediaBuffer **  buffer,
const MediaSource::ReadOptions *  options 
) [inline, virtual]

Definition at line 102 of file libstagefright.cpp.

virtual status_t CustomSource::start ( MetaData *  params  )  [inline, virtual]

Definition at line 94 of file libstagefright.cpp.

virtual status_t CustomSource::stop (  )  [inline, virtual]

Definition at line 98 of file libstagefright.cpp.


Field Documentation

MediaBufferGroup CustomSource::buf_group [private]

Definition at line 139 of file libstagefright.cpp.

Referenced by CustomSource(), and read().

int CustomSource::frame_size [private]

Definition at line 142 of file libstagefright.cpp.

Referenced by CustomSource().

Definition at line 141 of file libstagefright.cpp.

Referenced by CustomSource(), and read().

sp<MetaData> CustomSource::source_meta [private]

Definition at line 140 of file libstagefright.cpp.

Referenced by CustomSource(), and getFormat().


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

Generated on Fri Oct 26 02:43:55 2012 for FFmpeg by  doxygen 1.5.8