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

KinoDeinterlacedMJPEGVideoPipe Class Reference

Inheritance diagram for KinoDeinterlacedMJPEGVideoPipe:

Inheritance graph
[legend]
Collaboration diagram for KinoDeinterlacedMJPEGVideoPipe:

Collaboration graph
[legend]
List of all members.

Public Member Functions

bool OutputVideoFrame (uint8_t *frame, int size)
 Output a video frame - the input is assumed to be RGB24 and output is YUV420P.

Member Function Documentation

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

Output a video frame - the input is assumed to be RGB24 and output is YUV420P.

Reimplemented from KinoMJPEGVideoPipe.

Definition at line 668 of file kino_av_pipe.cc.

References KinoMJPEGVideoPipe::frame, frame_RGB24_to_YUV420P(), KinoMJPEGVideoPipe::height, KinoMJPEGVideoPipe::output, sigpipe_clear(), sigpipe_get(), and KinoMJPEGVideoPipe::width.

00669 {
00670     sigpipe_clear();
00671     fprintf( output, "FRAME\n" );
00672     frame_RGB24_to_YUV420P( frame, pixels, width, height );
00673     fwrite( frame[ 0 ], width * height, 1, output );
00674     fwrite( frame[ 1 ], width * height / 4, 1, output );
00675     fwrite( frame[ 2 ], width * height / 4, 1, output );
00676     return sigpipe_get() == 0;
00677 }


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