/frameworks/av/media/libmedia/ |
H A D | IMediaMetadataRetriever.cpp | 197 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 199 switch (code) { 294 return BBinder::onTransact(code, data, reply, flags); 196 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
|
H A D | IMediaPlayerService.cpp | 210 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 212 switch (code) { 337 return BBinder::onTransact(code, data, reply, flags); 209 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | dec_amr.cpp | 22 ANSI-C code for the Adaptive Multi-Rate (AMR) speech codec 208 When the code is written for a specific target processor the 375 When the code is written for a specific target processor the 562 Word16 code[L_SUBFR]; 709 * - decode algebraic code * 837 decode_2i40_9bits (subfrNr, i, index, code); 846 decode_2i40_11bits (i, index, code); 855 decode_3i40_14bits (i, index, code); 864 decode_4i40_17bits (i, index, code); 870 dec_8i40_31bits (parm, code); 1360 Word16 code[L_SUBFR]; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | c2_11pf.cpp | 22 ANSI-C code for the Adaptive Multi-Rate (AMR) speech codec 73 * The code length is 40, containing 2 nonzero pulses: i0...i1. 159 code[], Innovative codebook, array of type Word16 179 The code length is 40, containing 2 nonzero pulses: i0...i1. 208 When the code is written for a specific target processor the 233 Word16 code[], /* o : Innovative codebook */ 303 code, 311 * Include fixed-gain pitch contribution into code[]. 320 code[i - T0], 324 code[ 227 code_2i40_11bits( Word16 x[], Word16 h[], Word16 T0, Word16 pitch_sharp, Word16 code[], Word16 y[], Word16 * sign, Flag * pOverflow ) argument [all...] |
H A D | c2_9pf.cpp | 22 ANSI-C code for the Adaptive Multi-Rate (AMR) speech codec 47 optimizing C code. 51 Description: Added setting of Overflow flag in inlined code. 146 0, 1, 0, 1, -1, /* subframe 1; track to code; 147 * -1 do not code this position 175 code = buffer containing the innovative codebook (Word16) 180 code buffer contains the new innovation vector gains 183 index = code index (Word16) 197 The code length is 40, containing 2 nonzero pulses: i0...i1. All pulses can 246 Word16 code[], // 302 code_2i40_9bits( Word16 subNr, Word16 x[], Word16 h[], Word16 T0, Word16 pitch_sharp, Word16 code[], Word16 y[], Word16 * sign, Flag * pOverflow ) argument [all...] |
H A D | c3_14pf.cpp | 22 ANSI-C code for the Adaptive Multi-Rate (AMR) speech codec 134 code[] Array of type Word16 -- Innovative codebook 155 The code length is 40, containing 3 nonzero pulses: i0...i2. 182 When the code is written for a specific target processor the 208 Word16 code[], /* o : Innovative codebook */ 276 code, 284 * Include fixed-gain pitch contribution into code[]. * 293 code[i - T0], 297 code[i] = 299 code[ 202 code_3i40_14bits( Word16 x[], Word16 h[], Word16 T0, Word16 pitch_sharp, Word16 code[], Word16 y[], Word16 * sign, Flag * pOverflow ) argument [all...] |
H A D | c4_17pf.cpp | 22 ANSI-C code for the Adaptive Multi-Rate (AMR) speech codec 145 code[] Array of type Word16 -- Innovative codebook 165 The code length is 40, containing 4 nonzero pulses: i0...i3. 192 When the code is written for a specific target processor the 218 Word16 code[], /* o : Innovative codebook */ 286 code, 294 * Include fixed-gain pitch contribution into code[]. * 305 code[i - T0], 309 code[i] = 311 code[ 212 code_4i40_17bits( Word16 x[], Word16 h[], Word16 T0, Word16 pitch_sharp, Word16 code[], Word16 y[], Word16 * sign, Flag * pOverflow ) argument [all...] |
H A D | cod_amr.cpp | 22 ANSI-C code for the Adaptive Multi-Rate (AMR) speech codec 245 When the code is written for a specific target processor the 443 When the code is written for a specific target processor the 611 When the code is written for a specific target processor the 718 When the code is written for a specific target processor the 830 Word16 code[L_SUBFR]; // Fixed codebook excitation 896 * * quantize and code the LSPs * 1097 code, y2, &ana, *usedMode, subfrNr); 1102 gainQuant(st->gainQuantSt, *usedMode, res, &st->exc[i_subfr], code, 1114 gain_code, Aq, synth, xn, code, y 1233 Word16 code[L_SUBFR]; /* Fixed codebook excitation */ local [all...] |
H A D | qgain795.cpp | 22 ANSI-C code for the Adaptive Multi-Rate (AMR) speech codec 185 When the code is written for a specific target processor the 435 frac_en[2]*2^exp_en[2] = <exc code> // LTP/CB innovation dot product 436 frac_en[3]*2^exp_en[3] = <code code> // CB innovation energy 454 When the code is written for a specific target processor the 726 code -- Word16 array -- CB innovation (unfiltered), Q13 753 (first gain pitch, then code pitch) 787 When the code is written for a specific target processor the 812 Word16 code[], /* 808 MR795_gain_quant( GainAdaptState *adapt_st, Word16 res[], Word16 exc[], Word16 code[], Word16 frac_coeff[], Word16 exp_coeff[], Word16 exp_code_en, Word16 frac_code_en, Word16 exp_gcode0, Word16 frac_gcode0, Word16 L_subfr, Word16 cod_gain_frac, Word16 cod_gain_exp, Word16 gp_limit, Word16 *gain_pit, Word16 *gain_cod, Word16 *qua_ener_MR122, Word16 *qua_ener, Word16 **anap, Flag *pOverflow ) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | dec_gain2_amr_wb.cpp | 22 ANSI-C code for the Adaptive Multi-Rate - Wideband (AMR-WB) speech codec 49 int16 code[], (i) Q9 : Innovative vector. 172 int16 code[], /* (i) Q9 : Innovative vector. */ 201 * Find energy of code and compute: 203 * L_tmp = 1.0 / sqrt(energy of code/ L_subfr) 206 L_tmp = Dot_product12(code, code, L_subfr, &exp); 207 exp -= 24; /* exp: -18 (code in Q9), -6 (/L_subfr) */ 290 /* adjust gain according to energy of code */ 336 g_code = *p++; /* selected code gai 169 dec_gain2_amr_wb( int16 index, int16 nbits, int16 code[], int16 L_subfr, int16 * gain_pit, int32 * gain_cod, int16 bfi, int16 prev_bfi, int16 state, int16 unusable_frame, int16 vad_hist, int16 * mem ) argument [all...] |
H A D | pvamrwbdecoder.cpp | 22 ANSI-C code for the Adaptive Multi-Rate - Wideband (AMR-WB) speech codec 308 int16 *code = &isf_tmp[M]; /* algebraic codevector */ local 309 int16 *excp = &code[L_SUBFR]; 557 * - decode algebraic code 559 * - find voicing factor and tilt of code for next subframe. 706 code[i] = amr_wb_round(L_tmp << 1); 708 pv_memcpy((void *)&exc[i_subfr], (void *)code, L_SUBFR*sizeof(*code)); 713 * Add the fixed-gain pitch contribution to code[]. 718 /* the innovative code does [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | c2t64fx.c | 51 Word16 code[], /* (o) Q9 : algebraic (fixed) codebook excitation */ 263 code[i] = 0; 270 code[ix] = 512; /* codeword in Q9 format */ 274 code[ix] = -512; 280 code[iy] = 512; 284 code[iy] = -512; 47 ACELP_2t64_fx( Word16 dn[], Word16 cn[], Word16 H[], Word16 code[], Word16 y[], Word16 * index ) argument
|
H A D | q_gain2.c | 67 Word16 code[], /* (i) Q9 : Innovative vector. */ 171 * Find energy of code and compute: * 173 * L_tmp = MEAN_ENER - 10log10(energy of code/ L_subfr) * 174 * = MEAN_ENER - 3.0103*log2(energy of code/ L_subfr) * 177 L_tmp = Dot_product12_asm(code, code, L_subfr, &exp_code); 179 L_tmp = Dot_product12(code, code, L_subfr, &exp_code); 181 /* exp_code: -18 (code in Q9), -6 (/L_subfr), -31 (L_tmp Q31->Q0) */ 223 * In the table the pitch gains are in Q14, the code gain 62 Q_gain2( Word16 xn[], Word16 y1[], Word16 Q_xn, Word16 y2[], Word16 code[], Word16 g_coeff[], Word16 L_subfr, Word16 nbits, Word16 * gain_pit, Word32 * gain_cod, Word16 gp_clip, Word16 * mem ) argument [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | residual.cpp | 33 uint code; local 54 code = *((uint*)pSrc); 56 *((uint*)pDst) = code; 58 status = BitstreamWriteBits(stream, 32, code); 63 code = *((uint*)pSrc); 65 *((uint*)pDst) = code; 67 status = BitstreamWriteBits(stream, 16, code); 87 code = *((uint*)pSrc); 89 *((uint*)pDst) = code; 91 status = BitstreamWriteBits(stream, 32, code); [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | bitstream.cpp | 175 PV_STATUS BitstreamShowBits32HC(BitstreamDecVideo *stream, uint32 *code) argument 184 *code = stream->curr_word; 193 PV_STATUS BitstreamShowBits32(BitstreamDecVideo *stream, int nbits, uint32 *code) argument 202 *code = stream->curr_word >> (32 - nbits); 215 PV_STATUS BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code) argument 226 *code = stream->curr_word >> (32 - nbits); 238 PV_STATUS BitstreamShow15Bits(BitstreamDecVideo *stream, uint *code) argument 247 *code = stream->curr_word >> 17; 257 PV_STATUS BitstreamShow13Bits(BitstreamDecVideo *stream, uint *code) argument 266 *code 272 uint code; local 289 uint code; local 313 uint code; local 335 uint code; local 384 uint32 code; local 398 uint32 code; local 422 PV_BitstreamShowBitsByteAlign(BitstreamDecVideo *stream, int nbits, uint32 *code) argument 441 PV_BitstreamShowBitsByteAlignNoForceStuffing(BitstreamDecVideo *stream, int nbits, uint32 *code) argument [all...] |
H A D | combined_decode.cpp | 32 /* 03/30/2000 : Cleaned up and optimized the code. */ 36 /* Resilience." Now the code resembles the */ 55 uint code; local 137 BitstreamShowBits16(stream, stuffing_length, &code); 138 while (code == 1) 141 BitstreamShowBits16(stream, stuffing_length, &code); 188 BitstreamShowBits16(stream, stuffing_length, &code); 189 while (code == 1) 192 BitstreamShowBits16(stream, stuffing_length, &code); 342 /* 3/29/00 : Changed the returned value and optimized the code [all...] |
H A D | datapart_decode.cpp | 136 /* 04/01/2001 fixed MB_stuffing, removed unnecessary code */ 148 uint code; local 159 BitstreamShowBits16(stream, 9, &code); 160 while (code == 1) 163 BitstreamShowBits16(stream, 9, &code); 191 BitstreamShowBits16(stream, 9, &code); 192 while (code == 1) 195 BitstreamShowBits16(stream, 9, &code); 315 uint code; local 324 BitstreamShowBits16(stream, 10, &code); [all...] |
/frameworks/av/services/camera/libcameraservice/api_pro/ |
H A D | ProCamera2Client.cpp | 249 status_t code; local 250 if ((code = mDevice->waitUntilDrained()) != OK) { 251 ALOGE("%s: waitUntilDrained failed with code 0x%x", __FUNCTION__, code); 366 status_t code; local 367 if ((code = mDevice->waitUntilDrained()) != OK) { 368 ALOGE("%s: waitUntilDrained failed with code 0x%x", __FUNCTION__, 369 code);
|
/frameworks/base/cmds/app_process/ |
H A D | app_main.cpp | 65 * executing boot class Java code and thereby deny ourselves access to 100 virtual void onExit(int code) argument 107 AndroidRuntime::onExit(code);
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProviderNative.java | 74 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument 77 switch (code) { 364 return super.onTransact(code, data, reply, flags);
|
H A D | IntentSender.java | 95 * @param resultCode The final result code determined by the send. 142 * @param code Result code to supply back to the IntentSender's target. 156 public void sendIntent(Context context, int code, Intent intent, argument 158 sendIntent(context, code, intent, onFinished, handler, null); 168 * @param code Result code to supply back to the IntentSender's target. 187 public void sendIntent(Context context, int code, Intent intent, argument 194 int res = mTarget.send(code, intent, resolvedType,
|
/frameworks/base/core/java/android/net/ |
H A D | VpnService.java | 105 * is an example of declaring a VPN service in {@code AndroidManifest.xml}: 135 * Prepare to establish a VPN connection. This method returns {@code null} 206 * @return {@code true} on success. 215 * @return {@code true} on success. 226 * @return {@code true} on success. 247 * @return {@code true} on success. 278 * @return {@code true} on success. 299 * to a {@code Network} using APIs such as {@link Network#bindSocket(Socket)} or 301 * the set of {@code Network}s it is using changes. 303 * <p>{@code network 367 onTransact(int code, Parcel data, Parcel reply, int flags) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | Binder.java | 57 * a broadcast) that will not involve re-creating the activity and thus run its code 77 /* mObject is used by native code, do not remove or rename */ 150 * native-only code on Dalvik. 275 protected boolean onTransact(int code, Parcel data, Parcel reply, argument 277 if (code == INTERFACE_TRANSACTION) { 280 } else if (code == DUMP_TRANSACTION) { 374 public final boolean transact(int code, Parcel data, Parcel reply, argument 376 if (false) Log.v("Binder", "Transact: " + code + " to " + this); 380 boolean r = onTransact(code, data, reply, flags); 408 static void checkParcel(IBinder obj, int code, Parce argument 435 execTransact(int code, long dataObj, long replyObj, int flags) argument 494 transact(int code, Parcel data, Parcel reply, int flags) argument 500 transactNative(int code, Parcel data, Parcel reply, int flags) argument [all...] |
H A D | CommonClock.java | 317 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument 319 switch (code) { 330 return super.onTransact(code, data, reply, flags);
|
/frameworks/base/core/jni/ |
H A D | android_util_XmlBlock.cpp | 103 ResXMLParser::event_code_t code = st->next(); local 104 switch (code) {
|