FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Private Attributes
CustomSource Class Reference
Inheritance diagram for CustomSource:

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

Constructor & Destructor Documentation

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

Definition at line 91 of file libstagefright.cpp.

Member Function Documentation

virtual sp<MetaData> CustomSource::getFormat ( )
inlinevirtual

Definition at line 98 of file libstagefright.cpp.

virtual status_t CustomSource::start ( MetaData *  params)
inlinevirtual

Definition at line 102 of file libstagefright.cpp.

virtual status_t CustomSource::stop ( )
inlinevirtual

Definition at line 106 of file libstagefright.cpp.

virtual status_t CustomSource::read ( MediaBuffer **  buffer,
const MediaSource::ReadOptions *  options 
)
inlinevirtual

Definition at line 110 of file libstagefright.cpp.

Field Documentation

MediaBufferGroup CustomSource::buf_group
private

Definition at line 147 of file libstagefright.cpp.

sp<MetaData> CustomSource::source_meta
private

Definition at line 148 of file libstagefright.cpp.

StagefrightContext* CustomSource::s
private

Definition at line 149 of file libstagefright.cpp.

int CustomSource::frame_size
private

Definition at line 150 of file libstagefright.cpp.


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