ffmpeg | branch: master | Michael Niedermayer <michae...@gmx.at> | Sun May 10 02:26:28 2015 +0200| [58201c6e9eec306c7fe4cc0846fb8501f1157eac] | committer: Michael Niedermayer
avcodec/snowenc: correct fullpel search pattern No real difference in quality, its a bit slower for the same dia_size as more vectors are searched for the same dia_size Signed-off-by: Michael Niedermayer <michae...@gmx.at> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=58201c6e9eec306c7fe4cc0846fb8501f1157eac --- libavcodec/snowenc.c | 4 ++-- tests/ref/vsynth/vsynth1-snow | 8 ++++---- tests/ref/vsynth/vsynth1-snow-hpel | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/libavcodec/snowenc.c b/libavcodec/snowenc.c index a8f4106..1f04609 100644 --- a/libavcodec/snowenc.c +++ b/libavcodec/snowenc.c @@ -1119,8 +1119,8 @@ static void iterative_me(SnowContext *s){ for(j=0; j<i; j++){ dia_change |= check_block_inter(s, mb_x, mb_y, newx+4*(i-j), newy+(4*j), obmc_edged, &best_rd); dia_change |= check_block_inter(s, mb_x, mb_y, newx-4*(i-j), newy-(4*j), obmc_edged, &best_rd); - dia_change |= check_block_inter(s, mb_x, mb_y, newx+4*(i-j), newy-(4*j), obmc_edged, &best_rd); - dia_change |= check_block_inter(s, mb_x, mb_y, newx-4*(i-j), newy+(4*j), obmc_edged, &best_rd); + dia_change |= check_block_inter(s, mb_x, mb_y, newx-(4*j), newy+4*(i-j), obmc_edged, &best_rd); + dia_change |= check_block_inter(s, mb_x, mb_y, newx+(4*j), newy-4*(i-j), obmc_edged, &best_rd); } } }while(dia_change); diff --git a/tests/ref/vsynth/vsynth1-snow b/tests/ref/vsynth/vsynth1-snow index 24c4167..bd29a3b 100644 --- a/tests/ref/vsynth/vsynth1-snow +++ b/tests/ref/vsynth/vsynth1-snow @@ -1,4 +1,4 @@ -61915927233f94db766dd968e750d6a8 *tests/data/fate/vsynth1-snow.avi -136324 tests/data/fate/vsynth1-snow.avi -443a1fbdfea490453e790b7e99c0c8df *tests/data/fate/vsynth1-snow.out.rawvideo -stddev: 22.77 PSNR: 20.98 MAXDIFF: 172 bytes: 7603200/ 7603200 +09e7402e7a86a1b88c2470ce7b7c5479 *tests/data/fate/vsynth1-snow.avi +136222 tests/data/fate/vsynth1-snow.avi +1b666c20aab90bca35d45732ae6f539f *tests/data/fate/vsynth1-snow.out.rawvideo +stddev: 22.77 PSNR: 20.98 MAXDIFF: 173 bytes: 7603200/ 7603200 diff --git a/tests/ref/vsynth/vsynth1-snow-hpel b/tests/ref/vsynth/vsynth1-snow-hpel index 1c0691e..e12ca4e 100644 --- a/tests/ref/vsynth/vsynth1-snow-hpel +++ b/tests/ref/vsynth/vsynth1-snow-hpel @@ -1,4 +1,4 @@ -a49202654daa09408565be55b2a18010 *tests/data/fate/vsynth1-snow-hpel.avi -138684 tests/data/fate/vsynth1-snow-hpel.avi -00a7d96a4829e4babbe496bb0d1a1cdc *tests/data/fate/vsynth1-snow-hpel.out.rawvideo -stddev: 22.74 PSNR: 20.99 MAXDIFF: 171 bytes: 7603200/ 7603200 +a7fcc538cb09bd0d9096690ebc0e12c3 *tests/data/fate/vsynth1-snow-hpel.avi +138572 tests/data/fate/vsynth1-snow-hpel.avi +654064845979137a336aa27cb9605f69 *tests/data/fate/vsynth1-snow-hpel.out.rawvideo +stddev: 22.74 PSNR: 20.99 MAXDIFF: 175 bytes: 7603200/ 7603200 _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog