Searched defs:mode (Results 226 - 250 of 309) sorted by last modified time

1234567891011>>

/frameworks/av/media/libmedia/
H A DAudioSystem.cpp161 status_t AudioSystem::setMode(audio_mode_t mode) argument
163 if (uint32_t(mode) >= AUDIO_MODE_CNT) return BAD_VALUE;
166 return af->setMode(mode);
H A DIAudioFlinger.cpp302 virtual status_t setMode(audio_mode_t mode) argument
306 data.writeInt32(mode);
836 audio_mode_t mode = (audio_mode_t) data.readInt32(); local
837 reply->writeInt32( setMode(mode) );
H A DICrypto.cpp98 CryptoPlugin::Mode mode,
106 data.writeInt32(mode);
229 CryptoPlugin::Mode mode = (CryptoPlugin::Mode)data.readInt32(); local
262 mode,
94 decrypt( bool secure, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const void *srcPtr, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
H A DVisualizer.cpp158 status_t Visualizer::setScalingMode(uint32_t mode) { argument
159 if ((mode != VISUALIZER_SCALING_MODE_NORMALIZED)
160 && (mode != VISUALIZER_SCALING_MODE_AS_PLAYED)) {
172 *((int32_t *)p->data + 1)= mode;
175 ALOGV("setScalingMode mode %d status %d p->status %d", mode, status, p->status);
180 mScalingMode = mode;
324 // this Visualizer instance regained control of the effect, reset the scaling mode
327 ALOGV(" scaling mode reset to %d", mScalingMode);
/frameworks/av/media/libmediaplayerservice/
H A DCrypto.cpp148 CryptoPlugin::Mode mode,
164 secure, key, iv, mode, srcPtr, subSamples, numSubSamples, dstPtr,
144 decrypt( bool secure, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const void *srcPtr, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.cpp964 status_t NuPlayer::setVideoScalingMode(int32_t mode) { argument
965 mVideoScalingMode = mode;
971 ALOGE("Failed to set scaling mode (%d): %s",
H A DNuPlayerDriver.cpp277 int mode = request.readInt32(); local
278 return mPlayer->setVideoScalingMode(mode);
/frameworks/av/media/libstagefright/
H A DAACExtractor.cpp291 ReadOptions::SeekMode mode; local
292 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
H A DACodec.cpp1641 if (!msg->findInt32("bitrate-mode", &tmp)) {
2514 // We're in "store-metadata-in-buffers" mode, the underlying
2528 PortMode mode = getPortMode(kPortIndexInput); local
2530 switch (mode) {
2540 CHECK_EQ((int)mode, (int)FREE_BUFFERS);
2603 PortMode mode = getPortMode(kPortIndexInput); local
2605 switch (mode) {
2717 CHECK_EQ((int)mode, (int)FREE_BUFFERS);
2786 PortMode mode = getPortMode(kPortIndexOutput); local
2788 switch (mode) {
2895 PortMode mode = getPortMode(kPortIndexOutput); local
[all...]
H A DAMRExtractor.cpp255 ReadOptions::SeekMode mode; local
256 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
H A DAVIExtractor.cpp1174 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode,
1209 if (mode == MediaSource::ReadOptions::SEEK_CLOSEST) {
1239 switch (mode) {
1172 getSampleIndexAtTime( size_t trackIndex, int64_t timeUs, MediaSource::ReadOptions::SeekMode mode, size_t *sampleIndex) const argument
H A DAwesomePlayer.cpp275 // Browser is in "incognito" mode, suppress logging URLs.
1102 // Even if set scaling mode fails, we will continue anyway
2501 status_t AwesomePlayer::setVideoScalingMode(int32_t mode) { argument
2503 return setVideoScalingMode_l(mode);
2506 status_t AwesomePlayer::setVideoScalingMode_l(int32_t mode) { argument
2507 mVideoScalingMode = mode;
2512 ALOGW("Failed to set scaling mode: %d", err);
2531 int mode = request.readInt32(); local
2532 return setVideoScalingMode(mode);
2638 void AwesomePlayer::modifyFlags(unsigned value, FlagMode mode) { argument
[all...]
H A DCameraSource.cpp762 ReadOptions::SeekMode mode; local
763 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
H A DFLACExtractor.cpp709 ReadOptions::SeekMode mode; local
710 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) {
H A DFragmentedMP4Extractor.cpp264 ReadOptions::SeekMode mode; local
265 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
H A DJPEGSource.cpp115 ReadOptions::SeekMode mode; local
116 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
H A DMP3Extractor.cpp43 // protection, bitrate, padding, private bits, mode, mode extension,
477 ReadOptions::SeekMode mode; local
480 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
H A DMPEG4Extractor.cpp2030 ReadOptions::SeekMode mode; local
2031 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
2033 switch (mode) {
2054 if (mode == ReadOptions::SEEK_CLOSEST) {
2085 if (mode == ReadOptions::SEEK_CLOSEST) {
H A DMediaCodec.cpp208 CryptoPlugin::Mode mode,
223 msg->setInt32("mode", mode);
1318 CryptoPlugin::Mode mode = CryptoPlugin::kMode_Unencrypted; local
1321 // secure mode, by fabricating a single unencrypted subSample.
1345 CHECK(msg->findInt32("mode", &tmp));
1347 mode = (CryptoPlugin::Mode)tmp;
1394 mode,
201 queueSecureInputBuffer( size_t index, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, int64_t presentationTimeUs, uint32_t flags, AString *errorDetailMsg) argument
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;
H A DNuMediaExtractor.cpp111 // default mode that we use from AwesomePlayer.
330 int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) {
352 options.setSeekTo(seekTimeUs, mode);
385 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) {
388 ssize_t minIndex = fetchTrackSamples(timeUs, mode);
329 fetchTrackSamples( int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) argument
384 seekTo( int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) argument
H A DOggExtractor.cpp175 ReadOptions::SeekMode mode; local
176 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
H A DStagefrightMetadataRetriever.cpp179 ALOGE("Unknown seek mode: %d", seekMode);
183 MediaSource::ReadOptions::SeekMode mode = local
192 options.setSeekTo(thumbNailTime, mode);
195 options.setSeekTo(frameTimeUs, mode);
H A DWAVExtractor.cpp389 ReadOptions::SeekMode mode; local
390 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DAACEncoder.cpp222 ReadOptions::SeekMode mode; local
223 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &mode));

Completed in 2061 milliseconds

1234567891011>>