clc ;
clear ;

max_offset_x = 9*4 ;
max_offset_y = 4*4 ;
% padding = 16 ;
% W = 256 ;
% H = 192 ;
% blocksize = 16 ;
% fname = 'Bal256x192_8views_t0.yuv' ;

padding = 32 ;
W = 512 ;
H = 384 ;
blocksize = 32 ;
fname = 'Bal512x384_8views_t0.yuv' ;

test_number = 2000 ;
for num1 = 0 : 6
    num2 = num1 + 1 ;

    test_number = test_number + 1 ;
    a = -1 ; b = 1 ; c = -1 ; d = 1 ;
    tic
    get_novel_view_noest(num1,num2,W,H,fname,test_number,padding,blocksize,max_offset_y,max_offset_x,a,b,c,d) ;
    toc
    
%     test_number = test_number + 1 ;
%     a = -2 ; b = 1 ; c = -2 ; d = 1 ;
%     tic
%     get_novel_view(num1,num2,W,H,fname,test_number,padding,blocksize,max_offset_y,max_offset_x,a,b,c,d) ;
%     toc
end

