#include <kino_av_pipe.h>
Inheritance diagram for KinoAVPipe:


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 | |
| KinoAudioPipe * | audio |
| KinoVideoPipe * | video |
|
||||||||||||
|
Definition at line 98 of file kino_av_pipe.h. 00099 {
00100 this->audio = audio;
00101 this->video = video;
00102 }
|
|
|
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 }
|
|
|
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 }
|
|
|
Definition at line 134 of file kino_av_pipe.h. Referenced by ExportMJPEG::doExport(). 00135 {
00136 return system( command );
00137 }
|
|
||||||||||||||||||||
|
Implements KinoAudioPipe. Definition at line 104 of file kino_av_pipe.h. References audio, and KinoAudioPipe::OpenAudio(). Referenced by ExportMJPEG::doExport().
|
|
||||||||||||||||||||
|
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 }
|
|
||||||||||||
|
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 }
|
|
||||||||||||
|
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 }
|
|
|
Definition at line 94 of file kino_av_pipe.h. Referenced by CloseAudio(), OpenAudio(), and OutputAudioFrame(). |
|
|
Definition at line 95 of file kino_av_pipe.h. Referenced by CloseVideo(), OpenVideoPipe(), and OutputVideoFrame(). |
1.4.2