2008-11-09 12:43:27 +01:00
|
|
|
/*
|
|
|
|
* Frontend Status Monitor plugin for the Video Disk Recorder
|
|
|
|
*
|
|
|
|
* See the README file for copyright information and how to reach the author.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __FEMONMPEG_H
|
|
|
|
#define __FEMONMPEG_H
|
|
|
|
|
|
|
|
#include "femonvideo.h"
|
2009-08-25 19:22:06 +02:00
|
|
|
#include "femonaudio.h"
|
|
|
|
|
|
|
|
class cFemonMPEG {
|
|
|
|
private:
|
|
|
|
cFemonVideoIf *m_VideoHandler;
|
|
|
|
cFemonAudioIf *m_AudioHandler;
|
|
|
|
|
|
|
|
static unsigned int s_Bitrates[2][3][16];
|
|
|
|
static unsigned int s_Samplerates[2][4];
|
|
|
|
static eAudioCodec s_Formats[2][4];
|
|
|
|
|
|
|
|
public:
|
|
|
|
cFemonMPEG(cFemonVideoIf *videohandler, cFemonAudioIf *audiohandler);
|
|
|
|
virtual ~cFemonMPEG();
|
2008-11-09 12:43:27 +01:00
|
|
|
|
2009-08-25 19:22:06 +02:00
|
|
|
bool processVideo(const uint8_t *buf, int len);
|
|
|
|
bool processAudio(const uint8_t *buf, int len);
|
|
|
|
};
|
2008-11-09 12:43:27 +01:00
|
|
|
|
|
|
|
#endif //__FEMONMPEG_H
|