Blender  V3.3
avi_intern.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2001-2002 NaN Holding BV. All rights reserved. */
3 
8 #pragma once
9 
10 #include <stdio.h> /* for FILE */
11 
12 unsigned int GET_FCC(FILE *fp);
13 unsigned int GET_TCC(FILE *fp);
14 
15 #define PUT_FCC(ch4, fp) \
16  { \
17  putc(ch4[0], fp); \
18  putc(ch4[1], fp); \
19  putc(ch4[2], fp); \
20  putc(ch4[3], fp); \
21  } \
22  (void)0
23 
24 #define PUT_FCCN(num, fp) \
25  { \
26  putc((num >> 0) & 0377, fp); \
27  putc((num >> 8) & 0377, fp); \
28  putc((num >> 16) & 0377, fp); \
29  putc((num >> 24) & 0377, fp); \
30  } \
31  (void)0
32 
33 #define PUT_TCC(ch2, fp) \
34  { \
35  putc(ch2[0], fp); \
36  putc(ch2[1], fp); \
37  } \
38  (void)0
39 
40 void *avi_format_convert(
41  AviMovie *movie, int stream, void *buffer, AviFormat from, AviFormat to, size_t *size);
42 
43 int avi_get_data_id(AviFormat format, int stream);
AviFormat
Definition: AVI_avi.h:144
unsigned int GET_FCC(FILE *fp)
Definition: avi.c:46
unsigned int GET_TCC(FILE *fp)
Definition: avi.c:58
int avi_get_format_type(AviFormat format)
Definition: avi_codecs.c:83
int avi_get_format_compression(AviFormat format)
Definition: avi_codecs.c:110
int avi_get_data_id(AviFormat format, int stream)
Definition: avi_codecs.c:66
void * avi_format_convert(AviMovie *movie, int stream, void *buffer, AviFormat from, AviFormat to, size_t *size)
Definition: avi_codecs.c:17
int avi_get_format_fcc(AviFormat format)
Definition: avi_codecs.c:96
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
Definition: btDbvt.cpp:52
StackEntry * from
ccl_global float * buffer
format
Definition: logImageCore.h:38