Searched defs:code (Results 101 - 125 of 241) sorted by relevance

12345678910

/frameworks/av/media/common_time/
H A DICommonClock.cpp237 status_t BnCommonClock::onTransact(uint32_t code, argument
241 switch(code) {
392 return BBinder::onTransact(code, data, reply, flags);
420 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) {
421 switch(code) {
430 return BBinder::onTransact(code, data, reply, flags);
419 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
H A DICommonTimeConfig.cpp324 status_t BnCommonTimeConfig::onTransact(uint32_t code, argument
328 switch(code) {
505 return BBinder::onTransact(code, data, reply, flags);
/frameworks/av/media/libmedia/
H A DIAudioTrack.cpp205 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
207 switch (code) {
291 return BBinder::onTransact(code, data, reply, flags);
204 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
H A DICrypto.cpp206 uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags) {
207 switch (code) {
380 return BBinder::onTransact(code, data, reply, flags);
205 onTransact( uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags) argument
H A DIHDCP.cpp172 uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags) {
173 switch (code) {
196 return BBinder::onTransact(code, data, reply, flags);
201 uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags) {
202 switch (code) {
349 return BBinder::onTransact(code, data, reply, flags);
171 onTransact( uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags) argument
200 onTransact( uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags) argument
H A DIMediaMetadataRetriever.cpp208 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
210 switch (code) {
312 return BBinder::onTransact(code, data, reply, flags);
207 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
H A DIMediaPlayerService.cpp157 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
159 switch (code) {
235 return BBinder::onTransact(code, data, reply, flags);
156 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Ddec_amr.cpp22 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 Dc2_11pf.cpp22 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 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 */
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 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/avc/enc/src/
H A Dresidual.cpp33 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 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/radio/
H A DIRadio.cpp229 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
231 switch(code) {
338 return BBinder::onTransact(code, data, reply, flags);
228 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/frameworks/base/cmds/app_process/
H A Dapp_main.cpp66 * executing boot class Java code and thereby deny ourselves access to
98 virtual void onExit(int code) argument
105 AndroidRuntime::onExit(code);
/frameworks/base/core/java/android/content/
H A DContentProviderNative.java74 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
77 switch (code) {
364 return super.onTransact(code, data, reply, flags);

Completed in 572 milliseconds

12345678910