Home
last modified time | relevance | path

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

/external/pdfium/third_party/libopenjpeg/
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.c215 OPJ_FLOAT32* OPJ_RESTRICT c0, in opj_mct_encode_real()
216 OPJ_FLOAT32* OPJ_RESTRICT c1, in opj_mct_encode_real()
217 OPJ_FLOAT32* OPJ_RESTRICT c2, in opj_mct_encode_real()
269 OPJ_FLOAT32 r = c0[i]; in opj_mct_encode_real()
270 OPJ_FLOAT32 g = c1[i]; in opj_mct_encode_real()
271 OPJ_FLOAT32 b = c2[i]; in opj_mct_encode_real()
272 OPJ_FLOAT32 y = 0.299f * r + 0.587f * g + 0.114f * b; in opj_mct_encode_real()
273 OPJ_FLOAT32 u = -0.16875f * r - 0.331260f * g + 0.5f * b; in opj_mct_encode_real()
274 OPJ_FLOAT32 v = 0.5f * r - 0.41869f * g - 0.08131f * b; in opj_mct_encode_real()
285 OPJ_FLOAT32* OPJ_RESTRICT c0, in opj_mct_decode_real()
[all …]
Dmct.h88 void opj_mct_encode_real(OPJ_FLOAT32* OPJ_RESTRICT c0,
89 OPJ_FLOAT32* OPJ_RESTRICT c1,
90 OPJ_FLOAT32* OPJ_RESTRICT c2, OPJ_SIZE_T n);
98 void opj_mct_decode_real(OPJ_FLOAT32* OPJ_RESTRICT c0,
99 OPJ_FLOAT32* OPJ_RESTRICT c1, OPJ_FLOAT32* OPJ_RESTRICT c2, OPJ_SIZE_T n);
146 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.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()
Ddwt.c91 OPJ_FLOAT32 f[NB_ELTS_V8];
106 static const OPJ_FLOAT32 opj_dwt_alpha = -1.586134342f;
107 static const OPJ_FLOAT32 opj_dwt_beta = -0.052980118f;
108 static const OPJ_FLOAT32 opj_dwt_gamma = 0.882911075f;
109 static const OPJ_FLOAT32 opj_dwt_delta = 0.443506852f;
111 static const OPJ_FLOAT32 opj_K = 1.230174105f;
112 static const OPJ_FLOAT32 opj_invK = (OPJ_FLOAT32)(1.0 / 1.230174105);
965 static void opj_dwt_encode_step1(OPJ_FLOAT32* fw,
967 const OPJ_FLOAT32 c)
976 static void opj_dwt_encode_step1_combined(OPJ_FLOAT32* fw, in opj_dwt_encode_step1_combined()
[all …]
Dinvert.h56 OPJ_BOOL opj_matrix_inversion_f(OPJ_FLOAT32 * pSrcMatrix,
57 OPJ_FLOAT32 * pDestMatrix,
Dj2k.h256 OPJ_FLOAT32 rates[100];
276 OPJ_FLOAT32 distoratio[100];
290 OPJ_FLOAT32 * m_mct_decoding_matrix;
292 OPJ_FLOAT32 * m_mct_coding_matrix;
Dj2k.c1309 static OPJ_FLOAT32 opj_j2k_get_tp_stride(opj_tcp_t * p_tcp);
1311 static OPJ_FLOAT32 opj_j2k_get_default_stride(opj_tcp_t * p_tcp);
1451 OPJ_FLOAT32 * l_dest_data = (OPJ_FLOAT32 *) p_dest_data; in opj_j2k_read_int16_to_float()
1460 *(l_dest_data++) = (OPJ_FLOAT32) l_temp; in opj_j2k_read_int16_to_float()
1468 OPJ_FLOAT32 * l_dest_data = (OPJ_FLOAT32 *) p_dest_data; in opj_j2k_read_int32_to_float()
1477 *(l_dest_data++) = (OPJ_FLOAT32) l_temp; in opj_j2k_read_int32_to_float()
1485 OPJ_FLOAT32 * l_dest_data = (OPJ_FLOAT32 *) p_dest_data; in opj_j2k_read_float32_to_float()
1487 OPJ_FLOAT32 l_temp; in opj_j2k_read_float32_to_float()
1492 l_src_data += sizeof(OPJ_FLOAT32); in opj_j2k_read_float32_to_float()
1502 OPJ_FLOAT32 * l_dest_data = (OPJ_FLOAT32 *) p_dest_data; in opj_j2k_read_float64_to_float()
[all …]
Dtcd.c357 (OPJ_INT32)((OPJ_FLOAT32)cp->m_specific_param.m_enc.m_matrice[i * in opj_tcd_makelayer_fixed()
359 * (OPJ_FLOAT32)(tcd->image->comps[compno].prec / 16.0)); in opj_tcd_makelayer_fixed()
551 distotarget = tcd_tile->distotile - ((K * maxSE) / pow((OPJ_FLOAT32)10, in opj_tcd_rateallocate()
1020 l_band->stepsize = (OPJ_FLOAT32)(((1.0 + l_step_size->mant / 2048.0) * pow(2.0, in opj_tcd_init_tile()
2183 opj_mct_decode_real((OPJ_FLOAT32*)l_tile->comps[0].data, in opj_tcd_mct_decode()
2184 (OPJ_FLOAT32*)l_tile->comps[1].data, in opj_tcd_mct_decode()
2185 (OPJ_FLOAT32*)l_tile->comps[2].data, in opj_tcd_mct_decode()
2188 opj_mct_decode_real((OPJ_FLOAT32*)l_tile->comps[0].data_win, in opj_tcd_mct_decode()
2189 (OPJ_FLOAT32*)l_tile->comps[1].data_win, in opj_tcd_mct_decode()
2190 (OPJ_FLOAT32*)l_tile->comps[2].data_win, in opj_tcd_mct_decode()
[all …]
Dt1.c1791 OPJ_FLOAT32 tmp = ((OPJ_FLOAT32)(*datap)) * stepsize; in opj_t1_clbl_decode_processor()
1818 OPJ_FLOAT32* OPJ_RESTRICT tiledp = (OPJ_FLOAT32*) &tilec->data[(OPJ_SIZE_T)y * in opj_t1_clbl_decode_processor()
1821 OPJ_FLOAT32* OPJ_RESTRICT tiledp2 = tiledp; in opj_t1_clbl_decode_processor()
1823 OPJ_FLOAT32 tmp = (OPJ_FLOAT32) * datap * stepsize; in opj_t1_clbl_decode_processor()
2249 OPJ_FLOAT32* OPJ_RESTRICT tiledp_f = (OPJ_FLOAT32*) tiledp; in opj_t1_cblk_encode_processor()
Dopenjpeg.h121 typedef float OPJ_FLOAT32; typedef
1754 OPJ_FLOAT32 * pEncodingMatrix,
Dtcd.h172 OPJ_FLOAT32 stepsize;
Dopenjpeg.c940 OPJ_FLOAT32 * pEncodingMatrix, in opj_set_MCT()
943 OPJ_UINT32 l_matrix_size = pNbComp * pNbComp * (OPJ_UINT32)sizeof(OPJ_FLOAT32); in opj_set_MCT()