/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDrm.cpp | 237 CryptoPlugin::Mode mode, 252 ret->mode = mode; 317 int32_t mode; local 318 if (!meta.findInt32(kKeyCryptoMode, &mode)) { 319 mode = CryptoPlugin::kMode_AES_CTR; 325 (CryptoPlugin::Mode)mode, 233 makeCryptoInfo( int numSubSamples, uint8_t key[kBlockSize], uint8_t iv[kBlockSize], CryptoPlugin::Mode mode, size_t *clearbytes, size_t *encryptedbytes) argument
|
/frameworks/av/media/libstagefright/ |
H A D | JPEGSource.cpp | 116 ReadOptions::SeekMode mode; local 117 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
|
H A D | SimpleDecodingSource.cpp | 234 MediaSource::ReadOptions::SeekMode mode; local 235 if (options != NULL && options->getSeekTo(&out_pts, &mode)) {
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | q_plsf_3.cpp | 808 mode = coder mode (enum) 813 MA prediction in DTX mode (Word16) 819 in DTX mode 836 mr795_1_lsf = first codebook for MR795 mode (const Word16) 838 past_rq_init = initalization table for MA predictor in DTX mode 866 enum Mode mode, // i : coder mode 870 Word16 *pred_init_i // o : init index for MA prediction in DTX mode 891 if (test(), sub(mode, MRDT 1006 Q_plsf_3( Q_plsfState *st, enum Mode mode, Word16 *lsp1, Word16 *lsp1_q, Word16 *indice, Word16 *pred_init_i, Flag *pOverflow ) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/ |
H A D | SoftAMR.cpp | 398 int16 mode = ((inputPtr[0] >> 3) & 0x0f); local 400 size_t frameSize = WmfDecBytesPerFrame[mode] + 1; 445 int16 mode = ((inputPtr[0] >> 3) & 0x0f); local 447 if (mode >= 10 && mode <= 13) { 449 mode); 457 size_t frameSize = getFrameSize(mode); 467 if (mode >= 9) { 471 } else if (mode < 9) { 477 &frameType, &mode, local [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | dec_amr.cpp | 41 codec mode. The functions used to initialize, reset, and exit are also 276 mode = codec mode (enum Mode) 309 int Decoder_amr_reset (Decoder_amrState *state, enum Mode mode) 324 if (mode != MRDTX) 333 if (mode != MRDTX) { 345 if (mode != MRDTX) { 354 if (mode != MRDTX) 360 if (mode != MRDTX) 366 if (mode ! 395 Decoder_amr_reset(Decoder_amrState *state, enum Mode mode) argument 1333 Decoder_amr( Decoder_amrState *st, enum Mode mode, Word16 parm[], enum RXFrameType frame_type, Word16 synth[], Word16 A_t[] ) argument [all...] |
H A D | dtx_dec.cpp | 60 #include "mode.h" 348 mode = AMR mode 394 enum Mode mode, // i : AMR mode 445 st->log_en_adjust = dtx_log_en_adjust[mode]; 488 // make log_en speech coder mode independent 634 // 0.1*dtx_log_en_adjust[mode]); 636 shr(mult(shl(dtx_log_en_adjust[mode],5),3277),5)); 751 // adjust level to speech coder mode 840 dtx_dec( dtx_decState *st, Word16 mem_syn[], D_plsfState* lsfState, gc_predState* predState, Cb_gain_averageState* averState, enum DTXStateType new_state, enum Mode mode, Word16 parm[], Word16 synth[], Word16 A_t[], Flag *pOverflow ) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | cod_amr.cpp | 759 mode = AMR mode of type enum Mode 763 usedMode = pointer to the used mode of type enum Mode 814 enum Mode mode, // i : AMR mode 817 enum Mode *usedMode, // o : used mode 867 *usedMode = mode; 902 lpc(st->lpcSt, mode, st->p_window, st->p_window_12k2, A_t); 906 lsp(st->lspSt, mode, *usedMode, A_t, Aq_t, lsp_new, &ana); 914 // Check if in DTX mode 1215 cod_amr( cod_amrState *st, enum Mode mode, Word16 new_speech[], Word16 ana[], enum Mode *usedMode, Word16 synth[] ) argument [all...] |
H A D | pitch_ol.cpp | 669 mode = data of type enum Mode specifies the mode. 724 enum Mode mode, // i : coder mode 756 if ((sub(mode, MR475) == 0) || (sub(mode, MR515) == 0)) 828 // mode dependent scaling in Lag_max 829 if (sub(mode, MR122) == 0) 941 enum Mode mode, /* i : coder mode */ 939 Pitch_ol( vadState *vadSt, enum Mode mode, Word16 signal[], Word16 pit_min, Word16 pit_max, Word16 L_frame, Word16 idx, Flag dtx, Flag *pOverflow ) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | pvamrwbdecoder.cpp | 47 int16 mode, input : used mode 282 int16 mode, /* input : used mode */ 339 /* mode verification */ 341 nb_bits = AMR_WB_COMPRESSED[mode]; 431 if (newDTXState != SPEECH) /* CNG mode */ 556 * - decode the pitch delay and filter mode 281 pvDecoder_AmrWb( int16 mode, int16 prms[], int16 synth16k[], int16 * frame_length, void *spd_state, int16 frame_type, int16 ScratchMem[] ) argument
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/ |
H A D | AMRWB_E_SAMPLE.c | 44 printf ("Options +M* for seting compression bitrate mode, default is 23.85kbps\n"); 60 printf ("Options +DTX enable DTX mode, default is disable.\n"); 74 int mode, 185 ret = AudioAPI.SetParam(hCodec, VO_PID_AMRWB_MODE, &mode); 264 int mode, r; local 281 mode = VOAMRWB_MD2385; 295 case '0': mode = VOAMRWB_MD66; 297 case '1': mode = VOAMRWB_MD885; 299 case '2': mode = VOAMRWB_MD1265; 301 case '3': mode 73 encode( int mode, short allow_dtx, VOAMRWBFRAMETYPE frameType, const char* srcfile, const char* dstfile ) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
H A D | cod_main.h | 89 VOAMRWBMODE mode; member in struct:__anon541
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/ |
H A D | SoftMPEG4.cpp | 155 MP4DecodingMode mode = local 160 outputBufferWidth(), outputBufferHeight(), mode); 171 if (mode != actualMode) { 192 if (mode == MPEG4_MODE && handlePortSettingsChange()) {
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | combined_decode.cpp | 27 /* Purpose : Decode a frame of MPEG4 bitstream in combined mode. */ 34 /* 04/13/2000 : Rewrote this combined mode path completely */ 533 uint mode = video->headerInfo.Mode[mbnum]; local 574 if (mode & INTRA_MASK) /* MODE_INTRA || MODE_INTRA_Q */ 658 status = PV_GetMBvectors(video, mode);
|
H A D | datapart_decode.cpp | 28 /* Purpose : Decode a frame of MPEG4 bitstream in datapartitioning mode. */ 235 /* No skipped mode in I-packets 3/1/2001 */ 240 /* there is always acdcpred in DataPart mode 04/10/01 */ 265 /* No skipped mode in I-packets 3/1/2001 */ 424 /* there is always acdcprediction in DataPart mode 04/10/01 */ 629 uint8 mode = video->headerInfo.Mode[mbnum]; local 664 if (mode & INTRA_MASK) /* MODE_INTRA || mode == MODE_INTRA_Q */
|
H A D | dcac_prediction.cpp | 226 uint8 *mode = video->headerInfo.Mode; local 269 && (mode[mbnum-nMBPerRow] == MODE_INTRA || mode[mbnum-nMBPerRow] == MODE_INTRA_Q);; 277 && (mode[mbnum-1] == MODE_INTRA || mode[mbnum-1] == MODE_INTRA_Q); 285 && (mode[mbnum-nMBPerRow] == MODE_INTRA || mode[mbnum-nMBPerRow] == MODE_INTRA_Q); 287 && (mode[mbnum-1] == MODE_INTRA || mode[mbnum-1] == MODE_INTRA_Q);
|
H A D | mb_motion_comp.cpp | 61 the motion compensation mode in order to determine which luminance or 147 uint8 mode; local 191 /* get mode for current MB */ 192 mode = video->headerInfo.Mode[mbnum]; 197 if (mode & INTER_1VMASK) 252 /*if (mode == MODE_INTER4V) 05/08/15 */ 410 if (mode&INTER_1VMASK) 430 /* Post-processing mode (MBM_INTER8) */ 616 /* Post-processing mode (copy previous MB) */
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | combined_encode.cpp | 31 /* Purpose : Encode a frame of MPEG4 bitstream in Combined mode. */ 173 if (!currVol->shortVideoHeader) /* Not in ShortVideoHeader mode */ 255 /* Purpose : Encode a slice of MPEG4 bitstream in Combined mode and save */ 267 UChar mode = MODE_INTRA; local 440 mode = Mode[mbnum]; 461 /* Not in ShortVideoHeader mode and RESYNC MARKER MODE */ 491 Mode[mbnum] = mode; 674 /* Purpose : Encode a frame of MPEG4 bitstream in Combined mode. */
|
H A D | findhalfpel.cpp | 180 And decide between 1MV or 4MV mode 185 UChar *mode, Int xpos, Int ypos, Int *xhmin, Int *yhmin, UChar *hp_mem) 269 *mode = MODE_INTER; 282 *mode = MODE_INTER4V; 184 FindHalfPelBlk(VideoEncData *video, UChar *cur, MOT *mot, Int sad16, UChar *ncand8[], UChar *mode, Int xpos, Int ypos, Int *xhmin, Int *yhmin, UChar *hp_mem) argument
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_dec_defs.h | 128 int32 mode; member in struct:__anon586
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | Serializer.h | 39 static const char mode[]; /**< gain modes supported, e.g. AUDIO_GAIN_MODE_CHANNELS. */ member in struct:android::AudioGainTraits::Attributes 40 /** controlled channels, needed if mode AUDIO_GAIN_MODE_CHANNELS. */ 46 static const char minRampMs[]; /**< needed if mode AUDIO_GAIN_MODE_RAMP. */ 47 static const char maxRampMs[]; /**< .needed if mode AUDIO_GAIN_MODE_RAMP */
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
H A D | Engine.h | 69 virtual status_t setPhoneState(audio_mode_t mode) argument 71 return mPolicyEngine->setPhoneState(mode); 160 status_t setPhoneState(audio_mode_t mode);
|
/frameworks/base/cmds/idmap/ |
H A D | scan.cpp | 70 const mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; // 0644 local 71 if (chmod(filename, mode) == -1) {
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | Tracer.java | 116 * @param mode 118 public void setOutputMode(Mode mode) { argument 120 mCurrentMode = mode; 122 switch (mode) {
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProviderNative.java | 223 String mode = data.readString(); 229 fd = openFile(callingPkg, url, mode, signal, callerToken); 246 String mode = data.readString(); 251 fd = openAssetFile(callingPkg, url, mode, signal); 583 String callingPkg, Uri url, String mode, ICancellationSignal signal, IBinder token) 592 data.writeString(mode); 611 String callingPkg, Uri url, String mode, ICancellationSignal signal) 620 data.writeString(mode); 582 openFile( String callingPkg, Uri url, String mode, ICancellationSignal signal, IBinder token) argument 610 openAssetFile( String callingPkg, Uri url, String mode, ICancellationSignal signal) argument
|