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 …]
Dmct.c389 OPJ_FLOAT32* OPJ_RESTRICT c0, in opj_mct_decode_real()
390 OPJ_FLOAT32* OPJ_RESTRICT c1, in opj_mct_decode_real()
391 OPJ_FLOAT32* OPJ_RESTRICT c2, in opj_mct_decode_real()
434 OPJ_FLOAT32 y = c0[i]; in opj_mct_decode_real()
435 OPJ_FLOAT32 u = c1[i]; in opj_mct_decode_real()
436 OPJ_FLOAT32 v = c2[i]; in opj_mct_decode_real()
437 OPJ_FLOAT32 r = y + (v * 1.402f); in opj_mct_decode_real()
438 OPJ_FLOAT32 g = y - (u * 0.34413f) - (v * (0.71414f)); in opj_mct_decode_real()
439 OPJ_FLOAT32 b = y + (u * 1.772f); in opj_mct_decode_real()
462 OPJ_FLOAT32 * lMct = (OPJ_FLOAT32 *) pCodingdata; in opj_mct_encode_custom()
[all …]
Dmct.h97 void opj_mct_decode_real(OPJ_FLOAT32* OPJ_RESTRICT c0,
98 OPJ_FLOAT32* OPJ_RESTRICT c1, OPJ_FLOAT32* OPJ_RESTRICT c2, OPJ_SIZE_T n);
145 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);
Dinvert.h56 OPJ_BOOL opj_matrix_inversion_f(OPJ_FLOAT32 * pSrcMatrix,
57 OPJ_FLOAT32 * pDestMatrix,
Ddwt.c89 OPJ_FLOAT32 f[4];
103 static const OPJ_FLOAT32 opj_dwt_alpha = 1.586134342f; /* 12994 */
104 static const OPJ_FLOAT32 opj_dwt_beta = 0.052980118f; /* 434 */
105 static const OPJ_FLOAT32 opj_dwt_gamma = -0.882911075f; /* -7233 */
106 static const OPJ_FLOAT32 opj_dwt_delta = -0.443506852f; /* -3633 */
108 static const OPJ_FLOAT32 opj_K = 1.230174105f; /* 10078 */
109 static const OPJ_FLOAT32 opj_c13318 = 1.625732422f;
168 OPJ_FLOAT32* OPJ_RESTRICT a,
173 OPJ_FLOAT32* OPJ_RESTRICT a,
192 const OPJ_FLOAT32 c);
[all …]
Dcio.c127 void opj_write_float_BE(OPJ_BYTE * p_buffer, OPJ_FLOAT32 p_value) in opj_write_float_BE()
130 memcpy(p_buffer, l_data_ptr, sizeof(OPJ_FLOAT32)); in opj_write_float_BE()
133 void opj_write_float_LE(OPJ_BYTE * p_buffer, OPJ_FLOAT32 p_value) in opj_write_float_LE()
136 OPJ_FLOAT32) - 1; in opj_write_float_LE()
138 for (i = 0; i < sizeof(OPJ_FLOAT32); ++i) { in opj_write_float_LE()
143 void opj_read_float_BE(const OPJ_BYTE * p_buffer, OPJ_FLOAT32 * p_value) in opj_read_float_BE()
146 memcpy(l_data_ptr, p_buffer, sizeof(OPJ_FLOAT32)); in opj_read_float_BE()
149 void opj_read_float_LE(const OPJ_BYTE * p_buffer, OPJ_FLOAT32 * p_value) in opj_read_float_LE()
151 OPJ_BYTE * l_data_ptr = ((OPJ_BYTE *) p_value) + sizeof(OPJ_FLOAT32) - 1; in opj_read_float_LE()
153 for (i = 0; i < sizeof(OPJ_FLOAT32); ++i) { in opj_read_float_LE()
Dj2k.h252 OPJ_FLOAT32 rates[100];
272 OPJ_FLOAT32 distoratio[100];
286 OPJ_FLOAT32 * m_mct_decoding_matrix;
288 OPJ_FLOAT32 * m_mct_coding_matrix;
Dj2k.c1273 static OPJ_FLOAT32 opj_j2k_get_tp_stride(opj_tcp_t * p_tcp);
1275 static OPJ_FLOAT32 opj_j2k_get_default_stride(opj_tcp_t * p_tcp);
1406 OPJ_FLOAT32 * l_dest_data = (OPJ_FLOAT32 *) p_dest_data; in opj_j2k_read_int16_to_float()
1415 *(l_dest_data++) = (OPJ_FLOAT32) l_temp; in opj_j2k_read_int16_to_float()
1423 OPJ_FLOAT32 * l_dest_data = (OPJ_FLOAT32 *) p_dest_data; in opj_j2k_read_int32_to_float()
1432 *(l_dest_data++) = (OPJ_FLOAT32) l_temp; in opj_j2k_read_int32_to_float()
1440 OPJ_FLOAT32 * l_dest_data = (OPJ_FLOAT32 *) p_dest_data; in opj_j2k_read_float32_to_float()
1442 OPJ_FLOAT32 l_temp; in opj_j2k_read_float32_to_float()
1447 l_src_data += sizeof(OPJ_FLOAT32); in opj_j2k_read_float32_to_float()
1457 OPJ_FLOAT32 * l_dest_data = (OPJ_FLOAT32 *) p_dest_data; in opj_j2k_read_float64_to_float()
[all …]
Dtcd.c115 OPJ_BOOL isEncoder, OPJ_FLOAT32 fraction, OPJ_SIZE_T sizeof_block,
356 (OPJ_INT32)((OPJ_FLOAT32)cp->m_specific_param.m_enc.m_matrice[i * in opj_tcd_makelayer_fixed()
358 * (OPJ_FLOAT32)(tcd->image->comps[compno].prec / 16.0)); in opj_tcd_makelayer_fixed()
550 distotarget = tcd_tile->distotile - ((K * maxSE) / pow((OPJ_FLOAT32)10, in opj_tcd_rateallocate()
721 OPJ_BOOL isEncoder, OPJ_FLOAT32 fraction, OPJ_SIZE_T sizeof_block, in opj_tcd_init_tile()
1014 l_band->stepsize = (OPJ_FLOAT32)(((1.0 + l_step_size->mant / 2048.0) * pow(2.0, in opj_tcd_init_tile()
2167 opj_mct_decode_real((OPJ_FLOAT32*)l_tile->comps[0].data, in opj_tcd_mct_decode()
2168 (OPJ_FLOAT32*)l_tile->comps[1].data, in opj_tcd_mct_decode()
2169 (OPJ_FLOAT32*)l_tile->comps[2].data, in opj_tcd_mct_decode()
2172 opj_mct_decode_real((OPJ_FLOAT32*)l_tile->comps[0].data_win, in opj_tcd_mct_decode()
[all …]
Dt1.c1750 OPJ_FLOAT32 tmp = ((OPJ_FLOAT32)(*datap)) * band->stepsize; in opj_t1_clbl_decode_processor()
1776 OPJ_FLOAT32* OPJ_RESTRICT tiledp = (OPJ_FLOAT32*) &tilec->data[(OPJ_SIZE_T)y * in opj_t1_clbl_decode_processor()
1779 OPJ_FLOAT32* OPJ_RESTRICT tiledp2 = tiledp; in opj_t1_clbl_decode_processor()
1781 OPJ_FLOAT32 tmp = (OPJ_FLOAT32) * datap * band->stepsize; in opj_t1_clbl_decode_processor()
Dtcd.h167 OPJ_FLOAT32 stepsize;
Dopenjpeg.h115 typedef float OPJ_FLOAT32; typedef
1668 OPJ_FLOAT32 * pEncodingMatrix,
Dopenjpeg.c865 OPJ_FLOAT32 * pEncodingMatrix, in opj_set_MCT()
868 OPJ_UINT32 l_matrix_size = pNbComp * pNbComp * (OPJ_UINT32)sizeof(OPJ_FLOAT32); in opj_set_MCT()