~ubuntu-branches/ubuntu/jaunty/xvidcap/jaunty-proposed

« back to all changes in this revision

Viewing changes to gt/gtapi.h

  • Committer: Bazaar Package Importer
  • Author(s): Christian Marillat
  • Date: 2004-08-29 10:53:42 UTC
  • Revision ID: james.westby@ubuntu.com-20040829105342-qgmnry37eadfkoxx
Tags: upstream-1.1.3
ImportĀ upstreamĀ versionĀ 1.1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * gtapi.h
 
3
 * GnuTime module
 
4
 *
 
5
 * Copyright (C) 1998 Rasca, Berlin
 
6
 * EMail: thron@gmx.de
 
7
 *
 
8
 * This library is free software; you can redistribute it and/or
 
9
 * modify it under the terms of the GNU Library General Public
 
10
 * License as published by the Free Software Foundation; either
 
11
 * version 2 of the License, or (at your option) any later version.
 
12
 *
 
13
 * This library is distributed in the hope that it will be useful,
 
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
16
 * Library General Public License for more details.
 
17
 *
 
18
 * You should have received a copy of the GNU Library General Public
 
19
 * License along with this library; if not, write to the Free Software
 
20
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
21
 */
 
22
 
 
23
#ifndef __GTAPI_H__
 
24
#define __GTAPI_H__
 
25
 
 
26
#include <gt/gtatoms.h>
 
27
#include <gt/gttypes.h>
 
28
 
 
29
void *alloc_atom (int);
 
30
 
 
31
void *gt_alloc_atom (int type, int nmb);
 
32
void gt_atom_free (gt_atom *);
 
33
int gt_write_atom (gt_atom *, FILE *);
 
34
unsigned int gt_time(void);
 
35
gt_atom *gt_get_movie (FILE *);
 
36
 
 
37
void gt_swap2byte (ui16 *);
 
38
void gt_swap4byte (ui32 *);
 
39
 
 
40
int gt_write2byte (ui16, FILE *fp);
 
41
int gt_write4byte (ui32, FILE *fp);
 
42
 
 
43
int gt_read2byte (ui16 *, FILE *fp);
 
44
int gt_read4byte (ui32 *, FILE *fp);
 
45
 
 
46
gt_movie *gt_movie_new (int type, int tracks, const char *file);
 
47
void gt_movie_free (gt_movie *);
 
48
int gt_movie_add_atom (gt_movie *, gt_atom *);
 
49
int gt_movie_write_moov (gt_movie *, const char *file);
 
50
gt_trak_atom *gt_track_new (int id, int width, int height, int type, int subs);
 
51
gt_minf_atom *gt_media_info_new (int type, int subatoms);
 
52
gt_mdia_atom *gt_media_new (int type, int time, int subatoms);
 
53
gt_dinf_atom *gt_data_info_new (int subatoms);
 
54
gt_stbl_atom *gt_sample_new (int format, int width,int height,int,int subatoms);
 
55
void gt_atom_add (gt_atom *, gt_atom *);
 
56
#endif