00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
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
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
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
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);