Lines Matching refs:dn
55 OPJ_INT32 dn; member
66 OPJ_INT32 dn ; member
92 static void opj_dwt_deinterleave_h(OPJ_INT32 *a, OPJ_INT32 *b, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT3…
96 static void opj_dwt_deinterleave_v(OPJ_INT32 *a, OPJ_INT32 *b, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT3…
108 static void opj_dwt_encode_1(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT3…
113 static void opj_dwt_decode_1_(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT…
117 static void opj_dwt_encode_1_real(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, OPJ_INT32 sn, OPJ…
160 #define UNDERFLOW_DN(i) ((i) >= dn&&dn>0)
167 #define OPJ_D_(i) ((i)<0 ? OPJ_D(0) : (UNDERFLOW_DN(i) ? OPJ_D(dn - 1) : OVERFLOW_D(i) ? OPJ_D(i - …
169 #define OPJ_SS_(i) ((i)<0 ? OPJ_S(0) : (UNDERFLOW_DN(i) ? OPJ_S(dn - 1) : OVERFLOW_S(i) ? OPJ_S(i -…
201 static void opj_dwt_deinterleave_h(OPJ_INT32 *a, OPJ_INT32 *b, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT3… in opj_dwt_deinterleave_h() argument
214 for (i=0; i<dn; ++i) { in opj_dwt_deinterleave_h()
223 static void opj_dwt_deinterleave_v(OPJ_INT32 *a, OPJ_INT32 *b, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT3… in opj_dwt_deinterleave_v() argument
237 i = dn; in opj_dwt_deinterleave_v()
258 i = h->dn ; in opj_dwt_interleave_h()
279 i = v->dn ; in opj_dwt_interleave_v()
291 static void opj_dwt_encode_1(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT3… in opj_dwt_encode_1() argument
295 if ((dn > 0) || (sn > 1)) { /* NEW : CASE ONE ELEMENT */ in opj_dwt_encode_1()
296 for (i = 0; i < dn; i++) OPJ_D(i) -= (OPJ_S_(i) + OPJ_S_(i + 1)) >> 1; in opj_dwt_encode_1()
300 if (!sn && dn == 1) /* NEW : CASE ONE ELEMENT */ in opj_dwt_encode_1()
303 for (i = 0; i < dn; i++) OPJ_S(i) -= (OPJ_DD_(i) + OPJ_DD_(i - 1)) >> 1; in opj_dwt_encode_1()
312 static void opj_dwt_decode_1_(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT… in opj_dwt_decode_1_() argument
316 if ((dn > 0) || (sn > 1)) { /* NEW : CASE ONE ELEMENT */ in opj_dwt_decode_1_()
318 for (i = 0; i < dn; i++) OPJ_D(i) += (OPJ_S_(i) + OPJ_S_(i + 1)) >> 1; in opj_dwt_decode_1_()
321 if (!sn && dn == 1) /* NEW : CASE ONE ELEMENT */ in opj_dwt_decode_1_()
325 for (i = 0; i < dn; i++) OPJ_S(i) += (OPJ_DD_(i) + OPJ_DD_(i - 1)) >> 1; in opj_dwt_decode_1_()
334 opj_dwt_decode_1_(v->mem, v->mem_count, v->dn, v->sn, v->cas); in opj_dwt_decode_1()
340 static void opj_dwt_encode_1_real(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, OPJ_INT32 sn, OPJ… in opj_dwt_encode_1_real() argument
343 if ((dn > 0) || (sn > 1)) { /* NEW : CASE ONE ELEMENT */ in opj_dwt_encode_1_real()
344 for (i = 0; i < dn; i++) in opj_dwt_encode_1_real()
348 for (i = 0; i < dn; i++) in opj_dwt_encode_1_real()
352 for (i = 0; i < dn; i++) in opj_dwt_encode_1_real()
358 if ((sn > 0) || (dn > 1)) { /* NEW : CASE ONE ELEMENT */ in opj_dwt_encode_1_real()
359 for (i = 0; i < dn; i++) in opj_dwt_encode_1_real()
363 for (i = 0; i < dn; i++) in opj_dwt_encode_1_real()
367 for (i = 0; i < dn; i++) in opj_dwt_encode_1_real()
429 OPJ_INT32 dn, sn; in opj_dwt_encode_procedure() local
440 dn = rh - rh1; in opj_dwt_encode_procedure()
447 (*p_function) (bj, l_data_count, dn, sn, cas_col); in opj_dwt_encode_procedure()
449 opj_dwt_deinterleave_v(bj, aj, dn, sn, w, cas_col); in opj_dwt_encode_procedure()
453 dn = rw - rw1; in opj_dwt_encode_procedure()
458 (*p_function) (bj, l_data_count, dn, sn, cas_row); in opj_dwt_encode_procedure()
459 opj_dwt_deinterleave_h(bj, aj, dn, sn, cas_row); in opj_dwt_encode_procedure()
599 h.dn = (OPJ_INT32)(rw - (OPJ_UINT32)h.sn); in opj_dwt_decode_tile()
608 v.dn = (OPJ_INT32)(rh - (OPJ_UINT32)v.sn); in opj_dwt_decode_tile()
663 count = w->dn; in opj_v4dwt_interleave_h()
678 for(i = 0; i < v->dn; ++i){ in opj_v4dwt_interleave_v()
808 if(!((dwt->dn > 0) || (dwt->sn > 1))){ in opj_v4dwt_decode()
814 if(!((dwt->sn > 0) || (dwt->dn > 1))) { in opj_v4dwt_decode()
822 opj_v4dwt_decode_step1_sse(dwt->wavelet+b, dwt->dn, _mm_set1_ps(opj_c13318)); in opj_v4dwt_decode()
823 …opj_v4dwt_decode_step2_sse(dwt->wavelet+b, dwt->wavelet+a+1, dwt->sn, opj_int_min(dwt->sn, dwt->dn… in opj_v4dwt_decode()
824 …opj_v4dwt_decode_step2_sse(dwt->wavelet+a, dwt->wavelet+b+1, dwt->dn, opj_int_min(dwt->dn, dwt->sn… in opj_v4dwt_decode()
825 …opj_v4dwt_decode_step2_sse(dwt->wavelet+b, dwt->wavelet+a+1, dwt->sn, opj_int_min(dwt->sn, dwt->dn… in opj_v4dwt_decode()
826 …opj_v4dwt_decode_step2_sse(dwt->wavelet+a, dwt->wavelet+b+1, dwt->dn, opj_int_min(dwt->dn, dwt->sn… in opj_v4dwt_decode()
829 opj_v4dwt_decode_step1(dwt->wavelet+b, dwt->dn, opj_c13318); in opj_v4dwt_decode()
830 …opj_v4dwt_decode_step2(dwt->wavelet+b, dwt->wavelet+a+1, dwt->sn, opj_int_min(dwt->sn, dwt->dn-a),… in opj_v4dwt_decode()
831 …opj_v4dwt_decode_step2(dwt->wavelet+a, dwt->wavelet+b+1, dwt->dn, opj_int_min(dwt->dn, dwt->sn-b),… in opj_v4dwt_decode()
832 …opj_v4dwt_decode_step2(dwt->wavelet+b, dwt->wavelet+a+1, dwt->sn, opj_int_min(dwt->sn, dwt->dn-a),… in opj_v4dwt_decode()
833 …opj_v4dwt_decode_step2(dwt->wavelet+a, dwt->wavelet+b+1, dwt->dn, opj_int_min(dwt->dn, dwt->sn-b),… in opj_v4dwt_decode()
873 h.dn = (OPJ_INT32)(rw - (OPJ_UINT32)h.sn); in opj_dwt_decode_real()
906 v.dn = (OPJ_INT32)(rh - (OPJ_UINT32)v.sn); in opj_dwt_decode_real()