Home
last modified time | relevance | path

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

/external/pdfium/third_party/libopenjpeg20/
Dopj_clock.c41 OPJ_FLOAT64 opj_clock(void) { in opj_clock()
50 return ( t.QuadPart /(OPJ_FLOAT64) freq.QuadPart ) ; in opj_clock()
54 OPJ_FLOAT64 procTime; in opj_clock()
59 procTime = (OPJ_FLOAT64)(t.ru_utime.tv_sec + t.ru_stime.tv_sec); in opj_clock()
61 return ( procTime + (OPJ_FLOAT64)(t.ru_utime.tv_usec + t.ru_stime.tv_usec) * 1e-6 ) ; in opj_clock()
Dmct.h77 OPJ_FLOAT64 opj_mct_getnorm(OPJ_UINT32 compno);
100 OPJ_FLOAT64 opj_mct_getnorm_real(OPJ_UINT32 compno);
139 void opj_calculate_norms( OPJ_FLOAT64 * pNorms,
145 const OPJ_FLOAT64 * opj_mct_get_mct_norms (void);
149 const OPJ_FLOAT64 * opj_mct_get_mct_norms_real (void);
Dtcd.h71 OPJ_FLOAT64 distortiondec;
82 OPJ_FLOAT64 disto; /* add for index (Cfr. Marcela) */
181 OPJ_FLOAT64 distotile; /* add fixed_quality */
182 OPJ_FLOAT64 distolayer[100]; /* add fixed_quality */
277 OPJ_FLOAT64 thresh,
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.c91 void opj_write_double_BE(OPJ_BYTE * p_buffer, OPJ_FLOAT64 p_value) in opj_write_double_BE()
94 memcpy(p_buffer,l_data_ptr,sizeof(OPJ_FLOAT64)); in opj_write_double_BE()
97 void opj_write_double_LE(OPJ_BYTE * p_buffer, OPJ_FLOAT64 p_value) in opj_write_double_LE()
99 const OPJ_BYTE * l_data_ptr = ((const OPJ_BYTE *) &p_value) + sizeof(OPJ_FLOAT64) - 1; in opj_write_double_LE()
101 for (i=0;i<sizeof(OPJ_FLOAT64);++i) { in opj_write_double_LE()
106 void opj_read_double_BE(const OPJ_BYTE * p_buffer, OPJ_FLOAT64 * p_value) in opj_read_double_BE()
109 memcpy(l_data_ptr,p_buffer,sizeof(OPJ_FLOAT64)); in opj_read_double_BE()
112 void opj_read_double_LE(const OPJ_BYTE * p_buffer, OPJ_FLOAT64 * p_value) in opj_read_double_LE()
114 OPJ_BYTE * l_data_ptr = ((OPJ_BYTE *) p_value) + sizeof(OPJ_FLOAT64)-1; in opj_read_double_LE()
116 for (i=0;i<sizeof(OPJ_FLOAT64);++i) { in opj_read_double_LE()
Ddwt.h83 OPJ_FLOAT64 opj_dwt_getnorm(OPJ_UINT32 level, OPJ_UINT32 orient);
110 OPJ_FLOAT64 opj_dwt_getnorm_real(OPJ_UINT32 level, OPJ_UINT32 orient);
Dmct.c55 static const OPJ_FLOAT64 opj_mct_norms[3] = { 1.732, .8292, .8292 };
60 static const OPJ_FLOAT64 opj_mct_norms_real[3] = { 1.732, 1.805, 1.573 };
62 const OPJ_FLOAT64 * opj_mct_get_mct_norms () in opj_mct_get_mct_norms()
67 const OPJ_FLOAT64 * opj_mct_get_mct_norms_real () in opj_mct_get_mct_norms_real()
200 OPJ_FLOAT64 opj_mct_getnorm(OPJ_UINT32 compno) { in opj_mct_getnorm()
434 OPJ_FLOAT64 opj_mct_getnorm_real(OPJ_UINT32 compno) { in opj_mct_getnorm_real()
533 void opj_calculate_norms( OPJ_FLOAT64 * pNorms, in opj_calculate_norms()
539 OPJ_FLOAT64 * lNorms = (OPJ_FLOAT64 *) pNorms; in opj_calculate_norms()
Dtcd.c220 OPJ_FLOAT64 thresh, in opj_tcd_makelayer()
255 OPJ_FLOAT64 dd; in opj_tcd_makelayer()
404 OPJ_FLOAT64 min, max; in opj_tcd_rateallocate()
405 OPJ_FLOAT64 cumdisto[100]; /* fixed_quality */ in opj_tcd_rateallocate()
406 const OPJ_FLOAT64 K = 1; /* 1.1; fixed_quality */ in opj_tcd_rateallocate()
407 OPJ_FLOAT64 maxSE = 0; in opj_tcd_rateallocate()
437 OPJ_FLOAT64 dd, rdslope; in opj_tcd_rateallocate()
469 maxSE += (((OPJ_FLOAT64)(1 << tcd->image->comps[compno].prec) - 1.0) in opj_tcd_rateallocate()
470 * ((OPJ_FLOAT64)(1 << tcd->image->comps[compno].prec) -1.0)) in opj_tcd_rateallocate()
471 * ((OPJ_FLOAT64)(tilec->numpix)); in opj_tcd_rateallocate()
[all …]
Dopj_clock.h51 OPJ_FLOAT64 opj_clock(void);
Dt1.c259 static OPJ_FLOAT64 opj_t1_getwmsedec(
266 OPJ_FLOAT64 stepsize,
268 const OPJ_FLOAT64 * mct_norms,
277 OPJ_FLOAT64 stepsize,
281 const OPJ_FLOAT64 * mct_norms,
1133 static OPJ_FLOAT64 opj_t1_getwmsedec( in opj_t1_getwmsedec()
1140 OPJ_FLOAT64 stepsize, in opj_t1_getwmsedec()
1142 const OPJ_FLOAT64 * mct_norms, in opj_t1_getwmsedec()
1145 OPJ_FLOAT64 w1 = 1, w2, wmsedec; in opj_t1_getwmsedec()
1458 const OPJ_FLOAT64 * mct_norms, in opj_t1_encode_cblks()
[all …]
Dt1.h134 const OPJ_FLOAT64 * mct_norms,
Ddwt.c175 static const OPJ_FLOAT64 opj_dwt_norms[4][10] = {
185 static const OPJ_FLOAT64 opj_dwt_norms_real[4][10] = {
500 OPJ_FLOAT64 opj_dwt_getnorm(OPJ_UINT32 level, OPJ_UINT32 orient) { in opj_dwt_getnorm()
523 OPJ_FLOAT64 opj_dwt_getnorm_real(OPJ_UINT32 level, OPJ_UINT32 orient) { in opj_dwt_getnorm_real()
531 OPJ_FLOAT64 stepsize; in opj_dwt_calc_explicit_stepsizes()
541 OPJ_FLOAT64 norm = opj_dwt_norms_real[orient][level]; in opj_dwt_calc_explicit_stepsizes()
Dj2k.h288 OPJ_FLOAT64 * mct_norms;
Dopenjpeg.h116 typedef double OPJ_FLOAT64; typedef
Dj2k.c1385 OPJ_FLOAT64 l_temp; in opj_j2k_read_float64_to_float()
1390 l_src_data+=sizeof(OPJ_FLOAT64); in opj_j2k_read_float64_to_float()
1449 OPJ_FLOAT64 l_temp; in opj_j2k_read_float64_to_int32()
1454 l_src_data+=sizeof(OPJ_FLOAT64); in opj_j2k_read_float64_to_int32()
1513 OPJ_FLOAT64 l_temp; in opj_j2k_write_float_to_float64()
1516 l_temp = (OPJ_FLOAT64) *(l_src_data++); in opj_j2k_write_float_to_float64()
1520 l_dest_data+=sizeof(OPJ_FLOAT64); in opj_j2k_write_float_to_float64()
6525 tcp->mct_norms = (OPJ_FLOAT64*) in opj_j2k_setup_encoder()
6526 opj_malloc(image->numcomps * sizeof(OPJ_FLOAT64)); in opj_j2k_setup_encoder()