comparison h264.c @ 9985:266bf83f634d libavcodec

Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
author mru
date Sun, 26 Jul 2009 12:20:04 +0000
parents 14edbbff0f25
children 9a670cfd1941
comparison
equal deleted inserted replaced
9984:32dfddd8992a 9985:266bf83f634d
80 static void filter_mb( H264Context *h, int mb_x, int mb_y, uint8_t *img_y, uint8_t *img_cb, uint8_t *img_cr, unsigned int linesize, unsigned int uvlinesize); 80 static void filter_mb( H264Context *h, int mb_x, int mb_y, uint8_t *img_y, uint8_t *img_cb, uint8_t *img_cr, unsigned int linesize, unsigned int uvlinesize);
81 static void filter_mb_fast( H264Context *h, int mb_x, int mb_y, uint8_t *img_y, uint8_t *img_cb, uint8_t *img_cr, unsigned int linesize, unsigned int uvlinesize); 81 static void filter_mb_fast( H264Context *h, int mb_x, int mb_y, uint8_t *img_y, uint8_t *img_cb, uint8_t *img_cr, unsigned int linesize, unsigned int uvlinesize);
82 static Picture * remove_long(H264Context *h, int i, int ref_mask); 82 static Picture * remove_long(H264Context *h, int i, int ref_mask);
83 83
84 static av_always_inline uint32_t pack16to32(int a, int b){ 84 static av_always_inline uint32_t pack16to32(int a, int b){
85 #ifdef WORDS_BIGENDIAN 85 #if HAVE_BIGENDIAN
86 return (b&0xFFFF) + (a<<16); 86 return (b&0xFFFF) + (a<<16);
87 #else 87 #else
88 return (a&0xFFFF) + (b<<16); 88 return (a&0xFFFF) + (b<<16);
89 #endif 89 #endif
90 } 90 }