Searched refs:tmp (Results 1 - 25 of 260) sorted by relevance

1234567891011

/frameworks/base/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_decode_huff_cw.cpp152 uint32 tmp; local
155 tmp = getUpTo9bits(pMainData, 3); /* hufftable1 */
157 cw = *(huffTable_1 + tmp);
169 uint32 tmp; local
172 tmp = getUpTo9bits(pMainData, 6); /* huffTable_2,3 */
174 if (tmp >> 3)
176 tmp = (tmp >> 3) - 1;
180 tmp = tmp
195 uint32 tmp; local
221 uint32 tmp; local
250 uint32 tmp; local
279 uint32 tmp; local
312 uint32 tmp; local
345 uint32 tmp; local
378 uint32 tmp; local
423 uint32 tmp; local
463 uint32 tmp; local
504 uint32 tmp; local
569 uint32 tmp; local
614 uint32 tmp; local
682 uint32 tmp; local
734 uint32 tmp = getUpTo9bits(pMainData, 6); /* huffTable_32 */ local
754 uint16 tmp = getUpTo9bits(pMainData, 4); /* huffTable_33 */ local
[all...]
H A Dpvmp3_mdct_6.cpp125 int32 tmp; local
135 tmp = *(pt_vec++);
138 *(pt_vec_o++) = fxp_mul32_Q29(tmp, *(pt_cos++));
147 tmp = -(vec[0] + vec[1]);
148 history[3] = tmp;
149 history[2] = tmp;
150 tmp = -(vec[1] + vec[2]);
153 history[4] = tmp;
154 history[1] = tmp;
155 tmp
[all...]
H A Dpvmp3_dequantize_sample.cpp296 int32 tmp = fxp_mul32_Q30((is[ss] << 16), power_1_third(pv_abs(is[ ss]))); local
298 tmp = fxp_mul32_Q30(tmp, two_raise_one_fourth);
305 is[ss] = (tmp >> temp);
314 is[ss] = (tmp << global_gain);
352 int32 tmp = is[ss]; local
353 if (tmp)
355 tmp = fxp_mul32_Q30((tmp << 16), power_1_third(pv_abs(tmp)));
377 int32 tmp = is[ss]; local
402 int32 tmp = is[ss]; local
428 int32 tmp = is[ss]; local
[all...]
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...]
/frameworks/base/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_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...]
H A Dh264bsd_seq_param_set.c88 u32 tmp, i, value; local
98 tmp = h264bsdGetBits(pStrmData, 8);
99 if (tmp == END_OF_STREAM)
101 if (tmp != 66)
103 DEBUG(("NOT BASELINE PROFILE %d\n", tmp));
105 pSeqParamSet->profileIdc = tmp;
108 tmp = h264bsdGetBits(pStrmData, 1);
110 tmp = h264bsdGetBits(pStrmData, 1);
112 tmp = h264bsdGetBits(pStrmData, 1);
114 if (tmp
388 u32 tmp; local
[all...]
H A Dh264bsd_sei.c187 u32 tmp, payloadType, payloadSize, status; local
200 while((tmp = h264bsdGetBits(pStrmData, 8)) == 0xFF)
204 if (tmp == END_OF_STREAM)
206 payloadType += tmp;
209 while((tmp = h264bsdGetBits(pStrmData, 8)) == 0xFF)
213 if (tmp == END_OF_STREAM)
215 payloadSize += tmp;
406 u32 tmp, i; local
416 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData,
418 if (tmp !
486 u32 tmp, i; local
685 u32 tmp, i; local
802 u32 tmp, i, j; local
868 u32 i, tmp; local
922 u32 tmp; local
977 u32 tmp; local
1025 u32 tmp, i, j, mapUnitCnt; local
1134 u32 tmp; local
1194 u32 tmp; local
1267 u32 tmp, i; local
1326 u32 tmp, i; local
1435 u32 tmp; local
1474 u32 tmp; local
1511 u32 tmp; local
1554 u32 tmp; local
1592 u32 tmp,i; local
1666 u32 i, tmp; local
[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_slice_header.c102 u32 tmp, i, value; local
119 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value);
120 if (tmp != HANTRO_OK)
121 return(tmp);
129 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value);
130 if (tmp != HANTRO_OK)
131 return(tmp);
144 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value);
145 if (tmp != HANTRO_OK)
146 return(tmp);
414 u32 tmp,numBits,mask; local
474 u32 tmp, value, i; local
578 u32 tmp, value; local
735 u32 tmp, value; local
798 u32 tmp, value, i; local
874 u32 tmp, value, i; local
959 u32 tmp, value, i; local
1059 u32 tmp, value, i; local
1167 u32 tmp, value, i; local
1271 u32 tmp, value, i; local
1407 u32 tmp, value, i; local
[all...]
/frameworks/base/media/libstagefright/codecs/avc/enc/src/
H A Dsad_halfpel_inline.h29 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
31 tmp = (tmp2 >> 1) - tmp;
32 if (tmp > 0) sad += tmp;
33 else sad -= tmp;
38 __inline int32 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
40 tmp = (tmp >> 2) - tmp2;
41 if (tmp >
49 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
53 rsbs tmp, tmp, tmp2, asr #1 ; local
54 rsbmi tmp, tmp, #0 ; local
55 add sad, sad, tmp ; local
61 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
65 rsbs tmp, tmp2, tmp, asr #2 ; local
66 rsbmi tmp, tmp, #0 ; local
67 add sad, sad, tmp ; local
75 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
82 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument
[all...]
H A Dsad.cpp97 int saddata[16], tmp, tmp2; /* used when collecting flag (global) is on */ local
114 tmp = p1[12];
116 sad = SUB_SAD(sad, tmp, tmp2);
117 tmp = p1[8];
119 sad = SUB_SAD(sad, tmp, tmp2);
120 tmp = p1[4];
122 sad = SUB_SAD(sad, tmp, tmp2);
123 tmp = p1[0];
126 sad = SUB_SAD(sad, tmp, tmp2);
129 tmp
201 int tmp, tmp2; local
[all...]
H A Dsad_halfpel.cpp189 int difmad, tmp, tmp2; local
212 tmp = p1[12] + p2[12];
214 tmp += tmp2;
216 tmp += 2;
217 sad = INTERP2_SUB_SAD(sad, tmp, tmp2);;
218 tmp = p1[8] + p2[8];
220 tmp += tmp2;
222 tmp += 2;
223 sad = INTERP2_SUB_SAD(sad, tmp, tmp2);;
224 tmp
271 int difmad, tmp, tmp2; local
352 int difmad, tmp, tmp2; local
427 int sad = 0, tmp, tmp2; local
495 int sad = 0, tmp, tmp2; local
561 int sad = 0, tmp, tmp2; local
[all...]
/frameworks/base/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...]
H A Dsad.cpp113 Int saddata[16], tmp, tmp2; /* used when collecting flag (global) is on */ local
127 tmp = p1[12];
129 sad = SUB_SAD(sad, tmp, tmp2);
130 tmp = p1[8];
132 sad = SUB_SAD(sad, tmp, tmp2);
133 tmp = p1[4];
135 sad = SUB_SAD(sad, tmp, tmp2);
136 tmp = p1[0];
139 sad = SUB_SAD(sad, tmp, tmp2);
142 tmp
214 Int tmp, tmp2; local
321 Int tmp, tmp2, tmp3, mask = 0xFF; local
[all...]
H A Dme_utils.cpp38 Int MB_mean, A, tmp, Th; local
76 tmp = *p - MB_mean;
78 if (tmp > 0) A += tmp;
79 else A -= tmp;
318 Int tmp, tmp2, mask = 0x00FF00FF; local
325 tmp = cInt[3]; /* load 4 pixels at a time */
326 tmp2 = tmp & mask;
327 tmp = (tmp >>
[all...]
/frameworks/base/media/libstagefright/codecs/amrwb/src/
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/base/media/libstagefright/codecs/avc/common/src/
H A Ddeblock.cpp297 int indexA, indexB, tmp; local
386 /* Save Alpha, Beta and clipTable for future use, with the obselete variables filterLeftMbEdgeFlag, mbNum amd tmp */
389 tmp = (int)clipTable;
485 /* Recover Alpha, Beta and clipTable for edge!=0 with the variables filterLeftMbEdgeFlag, mbNum and tmp */
489 clipTable = (int *)tmp;
532 int tmp; local
578 tmp = *ptrQ++ - *ptrP++;
579 if (tmp < 0) tmp = -tmp;
735 int idx, tmp; local
910 int idx, tmp; local
1089 int C0, c0, dif, AbsDelta, tmp, tmp1; local
1278 int C0, c0, dif, AbsDelta, Strng, tmp, tmp1; local
1496 int L1, L0, R0, R1, tmp, tmp1; local
1586 int L1, L0, R0, R1, tmp, tmp1; local
[all...]
/frameworks/base/media/libstagefright/codecs/aacdec/
H A Dsbr_inv_filt_levelemphasis.cpp149 Int32 tmp; local
185 tmp = InvFiltFactors[j];
187 if (tmp < BwVectorOld[i])
189 tmp = ((tmp << 1) + tmp + BwVectorOld[i]) >> 2;
193 tmp = fxp_mul32_Q29(Qfmt(0.90625f), tmp);
194 tmp = fxp_mac32_Q29(Qfmt(0.09375f), BwVectorOld[i], tmp);
[all...]
H A Ddigit_reversal_tables.cpp254 Int32 tmp[2]; local
263 tmp[0] = y[i];
264 tmp[1] = y[i+1];
267 y[j] = tmp[0];
268 y[j+1] = tmp[1];
270 tmp[0] = x[j];
271 tmp[1] = x[j+1];
274 x[i] = tmp[0];
275 x[i+1] = tmp[1];
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/
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...]
H A Dmem_align.c56 unsigned char *tmp; local
64 tmp = (unsigned char *)MemInfo.VBuffer;
66 pMemop->Set(CodecID, tmp, 0, size + alignment);
69 (unsigned char *) ((unsigned int) (tmp + alignment - 1) &
72 if (mem_ptr == tmp)
75 *(mem_ptr - 1) = (unsigned char) (mem_ptr - tmp);
/frameworks/base/graphics/java/android/renderscript/
H A DProgramFragment.java61 int[] tmp = new int[(mInputCount + mOutputCount + mConstantCount + mTextureCount) * 2];
65 tmp[idx++] = ProgramParam.INPUT.mID;
66 tmp[idx++] = mInputs[i].getID();
69 tmp[idx++] = ProgramParam.OUTPUT.mID;
70 tmp[idx++] = mOutputs[i].getID();
73 tmp[idx++] = ProgramParam.CONSTANT.mID;
74 tmp[idx++] = mConstants[i].getID();
77 tmp[idx++] = ProgramParam.TEXTURE_TYPE.mID;
78 tmp[idx++] = mTextureTypes[i].mID;
81 int id = mRS.nProgramFragmentCreate(mShader, tmp);
[all...]
H A DProgramVertex.java101 int[] tmp = new int[(mInputCount + mOutputCount + mConstantCount + mTextureCount) * 2];
105 tmp[idx++] = ProgramParam.INPUT.mID;
106 tmp[idx++] = mInputs[i].getID();
109 tmp[idx++] = ProgramParam.OUTPUT.mID;
110 tmp[idx++] = mOutputs[i].getID();
113 tmp[idx++] = ProgramParam.CONSTANT.mID;
114 tmp[idx++] = mConstants[i].getID();
117 tmp[idx++] = ProgramParam.TEXTURE_TYPE.mID;
118 tmp[idx++] = mTextureTypes[i].mID;
121 int id = mRS.nProgramVertexCreate(mShader, tmp);
[all...]

Completed in 327 milliseconds

1234567891011