Mercurial > libavcodec.hg
diff dsputil.h @ 3010:533c6386eca9 libavcodec
8x8 integer dct from x264 as cmp function (under CONFIG_GPL)
if this gives better quality then SATD then someone should port the x86 code too or maybe we could even just call it from libx264
the 4x4 one could be tried too ...
author | michael |
---|---|
date | Wed, 04 Jan 2006 16:31:23 +0000 |
parents | bfabfdf9ce55 |
children | c75fb0747e74 |
line wrap: on
line diff
--- a/dsputil.h Wed Jan 04 12:48:10 2006 +0000 +++ b/dsputil.h Wed Jan 04 16:31:23 2006 +0000 @@ -170,6 +170,7 @@ me_cmp_func w53[5]; me_cmp_func w97[5]; me_cmp_func dct_max[5]; + me_cmp_func dct264_sad[5]; me_cmp_func me_pre_cmp[5]; me_cmp_func me_cmp[5]; @@ -366,6 +367,7 @@ case FF_CMP_W97: return (2*lambda)>>(FF_LAMBDA_SHIFT); case FF_CMP_SATD: + case FF_CMP_DCT264: return (2*lambda)>>FF_LAMBDA_SHIFT; case FF_CMP_RD: case FF_CMP_PSNR: