Mercurial > libavcodec.hg
changeset 11528:b0e1c40e9d07 libavcodec
Add doxygen docs for av_xiphlacing
Patch by Josh Allmann (joshua allmann gmail com)
author | mstorsjo |
---|---|
date | Mon, 22 Mar 2010 14:57:50 +0000 |
parents | 9bd282dec604 |
children | a3a0b6af702e |
files | avcodec.h |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/avcodec.h Mon Mar 22 14:26:17 2010 +0000 +++ b/avcodec.h Mon Mar 22 14:57:50 2010 +0000 @@ -3784,6 +3784,13 @@ 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); /**