[FFmpeg-devel] [PATCH] Implement av_clipf in common.h

Vitor Sessak vitor1001
Sun Jul 13 21:23:52 CEST 2008


Hi,

The AMR decoder in soc SVN contains a av_clipf() function (like 
av_clip() for floats) that could be useful to ra288.c. I think it is 
reasonable to move this function to libavutil/common.h since it may be 
useful for other codecs.

Two patches attached:
av_clipf.diff: Add av_clipf() function to common.h and use it in ra288.c
amr_clip_rem.diff: Remove av_clipf() from the soc amr tree

-Vitor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: av_clipf.diff
Type: text/x-patch
Size: 1275 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080713/e6505795/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: amr_clip_rem.diff
Type: text/x-patch
Size: 449 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080713/e6505795/attachment-0001.bin>



More information about the ffmpeg-devel mailing list