AVPKit
com::avpkit::core::IBufferSource Class Referenceabstract
Inheritance diagram for com::avpkit::core::IBufferSource:
Collaboration diagram for com::avpkit::core::IBufferSource:

Public Member Functions

virtual int addAudioSamples (IAudioSamples *samples)=0
 Adds audio samples to this filter. More...
 
virtual int addVideoPicture (IVideoPicture *picture)=0
 Adds picture to this filter. More...
 
- Public Member Functions inherited from com::avpkit::core::IMediaFilter
virtual int setIntProperty (const char *name, int value)=0
 Sets an integer parameter for this filter. More...
 
virtual int setDoubleProperty (const char *name, double value)=0
 Sets a double parameter for this filter. More...
 
virtual int setProperty (const char *name, const char *value)=0
 Sets a string parameter for this filter. More...
 
virtual int setRationalProperty (const char *name, IRational *value)=0
 Sets a rational parameter for this filter. More...
 
virtual int initFilter ()=0
 Initialize filter. More...
 
virtual int addFilter (IMediaFilter *filter)=0
 Add a filter as an output of this filter. More...
 
virtual int addSink (IBufferSink *filterSink)=0
 Add a filter as an output of this filter. More...
 
- Public Member Functions inherited from com::avpkit::ferry::RefCounted
virtual int32_t acquire ()
 Internal Only. More...
 
virtual int32_t release ()
 Internal Only. More...
 
virtual RefCountedcopyReference ()
 Create a new Java object that refers to the same native object. More...
 
virtual int32_t getCurrentRefCount ()
 Return the current reference count on this object. More...
 
void setJavaAllocator (void *allocator)
 This method is public but not part of the standard API. More...
 
void * getJavaAllocator ()
 This method is public but not part of the standard API. More...
 

Additional Inherited Members

- Protected Member Functions inherited from com::avpkit::ferry::RefCounted
virtual void destroy ()
 This method is called by RefCounted objects when their Ref Count reaches zero and they are about to be destroyed.
 
- Protected Attributes inherited from com::avpkit::ferry::RefCounted
AtomicIntegermRefCount
 This is the internal reference count, represented as an AtomicInteger to make sure it is thread safe.
 
void * mAllocator
 Not part of public API.
 

Detailed Description

Definition at line 26 of file IBufferSource.h.

Member Function Documentation

◆ addAudioSamples()

virtual int com::avpkit::core::IBufferSource::addAudioSamples ( IAudioSamples samples)
pure virtual

Adds audio samples to this filter.

Parameters
samplesthe audio samples to add
Returns
0 on success or <0 if an error occurs

Implemented in com::avpkit::core::BufferSource.

◆ addVideoPicture()

virtual int com::avpkit::core::IBufferSource::addVideoPicture ( IVideoPicture picture)
pure virtual

Adds picture to this filter.

Parameters
picturethe picture to add
Returns
0 on success or <0 if an error occurs

Implemented in com::avpkit::core::BufferSource.


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