summaryrefslogtreecommitdiff
path: root/src/radeon_video.h
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2008-08-25 08:26:16 -0400
committerAlex Deucher <alexdeucher@gmail.com>2008-08-25 08:26:16 -0400
commit01daef0f095fbbaee701d5fe97f3dd7838b5f915 (patch)
treea953ba17c5edb129f513e8a0f466c762e164f4dc /src/radeon_video.h
parent0a51d08c24af040fe48690662b1a912acad51700 (diff)
Additional cleanups and re-arragement following bicubic merge
Diffstat (limited to 'src/radeon_video.h')
-rw-r--r--src/radeon_video.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_video.h b/src/radeon_video.h
index abf8d983..b9d900dc 100644
--- a/src/radeon_video.h
+++ b/src/radeon_video.h
@@ -15,6 +15,8 @@
#include "bicubic_table.h"
+#define ClipValue(v,min,max) ((v) < (min) ? (min) : (v) > (max) ? (max) : (v))
+
/* Xvideo port struct */
typedef struct {
uint32_t transform_index;