Searched defs:tmp (Results 1 - 25 of 216) sorted by relevance

123456789

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_nal_unit.c73 u32 tmp; local
82 tmp = h264bsdGetBits(pStrmData, 1);
85 if (tmp == END_OF_STREAM)
88 tmp = h264bsdGetBits(pStrmData, 2);
89 pNalUnit->nalRefIdc = tmp;
91 tmp = h264bsdGetBits(pStrmData, 5);
92 pNalUnit->nalUnitType = (nalUnitType_e)tmp;
95 if ( (tmp == 2) || (tmp == 3) || (tmp
[all...]
H A Dh264bsd_pic_param_set.c94 u32 tmp, i, value; local
105 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData,
107 if (tmp != HANTRO_OK)
108 return(tmp);
115 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData,
117 if (tmp != HANTRO_OK)
118 return(tmp);
126 tmp = h264bsdGetBits(pStrmData, 1);
127 if (tmp)
133 tmp
[all...]
H A Dh264bsd_vui.c86 u32 tmp; local
95 tmp = h264bsdGetBits(pStrmData, 1);
96 if (tmp == END_OF_STREAM)
98 pVuiParameters->aspectRatioPresentFlag = (tmp == 1) ?
103 tmp = h264bsdGetBits(pStrmData, 8);
104 if (tmp == END_OF_STREAM)
106 pVuiParameters->aspectRatioIdc = tmp;
110 tmp = h264bsdGetBits(pStrmData, 16);
111 if (tmp == END_OF_STREAM)
113 pVuiParameters->sarWidth = tmp;
407 u32 tmp, i; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dinv_sqrt.cpp158 Word16 exp, i, a, tmp;
190 tmp = sub (table[i], table[i + 1]); // table[i] - table[i+1])
191 L_y = L_msu (L_y, tmp, a); // L_y -= tmp*a*2
229 Word16 tmp; local
260 tmp = inv_sqrt_tbl[i] - inv_sqrt_tbl[i + 1];
263 L_y -= ((Word32)tmp * a) << 1; /* L_y -= tmp*a*2 */
H A Dgmed_n.cpp133 Word16 tmp[NMAX];
153 tmp[i] = ix;
156 medianIndex=tmp[ shr(n,1) ]; // account for complex addressing
191 Word16 tmp[NMAX]; local
211 *(tmp + i) = ix;
214 medianIndex = *(tmp + (n >> 1)); /* account for complex addressing */
H A Dlog2_norm.cpp144 Word16 i, a, tmp;
165 tmp = sub (table[i], table[i + 1]); // table[i] - table[i+1]
166 L_y = L_msu (L_y, tmp, a); // L_y -= tmp*a*2
203 Word16 i, a, tmp; local
231 tmp = log2_tbl[i] - log2_tbl[i + 1]; /* table[i] - table[i+1] */
232 L_y -= (((Word32) tmp) * a) << 1; /* L_y -= tmp*a*2 */
H A Dpow2.cpp130 Word16 exp, i, a, tmp;
140 tmp = sub (table[i], table[i + 1]); // table[i] - table[i+1]
141 L_x = L_msu (L_x, tmp, a); // L_x -= tmp*a*2
182 Word16 exp, i, a, tmp; local
195 tmp = sub(pow2_tbl[i], pow2_tbl[i + 1], pOverflow);
196 L_x = L_msu(L_x, tmp, a, pOverflow); /* L_x -= tmp*a*2 */
H A Dsqrt_l.cpp153 Word16 e, i, a, tmp;
181 tmp = sub (table[i], table[i + 1]); // table[i] - table[i+1])
182 L_y = L_msu (L_y, tmp, a); // L_y -= tmp*a*2
220 Word16 tmp; local
258 tmp = sub(sqrt_l_tbl[i], sqrt_l_tbl[i + 1], pOverflow);
260 L_y = L_msu(L_y, tmp, a, pOverflow); /* L_y -= tmp*a*2 */
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dscale_signal.cpp122 int16 tmp; local
141 tmp = (int16)(0x00008000 >> (16 - exp));
146 *(pt_x) = add_int16(*(pt_x), tmp) >> exp;
148 *(pt_x) = add_int16(*(pt_x), tmp) >> exp;
H A Dmedian5.cpp121 int16 tmp; local
133 tmp = x1;
135 x2 = tmp;
139 tmp = x1;
141 x3 = tmp;
145 tmp = x1;
147 x4 = tmp;
155 tmp = x2;
157 x3 = tmp;
161 tmp
[all...]
H A Dvoice_factor.cpp127 int16 i, tmp, exp, ener1, exp1, ener2, exp2; local
135 tmp = (int16)((L_tmp << exp) >> 16);
136 ener1 = mult_int16(ener1, tmp);
142 tmp = shl_int16(gain_code, exp);
143 tmp = mult_int16(tmp, tmp);
144 ener2 = mult_int16(ener2, tmp);
161 tmp = ener1 - ener2;
165 if (tmp >
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dqisf_ns.c42 Word32 tmp; local
49 indice[0] = Sub_VQ(&isf_q[0], dico1_isf_noise, 2, SIZE_BK_NOISE1, &tmp);
50 indice[1] = Sub_VQ(&isf_q[2], dico2_isf_noise, 3, SIZE_BK_NOISE2, &tmp);
51 indice[2] = Sub_VQ(&isf_q[5], dico3_isf_noise, 3, SIZE_BK_NOISE3, &tmp);
52 indice[3] = Sub_VQ(&isf_q[8], dico4_isf_noise, 4, SIZE_BK_NOISE4, &tmp);
53 indice[4] = Sub_VQ(&isf_q[12], dico5_isf_noise, 4, SIZE_BK_NOISE5, &tmp);
H A Dlog2.c63 Word16 i, a, tmp; local
79 tmp = vo_sub(table[i], table[i + 1]); /* table[i] - table[i+1] */
80 L_y = vo_L_msu (L_y, tmp, a); /* L_y -= tmp*a*2 */
H A Ddeemph.c72 Word32 tmp; local
74 tmp = (x[i - 1] * mu)<<1;
75 L_tmp = L_add(L_tmp, tmp);
H A Dmem_align.c61 unsigned char *tmp; local
69 tmp = (unsigned char *)MemInfo.VBuffer;
71 pMemop->Set(CodecID, tmp, 0, size + alignment);
74 (unsigned char *) ((intptr_t) (tmp + alignment - 1) &
77 if (mem_ptr == tmp)
80 *(mem_ptr - 1) = (unsigned char) (mem_ptr - tmp);
H A Dvoicefac.c37 Word16 tmp, exp, ener1, exp1, ener2, exp2; local
48 tmp = extract_h(L_tmp << exp);
49 ener1 = vo_mult(ener1, tmp);
59 tmp = gain_code << exp;
60 tmp = vo_mult(tmp, tmp);
61 ener2 = vo_mult(ener2, tmp);
76 tmp = vo_sub(ener1, ener2);
79 if (tmp >
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dsad_halfpel_inline.h31 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
33 tmp = (tmp2 >> 1) - tmp;
34 if (tmp > 0) sad += tmp;
35 else sad -= tmp;
40 __inline int32 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
42 tmp = (tmp >> 2) - tmp2;
43 if (tmp >
51 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
55 rsbs tmp, tmp, tmp2, asr #1 ; local
56 rsbmi tmp, tmp, #0 ; local
57 add sad, sad, tmp ; local
63 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
67 rsbs tmp, tmp2, tmp, asr #2 ; local
68 rsbmi tmp, tmp, #0 ; local
69 add sad, sad, tmp ; local
77 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
90 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dd1035pf.cpp134 Word16 i, j, pos1, pos2, sign, tmp;
147 tmp = index[j];
148 i = tmp & 7;
154 i = shr (tmp, 3) & 1;
213 Word16 sign, tmp; local
226 tmp = *(index + j);
227 i = tmp & 7;
233 i = (tmp >> 3) & 1;
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_get_side_info.cpp120 uint32 tmp; local
128 tmp = getbits_crc(inputStream, 14, crc, info->error_protection);
129 si->main_data_begin = (tmp << 18) >> 23; /* 9 */
130 si->private_bits = (tmp << 23) >> 27; /* 5 */
134 tmp = getbits_crc(inputStream, 12, crc, info->error_protection);
135 si->main_data_begin = (tmp << 20) >> 23; /* 9 */
136 si->private_bits = (tmp << 23) >> 29; /* 3 */
142 tmp = getbits_crc(inputStream, 4, crc, info->error_protection);
143 si->ch[ch].scfsi[0] = (tmp << 28) >> 31; /* 1 */
144 si->ch[ch].scfsi[1] = (tmp << 2
[all...]
H A Dpvmp3_huffman_decoding.cpp263 int32 tmp = getUpTo17bits(pMainData, (h->linbits + 1)); local
264 x += tmp >> 1;
265 if (tmp&1)
281 int32 tmp = getUpTo17bits(pMainData, (h->linbits + 1)); local
282 y += tmp >> 1;
283 if (tmp&1)
/frameworks/av/media/libmedia/
H A DStringArray.cpp47 char** tmp; local
54 tmp = new char*[mMax];
55 if (tmp == NULL)
58 memcpy(tmp, mArray, mCurrent * sizeof(char*));
60 mArray = tmp;
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dbitbuffer.c138 UWord8 tmp; local
139 tmp = (UWord8)((writeValue >> 24) & 0xFF);
141 *hBitBuf->pWriteNext++ = tmp;
H A Dmemalign.c61 unsigned char *tmp; local
69 tmp = (unsigned char *)MemInfo.VBuffer;
71 pMemop->Set(CodecID, tmp, 0, size + alignment);
74 (unsigned char *) ((intptr_t) (tmp + alignment - 1) &
77 if (mem_ptr == tmp)
80 *(mem_ptr - 1) = (unsigned char) (mem_ptr - tmp);
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dg_adapt.cpp420 Word16 tmp; local
448 /* tmp = cbGain / onFact; onFact = 2.0; 200 Q1 = 100.0 */
449 tmp = shr_r(gain_cod, 1, pOverflow);
451 if ((tmp > st->prev_gc) && (gain_cod > 200))
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dsad_halfpel_inline.h34 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
36 tmp = (tmp2 >> 1) - tmp;
37 if (tmp > 0) sad += tmp;
38 else sad -= tmp;
43 __inline int32 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
45 tmp = (tmp >> 2) - tmp2;
46 if (tmp >
54 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
58 rsbs tmp, tmp, tmp2, asr #1 ; local
59 rsbmi tmp, tmp, #0 ; local
60 add sad, sad, tmp ; local
66 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
70 rsbs tmp, tmp2, tmp, asr #2 ; local
71 rsbmi tmp, tmp, #0 ; local
72 add sad, sad, tmp ; local
81 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
101 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
[all...]

Completed in 607 milliseconds

123456789