Statistics
| Branch: | Revision:

ffmpeg / libav / framehook.h @ 3b2cbbed

History | View | Annotate | Download (601 Bytes)

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