comparison postprocess_internal.h @ 16:ac05bfe3da66 libpostproc

make postproc use avutil
author lu_zero
date Mon, 02 Oct 2006 10:49:27 +0000
parents 7ebcf3d8fce1
children da3bfee1fa67
comparison
equal deleted inserted replaced
15:ac99241b61c3 16:ac05bfe3da66
18 18
19 /** 19 /**
20 * @file postprocess_internal.h 20 * @file postprocess_internal.h
21 * internal api header. 21 * internal api header.
22 */ 22 */
23
24 #include "avutil.h"
23 25
24 #define V_DEBLOCK 0x01 26 #define V_DEBLOCK 0x01
25 #define H_DEBLOCK 0x02 27 #define H_DEBLOCK 0x02
26 #define DERING 0x04 28 #define DERING 0x04
27 #define LEVEL_FIX 0x08 ///< Brightness & Contrast 29 #define LEVEL_FIX 0x08 ///< Brightness & Contrast
122 * we need 64bit here otherwise we'll going to have a problem 124 * we need 64bit here otherwise we'll going to have a problem
123 * after watching a black picture for 5 hours 125 * after watching a black picture for 5 hours
124 */ 126 */
125 uint64_t *yHistogram; 127 uint64_t *yHistogram;
126 128
127 uint64_t __attribute__((aligned(8))) packedYOffset; 129 DECLARE_ALIGNED(8, uint64_t, packedYOffset);
128 uint64_t __attribute__((aligned(8))) packedYScale; 130 DECLARE_ALIGNED(8, uint64_t, packedYScale);
129 131
130 /** Temporal noise reducing buffers */ 132 /** Temporal noise reducing buffers */
131 uint8_t *tempBlured[3]; 133 uint8_t *tempBlured[3];
132 int32_t *tempBluredPast[3]; 134 int32_t *tempBluredPast[3];
133 135
135 uint8_t *tempDst; 137 uint8_t *tempDst;
136 uint8_t *tempSrc; 138 uint8_t *tempSrc;
137 139
138 uint8_t *deintTemp; 140 uint8_t *deintTemp;
139 141
140 uint64_t __attribute__((aligned(8))) pQPb; 142 DECLARE_ALIGNED(8, uint64_t, pQPb);
141 uint64_t __attribute__((aligned(8))) pQPb2; 143 DECLARE_ALIGNED(8, uint64_t, pQPb2);
142 144
143 uint64_t __attribute__((aligned(8))) mmxDcOffset[64]; 145 DECLARE_ALIGNED(8, uint64_t, mmxDcOffset[64]);
144 uint64_t __attribute__((aligned(8))) mmxDcThreshold[64]; 146 DECLARE_ALIGNED(8, uint64_t, mmxDcThreshold[64]);
145 147
146 QP_STORE_T *stdQPTable; ///< used to fix MPEG2 style qscale 148 QP_STORE_T *stdQPTable; ///< used to fix MPEG2 style qscale
147 QP_STORE_T *nonBQPTable; 149 QP_STORE_T *nonBQPTable;
148 QP_STORE_T *forcedQPTable; 150 QP_STORE_T *forcedQPTable;
149 151