Searched defs:code (Results 126 - 150 of 277) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dc2_9pf.cpp22 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 Dc3_14pf.cpp22 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 Dc4_17pf.cpp22 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 Dcod_amr.cpp22 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 Dqgain795.cpp22 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 Ddec_gain2_amr_wb.cpp22 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 Dpvamrwbdecoder.cpp22 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 Dc2t64fx.c51 Word16 code[], /* (o) Q9 : algebraic (fixed) codebook excitation */
266 code[i] = 0;
273 code[ix] = 512; /* codeword in Q9 format */
277 code[ix] = -512;
283 code[iy] = 512;
287 code[iy] = -512;
47 ACELP_2t64_fx( Word16 dn[], Word16 cn[], Word16 H[], Word16 code[], Word16 y[], Word16 * index ) argument
H A Dq_gain2.c67 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/m4v_h263/dec/src/
H A Dbitstream.cpp175 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 Dcombined_decode.cpp32 /* 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 Ddatapart_decode.cpp136 /* 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/media/mtp/
H A DMtpDataPacket.cpp66 void MtpDataPacket::setOperationCode(MtpOperationCode code) { argument
67 MtpPacket::putUInt16(MTP_CONTAINER_CODE_OFFSET, code);
/frameworks/av/radio/
H A DIRadio.cpp227 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
229 switch(code) {
331 return BBinder::onTransact(code, data, reply, flags);
226 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/frameworks/base/cmds/app_process/
H A Dapp_main.cpp65 * executing boot class Java code and thereby deny ourselves access to
98 virtual void onExit(int code) argument
106 AndroidRuntime::onExit(code);
/frameworks/base/core/java/android/content/
H A DContentProviderNative.java75 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
78 switch (code) {
367 return super.onTransact(code, data, reply, flags);
H A DIntentSender.java92 * @param resultCode The final result code determined by the send.
139 * @param code Result code to supply back to the IntentSender's target.
153 public void sendIntent(Context context, int code, Intent intent, argument
155 sendIntent(context, code, intent, onFinished, handler, null);
165 * @param code Result code to supply back to the IntentSender's target.
184 public void sendIntent(Context context, int code, Intent intent, argument
192 code, intent, resolvedType,
/frameworks/base/core/java/android/net/
H A DVpnService.java106 * is an example of declaring a VPN service in {@code AndroidManifest.xml}:
136 * Prepare to establish a VPN connection. This method returns {@code null}
209 * @return {@code true} on success.
218 * @return {@code true} on success.
229 * @return {@code true} on success.
250 * @return {@code true} on success.
281 * @return {@code true} on success.
302 * to a {@code Network} using APIs such as {@link Network#bindSocket(Socket)} or
304 * the set of {@code Network}s it is using changes.
306 * <p>{@code network
370 onTransact(int code, Parcel data, Parcel reply, int flags) argument
[all...]
/frameworks/base/core/java/android/os/
H A DCommonClock.java316 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
318 switch (code) {
329 return super.onTransact(code, data, reply, flags);
/frameworks/base/core/jni/
H A Dandroid_os_HwBinder.cpp121 uint32_t code,
148 code,
176 err = UNKNOWN_ERROR; // XXX special error code instead?
228 jint /* code */,
120 onTransact( uint32_t code, const hardware::Parcel &data, hardware::Parcel *reply, uint32_t flags, TransactCallback callback) argument
H A Dandroid_util_XmlBlock.cpp103 ResXMLParser::event_code_t code = st->next(); local
104 switch (code) {
/frameworks/base/media/tests/NativeMidiDemo/jni/
H A Dnativemidi-jni.cpp51 static const char* getSLErrStr(int code) { argument
52 return errStrings[code];
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DNotificationPlayer.java47 int code; field in class:NotificationPlayer.Command
55 return "{ code=" + code + " looping=" + looping + " attributes=" + attributes
195 switch (cmd.code) {
317 cmd.code = PLAY;
344 cmd.code = PLAY;
366 cmd.code = STOP;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyButtonView.java116 public void setCode(int code) { argument
117 mCode = code;
237 // no key code, just a regular ImageView
/frameworks/base/services/core/jni/
H A Dcom_android_server_tv_TvUinputBridge.cpp106 void sendEvent(int32_t type, int32_t code, int32_t value);
177 void NativeConnection::sendEvent(int32_t type, int32_t code, int32_t value) { argument
181 iev.code = code;
211 int32_t code = getLinuxKeyCode(keyCode); local
213 if (code != KEY_UNKNOWN) {
214 connection->sendEvent(EV_KEY, code, down ? 1 : 0);

Completed in 398 milliseconds

1234567891011>>