comparison dsputil.h @ 1213:a71fe70b428b libavcodec

doc fixes (forgot to commit)
author michaelni
date Fri, 25 Apr 2003 00:21:53 +0000
parents e0fc95a6eb4e
children ca979193f8e1
comparison
equal deleted inserted replaced
1212:fbbc429a6fc2 1213:a71fe70b428b
18 */ 18 */
19 19
20 /** 20 /**
21 * @file dsputil.h 21 * @file dsputil.h
22 * DSP utils. 22 * DSP utils.
23 * note, many functions in here may use MMX which trashes the FPU state, it is
24 * absolutely necessary to call emms_c() between dsp & float/double code
23 */ 25 */
24 26
25 #ifndef DSPUTIL_H 27 #ifndef DSPUTIL_H
26 #define DSPUTIL_H 28 #define DSPUTIL_H
27 29
145 me_cmp_func mb_cmp[11]; 147 me_cmp_func mb_cmp[11];
146 148
147 /* maybe create an array for 16/8 functions */ 149 /* maybe create an array for 16/8 functions */
148 /** 150 /**
149 * Halfpel motion compensation with rounding (a+b+1)>>1. 151 * Halfpel motion compensation with rounding (a+b+1)>>1.
150 * *pixels_tab[ 0->16x16 1->8x8 ][ xhalfpel + 2*yhalfpel ] 152 * *pixels_tab[ 0->16xH 1->8xH ][ xhalfpel + 2*yhalfpel ]
151 * @param block destination where the result is stored 153 * @param block destination where the result is stored
152 * @param pixels source 154 * @param pixels source
153 * @param line_size number of bytes in a horizontal line of block 155 * @param line_size number of bytes in a horizontal line of block
154 * @param h height 156 * @param h height
155 */ 157 */
156 op_pixels_func put_pixels_tab[2][4]; 158 op_pixels_func put_pixels_tab[2][4];
157 159
158 /** 160 /**
159 * Halfpel motion compensation with rounding (a+b+1)>>1. 161 * Halfpel motion compensation with rounding (a+b+1)>>1.
160 * *pixels_tab[ 0->16x16 1->8x8 ][ xhalfpel + 2*yhalfpel ] 162 * *pixels_tab[ 0->16xH 1->8xH ][ xhalfpel + 2*yhalfpel ]
161 * @param block destination into which the result is averaged (a+b+1)>>1 163 * @param block destination into which the result is averaged (a+b+1)>>1
162 * @param pixels source 164 * @param pixels source
163 * @param line_size number of bytes in a horizontal line of block 165 * @param line_size number of bytes in a horizontal line of block
164 * @param h height 166 * @param h height
165 */ 167 */
166 op_pixels_func avg_pixels_tab[2][4]; 168 op_pixels_func avg_pixels_tab[2][4];
167 169
168 /** 170 /**
169 * Halfpel motion compensation with no rounding (a+b)>>1. 171 * Halfpel motion compensation with no rounding (a+b)>>1.
170 * *pixels_tab[ 0->16x16 1->8x8 ][ xhalfpel + 2*yhalfpel ] 172 * *pixels_tab[ 0->16xH 1->8xH ][ xhalfpel + 2*yhalfpel ]
171 * @param block destination where the result is stored 173 * @param block destination where the result is stored
172 * @param pixels source 174 * @param pixels source
173 * @param line_size number of bytes in a horizontal line of block 175 * @param line_size number of bytes in a horizontal line of block
174 * @param h height 176 * @param h height
175 */ 177 */
176 op_pixels_func put_no_rnd_pixels_tab[2][4]; 178 op_pixels_func put_no_rnd_pixels_tab[2][4];
177 179
178 /** 180 /**
179 * Halfpel motion compensation with no rounding (a+b)>>1. 181 * Halfpel motion compensation with no rounding (a+b)>>1.
180 * *pixels_tab[ 0->16x16 1->8x8 ][ xhalfpel + 2*yhalfpel ] 182 * *pixels_tab[ 0->16xH 1->8xH ][ xhalfpel + 2*yhalfpel ]
181 * @param block destination into which the result is averaged (a+b)>>1 183 * @param block destination into which the result is averaged (a+b)>>1
182 * @param pixels source 184 * @param pixels source
183 * @param line_size number of bytes in a horizontal line of block 185 * @param line_size number of bytes in a horizontal line of block
184 * @param h height 186 * @param h height
185 */ 187 */