VirtualBox

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

最後變更 在這個檔案從8998是 5776,由 vboxsync 提交於 17 年 前

ffmpeg: exported to OSE

檔案大小: 964 位元組
 
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
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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