Home
last modified time | relevance | path

Searched refs:OPJ_FLOAT32 (Results 1 – 14 of 14) sorted by relevance

/external/pdfium/third_party/libopenjpeg20/
Dinvert.c37 static OPJ_BOOL opj_lupDecompose(OPJ_FLOAT32 * matrix,
39 OPJ_FLOAT32 * p_swap_area,
44 static void opj_lupSolve(OPJ_FLOAT32 * pResult,
45 OPJ_FLOAT32* pMatrix,
46 OPJ_FLOAT32* pVector,
49 OPJ_FLOAT32 * p_intermediate_data);
54 static void opj_lupInvert ( OPJ_FLOAT32 * pSrcMatrix,
55 OPJ_FLOAT32 * pDestMatrix,
58 OPJ_FLOAT32 * p_src_temp,
59 OPJ_FLOAT32 * p_dest_temp,
[all …]
Ddwt.c61 OPJ_FLOAT32 f[4];
71 static const OPJ_FLOAT32 opj_dwt_alpha = 1.586134342f; /* 12994 */
72 static const OPJ_FLOAT32 opj_dwt_beta = 0.052980118f; /* 434 */
73 static const OPJ_FLOAT32 opj_dwt_gamma = -0.882911075f; /* -7233 */
74 static const OPJ_FLOAT32 opj_dwt_delta = -0.443506852f; /* -3633 */
76 static const OPJ_FLOAT32 opj_K = 1.230174105f; /* 10078 */
77 static const OPJ_FLOAT32 opj_c13318 = 1.625732422f;
137 static void opj_v4dwt_interleave_h(opj_v4dwt_t* restrict w, OPJ_FLOAT32* restrict a, OPJ_INT32 x, O…
139 static void opj_v4dwt_interleave_v(opj_v4dwt_t* restrict v , OPJ_FLOAT32* restrict a , OPJ_INT32 x,…
147 static void opj_v4dwt_decode_step1(opj_v4_t* w, OPJ_INT32 count, const OPJ_FLOAT32 c);
[all …]
Dmct.c374 OPJ_FLOAT32* restrict c0, in opj_mct_decode_real()
375 OPJ_FLOAT32* restrict c1, in opj_mct_decode_real()
376 OPJ_FLOAT32* restrict c2, in opj_mct_decode_real()
419 OPJ_FLOAT32 y = c0[i]; in opj_mct_decode_real()
420 OPJ_FLOAT32 u = c1[i]; in opj_mct_decode_real()
421 OPJ_FLOAT32 v = c2[i]; in opj_mct_decode_real()
422 OPJ_FLOAT32 r = y + (v * 1.402f); in opj_mct_decode_real()
423 OPJ_FLOAT32 g = y - (u * 0.34413f) - (v * (0.71414f)); in opj_mct_decode_real()
424 OPJ_FLOAT32 b = y + (u * 1.772f); in opj_mct_decode_real()
446 OPJ_FLOAT32 * lMct = (OPJ_FLOAT32 *) pCodingdata; in opj_mct_encode_custom()
[all …]
Dmct.h94 void opj_mct_decode_real(OPJ_FLOAT32* c0, OPJ_FLOAT32* c1, OPJ_FLOAT32* c2, OPJ_UINT32 n);
141 OPJ_FLOAT32 * pMatrix);
Dcio.h243 void opj_read_float_LE(const OPJ_BYTE * p_buffer, OPJ_FLOAT32 * p_value);
250 void opj_read_float_BE(const OPJ_BYTE * p_buffer, OPJ_FLOAT32 * p_value);
257 void opj_write_float_LE(OPJ_BYTE * p_buffer, OPJ_FLOAT32 p_value);
264 void opj_write_float_BE(OPJ_BYTE * p_buffer, OPJ_FLOAT32 p_value);
Dcio.c121 void opj_write_float_BE(OPJ_BYTE * p_buffer, OPJ_FLOAT32 p_value) in opj_write_float_BE()
124 memcpy(p_buffer,l_data_ptr,sizeof(OPJ_FLOAT32)); in opj_write_float_BE()
127 void opj_write_float_LE(OPJ_BYTE * p_buffer, OPJ_FLOAT32 p_value) in opj_write_float_LE()
129 const OPJ_BYTE * l_data_ptr = ((const OPJ_BYTE *) &p_value) + sizeof(OPJ_FLOAT32) - 1; in opj_write_float_LE()
131 for (i=0;i<sizeof(OPJ_FLOAT32);++i) { in opj_write_float_LE()
136 void opj_read_float_BE(const OPJ_BYTE * p_buffer, OPJ_FLOAT32 * p_value) in opj_read_float_BE()
139 memcpy(l_data_ptr,p_buffer,sizeof(OPJ_FLOAT32)); in opj_read_float_BE()
142 void opj_read_float_LE(const OPJ_BYTE * p_buffer, OPJ_FLOAT32 * p_value) in opj_read_float_LE()
144 OPJ_BYTE * l_data_ptr = ((OPJ_BYTE *) p_value) + sizeof(OPJ_FLOAT32)-1; in opj_read_float_LE()
146 for (i=0;i<sizeof(OPJ_FLOAT32);++i) { in opj_read_float_LE()
Dinvert.h56 OPJ_BOOL opj_matrix_inversion_f(OPJ_FLOAT32 * pSrcMatrix,
57 OPJ_FLOAT32 * pDestMatrix,
Dj2k.h258 OPJ_FLOAT32 rates[100];
278 OPJ_FLOAT32 distoratio[100];
290 OPJ_FLOAT32 * m_mct_decoding_matrix;
292 OPJ_FLOAT32 * m_mct_coding_matrix;
Dj2k.c1203 static OPJ_FLOAT32 opj_j2k_get_tp_stride (opj_tcp_t * p_tcp);
1205 static OPJ_FLOAT32 opj_j2k_get_default_stride (opj_tcp_t * p_tcp);
1335 OPJ_FLOAT32 * l_dest_data = (OPJ_FLOAT32 *) p_dest_data; in opj_j2k_read_int16_to_float()
1344 *(l_dest_data++) = (OPJ_FLOAT32) l_temp; in opj_j2k_read_int16_to_float()
1351 OPJ_FLOAT32 * l_dest_data = (OPJ_FLOAT32 *) p_dest_data; in opj_j2k_read_int32_to_float()
1360 *(l_dest_data++) = (OPJ_FLOAT32) l_temp; in opj_j2k_read_int32_to_float()
1367 OPJ_FLOAT32 * l_dest_data = (OPJ_FLOAT32 *) p_dest_data; in opj_j2k_read_float32_to_float()
1369 OPJ_FLOAT32 l_temp; in opj_j2k_read_float32_to_float()
1374 l_src_data+=sizeof(OPJ_FLOAT32); in opj_j2k_read_float32_to_float()
1383 OPJ_FLOAT32 * l_dest_data = (OPJ_FLOAT32 *) p_dest_data; in opj_j2k_read_float64_to_float()
[all …]
Dtcd.c110 …_init_tile(opj_tcd_t *p_tcd, OPJ_UINT32 p_tile_no, OPJ_BOOL isEncoder, OPJ_FLOAT32 fraction, OPJ_S…
320 …(OPJ_INT32) ((OPJ_FLOAT32)cp->m_specific_param.m_enc.m_matrice[i * tilec->numresolutions * 3 + j *… in opj_tcd_makelayer_fixed()
321 … * (OPJ_FLOAT32) (tcd->image->comps[compno].prec / 16.0)); in opj_tcd_makelayer_fixed()
497 …distotarget = tcd_tile->distotile - ((K * maxSE) / pow((OPJ_FLOAT32)10, tcd_tcp->distoratio[layno]… in opj_tcd_rateallocate()
659 …_init_tile(opj_tcd_t *p_tcd, OPJ_UINT32 p_tile_no, OPJ_BOOL isEncoder, OPJ_FLOAT32 fraction, OPJ_S… in opj_tcd_init_tile()
877 …l_band->stepsize = (OPJ_FLOAT32)(((1.0 + l_step_size->mant / 2048.0) * pow(2.0, (OPJ_INT32) (numbp… in opj_tcd_init_tile()
1709 opj_mct_decode_real((OPJ_FLOAT32*)l_tile->comps[0].data, in opj_tcd_mct_decode()
1710 (OPJ_FLOAT32*)l_tile->comps[1].data, in opj_tcd_mct_decode()
1711 (OPJ_FLOAT32*)l_tile->comps[2].data, in opj_tcd_mct_decode()
1773 OPJ_FLOAT32 l_value = *((OPJ_FLOAT32 *) l_current_ptr); in opj_tcd_dc_level_shift_decode()
Dtcd.h142 OPJ_FLOAT32 stepsize;
Dopenjpeg.h115 typedef float OPJ_FLOAT32; typedef
1556 OPJ_FLOAT32 * pEncodingMatrix,
Dt1.c1341OPJ_FLOAT32* restrict tiledp = (OPJ_FLOAT32*) &tilec->data[(OPJ_UINT32)y * tile_w + (OPJ_UINT32)x]; in opj_t1_decode_cblks()
1343 OPJ_FLOAT32* restrict tiledp2 = tiledp; in opj_t1_decode_cblks()
1345 OPJ_FLOAT32 tmp = (OPJ_FLOAT32)*datap * band->stepsize; in opj_t1_decode_cblks()
Dopenjpeg.c784 OPJ_FLOAT32 * pEncodingMatrix, in opj_set_MCT()
787 OPJ_UINT32 l_matrix_size = pNbComp * pNbComp * (OPJ_UINT32)sizeof(OPJ_FLOAT32); in opj_set_MCT()