|
#pragma once
#include "mpaframe.h"
#include "vbrheader.h"
class CVBRIHeader :
public CVBRHeader
{
public:
static CVBRIHeader* FindHeader(const CMPAFrame* pFrame);
CVBRIHeader(const CMPAFrame* pFrame, DWORD dwOffset);
virtual ~CVBRIHeader(void);
virtual DWORD SeekPosition(float& fPercent) const;
DWORD SeekPositionByTime(float fEntryTimeMS) const;
// these values exist only in VBRI headers
float m_fDelay;
DWORD m_dwTableScale; // for seeking
DWORD m_dwBytesPerEntry;
DWORD m_dwFramesPerEntry;
DWORD m_dwVersion;
private:
DWORD m_dwLengthSec;
};
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.