comparison dsputil.h @ 1319:449f6e32b425 libavcodec

added support for B-frames and multiple slices
author tmmm
date Thu, 19 Jun 2003 01:44:44 +0000
parents a979fab41ed8
children 7979b98470c8
comparison
equal deleted inserted replaced
1318:209abbb4c4f7 1319:449f6e32b425
160 */ 160 */
161 op_pixels_func put_pixels_tab[4][4]; 161 op_pixels_func put_pixels_tab[4][4];
162 162
163 /** 163 /**
164 * Halfpel motion compensation with rounding (a+b+1)>>1. 164 * Halfpel motion compensation with rounding (a+b+1)>>1.
165 * this is an array[2][4] of motion compensation funcions for 2 165 * This is an array[2][4] of motion compensation functions for 2
166 * horizontal blocksizes (8,16) and the 4 halfpel positions<br> 166 * horizontal blocksizes (2,4,8,16) and the 4 halfpel positions<br>
167 * *pixels_tab[ 0->16xH 1->8xH ][ xhalfpel + 2*yhalfpel ] 167 * *pixels_tab[ 0->16xH 1->8xH ][ xhalfpel + 2*yhalfpel ]
168 * @param block destination into which the result is averaged (a+b+1)>>1 168 * @param block destination into which the result is averaged (a+b+1)>>1
169 * @param pixels source 169 * @param pixels source
170 * @param line_size number of bytes in a horizontal line of block 170 * @param line_size number of bytes in a horizontal line of block
171 * @param h height 171 * @param h height
172 */ 172 */
173 op_pixels_func avg_pixels_tab[2][4]; 173 op_pixels_func avg_pixels_tab[4][4];
174 174
175 /** 175 /**
176 * Halfpel motion compensation with no rounding (a+b)>>1. 176 * Halfpel motion compensation with no rounding (a+b)>>1.
177 * this is an array[2][4] of motion compensation funcions for 2 177 * this is an array[2][4] of motion compensation funcions for 2
178 * horizontal blocksizes (8,16) and the 4 halfpel positions<br> 178 * horizontal blocksizes (8,16) and the 4 halfpel positions<br>
204 * @param pixels source 204 * @param pixels source
205 * @param line_size number of bytes in a horizontal line of block 205 * @param line_size number of bytes in a horizontal line of block
206 * @param h height 206 * @param h height
207 */ 207 */
208 tpel_mc_func put_tpel_pixels_tab[11]; //FIXME individual func ptr per width? 208 tpel_mc_func put_tpel_pixels_tab[11]; //FIXME individual func ptr per width?
209 209 tpel_mc_func avg_tpel_pixels_tab[11]; //FIXME individual func ptr per width?
210
210 qpel_mc_func put_qpel_pixels_tab[2][16]; 211 qpel_mc_func put_qpel_pixels_tab[2][16];
211 qpel_mc_func avg_qpel_pixels_tab[2][16]; 212 qpel_mc_func avg_qpel_pixels_tab[2][16];
212 qpel_mc_func put_no_rnd_qpel_pixels_tab[2][16]; 213 qpel_mc_func put_no_rnd_qpel_pixels_tab[2][16];
213 qpel_mc_func avg_no_rnd_qpel_pixels_tab[2][16]; 214 qpel_mc_func avg_no_rnd_qpel_pixels_tab[2][16];
214 qpel_mc_func put_mspel_pixels_tab[8]; 215 qpel_mc_func put_mspel_pixels_tab[8];