Lines Matching refs:OPJ_INT32

77 		OPJ_INT32* restrict c0,  in opj_mct_encode()
78 OPJ_INT32* restrict c1, in opj_mct_encode()
79 OPJ_INT32* restrict c2, in opj_mct_encode()
102 OPJ_INT32 r = c0[i]; in opj_mct_encode()
103 OPJ_INT32 g = c1[i]; in opj_mct_encode()
104 OPJ_INT32 b = c2[i]; in opj_mct_encode()
105 OPJ_INT32 y = (r + (g * 2) + b) >> 2; in opj_mct_encode()
106 OPJ_INT32 u = b - g; in opj_mct_encode()
107 OPJ_INT32 v = r - g; in opj_mct_encode()
115 OPJ_INT32* restrict c0, in opj_mct_encode()
116 OPJ_INT32* restrict c1, in opj_mct_encode()
117 OPJ_INT32* restrict c2, in opj_mct_encode()
124 OPJ_INT32 r = c0[i]; in opj_mct_encode()
125 OPJ_INT32 g = c1[i]; in opj_mct_encode()
126 OPJ_INT32 b = c2[i]; in opj_mct_encode()
127 OPJ_INT32 y = (r + (g * 2) + b) >> 2; in opj_mct_encode()
128 OPJ_INT32 u = b - g; in opj_mct_encode()
129 OPJ_INT32 v = r - g; in opj_mct_encode()
142 OPJ_INT32* restrict c0, in opj_mct_decode()
143 OPJ_INT32* restrict c1, in opj_mct_decode()
144 OPJ_INT32* restrict c2, in opj_mct_decode()
164 OPJ_INT32 y = c0[i]; in opj_mct_decode()
165 OPJ_INT32 u = c1[i]; in opj_mct_decode()
166 OPJ_INT32 v = c2[i]; in opj_mct_decode()
167 OPJ_INT32 g = y - ((u + v) >> 2); in opj_mct_decode()
168 OPJ_INT32 r = v + g; in opj_mct_decode()
169 OPJ_INT32 b = u + g; in opj_mct_decode()
177 OPJ_INT32* restrict c0, in opj_mct_decode()
178 OPJ_INT32* restrict c1, in opj_mct_decode()
179 OPJ_INT32* restrict c2, in opj_mct_decode()
184 OPJ_INT32 y = c0[i]; in opj_mct_decode()
185 OPJ_INT32 u = c1[i]; in opj_mct_decode()
186 OPJ_INT32 v = c2[i]; in opj_mct_decode()
187 OPJ_INT32 g = y - ((u + v) >> 2); in opj_mct_decode()
188 OPJ_INT32 r = v + g; in opj_mct_decode()
189 OPJ_INT32 b = u + g; in opj_mct_decode()
209 OPJ_INT32* restrict c0, in opj_mct_encode_real()
210 OPJ_INT32* restrict c1, in opj_mct_encode_real()
211 OPJ_INT32* restrict c2, in opj_mct_encode_real()
337 OPJ_INT32 r = c0[i]; in opj_mct_encode_real()
338 OPJ_INT32 g = c1[i]; in opj_mct_encode_real()
339 OPJ_INT32 b = c2[i]; in opj_mct_encode_real()
340 OPJ_INT32 y = opj_int_fix_mul(r, 2449) + opj_int_fix_mul(g, 4809) + opj_int_fix_mul(b, 934); in opj_mct_encode_real()
341 OPJ_INT32 u = -opj_int_fix_mul(r, 1382) - opj_int_fix_mul(g, 2714) + opj_int_fix_mul(b, 4096); in opj_mct_encode_real()
342 OPJ_INT32 v = opj_int_fix_mul(r, 4096) - opj_int_fix_mul(g, 3430) - opj_int_fix_mul(b, 666); in opj_mct_encode_real()
350 OPJ_INT32* restrict c0, in opj_mct_encode_real()
351 OPJ_INT32* restrict c1, in opj_mct_encode_real()
352 OPJ_INT32* restrict c2, in opj_mct_encode_real()
357 OPJ_INT32 r = c0[i]; in opj_mct_encode_real()
358 OPJ_INT32 g = c1[i]; in opj_mct_encode_real()
359 OPJ_INT32 b = c2[i]; in opj_mct_encode_real()
360 OPJ_INT32 y = opj_int_fix_mul(r, 2449) + opj_int_fix_mul(g, 4809) + opj_int_fix_mul(b, 934); in opj_mct_encode_real()
361 OPJ_INT32 u = -opj_int_fix_mul(r, 1382) - opj_int_fix_mul(g, 2714) + opj_int_fix_mul(b, 4096); in opj_mct_encode_real()
362 OPJ_INT32 v = opj_int_fix_mul(r, 4096) - opj_int_fix_mul(g, 3430) - opj_int_fix_mul(b, 666); in opj_mct_encode_real()
451 OPJ_INT32 * lCurrentData = 00; in opj_mct_encode_custom()
452 OPJ_INT32 * lCurrentMatrix = 00; in opj_mct_encode_custom()
453 OPJ_INT32 ** lData = (OPJ_INT32 **) pData; in opj_mct_encode_custom()
455 OPJ_INT32 * lMctPtr; in opj_mct_encode_custom()
459 lCurrentData = (OPJ_INT32 *) opj_malloc((pNbComp + lNbMatCoeff) * sizeof(OPJ_INT32)); in opj_mct_encode_custom()
467 lCurrentMatrix[i] = (OPJ_INT32) (*(lMct++) * (OPJ_FLOAT32)lMultiplicator); in opj_mct_encode_custom()