Mercurial > libavcodec.hg
comparison cavsdsp.c @ 8793:d46cde168c69 libavcodec
avoid duplicating dsputil's clear_block
author | stefang |
---|---|
date | Tue, 10 Feb 2009 16:45:02 +0000 |
parents | 2b72f9bc4f06 |
children | bf309c7ce615 |
comparison
equal
deleted
inserted
replaced
8792:b149d445bf4c | 8793:d46cde168c69 |
---|---|
246 dst[i + 4*stride] = cm[ dst[i + 4*stride] + ((b3 - b7) >> 7)]; | 246 dst[i + 4*stride] = cm[ dst[i + 4*stride] + ((b3 - b7) >> 7)]; |
247 dst[i + 5*stride] = cm[ dst[i + 5*stride] + ((b2 - b6) >> 7)]; | 247 dst[i + 5*stride] = cm[ dst[i + 5*stride] + ((b2 - b6) >> 7)]; |
248 dst[i + 6*stride] = cm[ dst[i + 6*stride] + ((b1 - b5) >> 7)]; | 248 dst[i + 6*stride] = cm[ dst[i + 6*stride] + ((b1 - b5) >> 7)]; |
249 dst[i + 7*stride] = cm[ dst[i + 7*stride] + ((b0 - b4) >> 7)]; | 249 dst[i + 7*stride] = cm[ dst[i + 7*stride] + ((b0 - b4) >> 7)]; |
250 } | 250 } |
251 memset(block,0,64*sizeof(DCTELEM)); | |
252 } | 251 } |
253 | 252 |
254 /***************************************************************************** | 253 /***************************************************************************** |
255 * | 254 * |
256 * motion compensation | 255 * motion compensation |