[SCM] libav/experimental: Add doxygen docs for av_xiphlacing

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:05:00 UTC 2013


The following commit has been merged in the experimental branch:
commit d6461900c9d664c2f4c856846b3ec38701e39459
Author: Josh Allmann <joshua.allmann at gmail.com>
Date:   Mon Mar 22 14:57:50 2010 +0000

    Add doxygen docs for av_xiphlacing
    
    Patch by Josh Allmann (joshua allmann gmail com)
    
    Originally committed as revision 22632 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 43a0695..18048f4 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -3784,6 +3784,13 @@ int av_picture_crop(AVPicture *dst, const AVPicture *src,
 int av_picture_pad(AVPicture *dst, const AVPicture *src, int height, int width, enum PixelFormat pix_fmt,
             int padtop, int padbottom, int padleft, int padright, int *color);
 
+/**
+ * Encodes extradata length to a buffer. Used by xiph codecs.
+ *
+ * @param s buffer to write to; must be at least (v/255+1) bytes long
+ * @param v size of extradata in bytes
+ * @return number of bytes written to the buffer.
+ */
 unsigned int av_xiphlacing(unsigned char *s, unsigned int v);
 
 /**

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list