diff options
author | b1indy <b1indy@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-12-17 17:54:35 +0000 |
---|---|---|
committer | b1indy <b1indy@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-12-17 17:54:35 +0000 |
commit | 8056eb8ad82f956ca257d44274b26760110bc567 (patch) | |
tree | d8e651e3c2d124a49bdd72c966bf52e18fad4088 /Game/Code/lib/ffmpeg | |
parent | 96407b5adf8eb1b9ff5e3838a70158d7d3aa29fd (diff) | |
download | usdx-8056eb8ad82f956ca257d44274b26760110bc567.tar.gz usdx-8056eb8ad82f956ca257d44274b26760110bc567.tar.xz usdx-8056eb8ad82f956ca257d44274b26760110bc567.zip |
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
Diffstat (limited to 'Game/Code/lib/ffmpeg')
-rw-r--r-- | Game/Code/lib/ffmpeg/swscale.pas | 6 |
1 files changed, 3 insertions, 3 deletions
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;
|