libquicktime
Main Page
Modules
Data Structures
Files
File List
Globals
include
quicktime
lqt_atoms.h
1
/*******************************************************************************
2
lqt_atoms.h
3
4
libquicktime - A library for reading and writing quicktime/avi/mp4 files.
5
http://libquicktime.sourceforge.net
6
7
Copyright (C) 2002 Heroine Virtual Ltd.
8
Copyright (C) 2002-2011 Members of the libquicktime project.
9
10
This library is free software; you can redistribute it and/or modify it under
11
the terms of the GNU Lesser General Public License as published by the Free
12
Software Foundation; either version 2.1 of the License, or (at your option)
13
any later version.
14
15
This library is distributed in the hope that it will be useful, but WITHOUT
16
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
17
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
18
details.
19
20
You should have received a copy of the GNU Lesser General Public License along
21
with this library; if not, write to the Free Software Foundation, Inc., 51
22
Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23
*******************************************************************************/
24
25
#ifndef _LQT_ATOMS_H_
26
#define _LQT_ATOMS_H_
27
28
29
30
#ifdef __GNUC__
31
#pragma GCC visibility push(default)
32
#endif
33
34
#ifdef __cplusplus
35
extern
"C"
{
36
#endif
/* __cplusplus */
37
38
#define LQT_COLR_NCLC 0x6E636C63
39
#define LQT_COLR_PROF 0x70726F66
40
41
/* Fine tuning of quicktime atoms. Use with caution */
42
70
int
lqt_set_fiel
(
quicktime_t
*file,
int
track,
int
nfields,
int
dominance);
71
87
int
lqt_get_fiel
(
quicktime_t
*file,
int
track,
int
*nfields,
int
*dominance);
88
89
/* pasp atom */
90
94
typedef
struct
95
{
97
int32_t
hSpacing
;
99
int32_t
vSpacing
;
100
}
quicktime_pasp_t
;
101
109
int
lqt_set_pasp
(
quicktime_t
*file,
int
track,
quicktime_pasp_t
*pasp);
110
118
int
lqt_get_pasp
(
quicktime_t
*file,
int
track,
quicktime_pasp_t
*pasp);
119
123
typedef
struct
124
{
126
int32_t
cleanApertureWidthN
;
128
int32_t
cleanApertureWidthD
;
130
int32_t
cleanApertureHeightN
;
132
int32_t
cleanApertureHeightD
;
134
int32_t
horizOffN
;
136
int32_t
horizOffD
;
138
int32_t
vertOffN
;
140
int32_t
vertOffD
;
141
}
quicktime_clap_t
;
142
156
int
lqt_set_clap
(
quicktime_t
*file,
int
track,
quicktime_clap_t
*clap);
157
172
int
lqt_get_clap
(
quicktime_t
*file,
int
track,
quicktime_clap_t
*clap);
173
177
typedef
struct
178
{
180
int32_t
colorParamType
;
182
int16_t
primaries
;
184
int16_t
transferFunction
;
186
int16_t
matrix
;
187
}
quicktime_colr_t
;
188
202
int
lqt_set_colr
(
quicktime_t
*file,
int
track,
quicktime_colr_t
*colr);
203
217
int
lqt_get_colr
(
quicktime_t
*file,
int
track,
quicktime_colr_t
*colr);
218
219
#ifdef __cplusplus
220
}
221
#endif
/* __cplusplus */
222
223
#ifdef __GNUC__
224
#pragma GCC visibility pop
225
#endif
226
227
#endif
/* _LQT_ATOMS_H_ */
Generated by
1.8.2