|
OpenMW
|
#include <ffmpeg_decoder.hpp>
Public Member Functions | |
| virtual | ~FFmpeg_Decoder () |
Private Member Functions | |
| bool | getNextPacket () |
| bool | getAVAudioData () |
| size_t | readAVAudioData (void *data, size_t length) |
| virtual void | open (const std::string &fname) |
| virtual void | close () |
| virtual std::string | getName () |
| virtual void | getInfo (int *samplerate, ChannelConfig *chans, SampleType *type) |
| virtual size_t | read (char *buffer, size_t bytes) |
| virtual void | readAll (std::vector< char > &output) |
| virtual void | rewind () |
| virtual size_t | getSampleOffset () |
| FFmpeg_Decoder & | operator= (const FFmpeg_Decoder &rhs) |
| FFmpeg_Decoder (const FFmpeg_Decoder &rhs) | |
| FFmpeg_Decoder () | |
Static Private Member Functions | |
| static int | readPacket (void *user_data, uint8_t *buf, int buf_size) |
| static int | writePacket (void *user_data, uint8_t *buf, int buf_size) |
| static int64_t | seek (void *user_data, int64_t offset, int whence) |
Private Attributes | |
| AVFormatContext * | mFormatCtx |
| AVStream ** | mStream |
| AVPacket | mPacket |
| AVFrame * | mFrame |
| int | mFrameSize |
| int | mFramePos |
| double | mNextPts |
| Ogre::DataStreamPtr | mDataStream |
Friends | |
| class | SoundManager |
| MWSound::FFmpeg_Decoder::FFmpeg_Decoder | ( | const FFmpeg_Decoder & | rhs | ) | [private] |
| MWSound::FFmpeg_Decoder::FFmpeg_Decoder | ( | ) | [private] |
| virtual MWSound::FFmpeg_Decoder::~FFmpeg_Decoder | ( | ) | [virtual] |
| virtual void MWSound::FFmpeg_Decoder::close | ( | ) | [private, virtual] |
Implements MWSound::Sound_Decoder.
| bool MWSound::FFmpeg_Decoder::getAVAudioData | ( | ) | [private] |
| virtual void MWSound::FFmpeg_Decoder::getInfo | ( | int * | samplerate, |
| ChannelConfig * | chans, | ||
| SampleType * | type | ||
| ) | [private, virtual] |
Implements MWSound::Sound_Decoder.
| virtual std::string MWSound::FFmpeg_Decoder::getName | ( | ) | [private, virtual] |
Implements MWSound::Sound_Decoder.
| bool MWSound::FFmpeg_Decoder::getNextPacket | ( | ) | [private] |
| virtual size_t MWSound::FFmpeg_Decoder::getSampleOffset | ( | ) | [private, virtual] |
Implements MWSound::Sound_Decoder.
| virtual void MWSound::FFmpeg_Decoder::open | ( | const std::string & | fname | ) | [private, virtual] |
Implements MWSound::Sound_Decoder.
| FFmpeg_Decoder& MWSound::FFmpeg_Decoder::operator= | ( | const FFmpeg_Decoder & | rhs | ) | [private] |
| virtual size_t MWSound::FFmpeg_Decoder::read | ( | char * | buffer, |
| size_t | bytes | ||
| ) | [private, virtual] |
Implements MWSound::Sound_Decoder.
| virtual void MWSound::FFmpeg_Decoder::readAll | ( | std::vector< char > & | output | ) | [private, virtual] |
Reimplemented from MWSound::Sound_Decoder.
| size_t MWSound::FFmpeg_Decoder::readAVAudioData | ( | void * | data, |
| size_t | length | ||
| ) | [private] |
| static int MWSound::FFmpeg_Decoder::readPacket | ( | void * | user_data, |
| uint8_t * | buf, | ||
| int | buf_size | ||
| ) | [static, private] |
| virtual void MWSound::FFmpeg_Decoder::rewind | ( | ) | [private, virtual] |
Implements MWSound::Sound_Decoder.
| static int64_t MWSound::FFmpeg_Decoder::seek | ( | void * | user_data, |
| int64_t | offset, | ||
| int | whence | ||
| ) | [static, private] |
| static int MWSound::FFmpeg_Decoder::writePacket | ( | void * | user_data, |
| uint8_t * | buf, | ||
| int | buf_size | ||
| ) | [static, private] |
friend class SoundManager [friend] |
Ogre::DataStreamPtr MWSound::FFmpeg_Decoder::mDataStream [private] |
AVFormatContext* MWSound::FFmpeg_Decoder::mFormatCtx [private] |
AVFrame* MWSound::FFmpeg_Decoder::mFrame [private] |
int MWSound::FFmpeg_Decoder::mFramePos [private] |
int MWSound::FFmpeg_Decoder::mFrameSize [private] |
double MWSound::FFmpeg_Decoder::mNextPts [private] |
AVPacket MWSound::FFmpeg_Decoder::mPacket [private] |
AVStream** MWSound::FFmpeg_Decoder::mStream [private] |
1.7.6.1