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