blob: a48b4b6f863b2c6fa76cd749e905804cacf22e5a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef _FRAME_CALLBACK
#define _FRAME_CALLBACK
#include "../global.h"
#include "../RGBImage/RGBImage.h"
struct FrameContext {
u32 frame;
u32 startFrame;
u32 endFrame;
RGBImage frameBuffer;
};
typedef void (*FrameCallback_callback)(void* self, struct FrameContext* fc);
typedef struct FrameCallback {
FrameCallback_callback callback;
void* callback_self;
} FrameCallback;
#endif /* _FRAME_CALLBACK */
|