Mercurial > libavcodec.hg
comparison mathops.h @ 11923:2013535ff4e5 libavcodec
Rename PACK4x8() to PACK4UINT8().
author | rbultje |
---|---|
date | Tue, 22 Jun 2010 20:57:00 +0000 |
parents | 2952baf6a266 |
children | 22da8afd75a5 |
comparison
equal
deleted
inserted
replaced
11922:8c657be75c11 | 11923:2013535ff4e5 |
---|---|
146 # define NEG_USR32(a,s) (((uint32_t)(a))>>(32-(s))) | 146 # define NEG_USR32(a,s) (((uint32_t)(a))>>(32-(s))) |
147 #endif | 147 #endif |
148 | 148 |
149 #ifndef PACK4x8 | 149 #ifndef PACK4x8 |
150 # if HAVE_BIGENDIAN | 150 # if HAVE_BIGENDIAN |
151 # define PACK4x8(a,b,c,d) (((a) << 24) | ((b) << 16) | ((c) << 8) | (d)) | 151 # define PACK4UINT8(a,b,c,d) (((a) << 24) | ((b) << 16) | ((c) << 8) | (d)) |
152 # else | 152 # else |
153 # define PACK4x8(a,b,c,d) (((d) << 24) | ((c) << 16) | ((b) << 8) | (a)) | 153 # define PACK4UINT8(a,b,c,d) (((d) << 24) | ((c) << 16) | ((b) << 8) | (a)) |
154 # endif | 154 # endif |
155 #endif | 155 #endif |
156 | 156 |
157 #endif /* AVCODEC_MATHOPS_H */ | 157 #endif /* AVCODEC_MATHOPS_H */ |
158 | 158 |