Home
last modified time | relevance | path

Searched refs:OPJ_FLOAT64 (Results 1 – 16 of 16) sorted by relevance

/external/pdfium/third_party/libopenjpeg20/
Dopj_clock.c42 OPJ_FLOAT64 opj_clock(void) in opj_clock()
52 return ((OPJ_FLOAT64) t.QuadPart / (OPJ_FLOAT64) freq.QuadPart) ; in opj_clock()
56 OPJ_FLOAT64 procTime; in opj_clock()
61 procTime = (OPJ_FLOAT64)(t.ru_utime.tv_sec + t.ru_stime.tv_sec); in opj_clock()
63 return (procTime + (OPJ_FLOAT64)(t.ru_utime.tv_usec + t.ru_stime.tv_usec) * in opj_clock()
Dmct.h79 OPJ_FLOAT64 opj_mct_getnorm(OPJ_UINT32 compno);
104 OPJ_FLOAT64 opj_mct_getnorm_real(OPJ_UINT32 compno);
143 void opj_calculate_norms(OPJ_FLOAT64 * pNorms,
149 const OPJ_FLOAT64 * opj_mct_get_mct_norms(void);
153 const OPJ_FLOAT64 * opj_mct_get_mct_norms_real(void);
Dcio.h215 void opj_write_double_LE(OPJ_BYTE * p_buffer, OPJ_FLOAT64 p_value);
222 void opj_write_double_BE(OPJ_BYTE * p_buffer, OPJ_FLOAT64 p_value);
229 void opj_read_double_LE(const OPJ_BYTE * p_buffer, OPJ_FLOAT64 * p_value);
236 void opj_read_double_BE(const OPJ_BYTE * p_buffer, OPJ_FLOAT64 * p_value);
Dcio.c96 void opj_write_double_BE(OPJ_BYTE * p_buffer, OPJ_FLOAT64 p_value) in opj_write_double_BE()
99 memcpy(p_buffer, l_data_ptr, sizeof(OPJ_FLOAT64)); in opj_write_double_BE()
102 void opj_write_double_LE(OPJ_BYTE * p_buffer, OPJ_FLOAT64 p_value) in opj_write_double_LE()
105 OPJ_FLOAT64) - 1; in opj_write_double_LE()
107 for (i = 0; i < sizeof(OPJ_FLOAT64); ++i) { in opj_write_double_LE()
112 void opj_read_double_BE(const OPJ_BYTE * p_buffer, OPJ_FLOAT64 * p_value) in opj_read_double_BE()
115 memcpy(l_data_ptr, p_buffer, sizeof(OPJ_FLOAT64)); in opj_read_double_BE()
118 void opj_read_double_LE(const OPJ_BYTE * p_buffer, OPJ_FLOAT64 * p_value) in opj_read_double_LE()
120 OPJ_BYTE * l_data_ptr = ((OPJ_BYTE *) p_value) + sizeof(OPJ_FLOAT64) - 1; in opj_read_double_LE()
122 for (i = 0; i < sizeof(OPJ_FLOAT64); ++i) { in opj_read_double_LE()
Dtcd.h59 OPJ_FLOAT64 distortiondec;
70 OPJ_FLOAT64 disto; /* add for index (Cfr. Marcela) */
234 OPJ_FLOAT64 distotile; /* add fixed_quality */
235 OPJ_FLOAT64 distolayer[100]; /* add fixed_quality */
343 OPJ_FLOAT64 thresh,
Dmct.c58 static const OPJ_FLOAT64 opj_mct_norms[3] = { 1.732, .8292, .8292 };
63 static const OPJ_FLOAT64 opj_mct_norms_real[3] = { 1.732, 1.805, 1.573 };
65 const OPJ_FLOAT64 * opj_mct_get_mct_norms() in opj_mct_get_mct_norms()
70 const OPJ_FLOAT64 * opj_mct_get_mct_norms_real() in opj_mct_get_mct_norms_real()
207 OPJ_FLOAT64 opj_mct_getnorm(OPJ_UINT32 compno) in opj_mct_getnorm()
449 OPJ_FLOAT64 opj_mct_getnorm_real(OPJ_UINT32 compno) in opj_mct_getnorm_real()
550 void opj_calculate_norms(OPJ_FLOAT64 * pNorms, in opj_calculate_norms()
556 OPJ_FLOAT64 * lNorms = (OPJ_FLOAT64 *) pNorms; in opj_calculate_norms()
Ddwt.h86 OPJ_FLOAT64 opj_dwt_getnorm(OPJ_UINT32 level, OPJ_UINT32 orient);
116 OPJ_FLOAT64 opj_dwt_getnorm_real(OPJ_UINT32 level, OPJ_UINT32 orient);
D0012-mct_sse.patch25 @@ -72,7 +75,7 @@ const OPJ_FLOAT64 * opj_mct_get_mct_norms_real()
43 @@ -209,7 +212,7 @@ OPJ_FLOAT64 opj_mct_getnorm(OPJ_UINT32 compno)
Dtcd.c238 OPJ_FLOAT64 thresh, in opj_tcd_makelayer()
282 OPJ_FLOAT64 dd; in opj_tcd_makelayer()
451 OPJ_FLOAT64 min, max; in opj_tcd_rateallocate()
452 OPJ_FLOAT64 cumdisto[100]; /* fixed_quality */ in opj_tcd_rateallocate()
453 const OPJ_FLOAT64 K = 1; /* 1.1; fixed_quality */ in opj_tcd_rateallocate()
454 OPJ_FLOAT64 maxSE = 0; in opj_tcd_rateallocate()
489 OPJ_FLOAT64 dd, rdslope; in opj_tcd_rateallocate()
521 maxSE += (((OPJ_FLOAT64)(1 << tcd->image->comps[compno].prec) - 1.0) in opj_tcd_rateallocate()
522 * ((OPJ_FLOAT64)(1 << tcd->image->comps[compno].prec) - 1.0)) in opj_tcd_rateallocate()
523 * ((OPJ_FLOAT64)(tilec->numpix)); in opj_tcd_rateallocate()
[all …]
Dopj_clock.h51 OPJ_FLOAT64 opj_clock(void);
Dt1.c168 static OPJ_FLOAT64 opj_t1_getwmsedec(
175 OPJ_FLOAT64 stepsize,
177 const OPJ_FLOAT64 * mct_norms,
186 OPJ_FLOAT64 stepsize,
190 const OPJ_FLOAT64 * mct_norms,
1407 static OPJ_FLOAT64 opj_t1_getwmsedec( in opj_t1_getwmsedec()
1414 OPJ_FLOAT64 stepsize, in opj_t1_getwmsedec()
1416 const OPJ_FLOAT64 * mct_norms, in opj_t1_getwmsedec()
1419 OPJ_FLOAT64 w1 = 1, w2, wmsedec; in opj_t1_getwmsedec()
2108 const OPJ_FLOAT64 * mct_norms, in opj_t1_encode_cblks()
[all …]
Dt1.h228 const OPJ_FLOAT64 * mct_norms,
Dj2k.h284 OPJ_FLOAT64 * mct_norms;
Ddwt.c228 static const OPJ_FLOAT64 opj_dwt_norms[4][10] = {
240 static const OPJ_FLOAT64 opj_dwt_norms_real[4][10] = {
1242 OPJ_FLOAT64 opj_dwt_getnorm(OPJ_UINT32 level, OPJ_UINT32 orient) in opj_dwt_getnorm()
1275 OPJ_FLOAT64 opj_dwt_getnorm_real(OPJ_UINT32 level, OPJ_UINT32 orient) in opj_dwt_getnorm_real()
1293 OPJ_FLOAT64 stepsize; in opj_dwt_calc_explicit_stepsizes()
1304 OPJ_FLOAT64 norm = opj_dwt_norms_real[orient][level]; in opj_dwt_calc_explicit_stepsizes()
Dopenjpeg.h116 typedef double OPJ_FLOAT64; typedef
Dj2k.c1459 OPJ_FLOAT64 l_temp; in opj_j2k_read_float64_to_float()
1464 l_src_data += sizeof(OPJ_FLOAT64); in opj_j2k_read_float64_to_float()
1527 OPJ_FLOAT64 l_temp; in opj_j2k_read_float64_to_int32()
1532 l_src_data += sizeof(OPJ_FLOAT64); in opj_j2k_read_float64_to_int32()
1595 OPJ_FLOAT64 l_temp; in opj_j2k_write_float_to_float64()
1598 l_temp = (OPJ_FLOAT64) * (l_src_data++); in opj_j2k_write_float_to_float64()
1602 l_dest_data += sizeof(OPJ_FLOAT64); in opj_j2k_write_float_to_float64()
7256 tcp->mct_norms = (OPJ_FLOAT64*) in opj_j2k_setup_encoder()
7257 opj_malloc(image->numcomps * sizeof(OPJ_FLOAT64)); in opj_j2k_setup_encoder()