annotate postproc/swscale.h @ 3719:f5a1a8e268d5
Somewhere along the line, someone updated a field in an ASF structure
from 'unk1' to 'preroll'. There is a macro that is only needed on big
endian systems that didn't get updated to reflect that change.
author |
melanson |
date |
Mon, 24 Dec 2001 20:38:49 +0000 |
parents |
e87c59969d17 |
children |
9199d15cb4e0 |
rev |
line source |
3272
|
1
|
|
2 #define SWS_FAST_BILINEAR 0
|
|
3 #define SWS_BILINEAR 1
|
|
4 #define SWS_BICUBIC 2
|
2217
|
5
|
2519
|
6 // *** bilinear scaling and yuv->rgb & yuv->yuv conversion of yv12 slices:
|
2217
|
7 // *** Note: it's called multiple times while decoding a frame, first time y==0
|
|
8 // *** Designed to upscale, but may work for downscale too.
|
2519
|
9 // dstbpp == 12 -> yv12 output
|
3209
|
10 void SwScale_YV12slice(unsigned char* srcptr[],int stride[], int srcSliceY,
|
|
11 int srcSliceH, uint8_t* dstptr[], int dststride, int dstbpp,
|
|
12 int srcW, int srcH, int dstW, int dstH);
|
2217
|
13 // generating tables
|
3344
|
14 void SwScale_Init(); |