#include <AVIFileSink.hh>
 | 
| static AVIFileSink *  | createNew (UsageEnvironment &env, MediaSession &inputSession, char const *outputFileName, unsigned bufferSize=20000, unsigned short movieWidth=240, unsigned short movieHeight=180, unsigned movieFPS=15, Boolean packetLossCompensate=False) | 
|   | 
| static Boolean  | lookupByName (UsageEnvironment &env, char const *mediumName, Medium *&resultMedium) | 
|   | 
| static void  | close (UsageEnvironment &env, char const *mediumName) | 
|   | 
| static void  | close (Medium *medium) | 
|   | 
 | 
| static void  | afterGettingFrame (void *clientData, unsigned frameSize, unsigned numTruncatedBytes, struct timeval presentationTime, unsigned durationInMicroseconds) | 
|   | 
| static void  | onSourceClosure (void *clientData) | 
|   | 
| static void  | onRTCPBye (void *clientData) | 
|   | 
Definition at line 28 of file AVIFileSink.hh.
 
◆ afterPlayingFunc
      
        
          | typedef void() AVIFileSink::afterPlayingFunc(void *clientData) | 
        
      
 
 
◆ AVIFileSink()
  
  
      
        
          | AVIFileSink::AVIFileSink  | 
          ( | 
          UsageEnvironment &  | 
          env,  | 
         
        
           | 
           | 
          MediaSession &  | 
          inputSession,  | 
         
        
           | 
           | 
          char const *  | 
          outputFileName,  | 
         
        
           | 
           | 
          unsigned  | 
          bufferSize,  | 
         
        
           | 
           | 
          unsigned short  | 
          movieWidth,  | 
         
        
           | 
           | 
          unsigned short  | 
          movieHeight,  | 
         
        
           | 
           | 
          unsigned  | 
          movieFPS,  | 
         
        
           | 
           | 
          Boolean  | 
          packetLossCompensate  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
private   | 
  
 
 
◆ ~AVIFileSink()
  
  
      
        
          | virtual AVIFileSink::~AVIFileSink  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
privatevirtual   | 
  
 
 
◆ _header() [1/8]
  
  
      
        
          | AVIFileSink::_header  | 
          ( | 
          AVI  | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ _header() [2/8]
  
  
      
        
          | AVIFileSink::_header  | 
          ( | 
          avih  | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ _header() [3/8]
  
  
      
        
          | AVIFileSink::_header  | 
          ( | 
          hdrl  | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ _header() [4/8]
  
  
      
        
          | AVIFileSink::_header  | 
          ( | 
          JUNK  | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ _header() [5/8]
  
  
      
        
          | AVIFileSink::_header  | 
          ( | 
          movi  | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ _header() [6/8]
  
  
      
        
          | AVIFileSink::_header  | 
          ( | 
          strf  | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ _header() [7/8]
  
  
      
        
          | AVIFileSink::_header  | 
          ( | 
          strh  | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ _header() [8/8]
  
  
      
        
          | AVIFileSink::_header  | 
          ( | 
          strl  | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ add4ByteString()
  
  
      
        
          | unsigned AVIFileSink::add4ByteString  | 
          ( | 
          char const *  | 
          str | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ addByte()
  
  
      
        
          | unsigned AVIFileSink::addByte  | 
          ( | 
          unsigned char  | 
          byte | ) | 
           | 
         
       
   | 
  
inlineprivate   | 
  
 
 
◆ addHalfWord()
  
  
      
        
          | unsigned AVIFileSink::addHalfWord  | 
          ( | 
          unsigned short  | 
          halfWord | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ addIndexRecord()
  
  
      
        
          | void AVIFileSink::addIndexRecord  | 
          ( | 
          class AVIIndexRecord *  | 
          newIndexRecord | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ addWord()
  
  
      
        
          | unsigned AVIFileSink::addWord  | 
          ( | 
          unsigned  | 
          word | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ addZeroWords()
  
  
      
        
          | unsigned AVIFileSink::addZeroWords  | 
          ( | 
          unsigned  | 
          numWords | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ afterGettingFrame()
  
  
      
        
          | static void AVIFileSink::afterGettingFrame  | 
          ( | 
          void *  | 
          clientData,  | 
         
        
           | 
           | 
          unsigned  | 
          frameSize,  | 
         
        
           | 
           | 
          unsigned  | 
          numTruncatedBytes,  | 
         
        
           | 
           | 
          struct timeval  | 
          presentationTime,  | 
         
        
           | 
           | 
          unsigned  | 
          durationInMicroseconds  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
staticprivate   | 
  
 
 
◆ close() [1/2]
  
  
      
        
          | static void Medium::close  | 
          ( | 
          Medium *  | 
          medium | ) | 
           | 
         
       
   | 
  
staticinherited   | 
  
 
 
◆ close() [2/2]
◆ completeOutputFile()
  
  
      
        
          | void AVIFileSink::completeOutputFile  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ continuePlaying()
  
  
      
        
          | Boolean AVIFileSink::continuePlaying  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ createNew()
  
  
      
        
          | static AVIFileSink * AVIFileSink::createNew  | 
          ( | 
          UsageEnvironment &  | 
          env,  | 
         
        
           | 
           | 
          MediaSession &  | 
          inputSession,  | 
         
        
           | 
           | 
          char const *  | 
          outputFileName,  | 
         
        
           | 
           | 
          unsigned  | 
          bufferSize = 20000,  | 
         
        
           | 
           | 
          unsigned short  | 
          movieWidth = 240,  | 
         
        
           | 
           | 
          unsigned short  | 
          movieHeight = 180,  | 
         
        
           | 
           | 
          unsigned  | 
          movieFPS = 15,  | 
         
        
           | 
           | 
          Boolean  | 
          packetLossCompensate = False  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ envir()
◆ isMediaSession()
  
  
      
        
          | virtual Boolean Medium::isMediaSession  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtualinherited   | 
  
 
 
◆ isRTCPInstance()
  
  
      
        
          | virtual Boolean Medium::isRTCPInstance  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtualinherited   | 
  
 
 
◆ isRTSPClient()
  
  
      
        
          | virtual Boolean Medium::isRTSPClient  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtualinherited   | 
  
 
 
◆ isRTSPServer()
  
  
      
        
          | virtual Boolean Medium::isRTSPServer  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtualinherited   | 
  
 
 
◆ isServerMediaSession()
  
  
      
        
          | virtual Boolean Medium::isServerMediaSession  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtualinherited   | 
  
 
 
◆ isSink()
  
  
      
        
          | virtual Boolean Medium::isSink  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtualinherited   | 
  
 
 
◆ isSource()
  
  
      
        
          | virtual Boolean Medium::isSource  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtualinherited   | 
  
 
 
◆ lookupByName()
◆ name()
  
  
      
        
          | char const  * Medium::name  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
 
◆ nextTask()
◆ numActiveSubsessions()
  
  
      
        
          | unsigned AVIFileSink::numActiveSubsessions  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ onRTCPBye()
  
  
      
        
          | static void AVIFileSink::onRTCPBye  | 
          ( | 
          void *  | 
          clientData | ) | 
           | 
         
       
   | 
  
staticprivate   | 
  
 
 
◆ onSourceClosure()
  
  
      
        
          | static void AVIFileSink::onSourceClosure  | 
          ( | 
          void *  | 
          clientData | ) | 
           | 
         
       
   | 
  
staticprivate   | 
  
 
 
◆ onSourceClosure1()
  
  
      
        
          | void AVIFileSink::onSourceClosure1  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ setWord()
  
  
      
        
          | void AVIFileSink::setWord  | 
          ( | 
          unsigned  | 
          filePosn,  | 
         
        
           | 
           | 
          unsigned  | 
          size  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
private   | 
  
 
 
◆ startPlaying()
◆ AVISubsessionIOState
  
  
      
        
          | friend class AVISubsessionIOState | 
         
       
   | 
  
friend   | 
  
 
 
◆ fAfterClientData
  
  
      
        
          | void* AVIFileSink::fAfterClientData | 
         
       
   | 
  
private   | 
  
 
 
◆ fAfterFunc
◆ fAreCurrentlyBeingPlayed
  
  
      
        
          | Boolean AVIFileSink::fAreCurrentlyBeingPlayed | 
         
       
   | 
  
private   | 
  
 
 
◆ fAVIHFrameCountPosition
  
  
      
        
          | unsigned AVIFileSink::fAVIHFrameCountPosition | 
         
       
   | 
  
private   | 
  
 
 
◆ fAVIHMaxBytesPerSecondPosition
  
  
      
        
          | unsigned AVIFileSink::fAVIHMaxBytesPerSecondPosition | 
         
       
   | 
  
private   | 
  
 
 
◆ fBufferSize
  
  
      
        
          | unsigned AVIFileSink::fBufferSize | 
         
       
   | 
  
private   | 
  
 
 
◆ fCurrentIOState
◆ fEnviron
◆ fHaveCompletedOutputFile
  
  
      
        
          | Boolean AVIFileSink::fHaveCompletedOutputFile | 
         
       
   | 
  
private   | 
  
 
 
◆ fIndexRecordsHead
  
  
      
        
          | class AVIIndexRecord* AVIFileSink::fIndexRecordsHead | 
         
       
   | 
  
private   | 
  
 
 
◆ fIndexRecordsTail
  
  
      
        
          | class AVIIndexRecord * AVIFileSink::fIndexRecordsTail | 
         
       
   | 
  
private   | 
  
 
 
◆ fInputSession
◆ fJunkNumber
  
  
      
        
          | unsigned AVIFileSink::fJunkNumber | 
         
       
   | 
  
private   | 
  
 
 
◆ fMediumName
◆ fMovieFPS
  
  
      
        
          | unsigned AVIFileSink::fMovieFPS | 
         
       
   | 
  
private   | 
  
 
 
◆ fMovieHeight
  
  
      
        
          | unsigned short AVIFileSink::fMovieHeight | 
         
       
   | 
  
private   | 
  
 
 
◆ fMovieWidth
  
  
      
        
          | unsigned short AVIFileSink::fMovieWidth | 
         
       
   | 
  
private   | 
  
 
 
◆ fMoviSizePosition
  
  
      
        
          | unsigned AVIFileSink::fMoviSizePosition | 
         
       
   | 
  
private   | 
  
 
 
◆ fMoviSizeValue
  
  
      
        
          | unsigned AVIFileSink::fMoviSizeValue | 
         
       
   | 
  
private   | 
  
 
 
◆ fNextTask
◆ fNumBytesWritten
  
  
      
        
          | unsigned AVIFileSink::fNumBytesWritten | 
         
       
   | 
  
private   | 
  
 
 
◆ fNumIndexRecords
  
  
      
        
          | unsigned AVIFileSink::fNumIndexRecords | 
         
       
   | 
  
private   | 
  
 
 
◆ fNumSubsessions
  
  
      
        
          | unsigned AVIFileSink::fNumSubsessions | 
         
       
   | 
  
private   | 
  
 
 
◆ fOutFid
  
  
      
        
          | FILE* AVIFileSink::fOutFid | 
         
       
   | 
  
private   | 
  
 
 
◆ fPacketLossCompensate
  
  
      
        
          | Boolean AVIFileSink::fPacketLossCompensate | 
         
       
   | 
  
private   | 
  
 
 
◆ fRIFFSizePosition
  
  
      
        
          | unsigned AVIFileSink::fRIFFSizePosition | 
         
       
   | 
  
private   | 
  
 
 
◆ fRIFFSizeValue
  
  
      
        
          | unsigned AVIFileSink::fRIFFSizeValue | 
         
       
   | 
  
private   | 
  
 
 
◆ fStartTime
  
  
      
        
          | struct timeval AVIFileSink::fStartTime | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following file: