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 88 of file libstagefright.cpp.


Constructor & Destructor Documentation

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

Definition at line 90 of file libstagefright.cpp.


Member Function Documentation

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

Definition at line 97 of file libstagefright.cpp.

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

Definition at line 109 of file libstagefright.cpp.

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

Definition at line 101 of file libstagefright.cpp.

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

Definition at line 105 of file libstagefright.cpp.


Field Documentation

MediaBufferGroup CustomSource::buf_group [private]

Definition at line 146 of file libstagefright.cpp.

Referenced by CustomSource(), and read().

Definition at line 149 of file libstagefright.cpp.

Referenced by CustomSource().

Definition at line 148 of file libstagefright.cpp.

Referenced by CustomSource(), and read().

sp<MetaData> CustomSource::source_meta [private]

Definition at line 147 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:50:15 2012 for FFmpeg by  doxygen 1.5.8