1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
Originally committed as revision 2196 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
This commit is contained in:
Arpi 2001-10-14 17:11:17 +00:00
parent e939e1c35b
commit 9ae0a66da1
2 changed files with 4 additions and 2 deletions

View File

@ -1533,6 +1533,8 @@ static inline void doHorizDefFilterAndCopyBack(uint8_t dst[], int stride, int QP
int y;
for(y=0; y<BLOCK_SIZE; y++)
{
const int middleEnergy= 5*(src[4] - src[5]) + 2*(src[2] - src[5]);
dst[0] = src[0];
dst[1] = src[1];
dst[2] = src[2];
@ -1542,7 +1544,6 @@ static inline void doHorizDefFilterAndCopyBack(uint8_t dst[], int stride, int QP
dst[6] = src[6];
dst[7] = src[7];
const int middleEnergy= 5*(src[4] - src[5]) + 2*(src[2] - src[5]);
if(ABS(middleEnergy) < 8*QP)
{
const int q=(src[3] - src[4])/2;

View File

@ -1533,6 +1533,8 @@ static inline void doHorizDefFilterAndCopyBack(uint8_t dst[], int stride, int QP
int y;
for(y=0; y<BLOCK_SIZE; y++)
{
const int middleEnergy= 5*(src[4] - src[5]) + 2*(src[2] - src[5]);
dst[0] = src[0];
dst[1] = src[1];
dst[2] = src[2];
@ -1542,7 +1544,6 @@ static inline void doHorizDefFilterAndCopyBack(uint8_t dst[], int stride, int QP
dst[6] = src[6];
dst[7] = src[7];
const int middleEnergy= 5*(src[4] - src[5]) + 2*(src[2] - src[5]);
if(ABS(middleEnergy) < 8*QP)
{
const int q=(src[3] - src[4])/2;