Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
https://bitbucket.org/Coin3D/
http://www.kongsberg.com/kogt/
avi_encode.c File Reference
#include <config.h>
#include "avi_encode.h"
#include <windows.h>
#include <vfw.h>
#include <stdio.h>

Data Structures

struct  avi_encode_context
 

Functions

static void avi_init_context (avi_encode_context *context)
 
static void avi_cleanup_context (avi_encode_context *context)
 
void * avi_begin_encode (const char *filename, int width, int height, int fps, const char *preferences_filename)
 
int avi_encode_bitmap (void *handle, unsigned char *buf, int rgb2bgr)
 
int avi_end_encode (void *handle)
 

Function Documentation

◆ avi_init_context()

static void avi_init_context ( avi_encode_context context)
static

◆ avi_cleanup_context()

static void avi_cleanup_context ( avi_encode_context context)
static

◆ avi_begin_encode()

void* avi_begin_encode ( const char *  filename,
int  width,
int  height,
int  fps,
const char *  preferences_filename 
)

◆ avi_encode_bitmap()

int avi_encode_bitmap ( void *  handle,
unsigned char *  buf,
int  rgb2bgr 
)

◆ avi_end_encode()

int avi_end_encode ( void *  handle)