aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-07-03 19:11:31 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-07-03 19:11:31 +0000
commit2aa9fda75f215ed02f674a90b4229b511e68a354 (patch)
tree72f074aff7c29b8896b91fcbe29ae2cca15f9739 /Game/Code
parent38cdf2cd93ee7ff0bf224a9577f995e354ffb147 (diff)
downloadusdx-2aa9fda75f215ed02f674a90b4229b511e68a354.tar.gz
usdx-2aa9fda75f215ed02f674a90b4229b511e68a354.tar.xz
usdx-2aa9fda75f215ed02f674a90b4229b511e68a354.zip
some additiona to the last 64bit compatibility commit
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1161 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/lib/ffmpeg/swscale.pas21
1 files changed, 11 insertions, 10 deletions
diff --git a/Game/Code/lib/ffmpeg/swscale.pas b/Game/Code/lib/ffmpeg/swscale.pas
index fce18f3f..4dcd62be 100644
--- a/Game/Code/lib/ffmpeg/swscale.pas
+++ b/Game/Code/lib/ffmpeg/swscale.pas
@@ -45,6 +45,7 @@ unit swscale;
interface
uses
+ ctypes,
avutil,
UConfig;
@@ -63,12 +64,12 @@ const
{$IFEND}
type
- TQuadIntArray = array[0..3] of cint;
- PQuadIntArray = ^TQuadIntArray;
+ TQuadCintArray = array[0..3] of cint;
+ PQuadCintArray = ^TQuadCintArray;
TCintArray = array[0..0] of cint;
PCintArray = ^TCintArray;
- TPUint8Array = array[0..0] of PCuint8;
- PPUint8Array = ^TPUint8Array;
+ TPCuint8Array = array[0..0] of PCuint8;
+ PPCuint8Array = ^TPCuint8Array;
const
{* values for the flags, the stuff on the command line is different *}
@@ -147,17 +148,17 @@ procedure sws_freeContext(swsContext: PSwsContext);
function sws_getContext(srcW: cint; srcH: cint; srcFormat: cint; dstW: cint; dstH: cint; dstFormat: cint; flags: cint;
srcFilter: PSwsFilter; dstFilter: PSwsFilter; param: PCdouble): PSwsContext;
cdecl; external sw__scale;
-function sws_scale(context: PSwsContext; src: PPUint8Array; srcStride: PCintArray; srcSliceY: cint; srcSliceH: cint;
- dst: PPUint8Array; dstStride: PCintArray): cint;
+function sws_scale(context: PSwsContext; src: PPCuint8Array; srcStride: PCintArray; srcSliceY: cint; srcSliceH: cint;
+ dst: PPCuint8Array; dstStride: PCintArray): cint;
cdecl; external sw__scale;
-function sws_scale_ordered(context: PSwsContext; src: PPByteArray; srcStride: PCintArray; srcSliceY: cint;
- srcSliceH: cint; dst: PPByteArray; dstStride: PCintArray): cint;
+function sws_scale_ordered(context: PSwsContext; src: PPCuint8Array; srcStride: PCintArray; srcSliceY: cint;
+ srcSliceH: cint; dst: PPCuint8Array; dstStride: PCintArray): cint;
cdecl; external sw__scale; deprecated;
-function sws_setColorspaceDetails(c: PSwsContext; inv_table: PQuadIntArray; srcRange: cint; table: PQuadIntArray; dstRange: cint;
+function sws_setColorspaceDetails(c: PSwsContext; inv_table: PQuadCintArray; srcRange: cint; table: PQuadCintArray; dstRange: cint;
brightness: cint; contrast: cint; saturation: cint): cint;
cdecl; external sw__scale;
-function sws_getColorspaceDetails(c: PSwsContext; var inv_table: PQuadIntArray; var srcRange: cint; var table: PQuadIntArray; var dstRange: cint;
+function sws_getColorspaceDetails(c: PSwsContext; var inv_table: PQuadCintArray; var srcRange: cint; var table: PQuadCintArray; var dstRange: cint;
var brightness: cint; var contrast: cint; var saturation: cint): cint;
cdecl; external sw__scale;
function sws_getGaussianVec(variance: cdouble; quality: cdouble): PSwsVector;