/frameworks/av/media/libstagefright/ |
D | Utils.cpp | 89 if (meta->findInt32(kKeyBitRate, &avgBitRate)) { in convertMetaDataToMessage() 94 if (meta->findInt32(kKeyIsSyncFrame, &isSync) && isSync != 0) { in convertMetaDataToMessage() 100 CHECK(meta->findInt32(kKeyWidth, &width)); in convertMetaDataToMessage() 101 CHECK(meta->findInt32(kKeyHeight, &height)); in convertMetaDataToMessage() 107 if (meta->findInt32(kKeySARWidth, &sarWidth) in convertMetaDataToMessage() 108 && meta->findInt32(kKeySARHeight, &sarHeight)) { in convertMetaDataToMessage() 114 if (meta->findInt32(kKeyColorFormat, &colorFormat)) { in convertMetaDataToMessage() 128 if (meta->findInt32(kKeyRotation, &rotationDegrees)) { in convertMetaDataToMessage() 133 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); in convertMetaDataToMessage() 134 CHECK(meta->findInt32(kKeySampleRate, &sampleRate)); in convertMetaDataToMessage() [all …]
|
D | ACodec.cpp | 1171 if (!msg->findInt32("encoder", &encoder)) { in configureCodec() 1189 && !msg->findInt32("bitrate", &bitRate)) { in configureCodec() 1195 && msg->findInt32("store-metadata-in-buffers", &storeMeta) in configureCodec() 1209 && msg->findInt32("prepend-sps-pps-to-idr-frames", &prependSPSPPS) in configureCodec() 1240 && msg->findInt32("store-metadata-in-buffers-output", &storeMeta) in configureCodec() 1267 if (!msg->findInt32( in configureCodec() 1283 if (msg->findInt32("protected", &usageProtected) && usageProtected) { in configureCodec() 1299 if (msg->findInt32("auto-frc", &autoFrc)) { in configureCodec() 1316 if (msg->findInt32("feature-tunneled-playback", &tunneled) && in configureCodec() 1322 if (!msg->findInt32("audio-hw-sync", &audioHwSync)) { in configureCodec() [all …]
|
D | StagefrightMetadataRetriever.cpp | 228 if (buffer->meta_data()->findInt32(kKeyIsUnreadable, &unreadable) in extractVideoFrameWithCodecFlags() 256 CHECK(meta->findInt32(kKeyWidth, &width)); in extractVideoFrameWithCodecFlags() 257 CHECK(meta->findInt32(kKeyHeight, &height)); in extractVideoFrameWithCodecFlags() 269 if (!trackMeta->findInt32(kKeyRotation, &rotationAngle)) { in extractVideoFrameWithCodecFlags() 283 if (meta->findInt32(kKeyDisplayWidth, &displayWidth)) { in extractVideoFrameWithCodecFlags() 286 if (meta->findInt32(kKeyDisplayHeight, &displayHeight)) { in extractVideoFrameWithCodecFlags() 291 CHECK(meta->findInt32(kKeyColorFormat, &srcFormat)); in extractVideoFrameWithCodecFlags() 346 if (fileMeta->findInt32(kKeyIsDRM, &drm) && drm != 0) { in getFrameAtTime() 547 if (!trackMeta->findInt32(kKeyBitRate, &audioBitrate)) { in parseMetaData() 553 CHECK(trackMeta->findInt32(kKeyWidth, &videoWidth)); in parseMetaData() [all …]
|
D | OMXCodec.cpp | 296 if (source->getFormat()->findInt32( in Create() 580 CHECK(meta->findInt32(kKeyBitRate, &bitRate)); in configureCodec() 588 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); in configureCodec() 589 CHECK(meta->findInt32(kKeySampleRate, &sampleRate)); in configureCodec() 591 if (!meta->findInt32(kKeyAACProfile, &aacProfile)) { in configureCodec() 596 if (!meta->findInt32(kKeyIsADTS, &isADTS)) { in configureCodec() 607 if (meta->findInt32(kKeyChannelCount, &numChannels) in configureCodec() 608 && meta->findInt32(kKeySampleRate, &sampleRate)) { in configureCodec() 619 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); in configureCodec() 620 CHECK(meta->findInt32(kKeySampleRate, &sampleRate)); in configureCodec() [all …]
|
D | MediaCodec.cpp | 168 if (!(*response)->findInt32("err", &err)) { in PostAndAwaitResponse() 456 CHECK(response->findInt32("flags", (int32_t *)flags)); in dequeueOutputBuffer() 702 CHECK(buffer->meta()->findInt32("omxFlags", &omxFlags)); in handleDequeueOutputBuffer() 728 CHECK(msg->findInt32("what", &what)); in onMessageReceived() 734 CHECK(msg->findInt32("err", &err)); in onMessageReceived() 735 CHECK(msg->findInt32("actionCode", &actionCode)); in onMessageReceived() 898 if (mOutputFormat->findInt32("using-sw-renderer", &usingSwRenderer) in onMessageReceived() 912 if (!msg->findInt32("err", &err)) { in onMessageReceived() 930 if (msg->findInt32("err", &err)) { in onMessageReceived() 942 CHECK(msg->findInt32("portIndex", &portIndex)); in onMessageReceived() [all …]
|
D | MediaCodecSource.cpp | 107 if (!response->findInt32("err", &err)) { in postSynchronouslyAndReturnError() 202 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 467 if (!response->findInt32("err", &err)) { in postSynchronouslyAndReturnError() 674 CHECK(msg->findInt32("callbackID", &cbID)); in onMessageReceived() 677 CHECK(msg->findInt32("index", &index)); in onMessageReceived() 689 CHECK(msg->findInt32("index", &index)); in onMessageReceived() 693 CHECK(msg->findInt32("flags", &flags)); in onMessageReceived() 762 CHECK(msg->findInt32("err", &err)); in onMessageReceived()
|
D | AACWriter.cpp | 104 CHECK(meta->findInt32(kKeyChannelCount, &mChannelCount)); in addSource() 105 CHECK(meta->findInt32(kKeySampleRate, &mSampleRate)); in addSource() 109 if (meta->findInt32(kKeyAACProfile, &mAACProfile)) { in addSource() 337 … if (buffer->meta_data()->findInt32(kKeyIsCodecConfig, &isCodecSpecific) && isCodecSpecific) { in threadFunc()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayer.cpp | 346 CHECK(format->findInt32("type", &trackType)); in writeTrackInfo() 360 CHECK(format->findInt32("auto", &isAuto)); in writeTrackInfo() 361 CHECK(format->findInt32("default", &isDefault)); in writeTrackInfo() 362 CHECK(format->findInt32("forced", &isForced)); in writeTrackInfo() 445 CHECK(msg->findInt32("type", (int32_t*)&type32)); in onMessageReceived() 472 CHECK(msg->findInt32("select", &select)); in onMessageReceived() 493 && info->findInt32("type", &type) in onMessageReceived() 516 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 610 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 689 CHECK(msg->findInt32("generation", &requesterGeneration)); in onMessageReceived() [all …]
|
D | HTTPLiveSource.cpp | 183 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 221 CHECK(msg->findInt32("what", &what)); in onSessionNotify() 231 format->findInt32("width", &width) && format->findInt32("height", &height)) { in onSessionNotify() 257 CHECK(msg->findInt32("err", &err)); in onSessionNotify() 266 CHECK(msg->findInt32( in onSessionNotify()
|
D | NuPlayerDecoder.cpp | 87 if (!msg->findInt32("input-buffers", &numInput)) { in onMessageReceived() 91 if (!msg->findInt32("output-buffers", &numOutput)) { in onMessageReceived() 144 if (format->findInt32("secure", &secure) && secure != 0) { in onConfigure() 548 CHECK(msg->findInt32("generation", &generation)); in isStaleReply() 563 CHECK(accessUnit->meta()->findInt32("discontinuity", &type)); in fetchInputData() 697 CHECK(msg->findInt32("err", &streamErr) || !hasBuffer); in onInputBufferFetched() 743 if (buffer->meta()->findInt32("eos", &eos) && eos) { in onInputBufferFetched() 745 } else if (buffer->meta()->findInt32("csd", &csd) && csd) { in onInputBufferFetched() 796 if (msg->findInt32("render", &render) && render) { in onRenderBuffer() 826 if (!mInputFormat->findInt32(keys[i], &oldVal) || in supportsSeamlessAudioFormatChange() [all …]
|
D | NuPlayerRenderer.cpp | 320 if (!response->findInt32("err", &err)) { in openAudioSink() 324 CHECK(response->findInt32("offload", &offload)); in openAudioSink() 345 CHECK(msg->findInt32("offload-only", &offloadOnly)); in onMessageReceived() 348 CHECK(msg->findInt32("has-video", &hasVideo)); in onMessageReceived() 351 CHECK(msg->findInt32("flags", (int32_t *)&flags)); in onMessageReceived() 387 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 421 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 438 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 514 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 968 CHECK(msg->findInt32("audio", &audio)); in onQueueBuffer() [all …]
|
D | GenericSource.cpp | 237 if (meta->findInt32(kKeyRequiresSecureBuffers, &secure) in initFromDataSource() 257 if (totalBitrate >= 0 && meta->findInt32(kKeyBitRate, &bitrate)) { in initFromDataSource() 785 CHECK(msg->findInt32("trackIndex", &trackIndex)); in onMessageReceived() 836 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 900 CHECK(msg->findInt32("generation", &msgGeneration)); in fetchTextData() 934 CHECK(msg->findInt32("generation", &msgGeneration)); in sendTextData() 978 CHECK(msg->findInt32("audio", &audio)); in onGetFormatMeta() 1111 meta->findInt32(kKeyTrackIsAutoselect, &isAutoselect); in getTrackInfo() 1112 meta->findInt32(kKeyTrackIsDefault, &isDefault); in getTrackInfo() 1113 meta->findInt32(kKeyTrackIsForced, &isForced); in getTrackInfo() [all …]
|
D | RTSPSource.cpp | 322 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 339 CHECK(msg->findInt32("what", &what)); in onMessageReceived() 389 if (accessUnit->meta()->findInt32("damaged", &damaged) in onMessageReceived() 431 CHECK(accessUnit->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); in onMessageReceived() 456 CHECK(msg->findInt32("finalResult", &finalResult)); in onMessageReceived() 511 CHECK(msg->findInt32("rtpTime", (int32_t *)&rtpTime)); in onMessageReceived() 584 CHECK(msg->findInt32("result", &err)); in onSDPLoaded() 634 CHECK(msg->findInt32("result", &err)); in onDisconnected()
|
/frameworks/wilhelm/src/android/ |
D | android_GenericPlayer.cpp | 423 if (msg->findInt32(PLAYEREVENT_PREFETCHSTATUSCHANGE, &val1)) { in onNotify() 427 } else if (msg->findInt32(PLAYEREVENT_PREFETCHFILLLEVELUPDATE, &val1)) { in onNotify() 430 } else if (msg->findInt32(PLAYEREVENT_ENDOFSTREAM, &val1)) { in onNotify() 433 } else if (msg->findInt32(PLAYEREVENT_PREPARED, &val1)) { in onNotify() 436 } else if (msg->findInt32(PLAYEREVENT_CHANNEL_COUNT, &val1)) { in onNotify() 442 } else if (msg->findInt32(PLAYEREVENT_PLAY, &val1)) { in onNotify() 445 } else if (msg->findInt32(PLAYEREVENT_ERRORAFTERPREPARE, &val1)) { in onNotify() 507 if (msg->findInt32(WHATPARAM_BUFFERING_UPDATETHRESHOLD_PERCENT, &thresholdPercent)) { in onSetBufferingUpdateThreshold() 527 if (msg->findInt32(WHATPARAM_SETPLAYEVENTS_FLAGS, &eventFlags) && in onSetPlayEvents() 528 msg->findInt32(WHATPARAM_SETPLAYEVENTS_MARKER, &markerPositionMs) && in onSetPlayEvents() [all …]
|
D | android_AudioSfDecoder.cpp | 268 bool hasChannelCount = meta->findInt32(kKeyChannelCount, &channelCount); in onPrepare() 270 bool hasSampleRate = meta->findInt32(kKeySampleRate, &sr); in onPrepare() 329 CHECK(meta->findInt32(kKeyChannelCount, &channelCount)); in onPrepare() 333 CHECK(meta->findInt32(kKeySampleRate, &sr)); in onPrepare() 403 CHECK(msg->findInt32(WHATPARAM_LOOP_LOOPING, &loop)); in onLoop() 629 if (msg->findInt32(PLAYEREVENT_PREFETCHSTATUSCHANGE, &val)) { in onNotify() 633 else if (msg->findInt32(PLAYEREVENT_PREFETCHFILLLEVELUPDATE, &val)) { in onNotify() 637 else if (msg->findInt32(PLAYEREVENT_ENDOFSTREAM, &val)) { in onNotify() 764 CHECK(meta->findInt32(kKeyChannelCount, &channelCount)); in hasNewDecodeParams() 766 CHECK(meta->findInt32(kKeySampleRate, &sr)); in hasNewDecodeParams()
|
/frameworks/av/media/libstagefright/httplive/ |
D | PlaylistFetcher.cpp | 95 if (mPlaylist->meta() == NULL || !mPlaylist->meta()->findInt32( in getSegmentStartTimeUs() 135 CHECK(mPlaylist->meta()->findInt32("target-duration", &targetDurationSecs)); in delayUsToRefreshPlaylist() 426 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 456 CHECK(msg->findInt32("streamTypeMask", (int32_t *)&streamTypeMask)); in onStart() 464 CHECK(msg->findInt32("startDiscontinuitySeq", &startDiscontinuitySeq)); in onStart() 465 CHECK(msg->findInt32("adaptive", &adaptive)); in onStart() 520 CHECK(msg->findInt32("clear", &clear)); in onStop() 567 && latestMeta->findInt32("discontinuitySeq", &discontinuitySeq) in onResumeUntil() 614 if (mPlaylist->meta() == NULL || !mPlaylist->meta()->findInt32( in onMonitorQueue() 739 mPlaylist->meta()->findInt32("media-sequence", &firstSeqNumberInPlaylist); in onDownloadNext() [all …]
|
D | LiveSession.cpp | 161 meta->findInt32("targetDuration", &targetDuration); in dequeueAccessUnit() 227 CHECK((*accessUnit)->meta()->findInt32("discontinuity", &type)); in dequeueAccessUnit() 240 if ((*accessUnit)->meta()->findInt32("swapPacketSource", &swap) && swap) { in dequeueAccessUnit() 242 CHECK((*accessUnit)->meta()->findInt32("switchGeneration", &switchGeneration)); in dequeueAccessUnit() 280 (*accessUnit)->meta()->findInt32("discontinuitySeq", &discontinuitySeq); in dequeueAccessUnit() 294 } else if ((*accessUnit)->meta()->findInt32("discard", &discard) && discard) { in dequeueAccessUnit() 318 if ((*accessUnit)->meta()->findInt32("subtitleGeneration", &subtitleGeneration) in dequeueAccessUnit() 421 CHECK(msg->findInt32("what", &what)); in onMessageReceived() 475 CHECK(msg->findInt32("err", &err)); in onMessageReceived() 547 CHECK(msg->findInt32("switchGeneration", &switchGeneration)); in onMessageReceived() [all …]
|
/frameworks/av/media/libstagefright/rtsp/ |
D | MyHandler.h | 444 CHECK(msg->findInt32("result", &result)); in onMessageReceived() 470 if (msg->findInt32("reconnect", &reconnect) && reconnect) { in onMessageReceived() 482 CHECK(msg->findInt32("result", &result)); in onMessageReceived() 598 CHECK(msg->findInt32("result", &result)); in onMessageReceived() 652 CHECK(msg->findInt32("result", &result)); in onMessageReceived() 784 CHECK(msg->findInt32("result", &result)); in onMessageReceived() 818 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 843 CHECK(msg->findInt32("result", &result)); in onMessageReceived() 849 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 900 if (msg->findInt32("reconnect", &reconnect) && reconnect) { in onMessageReceived() [all …]
|
D | MyTransmitter.h | 181 CHECK(meta->findInt32(kKeyWidth, &width)); in issueAnnounce() 182 CHECK(meta->findInt32(kKeyHeight, &height)); in issueAnnounce() 347 CHECK(msg->findInt32("result", &result)); in onMessageReceived() 359 CHECK(msg->findInt32("server-ip", (int32_t *)&mServerIP)); in onMessageReceived() 368 CHECK(msg->findInt32("result", &result)); in onMessageReceived() 456 CHECK(msg->findInt32("result", &result)); in onMessageReceived() 546 CHECK(msg->findInt32("result", &result)); in onMessageReceived() 597 CHECK(msg->findInt32("result", &result)); in onMessageReceived() 735 CHECK(msg->findInt32("result", &result)); in onMessageReceived() 764 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | AnotherPacketSource.cpp | 94 if (buffer->meta()->findInt32("discontinuity", &discontinuity)) { in getFormat() 121 if ((*buffer)->meta()->findInt32("discontinuity", &discontinuity)) { in dequeueAccessUnit() 159 if (buffer->meta()->findInt32("discontinuity", &discontinuity)) { in read() 201 if (buffer->meta()->findInt32("damaged", &damaged) && damaged) { in queueAccessUnit() 216 if (buffer->meta()->findInt32("discontinuity", &discontinuity)) { in queueAccessUnit() 262 if (!oldBuffer->meta()->findInt32( in queueDiscontinuity()
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
D | WifiDisplaySource.cpp | 95 if (response == NULL || !(*response)->findInt32("err", &err)) { in PostAndAwaitResponse() 186 CHECK(msg->findInt32("reason", &reason)); in onMessageReceived() 192 CHECK(msg->findInt32("sessionID", &sessionID)); in onMessageReceived() 195 CHECK(msg->findInt32("err", &err)); in onMessageReceived() 220 CHECK(msg->findInt32("sessionID", &sessionID)); in onMessageReceived() 242 CHECK(msg->findInt32( in onMessageReceived() 389 CHECK(msg->findInt32("playbackSessionID", &playbackSessionID)); in onMessageReceived() 392 CHECK(msg->findInt32("what", &what)); in onMessageReceived() 446 CHECK(msg->findInt32("channel", &channel)); in onMessageReceived() 455 CHECK(msg->findInt32("sessionID", &sessionID)); in onMessageReceived() [all …]
|
/frameworks/av/cmds/stagefright/ |
D | sf2.cpp | 212 CHECK(msg->findInt32("what", &what)); in onMessageReceived() 300 CHECK(meta->findInt32(kKeyWidth, &width)); in makeFormat() 301 CHECK(meta->findInt32(kKeyHeight, &height)); in makeFormat() 309 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); in makeFormat() 310 CHECK(meta->findInt32(kKeySampleRate, &sampleRate)); in makeFormat() 316 if (meta->findInt32(kKeyIsADTS, &isADTS) && isADTS != 0) { in makeFormat() 434 if (meta->findInt32(kKeyMaxInputSize, &maxInputSize)) { in makeFormat() 519 if (!inBuffer->meta_data()->findInt32( in onFillThisBuffer()
|
/frameworks/av/media/libstagefright/wifi-display/ |
D | MediaSender.cpp | 290 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 306 CHECK(msg->findInt32("what", &what)); in onSenderNotify() 314 CHECK(msg->findInt32("err", &err)); in onSenderNotify() 331 CHECK(msg->findInt32("err", &err)); in onSenderNotify() 419 CHECK(accessUnit->meta()->findInt32("rangeOffset", &rangeOffset)); in packetizeAccessUnit() 420 CHECK(accessUnit->meta()->findInt32("rangeLength", &rangeLength)); in packetizeAccessUnit()
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmWriter.cpp | 118 CHECK(md->findInt32(kKeyWidth, &width)); in videoTrack() 119 CHECK(md->findInt32(kKeyHeight, &height)); in videoTrack() 133 CHECK(md->findInt32(kKeyChannelCount, &nChannels)); in audioTrack() 134 CHECK(md->findInt32(kKeySampleRate, &samplerate)); in audioTrack() 427 params->findInt32(kKeyRealTimeRecording, &isRealTimeRecording); in start() 442 if (params->findInt32(kKeyTimeScale, &tcsl)) { in start() 480 params->findInt32(kKeyBitRate, &bitRate); in start()
|
/frameworks/av/media/libstagefright/colorconversion/ |
D | SoftwareRenderer.cpp | 65 CHECK(format->findInt32("color-format", &colorFormatNew)); in resetFormatIfChanged() 68 CHECK(format->findInt32("stride", &widthNew)); in resetFormatIfChanged() 69 CHECK(format->findInt32("slice-height", &heightNew)); in resetFormatIfChanged() 167 if (!format->findInt32("rotation-degrees", &rotationDegrees)) { in resetFormatIfChanged()
|