aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ffmpeg
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-07-20 22:27:36 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-07-20 22:27:36 +0000
commit854f885c0d41d0e8b2c87557ebcd35372f641763 (patch)
treecd32ab726cc4a1c6a7196502a2ad71829aa54219 /src/lib/ffmpeg
parent5b85b62d0a569dcd3be0c4976883ae1002f7d1b1 (diff)
downloadusdx-854f885c0d41d0e8b2c87557ebcd35372f641763.tar.gz
usdx-854f885c0d41d0e8b2c87557ebcd35372f641763.tar.xz
usdx-854f885c0d41d0e8b2c87557ebcd35372f641763.zip
update avcodec to 52.83.0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2598 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/lib/ffmpeg')
-rw-r--r--src/lib/ffmpeg/avcodec.pas37
1 files changed, 35 insertions, 2 deletions
diff --git a/src/lib/ffmpeg/avcodec.pas b/src/lib/ffmpeg/avcodec.pas
index 0996abfc..e7ef4e07 100644
--- a/src/lib/ffmpeg/avcodec.pas
+++ b/src/lib/ffmpeg/avcodec.pas
@@ -23,7 +23,7 @@
*
* Conversion of libavcodec/avcodec.h
* Min. version: 51.16.0, revision 6577, Sat Oct 7 15:30:46 2006 UTC
- * Max. version: 52.82.0, revision 24185, Tue May 29 23:00:00 2010 CET
+ * Max. version: 52.83.0, revision 24199, Tue May 29 23:00:00 2010 CET
*
*)
@@ -82,7 +82,7 @@ const
*)
(* Max. supported version by this header *)
LIBAVCODEC_MAX_VERSION_MAJOR = 52;
- LIBAVCODEC_MAX_VERSION_MINOR = 82;
+ LIBAVCODEC_MAX_VERSION_MINOR = 83;
LIBAVCODEC_MAX_VERSION_RELEASE = 0;
LIBAVCODEC_MAX_VERSION = (LIBAVCODEC_MAX_VERSION_MAJOR * VERSION_MAJOR) +
(LIBAVCODEC_MAX_VERSION_MINOR * VERSION_MINOR) +
@@ -713,6 +713,20 @@ type
);
{$IFEND}
+{$IF LIBAVCODEC_VERSION >= 52083000} // >= 52.83.0
+(**
+ * LPC analysis type
+ *)
+ TAVLPCType = (
+ AV_LPC_TYPE_DEFAULT = -1, ///< use the codec default LPC type
+ AV_LPC_TYPE_NONE = 0, ///< do not use LPC prediction or use all zero coefficients
+ AV_LPC_TYPE_FIXED = 1, ///< fixed LPC coefficients
+ AV_LPC_TYPE_LEVINSON = 2, ///< Levinson-Durbin recursion
+ AV_LPC_TYPE_CHOLESKY = 3, ///< Cholesky factorization
+ AV_LPC_TYPE_NB ///< Not part of ABI
+ );
+{$IFEND}
+
PRcOverride = ^TRcOverride;
TRcOverride = record {16}
start_frame: cint;
@@ -2754,12 +2768,15 @@ type
*)
compression_level: cint;
+ {$IF LIBAVCODEC_MAX_VERSION_MAJOR < 53}
(**
* Sets whether to use LPC mode - used by FLAC encoder.
* - encoding: Set by user.
* - decoding: unused
+ * @deprecated Deprecated in favor of lpc_type and lpc_passes.
*)
use_lpc: cint;
+ {$IFEND}
(**
* LPC coefficient precision - used by FLAC encoder
@@ -3045,6 +3062,22 @@ type
{$IF LIBAVCODEC_VERSION >= 52067002} // >= 52.67.2
log_level_offset: cint;
{$IFEND}
+
+ {$IF LIBAVCODEC_VERSION >= 52083000} // >= 52.83.0
+ (**
+ * Determines which LPC analysis algorithm to use.
+ * - encoding: Set by user
+ * - decoding: unused
+ *)
+ lpc_type: TAVLPCType;
+
+ (**
+ * Number of passes to use for Cholesky factorization during LPC analysis
+ * - encoding: Set by user
+ * - decoding: unused
+ *)
+ lpc_passes: cint;
+ {$IFEND}
end; {TAVCodecContext}
(**