Blender  V3.3
Macros | Functions
avi_intern.h File Reference
#include <stdio.h>

Go to the source code of this file.

Macros

#define PUT_FCC(ch4, fp)
 
#define PUT_FCCN(num, fp)
 
#define PUT_TCC(ch2, fp)
 

Functions

unsigned int GET_FCC (FILE *fp)
 
unsigned int GET_TCC (FILE *fp)
 
voidavi_format_convert (AviMovie *movie, int stream, void *buffer, AviFormat from, AviFormat to, size_t *size)
 
int avi_get_data_id (AviFormat format, int stream)
 
int avi_get_format_type (AviFormat format)
 
int avi_get_format_fcc (AviFormat format)
 
int avi_get_format_compression (AviFormat format)
 

Macro Definition Documentation

◆ PUT_FCC

#define PUT_FCC (   ch4,
  fp 
)
Value:
{ \
putc(ch4[0], fp); \
putc(ch4[1], fp); \
putc(ch4[2], fp); \
putc(ch4[3], fp); \
} \
(void)0
SyclQueue void void size_t num_bytes void

Definition at line 15 of file avi_intern.h.

◆ PUT_FCCN

#define PUT_FCCN (   num,
  fp 
)
Value:
{ \
putc((num >> 0) & 0377, fp); \
putc((num >> 8) & 0377, fp); \
putc((num >> 16) & 0377, fp); \
putc((num >> 24) & 0377, fp); \
} \
(void)0

Definition at line 24 of file avi_intern.h.

◆ PUT_TCC

#define PUT_TCC (   ch2,
  fp 
)
Value:
{ \
putc(ch2[0], fp); \
putc(ch2[1], fp); \
} \
(void)0

Definition at line 33 of file avi_intern.h.

Function Documentation

◆ avi_format_convert()

void* avi_format_convert ( AviMovie movie,
int  stream,
void buffer,
AviFormat  from,
AviFormat  to,
size_t *  size 
)

◆ avi_get_data_id()

int avi_get_data_id ( AviFormat  format,
int  stream 
)

Definition at line 66 of file avi_codecs.c.

References avi_get_format_type(), and FCC.

Referenced by AVI_write_frame().

◆ avi_get_format_compression()

int avi_get_format_compression ( AviFormat  format)

Definition at line 110 of file avi_codecs.c.

References AVI_FORMAT_AVI_RGB, AVI_FORMAT_MJPEG, AVI_FORMAT_RGB24, AVI_FORMAT_RGB32, and FCC.

Referenced by AVI_open_compress().

◆ avi_get_format_fcc()

int avi_get_format_fcc ( AviFormat  format)

Definition at line 96 of file avi_codecs.c.

References AVI_FORMAT_AVI_RGB, AVI_FORMAT_MJPEG, AVI_FORMAT_RGB24, AVI_FORMAT_RGB32, and FCC.

Referenced by AVI_open_compress().

◆ avi_get_format_type()

int avi_get_format_type ( AviFormat  format)

◆ GET_FCC()

unsigned int GET_FCC ( FILE *  fp)

Definition at line 46 of file avi.c.

References FCC.

Referenced by AVI_is_avi(), AVI_open_movie(), and AVI_read_frame().

◆ GET_TCC()

unsigned int GET_TCC ( FILE *  fp)

Definition at line 58 of file avi.c.

References FCC.

Referenced by AVI_is_avi(), and AVI_open_movie().