Lines Matching refs:OPJ_INT32
56 static INLINE OPJ_INT32 opj_int_min(OPJ_INT32 a, OPJ_INT32 b) { in opj_int_min()
72 static INLINE OPJ_INT32 opj_int_max(OPJ_INT32 a, OPJ_INT32 b) { in opj_int_max()
90 return (OPJ_UINT32)(-(OPJ_INT32)(sum >> 32)) | (OPJ_UINT32)sum; in opj_uint_adds()
102 static INLINE OPJ_INT32 opj_int_clamp(OPJ_INT32 a, OPJ_INT32 min, OPJ_INT32 max) { in opj_int_clamp()
112 static INLINE OPJ_INT32 opj_int_abs(OPJ_INT32 a) { in opj_int_abs()
119 static INLINE OPJ_INT32 opj_int_ceildiv(OPJ_INT32 a, OPJ_INT32 b) { in opj_int_ceildiv()
137 static INLINE OPJ_INT32 opj_int_ceildivpow2(OPJ_INT32 a, OPJ_INT32 b) { in opj_int_ceildivpow2()
138 return (OPJ_INT32)((a + ((OPJ_INT64)1 << b) - 1) >> b); in opj_int_ceildivpow2()
145 static INLINE OPJ_INT32 opj_int64_ceildivpow2(OPJ_INT64 a, OPJ_INT32 b) { in opj_int64_ceildivpow2()
146 return (OPJ_INT32)((a + ((OPJ_INT64)1 << b) - 1) >> b); in opj_int64_ceildivpow2()
161 static INLINE OPJ_INT32 opj_int_floordivpow2(OPJ_INT32 a, OPJ_INT32 b) { in opj_int_floordivpow2()
168 static INLINE OPJ_INT32 opj_int_floorlog2(OPJ_INT32 a) { in opj_int_floorlog2()
169 OPJ_INT32 l; in opj_int_floorlog2()
194 static INLINE OPJ_INT32 opj_int_fix_mul(OPJ_INT32 a, OPJ_INT32 b) { in opj_int_fix_mul()
203 return (OPJ_INT32) (temp >> 13); in opj_int_fix_mul()
206 static INLINE OPJ_INT32 opj_int_fix_mul_t1(OPJ_INT32 a, OPJ_INT32 b) { in opj_int_fix_mul_t1()
215 return (OPJ_INT32) (temp >> (13 + 11 - T1_NMSEDEC_FRACBITS)) ; in opj_int_fix_mul_t1()