diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2006-10-02 10:49:27 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2006-10-02 10:49:27 +0000 |
commit | 6ab6c7c3ccf68c5da673ac3739385e588e127258 (patch) | |
tree | b65bcb1bb8ff4b61ca5941537eedbe32fd14a897 /libpostproc/postprocess_internal.h | |
parent | 4bef236ba8cb1860352df227c0eb8b07b534248b (diff) | |
download | ffmpeg-6ab6c7c3ccf68c5da673ac3739385e588e127258.tar.gz |
make postproc use avutil
Originally committed as revision 6524 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libpostproc/postprocess_internal.h')
-rw-r--r-- | libpostproc/postprocess_internal.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/libpostproc/postprocess_internal.h b/libpostproc/postprocess_internal.h index b1b15c8a85..6a36fe133f 100644 --- a/libpostproc/postprocess_internal.h +++ b/libpostproc/postprocess_internal.h @@ -21,6 +21,8 @@ * internal api header. */ +#include "avutil.h" + #define V_DEBLOCK 0x01 #define H_DEBLOCK 0x02 #define DERING 0x04 @@ -124,8 +126,8 @@ typedef struct PPContext{ */ uint64_t *yHistogram; - uint64_t __attribute__((aligned(8))) packedYOffset; - uint64_t __attribute__((aligned(8))) packedYScale; + DECLARE_ALIGNED(8, uint64_t, packedYOffset); + DECLARE_ALIGNED(8, uint64_t, packedYScale); /** Temporal noise reducing buffers */ uint8_t *tempBlured[3]; @@ -137,11 +139,11 @@ typedef struct PPContext{ uint8_t *deintTemp; - uint64_t __attribute__((aligned(8))) pQPb; - uint64_t __attribute__((aligned(8))) pQPb2; + DECLARE_ALIGNED(8, uint64_t, pQPb); + DECLARE_ALIGNED(8, uint64_t, pQPb2); - uint64_t __attribute__((aligned(8))) mmxDcOffset[64]; - uint64_t __attribute__((aligned(8))) mmxDcThreshold[64]; + DECLARE_ALIGNED(8, uint64_t, mmxDcOffset[64]); + DECLARE_ALIGNED(8, uint64_t, mmxDcThreshold[64]); QP_STORE_T *stdQPTable; ///< used to fix MPEG2 style qscale QP_STORE_T *nonBQPTable; |