VirtualBox

source: vbox/trunk/src/libs/ffmpeg-20060710/libavformat/framehook.h@ 7784

Last change on this file since 7784 was 5776, checked in by vboxsync, 17 years ago

ffmpeg: exported to OSE

File size: 964 bytes
Line 
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' */
11typedef int (FrameHookConfigure)(void **ctxp, int argc, char *argv[]);
12typedef FrameHookConfigure *FrameHookConfigureFn;
13extern FrameHookConfigure Configure;
14
15/* Function must be called 'Process' */
16typedef void (FrameHookProcess)(void *ctx, struct AVPicture *pict, enum PixelFormat pix_fmt, int width, int height, int64_t pts);
17typedef FrameHookProcess *FrameHookProcessFn;
18extern FrameHookProcess Process;
19
20/* Function must be called 'Release' */
21typedef void (FrameHookRelease)(void *ctx);
22typedef FrameHookRelease *FrameHookReleaseFn;
23extern FrameHookRelease Release;
24
25extern int frame_hook_add(int argc, char *argv[]);
26extern void frame_hook_process(struct AVPicture *pict, enum PixelFormat pix_fmt, int width, int height);
27extern void frame_hook_release(void);
28
29#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette