mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
10l
Originally committed as revision 9699 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
This commit is contained in:
parent
fccb9b2b80
commit
5bf0135422
@ -2373,7 +2373,7 @@ SwsContext *sws_getContext(int srcW, int srcH, int origSrcFormat, int dstW, int
|
|||||||
*/
|
*/
|
||||||
int sws_scale_ordered(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
|
int sws_scale_ordered(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
|
||||||
int srcSliceH, uint8_t* dst[], int dstStride[]){
|
int srcSliceH, uint8_t* dst[], int dstStride[]){
|
||||||
c->swScale(c, src, srcStride, srcSliceY, srcSliceH, dst, dstStride);
|
return c->swScale(c, src, srcStride, srcSliceY, srcSliceH, dst, dstStride);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -2388,7 +2388,7 @@ int sws_scale(SwsContext *c, uint8_t* srcParam[], int srcStrideParam[], int srcS
|
|||||||
sws_orderYUV(c->origSrcFormat, src, srcStride, srcParam, srcStrideParam);
|
sws_orderYUV(c->origSrcFormat, src, srcStride, srcParam, srcStrideParam);
|
||||||
sws_orderYUV(c->origDstFormat, dst, dstStride, dstParam, dstStrideParam);
|
sws_orderYUV(c->origDstFormat, dst, dstStride, dstParam, dstStrideParam);
|
||||||
//printf("sws: slice %d %d\n", srcSliceY, srcSliceH);
|
//printf("sws: slice %d %d\n", srcSliceY, srcSliceH);
|
||||||
c->swScale(c, src, srcStride, srcSliceY, srcSliceH, dst, dstStride);
|
return c->swScale(c, src, srcStride, srcSliceY, srcSliceH, dst, dstStride);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user