Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
https://bitbucket.org/Coin3D/
http://www.kongsberg.com/kogt/
avi_encode.h
Go to the documentation of this file.
1 #ifndef AVI_ENCODE_H_
2 #define AVI_ENCODE_H_
3 
4 /*
5  * Copyright (c) Kongsberg Oil & Gas Technologies
6  *
7  * Permission to use, copy, modify, and distribute this software for any
8  * purpose with or without fee is hereby granted, provided that the above
9  * copyright notice and this permission notice appear in all copies.
10  *
11  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18  */
19 
20 #ifndef SIMAGE_AVIENC_SUPPORT
21 #error "This file should not be used under the current configuration!"
22 #endif /* !SIMAGE_AVIENC_SUPPORT */
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28  void * avi_begin_encode(const char *filename, int width, int height, int fps, const char *preferences_filename);
29  int avi_encode_bitmap(void *handle, unsigned char *buf, int rgb2bgr);
30  int avi_end_encode(void *handle);
31 
32 #ifdef __cplusplus
33 }
34 #endif
35 
36 #endif /* AVI_ENCODE_H_ */
37 
int avi_encode_bitmap(void *handle, unsigned char *buf, int rgb2bgr)
Definition: avi_encode.c:268
int avi_end_encode(void *handle)
Definition: avi_encode.c:325
void * avi_begin_encode(const char *filename, int width, int height, int fps, const char *preferences_filename)
Definition: avi_encode.c:70