Home
last modified time | relevance | path

Searched refs:OPJ_INT64 (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/third_party/libopenjpeg20/
Dopj_intmath.h137 static INLINE OPJ_INT64 opj_int64_clamp(OPJ_INT64 a, OPJ_INT64 min, in opj_int64_clamp()
138 OPJ_INT64 max) in opj_int64_clamp()
163 return (OPJ_INT32)(((OPJ_INT64)a + b - 1) / b); in opj_int_ceildiv()
182 return (OPJ_INT32)((a + ((OPJ_INT64)1 << b) - 1) >> b); in opj_int_ceildivpow2()
189 static INLINE OPJ_INT32 opj_int64_ceildivpow2(OPJ_INT64 a, OPJ_INT32 b) in opj_int64_ceildivpow2()
191 return (OPJ_INT32)((a + ((OPJ_INT64)1 << b) - 1) >> b); in opj_int64_ceildivpow2()
245 OPJ_INT64 temp = __emul(a, b); in opj_int_fix_mul()
247 OPJ_INT64 temp = (OPJ_INT64) a * (OPJ_INT64) b ; in opj_int_fix_mul()
250 assert((temp >> 13) <= (OPJ_INT64)0x7FFFFFFF); in opj_int_fix_mul()
251 assert((temp >> 13) >= (-(OPJ_INT64)0x7FFFFFFF - (OPJ_INT64)1)); in opj_int_fix_mul()
[all …]
Dtcd.c991 l_band->x0 = opj_int64_ceildivpow2(l_tilec->x0 - ((OPJ_INT64)l_x0b << in opj_tcd_init_tile()
993 l_band->y0 = opj_int64_ceildivpow2(l_tilec->y0 - ((OPJ_INT64)l_y0b << in opj_tcd_init_tile()
995 l_band->x1 = opj_int64_ceildivpow2(l_tilec->x1 - ((OPJ_INT64)l_x0b << in opj_tcd_init_tile()
997 l_band->y1 = opj_int64_ceildivpow2(l_tilec->y1 - ((OPJ_INT64)l_y0b << in opj_tcd_init_tile()
2263 OPJ_INT64 l_value_int = (OPJ_INT64)opj_lrintf(l_value); in opj_tcd_dc_level_shift_decode()
Dopenjpeg.h127 typedef int64_t OPJ_INT64; typedef
Dj2k.c2134 ")\n", (OPJ_INT64)l_image->x1 - l_image->x0, in opj_j2k_read_siz()
2135 (OPJ_INT64)l_image->y1 - l_image->y0); in opj_j2k_read_siz()