[FFmpeg-cvslog] r22632 - trunk/libavcodec/avcodec.h

mstorsjo subversion
Mon Mar 22 15:57:51 CET 2010


Author: mstorsjo
Date: Mon Mar 22 15:57:50 2010
New Revision: 22632

Log:
Add doxygen docs for av_xiphlacing

Patch by Josh Allmann (joshua allmann gmail com)

Modified:
   trunk/libavcodec/avcodec.h

Modified: trunk/libavcodec/avcodec.h
==============================================================================
--- trunk/libavcodec/avcodec.h	Mon Mar 22 15:44:28 2010	(r22631)
+++ trunk/libavcodec/avcodec.h	Mon Mar 22 15:57:50 2010	(r22632)
@@ -3784,6 +3784,13 @@ int av_picture_crop(AVPicture *dst, cons
 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);
 
 /**



More information about the ffmpeg-cvslog mailing list