From 8056eb8ad82f956ca257d44274b26760110bc567 Mon Sep 17 00:00:00 2001 From: b1indy Date: Mon, 17 Dec 2007 17:54:35 +0000 Subject: swscale back to the way it should be (works, but is too slow for video scaling) if we need to scale textures it might be worth a try git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@718 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Game/Code/lib/ffmpeg/swscale.pas | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Game') diff --git a/Game/Code/lib/ffmpeg/swscale.pas b/Game/Code/lib/ffmpeg/swscale.pas index 83aabb12..a1bbf04f 100644 --- a/Game/Code/lib/ffmpeg/swscale.pas +++ b/Game/Code/lib/ffmpeg/swscale.pas @@ -145,11 +145,11 @@ type procedure sws_freeContext(swsContext: PSwsContext); cdecl; external sw__scale; -function sws_getContext(srcW: integer; srcH: integer; srcFormat: TAVPixelFormat; dstW: integer; dstH: integer;dstFormat: TAVPixelFormat; flags: integer; +function sws_getContext(srcW: integer; srcH: integer; srcFormat: integer; dstW: integer; dstH: integer;dstFormat: integer; flags: integer; srcFilter: PSwsFilter; dstFilter: PSwsFilter; param: Pdouble): PSwsContext; cdecl; external sw__scale; -function sws_scale(context: PSwsContext; src: {PPByteArray}array of pbyte; srcStride: {PIntArray} array of integer; srcSliceY: integer; srcSliceH: integer; - dst: {PPByteArray} array of pbyte; dstStride: {PIntArray}array of integer): integer; +function sws_scale(context: PSwsContext; src: PPByteArray; srcStride: PIntArray; srcSliceY: integer; srcSliceH: integer; + dst: PPByteArray; dstStride: PIntArray): integer; cdecl; external sw__scale; function sws_scale_ordered(context: PSwsContext; src: PPByteArray; srcStride: PIntArray; srcSliceY: integer; srcSliceH: integer; dst: PPByteArray; dstStride: PIntArray): integer; -- cgit v1.2.3