Blender
V3.3
|
#include <stdlib.h>
#include <string.h>
#include "MEM_guardedalloc.h"
#include "AVI_avi.h"
#include "avi_rgb.h"
#include "IMB_imbuf.h"
#include "BLI_utildefines.h"
Go to the source code of this file.
Functions | |
void * | avi_converter_from_avi_rgb (AviMovie *movie, int stream, unsigned char *buffer, const size_t *size) |
void * | avi_converter_to_avi_rgb (AviMovie *movie, int stream, unsigned char *buffer, size_t *size) |
This is external code. Converts RGB-type AVI files.
Definition in file avi_rgb.c.
void* avi_converter_from_avi_rgb | ( | AviMovie * | movie, |
int | stream, | ||
unsigned char * | buffer, | ||
const size_t * | size | ||
) |
Definition at line 24 of file avi_rgb.c.
References _AviBitmapInfoHeader::BitCount, BLI_assert, buffer, _AviMovie::header, _AviMainHeader::Height, if(), imb_alloc_pixels(), MEM_freeN, _AviStreamRec::sf, size(), _AviMovie::streams, void, _AviMainHeader::Width, x, and y.
Referenced by avi_format_convert().
void* avi_converter_to_avi_rgb | ( | AviMovie * | movie, |
int | stream, | ||
unsigned char * | buffer, | ||
size_t * | size | ||
) |
Definition at line 113 of file avi_rgb.c.
References buffer, _AviMovie::header, _AviMainHeader::Height, MEM_freeN, MEM_mallocN, size(), void, _AviMainHeader::Width, x, and y.
Referenced by avi_format_convert().