annotate postproc/swscale.h @ 3749:99de682ffb84

make users happy - this is xmas, isn't it?
author arpi
date Tue, 25 Dec 2001 22:00:15 +0000
parents e87c59969d17
children 9199d15cb4e0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3272
7e4399d1eb65 horizontal up/downscale linear & cubic
michael
parents: 3209
diff changeset
1
7e4399d1eb65 horizontal up/downscale linear & cubic
michael
parents: 3209
diff changeset
2 #define SWS_FAST_BILINEAR 0
7e4399d1eb65 horizontal up/downscale linear & cubic
michael
parents: 3209
diff changeset
3 #define SWS_BILINEAR 1
7e4399d1eb65 horizontal up/downscale linear & cubic
michael
parents: 3209
diff changeset
4 #define SWS_BICUBIC 2
2217
fd9311c3fa42 header for swscale.c
arpi
parents:
diff changeset
5
2519
6f3fa9bc3b27 yv12 to yv12 scaler
michael
parents: 2217
diff changeset
6 // *** bilinear scaling and yuv->rgb & yuv->yuv conversion of yv12 slices:
2217
fd9311c3fa42 header for swscale.c
arpi
parents:
diff changeset
7 // *** Note: it's called multiple times while decoding a frame, first time y==0
fd9311c3fa42 header for swscale.c
arpi
parents:
diff changeset
8 // *** Designed to upscale, but may work for downscale too.
2519
6f3fa9bc3b27 yv12 to yv12 scaler
michael
parents: 2217
diff changeset
9 // dstbpp == 12 -> yv12 output
3209
0b172eb639f1 swscaler cleanup
michael
parents: 2519
diff changeset
10 void SwScale_YV12slice(unsigned char* srcptr[],int stride[], int srcSliceY,
0b172eb639f1 swscaler cleanup
michael
parents: 2519
diff changeset
11 int srcSliceH, uint8_t* dstptr[], int dststride, int dstbpp,
0b172eb639f1 swscaler cleanup
michael
parents: 2519
diff changeset
12 int srcW, int srcH, int dstW, int dstH);
2217
fd9311c3fa42 header for swscale.c
arpi
parents:
diff changeset
13 // generating tables
3344
e87c59969d17 vertical cubic/linear scaling
michael
parents: 3272
diff changeset
14 void SwScale_Init();