aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ffmpeg-1.0
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2013-02-28 21:36:55 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2013-02-28 21:36:55 +0000
commit92d5d7b531a53bdb474087217eef27ec14a39762 (patch)
tree782ee9a62fde37ee081235316638767bdb12ab39 /src/lib/ffmpeg-1.0
parent179a9a1e30de622961152b34593d15ca66fee3ee (diff)
downloadusdx-92d5d7b531a53bdb474087217eef27ec14a39762.tar.gz
usdx-92d5d7b531a53bdb474087217eef27ec14a39762.tar.xz
usdx-92d5d7b531a53bdb474087217eef27ec14a39762.zip
update cpu.pas
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2960 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/lib/ffmpeg-1.0')
-rw-r--r--src/lib/ffmpeg-1.0/libavutil/log.pas33
1 files changed, 32 insertions, 1 deletions
diff --git a/src/lib/ffmpeg-1.0/libavutil/log.pas b/src/lib/ffmpeg-1.0/libavutil/log.pas
index e61f8f03..86434b12 100644
--- a/src/lib/ffmpeg-1.0/libavutil/log.pas
+++ b/src/lib/ffmpeg-1.0/libavutil/log.pas
@@ -19,7 +19,7 @@
* - Changes and updates by the UltraStar Deluxe Team
*
* Conversion of libavutil/log.h
- * avutil version 51.54.100
+ * avutil version 51.73.101
*
*)
@@ -29,6 +29,22 @@
*)
type
+ PAVClassCategory = TAVClassCategory;
+ TAVClassCategory = (
+ AV_CLASS_CATEGORY_NA = 0,
+ AV_CLASS_CATEGORY_INPUT,
+ AV_CLASS_CATEGORY_OUTPUT,
+ AV_CLASS_CATEGORY_MUXER,
+ AV_CLASS_CATEGORY_DEMUXER,
+ AV_CLASS_CATEGORY_ENCODER,
+ AV_CLASS_CATEGORY_DECODER,
+ AV_CLASS_CATEGORY_FILTER,
+ AV_CLASS_CATEGORY_BITSTREAM_FILTER,
+ AV_CLASS_CATEGORY_SWSCALER,
+ AV_CLASS_CATEGORY_SWRESAMPLER,
+ AV_CLASS_CATEGORY_NB ///< not part of ABI/API
+ );
+
(**
* Describe the class of an AVClass context structure. That is an
* arbitrary struct of which the first field is a pointer to an
@@ -91,6 +107,19 @@ type
*)
child_class_next: function (prev: {const} PAVClass): {const} PAVClass; cdecl;
+ (**
+ * Category used for visualization (like color)
+ * This is only set if the category is equal for all objects using this class.
+ * available since version (51 << 16 | 56 << 8 | 100)
+ *)
+ category: TAVClassCategory;
+
+ (**
+ * Callback to return the category.
+ * available since version (51 << 16 | 59 << 8 | 100)
+ *)
+ get_category: function (ctx: pointer): PAVClassCategory; cdecl;
+
end;
const
@@ -166,6 +195,8 @@ void av_log_default_callback(void* ptr, int level, const char* fmt, va_list vl);
function av_default_item_name (ctx: pointer): PAnsiChar;
cdecl; external av__util;
+function av_default_get_category(ptr: pointer): TAVClassCategory;
+ cdecl; external av__util;
(**
* Format a line of log the same way as the default callback.