From 46d9c88dcf104d96bb20504a88954ff6f2e6db59 Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Sun, 18 Mar 2012 22:56:43 +0000 Subject: start of update for ffmpeg7 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2839 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/lib/ffmpeg/swscale.pas | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/lib/ffmpeg/swscale.pas') diff --git a/src/lib/ffmpeg/swscale.pas b/src/lib/ffmpeg/swscale.pas index 7289e902..6fab095d 100644 --- a/src/lib/ffmpeg/swscale.pas +++ b/src/lib/ffmpeg/swscale.pas @@ -91,15 +91,12 @@ type TPCuint8Array = array[0..0] of PCuint8; PPCuint8Array = ^TPCuint8Array; -{$IF LIBSWSCALE_VERSION >= 000006001} // 0.6.1 (** * Returns the LIBSWSCALE_VERSION_INT constant. *) function swscale_version(): cuint; cdecl; external sw__scale; -{$IFEND} -{$IF LIBSWSCALE_VERSION >= 000007002} // 0.7.2 (** * Returns the libswscale build-time configuration. *) @@ -111,7 +108,6 @@ function swscale_configuration(): PAnsiChar; *) function swscale_license(): PAnsiChar; cdecl; external sw__scale; -{$IFEND} const (* values for the flags, the stuff on the command line is different *) @@ -159,7 +155,6 @@ const SWS_CS_SMPTE240M = 7; SWS_CS_DEFAULT = 5; -{$IF LIBSWSCALE_VERSION >= 000010000} // 0.10.0 (** * Returns a pointer to yuv<->rgb coefficients for the given colorspace * suitable for sws_setColorspaceDetails(). @@ -169,7 +164,6 @@ const *) function sws_getCoefficients(colorspace: cint): Pcint; cdecl; external sw__scale; -{$IFEND} type @@ -195,7 +189,6 @@ type {internal structure} end; -{$IF LIBSWSCALE_VERSION >= 000008000} // 0.8.0 (** * Returns a positive value if pix_fmt is a supported input format, 0 * otherwise. @@ -209,7 +202,6 @@ function sws_isSupportedInput(pix_fmt: TAVPixelFormat): cint; *) function sws_isSupportedOutput(pix_fmt: TAVPixelFormat): cint; cdecl; external sw__scale; -{$IFEND} (** * Frees the swscaler context swsContext. @@ -267,13 +259,11 @@ function sws_scale(context: PSwsContext; {const} srcSlice: PPCuint8Array; {const srcSliceY: cint; srcSliceH: cint; {const} dst: PPCuint8Array; {const} dstStride: PCintArray): cint; cdecl; external sw__scale; -{$IF LIBSWSCALE_VERSION_MAJOR < 1} // deprecated. Use sws_scale() instead. function sws_scale_ordered(context: PSwsContext; {const} src: PPCuint8Array; srcStride: PCintArray; srcSliceY: cint; srcSliceH: cint; dst: PPCuint8Array; dstStride: PCintArray): cint; cdecl; external sw__scale; deprecated; -{$IFEND} (** * @param inv_table the yuv2rgb coefficients, normally ff_yuv2rgb_coeffs[x] @@ -345,14 +335,10 @@ procedure sws_shiftVec(a: PSwsVector; shift: cint); function sws_cloneVec(a: PSwsVector): PSwsVector; cdecl; external sw__scale; -{$IF LIBSWSCALE_VERSION_MAJOR < 1} // deprecated Use sws_printVec2() instead. - procedure sws_printVec(a: PSwsVector); cdecl; external sw__scale; deprecated; -{$IFEND} -{$IF LIBSWSCALE_VERSION >= 000007000} // >= 0.7.0 (** * Prints with av_log() a textual representation of the vector a * if log_level <= av_log_level. @@ -361,7 +347,6 @@ procedure sws_printVec2(a: PSwsVector; log_ctx: PAVClass; // PAVClass is declared in avcodec.pas log_level: cint); cdecl; external sw__scale; -{$IFEND} procedure sws_freeVec(a: PSwsVector); cdecl; external sw__scale; @@ -395,7 +380,6 @@ function sws_getCachedContext(context: PSwsContext; dstFilter: PSwsFilter; param: PCdouble): PSwsContext; cdecl; external sw__scale; -{$IF LIBSWSCALE_VERSION >= 000011000} // >= 0.11.0 (** * Converts an 8bit paletted frame into a frame with a color depth of 32-bits. * @@ -427,7 +411,6 @@ procedure sws_convertPalette8ToPacked24({const} src: PPCuint8Array; num_pixels: clong; {const} palette: PPCuint8Array); cdecl; external sw__scale; -{$IFEND} implementation -- cgit v1.2.3