Hauptseite   Klassenhierarchie   Alphabetische Liste   Übersicht   Auflistung der Dateien   Elementübersicht  

eingabedatei.h

00001 /***************************************************************************
00002                           eingabedatei.h  -  description
00003                              -------------------
00004     begin                : Mon Dec 24 2001
00005     copyright            : (C) 2001 by Christian Tusche
00006     email                : christian.tusche@stud.uni-goettingen.de
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef EINGABEDATEI_H
00019 #define EINGABEDATEI_H
00020 
00021 #include "VideoFile/VideoFile.h"
00022 #include "io_datei.h"
00023 
00024 
00025 class AusgabeDatei;
00026 
00031 class EingabeDatei {
00032     friend AusgabeDatei;
00033 public: 
00034     EingabeDatei( IO_Datei *Video_Quelle, IO_Datei *Audio_Quelle );
00035     ~EingabeDatei();
00036 
00039     int decodeVideo( unsigned char *&bild );
00040 
00043     int decodeAudio( int16_t **&puffer, int &samples );
00044 
00047     bool ColorModel( int cmodel );
00048 
00051     int SeekTime( double seconds );
00052 
00055     int Width( void ) { return breite; }
00056 
00059     int Height( void ) { return hoehe; }
00060 
00063     double Rate( void ) { return fps; }
00064 
00065     bool audio, video;
00066 protected:
00067     VideoFile *VideoEingabe, *AudioEingabe;
00068     V_Track *V_Ein;
00069     A_Track *A_Ein;
00070     long bilder;
00071     long long a_samples;
00072     int breite, hoehe, a_rate, a_bits, a_channels;
00073     double fps;
00074     double audio_puffer_gr;
00075     long a_frames_gelesen;
00076     long long samples_gelesen;
00077 };
00078 
00079 #endif

Erzeugt am Mon Jan 7 19:15:12 2002 für av_convert von doxygen1.2.9.1 geschrieben von Dimitri van Heesch, © 1997-2001