Lines Matching refs:OPJ_INT32
80 OPJ_INT32* OPJ_RESTRICT c0, in opj_mct_encode()
81 OPJ_INT32* OPJ_RESTRICT c1, in opj_mct_encode()
82 OPJ_INT32* OPJ_RESTRICT c2, in opj_mct_encode()
109 OPJ_INT32 r = c0[i]; in opj_mct_encode()
110 OPJ_INT32 g = c1[i]; in opj_mct_encode()
111 OPJ_INT32 b = c2[i]; in opj_mct_encode()
112 OPJ_INT32 y = (r + (g * 2) + b) >> 2; in opj_mct_encode()
113 OPJ_INT32 u = b - g; in opj_mct_encode()
114 OPJ_INT32 v = r - g; in opj_mct_encode()
122 OPJ_INT32* OPJ_RESTRICT c0, in opj_mct_encode()
123 OPJ_INT32* OPJ_RESTRICT c1, in opj_mct_encode()
124 OPJ_INT32* OPJ_RESTRICT c2, in opj_mct_encode()
131 OPJ_INT32 r = c0[i]; in opj_mct_encode()
132 OPJ_INT32 g = c1[i]; in opj_mct_encode()
133 OPJ_INT32 b = c2[i]; in opj_mct_encode()
134 OPJ_INT32 y = (r + (g * 2) + b) >> 2; in opj_mct_encode()
135 OPJ_INT32 u = b - g; in opj_mct_encode()
136 OPJ_INT32 v = r - g; in opj_mct_encode()
149 OPJ_INT32* OPJ_RESTRICT c0, in opj_mct_decode()
150 OPJ_INT32* OPJ_RESTRICT c1, in opj_mct_decode()
151 OPJ_INT32* OPJ_RESTRICT c2, in opj_mct_decode()
171 OPJ_INT32 y = c0[i]; in opj_mct_decode()
172 OPJ_INT32 u = c1[i]; in opj_mct_decode()
173 OPJ_INT32 v = c2[i]; in opj_mct_decode()
174 OPJ_INT32 g = y - ((u + v) >> 2); in opj_mct_decode()
175 OPJ_INT32 r = v + g; in opj_mct_decode()
176 OPJ_INT32 b = u + g; in opj_mct_decode()
184 OPJ_INT32* OPJ_RESTRICT c0, in opj_mct_decode()
185 OPJ_INT32* OPJ_RESTRICT c1, in opj_mct_decode()
186 OPJ_INT32* OPJ_RESTRICT c2, in opj_mct_decode()
191 OPJ_INT32 y = c0[i]; in opj_mct_decode()
192 OPJ_INT32 u = c1[i]; in opj_mct_decode()
193 OPJ_INT32 v = c2[i]; in opj_mct_decode()
194 OPJ_INT32 g = y - ((u + v) >> 2); in opj_mct_decode()
195 OPJ_INT32 r = v + g; in opj_mct_decode()
196 OPJ_INT32 b = u + g; in opj_mct_decode()
217 OPJ_INT32* OPJ_RESTRICT c0, in opj_mct_encode_real()
218 OPJ_INT32* OPJ_RESTRICT c1, in opj_mct_encode_real()
219 OPJ_INT32* OPJ_RESTRICT c2, in opj_mct_encode_real()
346 OPJ_INT32 r = c0[i]; in opj_mct_encode_real()
347 OPJ_INT32 g = c1[i]; in opj_mct_encode_real()
348 OPJ_INT32 b = c2[i]; in opj_mct_encode_real()
349 OPJ_INT32 y = opj_int_fix_mul(r, 2449) + opj_int_fix_mul(g, in opj_mct_encode_real()
351 OPJ_INT32 u = -opj_int_fix_mul(r, 1382) - opj_int_fix_mul(g, in opj_mct_encode_real()
353 OPJ_INT32 v = opj_int_fix_mul(r, 4096) - opj_int_fix_mul(g, in opj_mct_encode_real()
362 OPJ_INT32* OPJ_RESTRICT c0, in opj_mct_encode_real()
363 OPJ_INT32* OPJ_RESTRICT c1, in opj_mct_encode_real()
364 OPJ_INT32* OPJ_RESTRICT c2, in opj_mct_encode_real()
369 OPJ_INT32 r = c0[i]; in opj_mct_encode_real()
370 OPJ_INT32 g = c1[i]; in opj_mct_encode_real()
371 OPJ_INT32 b = c2[i]; in opj_mct_encode_real()
372 OPJ_INT32 y = opj_int_fix_mul(r, 2449) + opj_int_fix_mul(g, in opj_mct_encode_real()
374 OPJ_INT32 u = -opj_int_fix_mul(r, 1382) - opj_int_fix_mul(g, in opj_mct_encode_real()
376 OPJ_INT32 v = opj_int_fix_mul(r, 4096) - opj_int_fix_mul(g, in opj_mct_encode_real()
467 OPJ_INT32 * lCurrentData = 00; in opj_mct_encode_custom()
468 OPJ_INT32 * lCurrentMatrix = 00; in opj_mct_encode_custom()
469 OPJ_INT32 ** lData = (OPJ_INT32 **) pData; in opj_mct_encode_custom()
471 OPJ_INT32 * lMctPtr; in opj_mct_encode_custom()
475 lCurrentData = (OPJ_INT32 *) opj_malloc((pNbComp + lNbMatCoeff) * sizeof( in opj_mct_encode_custom()
476 OPJ_INT32)); in opj_mct_encode_custom()
484 lCurrentMatrix[i] = (OPJ_INT32)(*(lMct++) * (OPJ_FLOAT32)lMultiplicator); in opj_mct_encode_custom()