Constness changes
[melted] / src / modules / kino / kino_wrapper.h
1 /*
2 * kino_wrapper.h -- c wrapper for kino file handler
3 * Copyright (C) 2005 Ushodaya Enterprises Limited
4 * Author: Charles Yates <charles.yates@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software Foundation,
18 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 */
20
21 #ifndef MLT_PRODUCER_KINO_WRAPPER_H_
22 #define MLT_PRODUCER_KINO_WRAPPER_H_
23
24 #include <stdint.h>
25
26 #ifdef __cplusplus
27 extern "C"
28 {
29 #endif
30
31 typedef struct kino_wrapper_s *kino_wrapper;
32
33 extern kino_wrapper kino_wrapper_init( );
34 extern int kino_wrapper_open( kino_wrapper, char * );
35 extern int kino_wrapper_is_open( kino_wrapper );
36 extern int kino_wrapper_is_pal( kino_wrapper );
37 extern int kino_wrapper_get_frame_count( kino_wrapper );
38 extern int kino_wrapper_get_frame( kino_wrapper, uint8_t *, int );
39 extern void kino_wrapper_close( kino_wrapper );
40
41 #ifdef __cplusplus
42 }
43 #endif
44
45 #endif