|
AVPKit
|


Public Member Functions | |
| virtual int | addAudioSamples (IAudioSamples *samples) |
| Adds audio samples to this filter. More... | |
| virtual int | addVideoPicture (IVideoPicture *picture) |
| Adds picture to 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 RefCounted * | copyReference () |
| 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... | |
Public Member Functions inherited from com::avpkit::core::MediaFilter | |
| virtual int | setIntProperty (const char *name, int value) |
| Sets an integer parameter for this filter. More... | |
| virtual int | setDoubleProperty (const char *name, double value) |
| Sets a double parameter for this filter. More... | |
| virtual int | setProperty (const char *name, const char *value) |
| Sets a string parameter for this filter. More... | |
| virtual int | setRationalProperty (const char *name, IRational *value) |
| Sets a rational parameter for this filter. More... | |
| virtual int | initFilter () |
| Initialize filter. More... | |
| virtual int | addFilter (IMediaFilter *filter) |
| Add a filter as an output of this filter. More... | |
| virtual int | addSink (IBufferSink *filterSink) |
| Add a filter as an output of this filter. More... | |
| virtual void | setReady () |
Static Public Member Functions | |
| static BufferSource * | make (AVFilterGraph *graph, IAudioSamples::Format format, int channels, int sample_rate, IRational *time_base, IAudioSamples::ChannelLayout channel_layout) |
| static BufferSource * | make (AVFilterGraph *graph, IPixelFormat::Type format, int width, int height, IRational *frame_rate, IRational *time_base) |
| static BufferSource * | make (AVFilterGraph *graph, IVideoPicture *picture, IRational *frame_rate) |
Static Public Member Functions inherited from com::avpkit::core::MediaFilter | |
| static MediaFilter * | make (AVFilterGraph *graph, const char *name) |
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 Member Functions inherited from com::avpkit::core::MediaFilter | |
| int | getAvailableInput () |
| int | getAvailableOutput () |
| AVFilterContext * | getAVFilter () |
Protected Attributes inherited from com::avpkit::ferry::RefCounted | |
| AtomicInteger * | mRefCount |
| This is the internal reference count, represented as an AtomicInteger to make sure it is thread safe. | |
| void * | mAllocator |
| Not part of public API. | |
Protected Attributes inherited from com::avpkit::core::MediaFilter | |
| const AVFilter * | mFilter |
| AVFilterContext * | mFilterContext |
| bool | ready |
Definition at line 44 of file BufferSource.h.
|
virtual |
Adds audio samples to this filter.
| samples | the audio samples to add |
Implements com::avpkit::core::IBufferSource.
Definition at line 38 of file BufferSource.cpp.
References com::avpkit::core::AudioSamples::getChannels(), com::avpkit::core::AudioSamples::getFormat(), com::avpkit::core::AudioSamples::getNumSamples(), com::avpkit::core::AudioSamples::getPts(), com::avpkit::core::AudioSamples::getSampleRate(), and com::avpkit::core::AudioSamples::getTimeBase().
|
virtual |
Adds picture to this filter.
| picture | the picture to add |
Implements com::avpkit::core::IBufferSource.
Definition at line 85 of file BufferSource.cpp.
References com::avpkit::core::VideoPicture::getAVFrame(), com::avpkit::core::VideoPicture::getPts(), and com::avpkit::core::VideoPicture::getTimeBase().