mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-11 19:51:25 +08:00
move ABS() to common.h
print mb_types in nice looking format support Originally committed as revision 440 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -159,6 +159,7 @@ inline void dprintf(const char* fmt,...) {}
|
||||
|
||||
/* assume b>0 */
|
||||
#define ROUNDED_DIV(a,b) (((a)>0 ? (a) + ((b)>>1) : (a) - ((b)>>1))/(b))
|
||||
#define ABS(a) ((a) >= 0 ? (a) : (-(a)))
|
||||
|
||||
/* bit output */
|
||||
|
||||
|
Reference in New Issue
Block a user