Go to the documentation of this file.
34 #ifndef PTLIB_PVIDFILE_H
35 #define PTLIB_PVIDFILE_H
65 virtual PBoolean IsOpen()
const {
return m_file.IsOpen(); }
66 virtual PBoolean Close() {
return m_file.Close(); }
68 virtual PBoolean WriteFrame(
const void * frame);
69 virtual PBoolean ReadFrame(
void * frame);
71 virtual off_t GetLength()
const;
76 virtual off_t GetPosition()
const;
90 const PFilePath & GetFilePath()
const {
return m_file.GetFilePath(); }
91 PINDEX GetFrameBytes()
const {
return m_frameBytes; }
95 bool m_fixedFrameSize;
96 bool m_fixedFrameRate;
107 class PYUVFile :
public PVideoFile
119 virtual PBoolean WriteFrame(
const void * frame);
120 virtual PBoolean ReadFrame(
void * frame);
131 #endif // PTLIB_PVIDFILE_H