Main Page | Class List | File List | Class Members | File Members

convert.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           convert.h  -  helper functions
00003                              -------------------
00004     begin                : Fre Jan 23 2004
00005     revision             : $Revision: 1.3 $
00006     last modified        : $Date: 2004/03/22 00:43:07 $ by $Author: gousiosg $
00007     copyright            : (C) 2004 by Juergen  Kofler
00008     email                : kaffeine@gm---.net
00009  ***************************************************************************/
00010 
00011 /***************************************************************************
00012  *                                                                         *
00013  *   This program is free software; you can redistribute it and/or modify  *
00014  *   it under the terms of the GNU General Public License as published by  *
00015  *   the Free Software Foundation; either version 2 of the License, or     *
00016  *   (at your option) any later version.                                   *
00017  *                                                                         *
00018  ***************************************************************************/
00019 
00020 #ifndef CONVERT_H
00021 #define CONVERT_H
00022 
00023 #include <qstring.h>
00024 #include <qstringlist.h>
00025 
00026 #include <inttypes.h>
00027 
00028 QString msToTimeString( int msec ); /* msec to a h:mm:ss string */
00029 int timeStringToMs( QString time ); /* h:mm:ss string to msec*/
00030 
00031 /* convert video frames */
00032 
00033 void yuy2Toyv12 (uint8_t *y, uint8_t *u, uint8_t *v, uint8_t *input,
00034         int width, int height);
00035 
00036 uchar * yv12ToRgb (uint8_t *src_y, uint8_t *src_u, uint8_t *src_v,
00037            int width, int height);        
00038 
00039 
00040 #endif

Generated on Thu Apr 22 05:12:29 2004 for QXineWidget by doxygen 1.3.5