comparison svq1.c @ 530:509146e1ff1d libavcodec

Applied patch of Felix Buenemann
author nickols_k
date Wed, 10 Jul 2002 17:39:16 +0000
parents 7f05b0eff4b9
children 6fac683d9997
comparison
equal deleted inserted replaced
529:f1f4d3d755f8 530:509146e1ff1d
39 typedef struct vlc_code_s { 39 typedef struct vlc_code_s {
40 int16_t value :10, 40 int16_t value :10,
41 length :6; 41 length :6;
42 } vlc_code_t; 42 } vlc_code_t;
43 43
44 #define MEDIAN(a,b,c) ((a < b != b >= c) ? b : ((a < c != c > b) ? c : a)) 44 #define MEDIAN(a,b,c) (((a < b) != (b >= c)) ? b : (((a < c) != (c > b)) ? c : a))
45 45
46 #define SVQ1_BLOCK_SKIP 0 46 #define SVQ1_BLOCK_SKIP 0
47 #define SVQ1_BLOCK_INTER 1 47 #define SVQ1_BLOCK_INTER 1
48 #define SVQ1_BLOCK_INTER_4V 2 48 #define SVQ1_BLOCK_INTER_4V 2
49 #define SVQ1_BLOCK_INTRA 3 49 #define SVQ1_BLOCK_INTRA 3