/frameworks/av/media/libstagefright/ |
D | Utils.cpp | 106 if (meta->findInt32(kKeyBitRate, &avgBitRate)) { in convertMetaDataToMessage() 111 if (meta->findInt32(kKeyIsSyncFrame, &isSync) && isSync != 0) { in convertMetaDataToMessage() 117 CHECK(meta->findInt32(kKeyWidth, &width)); in convertMetaDataToMessage() 118 CHECK(meta->findInt32(kKeyHeight, &height)); in convertMetaDataToMessage() 124 if (meta->findInt32(kKeySARWidth, &sarWidth) in convertMetaDataToMessage() 125 && meta->findInt32(kKeySARHeight, &sarHeight)) { in convertMetaDataToMessage() 131 if (meta->findInt32(kKeyColorFormat, &colorFormat)) { in convertMetaDataToMessage() 145 if (meta->findInt32(kKeyRotation, &rotationDegrees)) { in convertMetaDataToMessage() 150 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); in convertMetaDataToMessage() 151 CHECK(meta->findInt32(kKeySampleRate, &sampleRate)); in convertMetaDataToMessage() [all …]
|
D | ACodec.cpp | 578 (void)response->findInt32("err", &err); in setSurface() 1624 if (!msg->findInt32("encoder", &encoder)) { in configureCodec() 1645 && !msg->findInt32("bitrate", &bitRate)) { in configureCodec() 1651 && msg->findInt32("store-metadata-in-buffers", &storeMeta) in configureCodec() 1677 && msg->findInt32("prepend-sps-pps-to-idr-frames", &prependSPSPPS) in configureCodec() 1709 && msg->findInt32("store-metadata-in-buffers-output", &storeMeta) in configureCodec() 1736 if (!msg->findInt32( in configureCodec() 1752 if (msg->findInt32("protected", &usageProtected) && usageProtected) { in configureCodec() 1767 if (msg->findInt32("auto-frc", &autoFrc)) { in configureCodec() 1784 if (msg->findInt32("feature-tunneled-playback", &tunneled) && in configureCodec() [all …]
|
D | OMXCodec.cpp | 300 if (source->getFormat()->findInt32( in Create() 584 CHECK(meta->findInt32(kKeyBitRate, &bitRate)); in configureCodec() 592 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); in configureCodec() 593 CHECK(meta->findInt32(kKeySampleRate, &sampleRate)); in configureCodec() 595 if (!meta->findInt32(kKeyAACProfile, &aacProfile)) { in configureCodec() 600 if (!meta->findInt32(kKeyIsADTS, &isADTS)) { in configureCodec() 611 if (meta->findInt32(kKeyChannelCount, &numChannels) in configureCodec() 612 && meta->findInt32(kKeySampleRate, &sampleRate)) { in configureCodec() 623 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); in configureCodec() 624 CHECK(meta->findInt32(kKeySampleRate, &sampleRate)); in configureCodec() [all …]
|
D | StagefrightMetadataRetriever.cpp | 347 CHECK(outputFormat->findInt32("width", &width)); in extractVideoFrame() 348 CHECK(outputFormat->findInt32("height", &height)); in extractVideoFrame() 358 if (!trackMeta->findInt32(kKeyRotation, &rotationAngle)) { in extractVideoFrame() 372 if (trackMeta->findInt32(kKeySARWidth, &sarWidth) in extractVideoFrame() 373 && trackMeta->findInt32(kKeySARHeight, &sarHeight) in extractVideoFrame() 379 CHECK(outputFormat->findInt32("color-format", &srcFormat)); in extractVideoFrame() 432 if (fileMeta->findInt32(kKeyIsDRM, &drm) && drm != 0) { in getFrameAtTime() 648 if (!trackMeta->findInt32(kKeyBitRate, &audioBitrate)) { in parseMetaData() 654 CHECK(trackMeta->findInt32(kKeyWidth, &videoWidth)); in parseMetaData() 655 CHECK(trackMeta->findInt32(kKeyHeight, &videoHeight)); in parseMetaData() [all …]
|
D | MediaCodec.cpp | 276 if (!(*response)->findInt32("err", &err)) { in PostAndAwaitResponse() 414 format->findInt32("width", &mVideoWidth); in configure() 415 format->findInt32("height", &mVideoHeight); in configure() 416 if (!format->findInt32("rotation-degrees", &mRotationDegrees)) { in configure() 715 CHECK(response->findInt32("flags", (int32_t *)flags)); in dequeueOutputBuffer() 974 CHECK(buffer->meta()->findInt32("omxFlags", &omxFlags)); in handleDequeueOutputBuffer() 999 CHECK(msg->findInt32("what", &what)); in onMessageReceived() 1005 CHECK(msg->findInt32("err", &err)); in onMessageReceived() 1006 CHECK(msg->findInt32("actionCode", &actionCode)); in onMessageReceived() 1181 if (mOutputFormat->findInt32("using-sw-renderer", &usingSwRenderer) in onMessageReceived() [all …]
|
D | AACWriter.cpp | 86 CHECK(meta->findInt32(kKeyChannelCount, &mChannelCount)); in addSource() 87 CHECK(meta->findInt32(kKeySampleRate, &mSampleRate)); in addSource() 91 if (meta->findInt32(kKeyAACProfile, &mAACProfile)) { in addSource() 319 … if (buffer->meta_data()->findInt32(kKeyIsCodecConfig, &isCodecSpecific) && isCodecSpecific) { in threadFunc()
|
D | MediaCodecSource.cpp | 112 if (!response->findInt32("err", &err)) { in postSynchronouslyAndReturnError() 207 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 451 && inputFormat->findInt32("using-sw-read-often", &usingSwReadOften) in initEncoder() 497 if (!response->findInt32("err", &err)) { in postSynchronouslyAndReturnError() 712 CHECK(msg->findInt32("callbackID", &cbID)); in onMessageReceived() 715 CHECK(msg->findInt32("index", &index)); in onMessageReceived() 726 CHECK(msg->findInt32("index", &index)); in onMessageReceived() 730 CHECK(msg->findInt32("flags", &flags)); in onMessageReceived() 799 CHECK(msg->findInt32("err", &err)); in onMessageReceived()
|
/frameworks/av/media/libstagefright/filters/ |
D | SimpleFilter.cpp | 25 CHECK(msg->findInt32("width", &mWidth)); in configure() 26 CHECK(msg->findInt32("height", &mHeight)); in configure() 27 if (!msg->findInt32("stride", &mStride)) { in configure() 30 if (!msg->findInt32("slice-height", &mSliceHeight)) { in configure() 33 CHECK(msg->findInt32("color-format", &mColorFormatIn)); in configure()
|
D | MediaFilter.cpp | 420 if (inputInfo->mData->meta()->findInt32("eos", &eos) && eos != 0) { in processBuffers() 485 CHECK(msg->findInt32("width", &mWidth)); in onConfigureComponent() 486 CHECK(msg->findInt32("height", &mHeight)); in onConfigureComponent() 487 if (!msg->findInt32("stride", &mStride)) { in onConfigureComponent() 490 if (!msg->findInt32("slice-height", &mSliceHeight)) { in onConfigureComponent() 496 if (msg->findInt32("max-input-size", &maxInputSize) in onConfigureComponent() 501 if (!msg->findInt32("color-format", &mColorFormatIn)) { in onConfigureComponent() 580 CHECK(msg->findInt32("buffer-id", (int32_t*)&bufferID)); in onInputBufferFilled() 606 CHECK(msg->findInt32("err", &err)); in onInputBufferFilled() 622 if (buffer != NULL && buffer->meta()->findInt32("csd", &isCSD) in onInputBufferFilled() [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayer.cpp | 353 CHECK(response->findInt32("err", &err)); in setPlaybackSettings() 363 CHECK(response->findInt32("err", &err)); in getPlaybackSettings() 377 CHECK(response->findInt32("err", &err)); in setSyncSettings() 388 CHECK(response->findInt32("err", &err)); in getSyncSettings() 425 CHECK(format->findInt32("type", &trackType)); in writeTrackInfo() 452 CHECK(format->findInt32("auto", &isAuto)); in writeTrackInfo() 453 CHECK(format->findInt32("default", &isDefault)); in writeTrackInfo() 454 CHECK(format->findInt32("forced", &isForced)); in writeTrackInfo() 536 CHECK(msg->findInt32("type", (int32_t*)&type32)); in onMessageReceived() 563 CHECK(msg->findInt32("select", &select)); in onMessageReceived() [all …]
|
D | NuPlayerDecoder.cpp | 103 CHECK(response->findInt32("err", &err)); in setVideoSurface() 115 CHECK(msg->findInt32("callbackID", &cbID)); in onMessageReceived() 128 CHECK(msg->findInt32("index", &index)); in onMessageReceived() 142 CHECK(msg->findInt32("index", &index)); in onMessageReceived() 146 CHECK(msg->findInt32("flags", &flags)); in onMessageReceived() 164 CHECK(msg->findInt32("err", &err)); in onMessageReceived() 257 if (format->findInt32("secure", &secure) && secure != 0) { in onConfigure() 307 if (mOutputFormat->findInt32("width", &width) in onConfigure() 308 && mOutputFormat->findInt32("height", &height)) { in onConfigure() 616 if (format->findInt32("width", &width) in handleOutputFormatChange() [all …]
|
D | HTTPLiveSource.cpp | 208 CHECK(msg->findInt32("generation", &generation)); in pollForRawData() 286 CHECK(msg->findInt32("what", &what)); in onSessionNotify() 296 format->findInt32("width", &width) && format->findInt32("height", &height)) { in onSessionNotify() 322 CHECK(msg->findInt32("err", &err)); in onSessionNotify() 331 CHECK(msg->findInt32( in onSessionNotify() 370 CHECK(msg->findInt32("percentage", &percentage)); in onSessionNotify()
|
D | NuPlayerRenderer.cpp | 162 CHECK(response->findInt32("err", &err)); in setPlaybackSettings() 196 CHECK(response->findInt32("err", &err)); in getPlaybackSettings() 230 CHECK(response->findInt32("err", &err)); in setSyncSettings() 248 CHECK(response->findInt32("err", &err)); in getSyncSettings() 361 if (!response->findInt32("err", &err)) { in openAudioSink() 365 CHECK(response->findInt32("offload", &offload)); in openAudioSink() 386 CHECK(msg->findInt32("offload-only", &offloadOnly)); in onMessageReceived() 389 CHECK(msg->findInt32("has-video", &hasVideo)); in onMessageReceived() 392 CHECK(msg->findInt32("flags", (int32_t *)&flags)); in onMessageReceived() 430 CHECK(msg->findInt32("drainGeneration", &generation)); in onMessageReceived() [all …]
|
D | RTSPSource.cpp | 304 CHECK(response->findInt32("err", &err)); in seekTo() 330 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 349 CHECK(msg->findInt32("what", &what)); in onMessageReceived() 404 msg->findInt32("err", &err); in onMessageReceived() 430 if (accessUnit->meta()->findInt32("damaged", &damaged) in onMessageReceived() 472 CHECK(accessUnit->meta()->findInt32("rtp-time", (int32_t *)&rtpTime)); in onMessageReceived() 497 CHECK(msg->findInt32("finalResult", &finalResult)); in onMessageReceived() 552 CHECK(msg->findInt32("rtpTime", (int32_t *)&rtpTime)); in onMessageReceived() 625 CHECK(msg->findInt32("result", &err)); in onSDPLoaded() 675 CHECK(msg->findInt32("result", &err)); in onDisconnected()
|
D | GenericSource.cpp | 246 if (meta->findInt32(kKeyRequiresSecureBuffers, &secure) in initFromDataSource() 266 if (totalBitrate >= 0 && meta->findInt32(kKeyBitRate, &bitrate)) { in initFromDataSource() 761 CHECK(msg->findInt32("trackIndex", &trackIndex)); in onMessageReceived() 812 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 852 CHECK(msg->findInt32("err", &err)); in onMessageReceived() 884 CHECK(msg->findInt32("generation", &msgGeneration)); in fetchTextData() 918 CHECK(msg->findInt32("generation", &msgGeneration)); in sendTextData() 962 CHECK(msg->findInt32("audio", &audio)); in onGetFormatMeta() 1096 meta->findInt32(kKeyTrackIsAutoselect, &isAutoselect); in getTrackInfo() 1097 meta->findInt32(kKeyTrackIsDefault, &isDefault); in getTrackInfo() [all …]
|
D | NuPlayerDecoderPassThrough.cpp | 72 format->findInt32("has-video", &hasVideo); in onConfigure() 103 CHECK(msg->findInt32("generation", &generation)); in isStaleReply() 231 CHECK(accessUnit->meta()->findInt32("discontinuity", &type)); in fetchInputData() 292 CHECK(msg->findInt32("err", &streamErr) || !hasBuffer); in onInputBufferFetched() 418 CHECK(msg->findInt32("size", &size)); in onMessageReceived()
|
/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 | 269 bool hasChannelCount = meta->findInt32(kKeyChannelCount, &channelCount); in onPrepare() 271 bool hasSampleRate = meta->findInt32(kKeySampleRate, &sr); in onPrepare() 330 CHECK(meta->findInt32(kKeyChannelCount, &channelCount)); in onPrepare() 334 CHECK(meta->findInt32(kKeySampleRate, &sr)); in onPrepare() 404 CHECK(msg->findInt32(WHATPARAM_LOOP_LOOPING, &loop)); in onLoop() 630 if (msg->findInt32(PLAYEREVENT_PREFETCHSTATUSCHANGE, &val)) { in onNotify() 634 else if (msg->findInt32(PLAYEREVENT_PREFETCHFILLLEVELUPDATE, &val)) { in onNotify() 638 else if (msg->findInt32(PLAYEREVENT_ENDOFSTREAM, &val)) { in onNotify() 765 CHECK(meta->findInt32(kKeyChannelCount, &channelCount)); in hasNewDecodeParams() 767 CHECK(meta->findInt32(kKeySampleRate, &sr)); in hasNewDecodeParams()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | AnotherPacketSource.cpp | 102 if (!buffer->meta()->findInt32("discontinuity", &discontinuity)) { in getFormat() 128 if ((*buffer)->meta()->findInt32("discontinuity", &discontinuity)) { in dequeueAccessUnit() 180 if (buffer->meta()->findInt32("discontinuity", &discontinuity)) { in read() 210 if (buffer->meta()->findInt32("isSync", &isSync)) { in read() 241 if (buffer->meta()->findInt32("damaged", &damaged) && damaged) { in queueAccessUnit() 251 if (buffer->meta()->findInt32("discontinuity", &discontinuity)){ in queueAccessUnit() 321 if (!oldBuffer->meta()->findInt32( in queueDiscontinuity() 388 if (!(*it)->meta()->findInt32("discontinuity", &discontinuity)) { in hasDataBufferAvailable() 483 if (buffer->meta()->findInt32("discontinuity", &discontinuity)) { in getMetaAfterLastDequeued() 531 if (buffer->meta()->findInt32("discontinuity", &discontinuity)) { in trimBuffersAfterMeta() [all …]
|
/frameworks/av/media/libstagefright/rtsp/ |
D | MyHandler.h | 451 CHECK(msg->findInt32("result", &result)); in onMessageReceived() 477 if (msg->findInt32("reconnect", &reconnect) && reconnect) { in onMessageReceived() 489 CHECK(msg->findInt32("result", &result)); in onMessageReceived() 605 CHECK(msg->findInt32("result", &result)); in onMessageReceived() 659 CHECK(msg->findInt32("result", &result)); in onMessageReceived() 791 CHECK(msg->findInt32("result", &result)); in onMessageReceived() 825 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 850 CHECK(msg->findInt32("result", &result)); in onMessageReceived() 856 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 907 if (msg->findInt32("reconnect", &reconnect) && reconnect) { in onMessageReceived() [all …]
|
/frameworks/av/cmds/stagefright/ |
D | mediafilter.cpp | 198 CHECK(srcFormat->findInt32("stride", &srcStride) in tryCopyDecodedBuffer() 199 && srcFormat->findInt32("slice-height", &srcSliceHeight) in tryCopyDecodedBuffer() 200 && srcFormat->findInt32("width", &srcWidth) in tryCopyDecodedBuffer() 201 && srcFormat->findInt32("height", & srcHeight) in tryCopyDecodedBuffer() 202 && srcFormat->findInt32("color-format", &srcColorFormat)); in tryCopyDecodedBuffer() 203 CHECK(destFormat->findInt32("stride", &destStride) in tryCopyDecodedBuffer() 204 && destFormat->findInt32("slice-height", &destSliceHeight) in tryCopyDecodedBuffer() 205 && destFormat->findInt32("width", &destWidth) in tryCopyDecodedBuffer() 206 && destFormat->findInt32("height", & destHeight) in tryCopyDecodedBuffer() 207 && destFormat->findInt32("color-format", &destColorFormat)); in tryCopyDecodedBuffer()
|
D | sf2.cpp | 211 CHECK(msg->findInt32("what", &what)); in onMessageReceived() 299 CHECK(meta->findInt32(kKeyWidth, &width)); in makeFormat() 300 CHECK(meta->findInt32(kKeyHeight, &height)); in makeFormat() 308 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); in makeFormat() 309 CHECK(meta->findInt32(kKeySampleRate, &sampleRate)); in makeFormat() 315 if (meta->findInt32(kKeyIsADTS, &isADTS) && isADTS != 0) { in makeFormat() 433 if (meta->findInt32(kKeyMaxInputSize, &maxInputSize)) { in makeFormat() 518 if (!inBuffer->meta_data()->findInt32( in onFillThisBuffer()
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
D | WifiDisplaySource.cpp | 101 if (response == NULL || !(*response)->findInt32("err", &err)) { in PostAndAwaitResponse() 192 CHECK(msg->findInt32("reason", &reason)); in onMessageReceived() 198 CHECK(msg->findInt32("sessionID", &sessionID)); in onMessageReceived() 201 CHECK(msg->findInt32("err", &err)); in onMessageReceived() 226 CHECK(msg->findInt32("sessionID", &sessionID)); in onMessageReceived() 248 CHECK(msg->findInt32( in onMessageReceived() 395 CHECK(msg->findInt32("playbackSessionID", &playbackSessionID)); in onMessageReceived() 398 CHECK(msg->findInt32("what", &what)); in onMessageReceived() 452 CHECK(msg->findInt32("channel", &channel)); in onMessageReceived() 461 CHECK(msg->findInt32("sessionID", &sessionID)); in onMessageReceived() [all …]
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmWriter.cpp | 86 CHECK(md->findInt32(kKeyWidth, &width)); in videoTrack() 87 CHECK(md->findInt32(kKeyHeight, &height)); in videoTrack() 101 CHECK(md->findInt32(kKeyChannelCount, &nChannels)); in audioTrack() 102 CHECK(md->findInt32(kKeySampleRate, &samplerate)); in audioTrack() 394 params->findInt32(kKeyRealTimeRecording, &isRealTimeRecording); in start() 409 if (params->findInt32(kKeyTimeScale, &tcsl)) { in start() 447 params->findInt32(kKeyBitRate, &bitRate); in start()
|
/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()
|