[FFmpeg-soc] [soc]: r1320 - dirac/libavcodec/dirac.c
marco
subversion at mplayerhq.hu
Sun Sep 9 15:40:31 CEST 2007
Author: marco
Date: Sun Sep 9 15:40:31 2007
New Revision: 1320
Log:
do not use the DC reference when testing
Modified:
dirac/libavcodec/dirac.c
Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c (original)
+++ dirac/libavcodec/dirac.c Sun Sep 9 15:40:31 2007
@@ -3442,7 +3442,11 @@ static int dirac_encode_blockdata(DiracC
for (y = 0; y < s->blheight; y++) {
struct dirac_blockmotion *bl = &s->blmotion[y * s->blwidth + x];
+#if 0
bl->use_ref = (x + y) % 2;
+#else
+ bl->use_ref = 1;
+#endif
bl->vect[0][0] = (y % 18) - 9;
bl->vect[0][1] = (x % 18) - 9;
bl->vect[1][0] = (y % 7) - 5;
More information about the FFmpeg-soc
mailing list