VirtualBox

source: vbox/trunk/src/libs/ffmpeg-20060710/libavcodec/swscale.h@ 10516

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

ffmpeg: exported to OSE

檔案大小: 1.2 KB
 
1#ifndef SWSCALE_EMU_H
2#define SWSCALE_EMU_H
3/* Dummy, only useful for compilation! */
4#define SWS_FAST_BILINEAR 1
5#define SWS_BILINEAR 2
6#define SWS_BICUBIC 4
7#define SWS_X 8
8#define SWS_POINT 0x10
9#define SWS_AREA 0x20
10#define SWS_BICUBLIN 0x40
11#define SWS_GAUSS 0x80
12#define SWS_SINC 0x100
13#define SWS_LANCZOS 0x200
14#define SWS_SPLINE 0x400
15
16#define SwsFilter void
17struct SwsContext {
18 struct ImgReSampleContext *resampling_ctx;
19 enum PixelFormat src_pix_fmt, dst_pix_fmt;
20};
21
22struct SwsContext *sws_getContext(int srcW, int srcH, int srcFormat,
23 int dstW, int dstH, int dstFormat,
24 int flags, SwsFilter *srcFilter,
25 SwsFilter *dstFilter, double *param);
26
27int sws_scale(struct SwsContext *ctx, uint8_t* src[], int srcStride[],
28 int srcSliceY, int srcSliceH, uint8_t* dst[], int dstStride[]);
29
30void sws_freeContext(struct SwsContext *swsContext);
31
32static inline void sws_global_init(void *(*alloc)(unsigned int size),
33 void (*free)(void *ptr),
34 void (*log)(void*, int level, const char *fmt, ...))
35{
36}
37
38#endif /* SWSCALE_EMU_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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