Home
last modified time | relevance | path

Searched refs:jpc_dbltofix (Results 1 – 7 of 7) sorted by relevance

/external/opencv3/3rdparty/libjasper/
Djpc_mct.c199 … y = jpc_fix_add3(jpc_fix_mul(jpc_dbltofix(0.299), r), jpc_fix_mul(jpc_dbltofix(0.587), g), in jpc_ict()
200 jpc_fix_mul(jpc_dbltofix(0.114), b)); in jpc_ict()
201 … u = jpc_fix_add3(jpc_fix_mul(jpc_dbltofix(-0.16875), r), jpc_fix_mul(jpc_dbltofix(-0.33126), g), in jpc_ict()
202 jpc_fix_mul(jpc_dbltofix(0.5), b)); in jpc_ict()
203 … v = jpc_fix_add3(jpc_fix_mul(jpc_dbltofix(0.5), r), jpc_fix_mul(jpc_dbltofix(-0.41869), g), in jpc_ict()
204 jpc_fix_mul(jpc_dbltofix(-0.08131), b)); in jpc_ict()
240 r = jpc_fix_add(y, jpc_fix_mul(jpc_dbltofix(1.402), v)); in jpc_iict()
241 g = jpc_fix_add3(y, jpc_fix_mul(jpc_dbltofix(-0.34413), u), in jpc_iict()
242 jpc_fix_mul(jpc_dbltofix(-0.71414), v)); in jpc_iict()
243 b = jpc_fix_add(y, jpc_fix_mul(jpc_dbltofix(1.772), u)); in jpc_iict()
[all …]
Djpc_qmfb.c1659 jpc_fix_pluseq(hptr[0], jpc_fix_mul(jpc_dbltofix(2.0 * ALPHA), in jpc_ns_fwdlift_row()
1665 jpc_fix_pluseq(hptr[0], jpc_fix_mul(jpc_dbltofix(ALPHA), in jpc_ns_fwdlift_row()
1671 jpc_fix_pluseq(hptr[0], jpc_fix_mul(jpc_dbltofix(2.0 * ALPHA), in jpc_ns_fwdlift_row()
1679 jpc_fix_pluseq(lptr[0], jpc_fix_mul(jpc_dbltofix(2.0 * BETA), in jpc_ns_fwdlift_row()
1685 jpc_fix_pluseq(lptr[0], jpc_fix_mul(jpc_dbltofix(BETA), in jpc_ns_fwdlift_row()
1691 jpc_fix_pluseq(lptr[0], jpc_fix_mul(jpc_dbltofix(2.0 * BETA), in jpc_ns_fwdlift_row()
1699 jpc_fix_pluseq(hptr[0], jpc_fix_mul(jpc_dbltofix(2.0 * GAMMA), in jpc_ns_fwdlift_row()
1705 jpc_fix_pluseq(hptr[0], jpc_fix_mul(jpc_dbltofix(GAMMA), in jpc_ns_fwdlift_row()
1711 jpc_fix_pluseq(hptr[0], jpc_fix_mul(jpc_dbltofix(2.0 * GAMMA), in jpc_ns_fwdlift_row()
1719 jpc_fix_pluseq(lptr[0], jpc_fix_mul(jpc_dbltofix(2.0 * DELTA), in jpc_ns_fwdlift_row()
[all …]
Djpc_tsfb.c234 band->synenergywt = jpc_dbltofix(tsfb->qmfb->hpenergywts[ in jpc_tsfb_getbands2()
249 band->synenergywt = jpc_dbltofix(tsfb->qmfb->lpenergywts[ in jpc_tsfb_getbands2()
264 band->synenergywt = jpc_dbltofix(tsfb->qmfb->hpenergywts[ in jpc_tsfb_getbands2()
281 band->synenergywt = jpc_dbltofix(tsfb->qmfb->lpenergywts[ in jpc_tsfb_getbands2()
Djpc_t1cod.c270 …jpc_signmsedec[i] = jpc_dbltofix(floor((u * u - v * v) * jpc_pow2i(JPC_NMSEDEC_FRACBITS) + 0.5) / … in jpc_initluts()
272 …jpc_signmsedec0[i] = jpc_dbltofix(floor((u * u) * jpc_pow2i(JPC_NMSEDEC_FRACBITS) + 0.5) / jpc_pow… in jpc_initluts()
279 …jpc_refnmsedec[i] = jpc_dbltofix(floor((u * u - v * v) * jpc_pow2i(JPC_NMSEDEC_FRACBITS) + 0.5) / … in jpc_initluts()
281 …jpc_refnmsedec0[i] = jpc_dbltofix(floor((u * u) * jpc_pow2i(JPC_NMSEDEC_FRACBITS) + 0.5) / jpc_pow… in jpc_initluts()
Djpc_fix.h111 #define jpc_dbltofix(x) JAS_DBLTOFIX(jpc_fix_t, JPC_FIX_FRACBITS, x) macro
Djpc_util.c164 return jpc_dbltofix(sqrt(jpc_fixtodbl(s))); in jpc_seq_norm()
Djpc_enc.c664 tcp->ilyrrates[i] = jpc_dbltofix(ilyrrates[i]); in cp_create()
1988 tile->tcmpts[0].synweight = jpc_dbltofix(sqrt(3.0)); in jpc_enc_tile_create()
1989 tile->tcmpts[1].synweight = jpc_dbltofix(sqrt(0.6875)); in jpc_enc_tile_create()
1990 tile->tcmpts[2].synweight = jpc_dbltofix(sqrt(0.6875)); in jpc_enc_tile_create()
1993 tile->tcmpts[0].synweight = jpc_dbltofix(sqrt(3.0000)); in jpc_enc_tile_create()
1994 tile->tcmpts[1].synweight = jpc_dbltofix(sqrt(3.2584)); in jpc_enc_tile_create()
1995 tile->tcmpts[2].synweight = jpc_dbltofix(sqrt(2.4755)); in jpc_enc_tile_create()