blender/extern/libredcode/format.h
Campbell Barton 2b7ca2304a unify include guard defines, __$FILENAME__
without the underscores these clogged up the namespace for autocompleation which was annoying.
2012-02-17 18:59:41 +00:00

25 lines
584 B
C

#ifndef __FORMAT_H__
#define __FORMAT_H__
struct redcode_handle;
struct redcode_frame {
unsigned int length;
unsigned int offset;
unsigned char * data;
};
struct redcode_handle * redcode_open(const char * fname);
void redcode_close(struct redcode_handle * handle);
long redcode_get_length(struct redcode_handle * handle);
struct redcode_frame * redcode_read_video_frame(
struct redcode_handle * handle, long frame);
struct redcode_frame * redcode_read_audio_frame(
struct redcode_handle * handle, long frame);
void redcode_free_frame(struct redcode_frame * frame);
#endif