Mercurial > libavformat.hg
comparison framehook.h @ 0:05318cf2e886 libavformat
renamed libav to libavformat
author | bellard |
---|---|
date | Mon, 25 Nov 2002 19:07:40 +0000 |
parents | |
children | dcc03a32d1bb |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:05318cf2e886 |
---|---|
1 #ifndef _FRAMEHOOK_H | |
2 #define _FRAMEHOOK_H | |
3 | |
4 /* | |
5 * Prototypes for interface to .so that implement a video processing hook | |
6 */ | |
7 | |
8 #include "avcodec.h" | |
9 | |
10 /* Function must be called 'Configure' */ | |
11 typedef int (*FrameHookConfigureFn)(void **ctxp, int argc, char *argv[]); | |
12 | |
13 /* Function must be called 'Process' */ | |
14 typedef void (*FrameHookProcessFn)(void *ctx, struct AVPicture *pict, enum PixelFormat pix_fmt, int width, int height, INT64 pts); | |
15 | |
16 extern int frame_hook_add(int argc, char *argv[]); | |
17 extern void frame_hook_process(struct AVPicture *pict, enum PixelFormat pix_fmt, int width, int height); | |
18 | |
19 #endif |