Lines Matching refs:border
29 static int test_dwt(int *array, int *ref, int border[2][2], int decomp_levels, int type, int max_di… in test_dwt()
34 ret = ff_jpeg2000_dwt_init(s, border, decomp_levels, type); in test_dwt()
52 … j, array[j], ref[j],decomp_levels, border[0][0], border[0][1], border[1][0], border[1][1]); in test_dwt()
62 decomp_levels, border[0][0], border[0][1], border[1][0], border[1][1], in test_dwt()
63 1000*err2 / ((border[0][1] - border[0][0])*(border[1][1] - border[1][0]))); in test_dwt()
68 static int test_dwtf(float *array, float *ref, int border[2][2], int decomp_levels, float max_diff)… in test_dwtf()
73 ret = ff_jpeg2000_dwt_init(s, border, decomp_levels, FF_DWT97); in test_dwtf()
91 … j, array[j], ref[j],decomp_levels, border[0][0], border[0][1], border[1][0], border[1][1]); in test_dwtf()
100 decomp_levels, border[0][0], border[0][1], border[1][0], border[1][1], in test_dwtf()
101 err2 / ((border[0][1] - border[0][0])*(border[1][1] - border[1][0]))); in test_dwtf()
114 int border[2][2]; in main() local
124 border[j>>1][j&1] = av_lfg_get(&prng) % MAX_W; in main()
125 if (border[0][0] >= border[0][1] || border[1][0] >= border[1][1]) in main()
129 ret = test_dwt(array, ref, border, decomp_levels, FF_DWT53, 0); in main()
132 …ret = test_dwt(array, ref, border, decomp_levels, FF_DWT97_INT, FFMIN(7+5*decomp_levels, 15+3*deco… in main()
135 ret = test_dwtf(arrayf, reff, border, decomp_levels, 0.05); in main()