Searched defs:i3 (Results 1 - 5 of 5) sorted by relevance

/frameworks/rs/
H A DrsUtils.h102 static inline uint16_t rsBoxFilter565(uint16_t i1, uint16_t i2, uint16_t i3, uint16_t i4) { argument
103 uint32_t r = ((i1 & 0x1f) + (i2 & 0x1f) + (i3 & 0x1f) + (i4 & 0x1f));
104 uint32_t g = ((i1 >> 5) & 0x3f) + ((i2 >> 5) & 0x3f) + ((i3 >> 5) & 0x3f) + ((i4 >> 5) & 0x3f);
105 uint32_t b = ((i1 >> 11) + (i2 >> 11) + (i3 >> 11) + (i4 >> 11));
109 static inline uint32_t rsBoxFilter8888(uint32_t i1, uint32_t i2, uint32_t i3, uint32_t i4) { argument
110 uint32_t r = (i1 & 0xff) + (i2 & 0xff) + (i3 & 0xff) + (i4 & 0xff);
111 uint32_t g = ((i1 >> 8) & 0xff) + ((i2 >> 8) & 0xff) + ((i3 >> 8) & 0xff) + ((i4 >> 8) & 0xff);
112 uint32_t b = ((i1 >> 16) & 0xff) + ((i2 >> 16) & 0xff) + ((i3 >> 16) & 0xff) + ((i4 >> 16) & 0xff);
113 uint32_t a = ((i1 >> 24) & 0xff) + ((i2 >> 24) & 0xff) + ((i3 >> 24) & 0xff) + ((i4 >> 24) & 0xff);
/frameworks/support/renderscript/v8/rs_support/
H A DrsUtils.h102 static inline uint16_t rsBoxFilter565(uint16_t i1, uint16_t i2, uint16_t i3, uint16_t i4) { argument
103 uint32_t r = ((i1 & 0x1f) + (i2 & 0x1f) + (i3 & 0x1f) + (i4 & 0x1f));
104 uint32_t g = ((i1 >> 5) & 0x3f) + ((i2 >> 5) & 0x3f) + ((i3 >> 5) & 0x3f) + ((i4 >> 5) & 0x3f);
105 uint32_t b = ((i1 >> 11) + (i2 >> 11) + (i3 >> 11) + (i4 >> 11));
109 static inline uint32_t rsBoxFilter8888(uint32_t i1, uint32_t i2, uint32_t i3, uint32_t i4) { argument
110 uint32_t r = (i1 & 0xff) + (i2 & 0xff) + (i3 & 0xff) + (i4 & 0xff);
111 uint32_t g = ((i1 >> 8) & 0xff) + ((i2 >> 8) & 0xff) + ((i3 >> 8) & 0xff) + ((i4 >> 8) & 0xff);
112 uint32_t b = ((i1 >> 16) & 0xff) + ((i2 >> 16) & 0xff) + ((i3 >> 16) & 0xff) + ((i4 >> 16) & 0xff);
113 uint32_t a = ((i1 >> 24) & 0xff) + ((i2 >> 24) & 0xff) + ((i3 >> 24) & 0xff) + ((i4 >> 24) & 0xff);
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dc4_17pf.cpp165 The code length is 40, containing 4 nonzero pulses: i0...i3.
167 Pulse i0 to i2 can have 8 possible positions, pulse i3 can have
173 i3 : 3, 8, 13, 18, 23, 28, 33, 38.
397 Word16 i3; local
472 * "rr[i0][i3]" is a pointer initialized to "&rr[i0][ipos[3]]" *
571 * i3 loop: 8 positions. *
584 for (i3 = ipos[3]; i3 < L_CODE; i3 += STEP)
586 /* ps1 = add(ps0, dn[i3], pOverflo
[all...]
H A Ds10_8pf.cpp75 loops i3-i5-i7 and i9
190 Word16 i0, i1, i2, i3, i4, i5, i6, i7, i8, i9;
233 // i2 and i3 loop
236 for (i3 = ipos[3]; i3 < L_CODE; i3 += step)
238 s = L_mult (rr[i3][i3], _1_8); // index incr= step+L_CODE
239 s = L_mac (s, rr[i0][i3], _1_4); // index increment = step
240 s = L_mac (s, rr[i1][i3], _1_
568 Word16 i0, i1, i2, i3, i4, i5, i6, i7, i9; local
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dtransform.c111 int i0, i1, i2, i3; local
125 i3 = buf[5] - buf[7];
131 r6 = (r1 - i3) >> 1;
133 r7 = (r1 + i3) >> 1;
143 i3 = buf[13] - buf[15];
159 r0 = r1 - i3;
161 r2 = r1 + i3;

Completed in 141 milliseconds