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

KinoVideoFactory Class Reference

#include <kino_av_pipe.h>

List of all members.

Static Public Member Functions

static KinoVideoPipeCreateVideoPipe (kino_video_pipe)
 Create a video output pipe.


Member Function Documentation

KinoVideoPipe * KinoVideoFactory::CreateVideoPipe kino_video_pipe  type  )  [static]
 

Create a video output pipe.

Note there is an implicit agreement between the output pipe and the image format:

  • MJPEG expects YUV422 and outputs YUV420P
  • DV_YUV expects YUV422P and outputs YUV422P
  • DV_PGM expects YUV420P and outputs YUVPPM (a la dvencodes expected input)

Definition at line 822 of file kino_av_pipe.cc.

References PIPE_VIDEO_DEINTERLACED_MJPEG, PIPE_VIDEO_DV_PGM, PIPE_VIDEO_DV_YUV, and PIPE_VIDEO_MJPEG.

Referenced by ExportMJPEG::doExport(), and DvEncoder::writeThread().

00823 {
00824     switch ( type )
00825     {
00826     case PIPE_VIDEO_MJPEG:
00827         return new KinoMJPEGVideoPipe();
00828     case PIPE_VIDEO_DEINTERLACED_MJPEG:
00829         return new KinoDeinterlacedMJPEGVideoPipe();
00830     case PIPE_VIDEO_DV_YUV:
00831         return new DvEncoderVideoPipeYUV();
00832     case PIPE_VIDEO_DV_PGM:
00833         return new DvEncoderVideoPipePGM();
00834     default:
00835         return NULL;
00836     }
00837 }


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