mirror of https://git.ffmpeg.org/ffmpeg.git
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 <michaelni@gmx.at>
This commit is contained in:
parent
db6d0a5bd2
commit
58201c6e9e
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue