Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

KinoAVPipe Class Reference

#include <kino_av_pipe.h>

Inheritance diagram for KinoAVPipe:

Inheritance graph
[legend]
Collaboration diagram for KinoAVPipe:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 KinoAVPipe (KinoAudioPipe *audio, KinoVideoPipe *video)
bool OpenAudio (char *output, int channels, int frequency, int bytespersample)
bool OpenVideoPipe (char *pipe, int width, int height, bool interlaced=true)
bool OutputVideoFrame (uint8_t *frame, int size)
bool OutputAudioFrame (int16_t *frame, int size)
bool CloseAudio ()
bool CloseVideo ()
int ExecuteCommand (char *command)

Private Attributes

KinoAudioPipeaudio
KinoVideoPipevideo

Constructor & Destructor Documentation

KinoAVPipe::KinoAVPipe KinoAudioPipe audio,
KinoVideoPipe video
[inline]
 

Definition at line 98 of file kino_av_pipe.h.

00099     {
00100         this->audio = audio;
00101         this->video = video;
00102     }


Member Function Documentation

bool KinoAVPipe::CloseAudio  )  [inline, virtual]
 

Implements KinoAudioPipe.

Definition at line 124 of file kino_av_pipe.h.

References audio, and KinoAudioPipe::CloseAudio().

Referenced by ExportMJPEG::doExport().

00125     {
00126         return audio->CloseAudio( );
00127     }

bool KinoAVPipe::CloseVideo  )  [inline, virtual]
 

Implements KinoVideoPipe.

Definition at line 129 of file kino_av_pipe.h.

References KinoVideoPipe::CloseVideo(), and video.

Referenced by ExportMJPEG::doExport().

00130     {
00131         return video->CloseVideo( );
00132     }

int KinoAVPipe::ExecuteCommand char *  command  )  [inline]
 

Definition at line 134 of file kino_av_pipe.h.

Referenced by ExportMJPEG::doExport().

00135     {
00136         return system( command );
00137     }

bool KinoAVPipe::OpenAudio char *  output,
int  channels,
int  frequency,
int  bytespersample
[inline, virtual]
 

Implements KinoAudioPipe.

Definition at line 104 of file kino_av_pipe.h.

References audio, and KinoAudioPipe::OpenAudio().

Referenced by ExportMJPEG::doExport().

00105     {
00106         return audio->OpenAudio( output, channels, frequency, bytespersample );
00107     }

bool KinoAVPipe::OpenVideoPipe char *  pipe,
int  width,
int  height,
bool  interlaced = true
[inline, virtual]
 

Implements KinoVideoPipe.

Definition at line 109 of file kino_av_pipe.h.

References KinoVideoPipe::OpenVideoPipe(), and video.

Referenced by ExportMJPEG::doExport().

00110     {
00111         return video->OpenVideoPipe( pipe, width, height, interlaced );
00112     }

bool KinoAVPipe::OutputAudioFrame int16_t *  frame,
int  size
[inline, virtual]
 

Implements KinoAudioPipe.

Definition at line 119 of file kino_av_pipe.h.

References audio, and KinoAudioPipe::OutputAudioFrame().

Referenced by ExportMJPEG::doExport().

00120     {
00121         return audio->OutputAudioFrame( frame, size );
00122     }

bool KinoAVPipe::OutputVideoFrame uint8_t *  frame,
int  size
[inline, virtual]
 

Implements KinoVideoPipe.

Definition at line 114 of file kino_av_pipe.h.

References KinoVideoPipe::OutputVideoFrame(), and video.

Referenced by ExportMJPEG::doExport().

00115     {
00116         return video->OutputVideoFrame( frame, size );
00117     }


Member Data Documentation

KinoAudioPipe* KinoAVPipe::audio [private]
 

Definition at line 94 of file kino_av_pipe.h.

Referenced by CloseAudio(), OpenAudio(), and OutputAudioFrame().

KinoVideoPipe* KinoAVPipe::video [private]
 

Definition at line 95 of file kino_av_pipe.h.

Referenced by CloseVideo(), OpenVideoPipe(), and OutputVideoFrame().


The documentation for this class was generated from the following file:
Generated on Sun Mar 11 22:13:07 2007 for Kino by  doxygen 1.4.2