1 May 2006 02:27
CVS: ffmpeg/libavutil common.h,1.164,1.165
Aurelien Jacobs CVS <aurel <at> mplayerhq.hu>
2006-05-01 00:27:26 GMT
2006-05-01 00:27:26 GMT
Update of /cvsroot/ffmpeg/ffmpeg/libavutil
In directory mail:/var2/tmp/cvs-serv11761/libavutil
Modified Files:
common.h
Log Message:
document clip functions
Index: common.h
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavutil/common.h,v
retrieving revision 1.164
retrieving revision 1.165
diff -u -d -r1.164 -r1.165
--- common.h 30 Apr 2006 17:49:11 -0000 1.164
+++ common.h 1 May 2006 00:27:24 -0000 1.165
<at> <at> -427,6 +427,13 <at> <at>
#endif
}
+/**
+ * clip a signed integer value into the amin-amax range
+ * <at> param a value to clip
+ * <at> param amin minimum value of the clip range
+ * <at> param amax maximum value of the clip range
+ * <at> return cliped value
+ */
static inline int clip(int a, int amin, int amax)
{
if (a < amin)
(Continue reading)
RSS Feed