From 92d5d7b531a53bdb474087217eef27ec14a39762 Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Thu, 28 Feb 2013 21:36:55 +0000 Subject: update cpu.pas git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2960 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/lib/ffmpeg-1.0/libavutil/log.pas | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) (limited to 'src/lib/ffmpeg-1.0/libavutil/log.pas') 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. -- cgit v1.2.3