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 |
StagefrightContext * | s |
int | frame_size |
Definition at line 88 of file libstagefright.cpp.
CustomSource::CustomSource | ( | AVCodecContext * | avctx, | |
sp< MetaData > | meta | |||
) | [inline] |
Definition at line 90 of file libstagefright.cpp.
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.
MediaBufferGroup CustomSource::buf_group [private] |
int CustomSource::frame_size [private] |
StagefrightContext* CustomSource::s [private] |
sp<MetaData> CustomSource::source_meta [private] |