Searched defs:mode (Results 1 - 25 of 309) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dd_gain_p.cpp58 mode -- enumerated type -- AMR mode
125 #include "mode.h"
177 enum Mode mode, /* i : AMR mode */
185 if (mode == MR122)
176 d_gain_pitch( enum Mode mode, Word16 index ) argument
H A Damrdecode.cpp83 Description: Changed '&' to '&&' in the setting of rx_type and mode for
153 state_data->prev_mode contains the new mode
161 used by each codec mode for WMF input format (const
165 used by each codec mode for IF2 input format (const
188 The codec mode and receive frame type is initialized based on the incoming
196 RX_NO_DATA, the mode is obtained from the buffer pointed to by
197 speech_bits_ptr, offset by MAX_SERIAL_SIZE+1, otherwise, the mode is set to
198 the previous mode (found the in state_data->prev_mode).
206 state_data is updated to the current mode.
265 // Determine AMR codec mode an
397 enum Mode mode = (enum Mode)MR475; local
[all...]
H A Dd_gain_c.cpp59 mode = AMR mode (MR795 or MR122) of type enum Mode
130 #include "mode.h"
192 enum Mode mode, /* i : AMR mode (MR795 or MR122) */
217 gc_pred(pred_state, mode, code, &exp, &frac,
226 temp = sub((Word16)mode, (Word16)MR122, pOverflow);
190 d_gain_code( gc_predState *pred_state, enum Mode mode, Word16 index, Word16 code[], Word16 *gain_code, Flag *pOverflow ) argument
H A Ddec_gain.cpp72 #include "mode.h"
111 index = AMR mode of type enum Mode
183 enum Mode mode, /* i : AMR mode */
203 /* Read the quantized gains (table depends on mode) */
206 if (mode == MR102 || mode == MR74 || mode == MR67)
217 if (mode == MR475)
275 gc_pred(pred_state, mode, cod
181 Dec_gain( gc_predState *pred_state, enum Mode mode, Word16 index, Word16 code[], Word16 evenSubfr, Word16 * gain_pit, Word16 * gain_cod, Flag * pOverflow ) argument
[all...]
H A Dsp_dec.cpp104 #include "mode.h"
140 mode (Flag)
512 mode = GSM AMR codec mode (enum Mode)
560 enum Mode mode, // i : AMR mode
581 // Override mode to MRDTX
584 Bits2prm (mode, serial, parm);
588 Decoder_amr(st->decoder_amrState, mode, parm, frame_type,
591 Post_Filter(st->post_state, mode, synt
633 GSMFrameDecode( Speech_Decode_FrameState *st, enum Mode mode, Word16 *serial, enum RXFrameType frame_type, Word16 *synth) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DPorterDuffXfermode.java23 public final PorterDuff.Mode mode; field in class:PorterDuffXfermode
26 * Create an xfermode that uses the specified porter-duff mode.
28 * @param mode The porter-duff mode that is applied
30 public PorterDuffXfermode(PorterDuff.Mode mode) { argument
31 this.mode = mode;
32 native_instance = nativeCreateXfermode(mode.nativeInt);
35 private static native int nativeCreateXfermode(int mode); argument
H A DPorterDuffColorFilter.java21 * Create a colorfilter that uses the specified color and porter-duff mode.
24 * porter-duff mode
25 * @param mode The porter-duff mode that is applied
27 public PorterDuffColorFilter(int srcColor, PorterDuff.Mode mode) { argument
28 native_instance = native_CreatePorterDuffFilter(srcColor, mode.nativeInt);
29 nativeColorFilter = nCreatePorterDuffFilter(native_instance, srcColor, mode.nativeInt);
H A DAvoidXfermode.java40 * There are two modes, and each mode interprets a tolerance value.
42 * Avoid: In this mode, drawing is allowed only on destination pixels that
47 * Target: In this mode, drawing only occurs on destination pixels that
52 public AvoidXfermode(int opColor, int tolerance, Mode mode) { argument
56 native_instance = nativeCreate(opColor, tolerance, mode.nativeInt);
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dbits2prm.cpp52 #include "mode.h"
189 mode = AMR mode of type enum Mode
226 enum Mode mode, // i : AMR mode
233 for (i = 0; i < prmno[mode]; i++)
235 prm[i] = Bin2int (bitno[mode][i], bits);
236 bits += bitno[mode][i];
270 enum Mode mode, /* i : AMR mode */
269 Bits2prm( enum Mode mode, Word16 bits[], Word16 prm[] ) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dol_ltp.cpp91 mode = coder mode (Mode)
133 enum Mode mode, // i : coder mode
143 if (sub ((Word16)mode, (Word16)MR102) != 0 )
149 if (sub ((Word16)mode, (Word16)MR475) == 0 || sub ((Word16)mode, (Word16)MR515) == 0 )
151 *T_op = Pitch_ol(vadSt, mode, wsp, PIT_MIN, PIT_MAX, L_FRAME, idx, dtx);
155 if ( sub ((Word16)mode, (Word16)MR795) <= 0 )
157 *T_op = Pitch_ol(vadSt, mode, ws
201 ol_ltp( pitchOLWghtState *st, vadState *vadSt, enum Mode mode, Word16 wsp[], Word16 *T_op, Word16 old_lags[], Word16 ol_gain_flg[], Word16 idx, Flag dtx, Flag *pOverflow ) argument
[all...]
H A Dlpc.cpp65 #include "mode.h"
397 mode = coder mode of type enum Mode
437 if ( sub ((Word16)mode, (Word16)MR122) == 0)
489 enum Mode mode, /* i : coder mode */
501 if (mode == MR122)
487 lpc( lpcState *st, enum Mode mode, Word16 x[], Word16 x_12k2[], Word16 a[], Flag *pOverflow ) argument
H A Dpre_big.cpp95 mode = enum Mode -- coder mode
159 enum Mode mode, /* i : coder mode */
177 if (mode <= MR795)
158 pre_big( enum Mode mode, const Word16 gamma1[], const Word16 gamma1_12k2[], const Word16 gamma2[], Word16 A_t[], Word16 frameOffset, Word16 speech[], Word16 mem_w[], Word16 wsp[], Flag *pOverflow ) argument
H A Dprm2bits.cpp59 #include "mode.h"
205 mode = AMR mode of type enum Mode
228 DESCRIPTION: depending on the mode, different numbers of parameters
246 enum Mode mode, // i : AMR mode
253 for (i = 0; i < prmno[mode]; i++)
255 Int2bin (prm[i], bitno[mode][i], bits);
256 bits += bitno[mode][i];
290 enum Mode mode, /*
289 Prm2bits( enum Mode mode, Word16 prm[], Word16 bits[] ) argument
[all...]
H A Dq_gain_c.cpp73 #include "mode.h"
125 mode -- enum Mode -- AMR mode
192 enum Mode mode, /* i : AMR mode */
212 if (mode == MR122)
231 if (mode == MR122)
279 if (mode == MR122)
191 q_gain_code( enum Mode mode, Word16 exp_gcode0, Word16 frac_gcode0, Word16 *gain, Word16 *qua_ener_MR122, Word16 *qua_ener, Flag *pOverflow ) argument
H A Dq_gain_p.cpp114 mode -- enum Mode -- AMR mode
180 enum Mode mode, /* i : AMR mode */
213 if (mode == MR795)
215 /* in MR795 mode, compute three gain_pit candidates around the index
252 /* in MR122 mode, just return the index and gain pitch found.
256 if (mode == MR122)
179 q_gain_pitch( enum Mode mode, Word16 gp_limit, Word16 *gain, Word16 gain_cand[], Word16 gain_cind[], Flag *pOverflow ) argument
H A Dsid_sync.cpp74 #include "mode.h"
439 mode = codec mode (enum Mode)
457 This function performs SID frame synchronization to ensure that the mode
458 only switches to a neighbouring mode.
496 enum Mode mode,
502 if (mode == MRDTX)
495 sid_sync(void *state, enum Mode mode, enum TXFrameType *tx_frame_type) argument
H A Dcbsearch.cpp63 mode -- enum Mode -- coder mode
143 #include "mode.h"
196 enum Mode mode, /* i : coder mode */
209 if ((mode == MR475) || (mode == MR515))
226 else if (mode == MR59)
241 else if (mode == MR67)
256 else if ((mode
184 cbsearch(Word16 x[], Word16 h[], Word16 T0, Word16 pitch_sharp, Word16 gain_pit, Word16 res2[], Word16 code[], Word16 y[], Word16 **anap, enum Mode mode, Word16 subNr, Flag *pOverflow) argument
[all...]
H A Dg_pitch.cpp81 #include "mode.h"
115 mode = AMR mode (enum Mode)
164 enum Mode mode, // i : AMR mode
266 if (sub(mode, MR122) == 0)
299 enum Mode mode, /* i : AMR mode */
457 if (mode == MR122)
298 G_pitch( enum Mode mode, Word16 xn[], Word16 y1[], Word16 g_coeff[], Word16 L_subfr, Flag *pOverflow ) argument
/frameworks/base/core/jni/android/graphics/
H A DPorterDuff.cpp35 SkPorterDuff::Mode mode) {
36 return SkPorterDuff::CreateXfermode(mode);
34 CreateXfermode(JNIEnv* env, jobject, SkPorterDuff::Mode mode) argument
H A DXfermode.cpp35 U8CPU tolerance, SkAvoidXfermode::Mode mode)
37 return new SkAvoidXfermode(opColor, tolerance, mode);
34 avoid_create(JNIEnv* env, jobject, SkColor opColor, U8CPU tolerance, SkAvoidXfermode::Mode mode) argument
/frameworks/support/v4/gingerbread/android/support/v4/view/
H A DViewCompatGingerbread.java26 public static void setOverScrollMode(View v, int mode) { argument
27 v.setOverScrollMode(mode);
/frameworks/av/media/libstagefright/
H A DMediaSource.cpp37 void MediaSource::ReadOptions::setSeekTo(int64_t time_us, SeekMode mode) { argument
40 mSeekMode = mode;
50 int64_t *time_us, SeekMode *mode) const {
52 *mode = mSeekMode;
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dbits.c36 Word16 coding_mode, /* i: coding bit-stream ratio mode */
37 Word16 mode, /* i: coding bit-stream ratio mode*/
86 *(dataOut + 2) = mode;
118 /* change mode index in case of SID frame */
161 /* insert SID type indication and speech mode in case of SID frame */
169 temp += mode & 0x000F;
35 PackBits(Word16 prms[], Word16 coding_mode, Word16 mode, Coder_State *st ) argument
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DXfermodeActivity.java127 private void drawRects(Canvas canvas, PorterDuff.Mode mode) { argument
132 mRedPaint.setXfermode(new PorterDuffXfermode(mode));
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPorterDuffXfermode_Delegate.java70 public static PorterDuff.Mode getPorterDuffMode(int mode) { argument
72 if (m.nativeInt == mode) {
78 String.format("Unknown PorterDuff.Mode: %d", mode), null /*data*/);
83 public static Composite getComposite(PorterDuff.Mode mode, int alpha) { argument
85 switch (mode) {
121 String.format("Unsupported PorterDuff Mode: %s", mode.name()),
130 /*package*/ static int nativeCreateXfermode(int mode) { argument
131 PorterDuffXfermode_Delegate newDelegate = new PorterDuffXfermode_Delegate(mode);
137 private PorterDuffXfermode_Delegate(int mode) { argument
138 mMode = mode;
[all...]

Completed in 204 milliseconds

1234567891011>>