Searched defs:mode (Results 151 - 175 of 586) sorted by relevance

1234567891011>>

/frameworks/webview/chromium/plat_support/
H A Ddraw_gl.h45 } mode; member in struct:AwDrawGLInfo
101 // Called to map a GraphicBuffer in |mode|.
102 typedef int AwMapFunction(long buffer_id, AwMapMode mode, void** vaddr);
112 // Set of functions used in rendering in hardware mode
/frameworks/av/drm/libmediadrm/
H A DICrypto.cpp100 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern,
106 data.writeInt32(mode);
313 CryptoPlugin::Mode mode = (CryptoPlugin::Mode)data.readInt32(); local
404 result = decrypt(key, iv, mode, pattern, source, offset,
99 decrypt(const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, const SourceBuffer &source, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const DestinationBuffer &destination, AString *errorDetailMsg) argument
/frameworks/av/media/libaaudio/examples/utils/
H A DAAudioArgsParser.h221 printf(" -x to use EXCLUSIVE mode\n");
225 aaudio_performance_mode_t mode = AAUDIO_PERFORMANCE_MODE_NONE; local
228 mode = AAUDIO_PERFORMANCE_MODE_NONE;
231 mode = AAUDIO_PERFORMANCE_MODE_LOW_LATENCY;
234 mode = AAUDIO_PERFORMANCE_MODE_POWER_SAVING;
237 printf("ERROR invalid performance mode %c\n", c);
240 return mode;
H A DAAudioExampleUtils.h33 const char *getSharingModeText(aaudio_sharing_mode_t mode) { argument
35 switch (mode) {
48 const char *getPerformanceModeText(aaudio_performance_mode_t mode) { argument
50 switch (mode) {
/frameworks/av/media/libaudiohal/
H A DDeviceHalHidl.cpp148 status_t DeviceHalHidl::setMode(audio_mode_t mode) { argument
151 return processReturn("setMode", mPrimaryDevice->setMode(AudioMode(mode)));
H A DDeviceHalLocal.cpp61 status_t DeviceHalLocal::setMode(audio_mode_t mode) { argument
62 return mDev->set_mode(mDev, mode);
/frameworks/av/media/libmedia/
H A DVisualizer.cpp159 status_t Visualizer::setScalingMode(uint32_t mode) { argument
160 if ((mode != VISUALIZER_SCALING_MODE_NORMALIZED)
161 && (mode != VISUALIZER_SCALING_MODE_AS_PLAYED)) {
173 *((int32_t *)p->data + 1)= mode;
176 ALOGV("setScalingMode mode %d status %d p->status %d", mode, status, p->status);
181 mScalingMode = mode;
188 status_t Visualizer::setMeasurementMode(uint32_t mode) { argument
189 if ((mode != MEASUREMENT_MODE_NONE)
191 && ((mode
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DHTTPLiveSource.cpp260 status_t NuPlayer::HTTPLiveSource::seekTo(int64_t seekTimeUs, MediaPlayerSeekMode mode) { argument
262 return mLiveSession->seekTo(seekTimeUs, mode);
H A DNuPlayerDrm.cpp237 CryptoPlugin::Mode mode,
252 ret->mode = mode;
322 int32_t mode; local
323 if (!meta->findInt32(kKeyCryptoMode, &mode)) {
324 mode = CryptoPlugin::kMode_AES_CTR;
330 (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 DAACExtractor.cpp293 ReadOptions::SeekMode mode; local
294 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
H A DAMRExtractor.cpp261 ReadOptions::SeekMode mode; local
262 if (mOffsetTableLength > 0 && options && options->getSeekTo(&seekTimeUs, &mode)) {
H A DJPEGSource.cpp115 ReadOptions::SeekMode mode; local
116 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
H A DMidiExtractor.cpp123 ReadOptions::SeekMode mode; local
124 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) {
H A DSimpleDecodingSource.cpp215 IMediaSource::ReadOptions::SeekMode mode; local
216 if (options != NULL && options->getSeekTo(&out_pts, &mode)) {
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DAACEncoder.cpp220 ReadOptions::SeekMode mode; local
221 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &mode));
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dq_plsf_3.cpp808 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 DSoftAMR.cpp398 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 Ddec_amr.cpp41 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 Ddtx_dec.cpp60 #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 Dcod_amr.cpp759 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 Dpitch_ol.cpp669 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 Dpvamrwbdecoder.cpp47 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 DAMRWB_E_SAMPLE.c44 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 Dcod_main.h89 VOAMRWBMODE mode; member in struct:__anon551
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
H A DSoftMPEG4.cpp155 MP4DecodingMode mode = local
160 outputBufferWidth(), outputBufferHeight(), mode);
171 if (mode != actualMode) {
192 if (mode == MPEG4_MODE && handlePortSettingsChange()) {

Completed in 554 milliseconds

1234567891011>>