Home | History | Annotate | Download | only in user_space
      1 /*
      2  * v4l-test: Test environment for Video For Linux Two API
      3  *
      4  * 12 Mar 2009  0.4  S16_MIN, S16_MAX, U16_MIN and U16_MAX added
      5  * 22 Feb 2009  0.3  S32_MIN and U32_MIN added
      6  *  1 Jan 2009  0.2  SINT_MAX and SINT_MIN added
      7  * 18 Dec 2008  0.1  First release
      8  *
      9  * Written by Mrton Nmeth <nm127 (at) freemail.hu>
     10  * Released under GPL
     11  */
     12 
     13 #include <limits.h>
     14 
     15 #define S32_MIN		((__s32)0x80000000)
     16 #define S32_MAX		0x7FFFFFFF
     17 
     18 #define U32_MIN		0
     19 #define U32_MAX		0xFFFFFFFFU
     20 
     21 #define S16_MIN		-32768
     22 #define S16_MAX		32767
     23 
     24 #define U16_MIN		0
     25 #define U16_MAX		0xFFFFU
     26 
     27 #define SINT_MIN        INT_MIN
     28 #define SINT_MAX        INT_MAX
     29