Main Page | Modules | Directories | File List

lqtgavl.h

00001 /*****************************************************************
00002 
00003   lqtgavl.h
00004 
00005   Copyright (c) 2005 by Burkhard Plaum - plaum@ipf.uni-stuttgart.de
00006 
00007   http://gmerlin.sourceforge.net
00008 
00009   This program is distributed in the hope that it will be useful,
00010   but WITHOUT ANY WARRANTY; without even the implied warranty of
00011   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012   GNU General Public License for more details.
00013 
00014   You should have received a copy of the GNU General Public License
00015   along with this program; if not, write to the Free Software
00016   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
00017 
00018 *****************************************************************/
00019 
00020 #include <gavl/gavl.h>
00021 #include <lqt.h>
00022 
00059 uint8_t ** lqt_gavl_rows_create(quicktime_t * file, int track);
00060 
00066 void lqt_gavl_rows_destroy(uint8_t** rows);
00067 
00068 
00080 void lqt_gavl_add_audio_track(quicktime_t * file,
00081                               const gavl_audio_format_t * format,
00082                               lqt_codec_info_t * codec);
00083 
00095 void lqt_gavl_add_video_track(quicktime_t * file,
00096                               const gavl_video_format_t * format,
00097                               lqt_codec_info_t * codec);
00098 
00099 /* Encode audio/video */
00100 
00114 void lqt_gavl_encode_video(quicktime_t * file, int track,
00115                            gavl_video_frame_t * frame, uint8_t ** rows);
00116 
00130 void lqt_gavl_encode_audio(quicktime_t * file, int track,
00131                            gavl_audio_frame_t * frame);
00132 
00133 /* Get formats for decoding */
00134 
00143 int lqt_gavl_get_audio_format(quicktime_t * file,
00144                               int track,
00145                               gavl_audio_format_t * format);
00146 
00155 int lqt_gavl_get_video_format(quicktime_t * file,
00156                               int track,
00157                               gavl_video_format_t * format);
00158 
00159 /* Decode audio/video */
00160 
00170 int lqt_gavl_decode_video(quicktime_t * file,
00171                           int track,
00172                           gavl_video_frame_t * frame, uint8_t ** rows);
00173 
00183 int lqt_gavl_decode_audio(quicktime_t * file,
00184                           int track,
00185                           gavl_audio_frame_t * frame, int samples);
00186 
00196 void lqt_gavl_seek(quicktime_t * file, gavl_time_t * time);
00197   
00198                    
00207 gavl_time_t lqt_gavl_duration(quicktime_t * file);

Generated on Thu Jun 8 01:40:10 2006 for lqtgavl by  doxygen 1.4.4