/frameworks/av/media/libstagefright/ |
D | Utils.cpp | 74 msg->setInt32(name, value); 104 msg->setInt32("color-range", rangeMsg); in convertMetaDataToMessageColorAspects() 107 msg->setInt32("color-standard", standardMsg); in convertMetaDataToMessageColorAspects() 110 msg->setInt32("color-transfer", transferMsg); in convertMetaDataToMessageColorAspects() 165 format->setInt32("profile", profile); in parseAacProfileFromCsd() 219 format->setInt32("profile", codecProfile); in parseAvcProfileLevelFromAvcc() 225 format->setInt32("level", codecLevel); in parseAvcProfileLevelFromAvcc() 265 format->setInt32("profile", codecProfile); in parseH263ProfileLevelFromD263() 267 format->setInt32("level", codecLevel); in parseH263ProfileLevelFromD263() 336 format->setInt32("profile", codecProfile); in parseHevcProfileLevelFromHvcc() [all …]
|
D | MediaTrack.cpp | 138 meta.setInt32(kKeyIsSyncFrame, val32); in read() 141 meta.setInt32(kKeyTemporalLayerId, val32); in read() 144 meta.setInt32(kKeyTemporalLayerCount, val32); in read() 147 meta.setInt32(kKeyCryptoDefaultIVSize, val32); in read() 150 meta.setInt32(kKeyCryptoMode, val32); in read() 153 meta.setInt32(kKeyEncryptedByteBlock, val32); in read() 156 meta.setInt32(kKeySkipByteBlock, val32); in read() 159 meta.setInt32(kKeyValidSamples, val32); in read()
|
D | MediaMuxer.cpp | 64 mFileMeta->setInt32(kKeyFileType, output_format::OUTPUT_FORMAT_HEIF); in MediaMuxer() 66 mFileMeta->setInt32(kKeyFileType, output_format::OUTPUT_FORMAT_OGG); in MediaMuxer() 117 mFileMeta->setInt32(kKeyRotation, degrees); in setOrientationHint() 140 mFileMeta->setInt32(kKeyRealTimeRecording, false); in start() 195 sampleMetaData.setInt32(kKeyIsSyncFrame, true); in writeSampleData() 199 sampleMetaData.setInt32(kKeyIsMuxerData, 1); in writeSampleData()
|
D | MediaCodec.cpp | 272 notify->setInt32("what", kWhatFillThisBuffer); in onInputBufferAvailable() 281 notify->setInt32("what", kWhatDrainThisBuffer); in onOutputBufferAvailable() 321 notify->setInt32("what", kWhatEOS); in onEos() 322 notify->setInt32("err", err); in onEos() 328 notify->setInt32("what", kWhatStartCompleted); in onStartCompleted() 334 notify->setInt32("what", kWhatStopCompleted); in onStopCompleted() 340 notify->setInt32("what", kWhatReleaseCompleted); in onReleaseCompleted() 346 notify->setInt32("what", kWhatFlushCompleted); in onFlushCompleted() 352 notify->setInt32("what", kWhatError); in onError() 353 notify->setInt32("err", err); in onError() [all …]
|
D | MetaDataUtils.cpp | 50 meta.setInt32(kKeyWidth, width); in MakeAVCCodecSpecificData() 51 meta.setInt32(kKeyHeight, height); in MakeAVCCodecSpecificData() 53 meta.setInt32(kKeySARWidth, sarWidth); in MakeAVCCodecSpecificData() 54 meta.setInt32(kKeySARHeight, sarHeight); in MakeAVCCodecSpecificData() 119 meta.setInt32(kKeyIsADTS, true); in MakeAACCodecSpecificData() 217 meta.setInt32(kKeySampleRate, sampleRate); in MakeAACCodecSpecificData() 218 meta.setInt32(kKeyChannelCount, channel_configuration); in MakeAACCodecSpecificData()
|
/frameworks/av/cmds/stagefright/ |
D | recordvideo.cpp | 75 meta->setInt32(kKeyWidth, mWidth); in getFormat() 76 meta->setInt32(kKeyHeight, mHeight); in getFormat() 77 meta->setInt32(kKeyColorFormat, mColorFormat); in getFormat() 287 enc_meta->setInt32("width", width); in main() 288 enc_meta->setInt32("height", height); in main() 289 enc_meta->setInt32("frame-rate", frameRateFps); in main() 290 enc_meta->setInt32("bitrate", bitRateBps); in main() 291 enc_meta->setInt32("stride", width); in main() 292 enc_meta->setInt32("slice-height", height); in main() 293 enc_meta->setInt32("i-frame-interval", iFramesIntervalSeconds); in main() [all …]
|
D | record.cpp | 63 meta->setInt32(kKeyWidth, mWidth); 64 meta->setInt32(kKeyHeight, mHeight); 65 meta->setInt32(kKeyColorFormat, mColorFormat); 214 enc_meta->setInt32("width", width); 215 enc_meta->setInt32("height", height); 216 enc_meta->setInt32("sample-rate", kFramerate); 217 enc_meta->setInt32("bitrate", kVideoBitRate); 220 enc_meta->setInt32("i-frame-interval", kIFramesIntervalSec); 221 enc_meta->setInt32("color-format", colorFormat); 315 encMeta->setInt32("sample-rate", kSampleRate); in main() [all …]
|
D | SineSource.cpp | 54 meta->setInt32(kKeyChannelCount, mNumChannels); in getFormat() 55 meta->setInt32(kKeySampleRate, mSampleRate); in getFormat() 56 meta->setInt32(kKeyMaxInputSize, kBufferSize); in getFormat() 57 meta->setInt32(kKeyPcmEncoding, kAudioEncodingPcm16bit); in getFormat()
|
D | audioloop.cpp | 131 meta->setInt32("channel-count", channels); in main() 132 meta->setInt32("sample-rate", sampleRate); in main() 133 meta->setInt32("bitrate", bitRate); in main() 136 meta->setInt32("max-input-size", maxInputSize); in main()
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.cpp | 156 mAnalyticsItem->setInt32(kRecorderHeight, mVideoHeight); in updateMetrics() 157 mAnalyticsItem->setInt32(kRecorderWidth, mVideoWidth); in updateMetrics() 158 mAnalyticsItem->setInt32(kRecorderFrameRate, mFrameRate); in updateMetrics() 159 mAnalyticsItem->setInt32(kRecorderVideoBitrate, mVideoBitRate); in updateMetrics() 160 mAnalyticsItem->setInt32(kRecorderAudioSampleRate, mSampleRate); in updateMetrics() 161 mAnalyticsItem->setInt32(kRecorderAudioChannels, mAudioChannels); in updateMetrics() 162 mAnalyticsItem->setInt32(kRecorderAudioBitrate, mAudioBitRate); in updateMetrics() 164 mAnalyticsItem->setInt32(kRecorderVideoIframeInterval, mIFramesIntervalSec); in updateMetrics() 168 mAnalyticsItem->setInt32(kRecorderMovieTimescale, mMovieTimeScale); in updateMetrics() 170 mAnalyticsItem->setInt32(kRecorderAudioTimescale, mAudioTimeScale); in updateMetrics() [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | HTTPLiveSource.cpp | 153 format->setInt32("err", err); in getFormat() 230 msg->setInt32("generation", generation); in selectTrack() 264 notify->setInt32("what", pushWhat); in pollForRawData() 388 notify->setInt32("what", kWhatQueueDecoderShutdown); in onSessionNotify() 389 notify->setInt32("audio", audio); in onSessionNotify() 390 notify->setInt32("video", video); in onSessionNotify() 399 notify->setInt32("what", kWhatPauseOnBufferingStart); in onSessionNotify() 407 notify->setInt32("what", kWhatResumeOnBufferingEnd); in onSessionNotify() 418 notify->setInt32("what", kWhatBufferingUpdate); in onSessionNotify() 419 notify->setInt32("percentage", percentage); in onSessionNotify() [all …]
|
D | NuPlayerRenderer.cpp | 185 msg->setInt32("queueGeneration", getQueueGeneration(audio)); in queueBuffer() 186 msg->setInt32("audio", static_cast<int32_t>(audio)); in queueBuffer() 196 msg->setInt32("queueGeneration", getQueueGeneration(audio)); in queueEOS() 197 msg->setInt32("audio", static_cast<int32_t>(audio)); in queueEOS() 198 msg->setInt32("finalResult", finalResult); in queueEOS() 330 msg->setInt32("audio", static_cast<int32_t>(audio)); in flush() 431 msg->setInt32("offload-only", offloadOnly); in openAudioSink() 432 msg->setInt32("has-video", hasVideo); in openAudioSink() 433 msg->setInt32("flags", flags); in openAudioSink() 434 msg->setInt32("isStreaming", isStreaming); in openAudioSink() [all …]
|
D | NuPlayerDecoderPassThrough.cpp | 244 msg->setInt32("what", kWhatInputDiscontinuity); in fetchInputData() 247 msg->setInt32("formatChange", false); in fetchInputData() 263 reply->setInt32("err", err); in fetchInputData() 341 reply->setInt32("generation", mBufferGeneration); in onInputBufferFetched() 342 reply->setInt32("size", bufferSize); in onInputBufferFetched() 369 notify->setInt32("what", kWhatResumeCompleted); in onResume() 396 notify->setInt32("what", kWhatFlushCompleted); in onFlush() 407 notify->setInt32("what", kWhatShutdownCompleted); in onShutdown()
|
D | GenericSource.cpp | 607 notify->setInt32("what", kWhatCacheStats); in sendCacheStats() 608 notify->setInt32("bandwidth", kbps); in sendCacheStats() 763 msg2->setInt32("generation", msgGeneration); in fetchTextData() 792 notify->setInt32("what", what); in sendTextData() 825 globalMeta->setInt32("global", 1); in sendGlobalTextData() 827 notify->setInt32("what", what); in sendGlobalTextData() 899 notify->setInt32("what", kWhatPauseOnBufferingStart); in dequeueAccessUnit() 930 msg->setInt32("generation", mFetchSubtitleDataGeneration); in dequeueAccessUnit() 938 msg->setInt32("generation", mFetchTimedTextDataGeneration); in dequeueAccessUnit() 967 format->setInt32("type", MEDIA_TRACK_TYPE_UNKNOWN); in getTrackInfo() [all …]
|
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
D | HTTPLiveSource2.cpp | 155 format->setInt32("err", err); in getFormat() 232 msg->setInt32("generation", generation); in selectTrack() 266 notify->setInt32("what", pushWhat); in pollForRawData() 390 notify->setInt32("what", kWhatQueueDecoderShutdown); in onSessionNotify() 391 notify->setInt32("audio", audio); in onSessionNotify() 392 notify->setInt32("video", video); in onSessionNotify() 401 notify->setInt32("what", kWhatPauseOnBufferingStart); in onSessionNotify() 409 notify->setInt32("what", kWhatResumeOnBufferingEnd); in onSessionNotify() 420 notify->setInt32("what", kWhatBufferingUpdate); in onSessionNotify() 421 notify->setInt32("percentage", percentage); in onSessionNotify() [all …]
|
D | NuPlayer2Renderer.cpp | 184 msg->setInt32("queueGeneration", getQueueGeneration(audio)); in queueBuffer() 185 msg->setInt32("audio", static_cast<int32_t>(audio)); in queueBuffer() 195 msg->setInt32("queueGeneration", getQueueGeneration(audio)); in queueEOS() 196 msg->setInt32("audio", static_cast<int32_t>(audio)); in queueEOS() 197 msg->setInt32("finalResult", finalResult); in queueEOS() 321 msg->setInt32("audio", static_cast<int32_t>(audio)); in flush() 418 msg->setInt32("offload-only", offloadOnly); in openAudioSink() 419 msg->setInt32("has-video", hasVideo); in openAudioSink() 420 msg->setInt32("flags", flags); in openAudioSink() 421 msg->setInt32("isStreaming", isStreaming); in openAudioSink() [all …]
|
D | NuPlayer2DecoderPassThrough.cpp | 243 msg->setInt32("what", kWhatInputDiscontinuity); in fetchInputData() 246 msg->setInt32("formatChange", false); in fetchInputData() 262 reply->setInt32("err", err); in fetchInputData() 340 reply->setInt32("generation", mBufferGeneration); in onInputBufferFetched() 341 reply->setInt32("size", bufferSize); in onInputBufferFetched() 368 notify->setInt32("what", kWhatResumeCompleted); in onResume() 395 notify->setInt32("what", kWhatFlushCompleted); in onFlush() 406 notify->setInt32("what", kWhatShutdownCompleted); in onShutdown()
|
D | GenericSource2.cpp | 629 msg2->setInt32("generation", msgGeneration); in fetchTextData() 658 notify->setInt32("what", what); in sendTextData() 690 globalMeta->setInt32("global", 1); in sendGlobalTextData() 692 notify->setInt32("what", what); in sendGlobalTextData() 779 notify->setInt32("what", kWhatPauseOnBufferingStart); in dequeueAccessUnit() 810 msg->setInt32("generation", mFetchSubtitleDataGeneration); in dequeueAccessUnit() 818 msg->setInt32("generation", mFetchTimedTextDataGeneration); in dequeueAccessUnit() 862 format->setInt32("type", trackType); in getTrackInfo() 875 format->setInt32("auto", !!isAutoselect); in getTrackInfo() 876 format->setInt32("default", !!isDefault); in getTrackInfo() [all …]
|
/frameworks/av/media/libstagefright/rtsp/ |
D | APacketSource.cpp | 453 mFormat->setInt32(kKeyWidth, width); in APacketSource() 454 mFormat->setInt32(kKeyHeight, height); in APacketSource() 465 mFormat->setInt32(kKeyWidth, width); in APacketSource() 466 mFormat->setInt32(kKeyHeight, height); in APacketSource() 474 mFormat->setInt32(kKeySampleRate, sampleRate); in APacketSource() 475 mFormat->setInt32(kKeyChannelCount, numChannels); in APacketSource() 490 mFormat->setInt32(kKeySampleRate, sampleRate); in APacketSource() 491 mFormat->setInt32(kKeyChannelCount, numChannels); in APacketSource() 503 mFormat->setInt32(kKeySampleRate, sampleRate); in APacketSource() 504 mFormat->setInt32(kKeyChannelCount, numChannels); in APacketSource() [all …]
|
D | ARTPConnection.cpp | 86 msg->setInt32("rtp-socket", rtpSocket); in addStream() 87 msg->setInt32("rtcp-socket", rtcpSocket); in addStream() 91 msg->setInt32("injected", injected); in addStream() 97 msg->setInt32("rtp-socket", rtpSocket); in removeStream() 98 msg->setInt32("rtcp-socket", rtcpSocket); in removeStream() 416 notify->setInt32("first-rtp", true); in parseRTP() 486 meta->setInt32("ssrc", srcId); in parseRTP() 487 meta->setInt32("rtp-time", rtpTime); in parseRTP() 488 meta->setInt32("PT", data[1] & 0x7f); in parseRTP() 489 meta->setInt32("M", data[1] >> 7); in parseRTP() [all …]
|
D | ARTSPConnection.cpp | 245 reply->setInt32("result", ERROR_MALFORMED); in onConnect() 260 reply->setInt32("result", -ENOENT); in onConnect() 286 reply->setInt32("server-ip", ntohl(remote.sin_addr.s_addr)); in onConnect() 292 msg->setInt32("connection-id", mConnectionID); in onConnect() 297 reply->setInt32("result", -errno); in onConnect() 307 reply->setInt32("result", OK); in onConnect() 343 reply->setInt32("result", OK); in onDisconnect() 358 reply->setInt32("result", -ECONNABORTED); in onCompleteConnection() 389 reply->setInt32("result", -err); in onCompleteConnection() 399 reply->setInt32("result", OK); in onCompleteConnection() [all …]
|
D | ARawAudioAssembler.cpp | 115 msg->setInt32("eos", true); in onByeReceived() 140 format->setInt32(kKeySampleRate, sampleRate); in MakeFormat() 141 format->setInt32(kKeyChannelCount, numChannels); in MakeFormat()
|
/frameworks/av/media/codec2/sfplugin/tests/ |
D | MediaCodec_sanity_test.cpp | 112 cfg->setInt32("width", 320); in TEST_P() 113 cfg->setInt32("height", 240); in TEST_P() 118 cfg->setInt32("max-input-size", InputSize); in TEST_P() 141 cfg->setInt32("width", 320); in TEST_P() 142 cfg->setInt32("height", 240); in TEST_P() 147 cfg->setInt32("max-input-size", InputSize); in TEST_P() 170 cfg->setInt32("sample-rate", 44100); in TEST_P() 171 cfg->setInt32("channel-count", 2); in TEST_P() 176 cfg->setInt32("max-input-size", InputSize); in TEST_P() 205 cfg->setInt32("width", 320); in TEST_F() [all …]
|
/frameworks/av/media/libstagefright/filters/ |
D | MediaFilter.cpp | 98 msg->setInt32("keepComponentAllocated", keepComponentAllocated); in initiateShutdown() 292 reply->setInt32("buffer-id", info->mBufferID); in postFillThisBuffer() 305 reply->setInt32("buffer-id", info->mBufferID); in postDrainThisBuffer() 353 outputInfo->mData->meta()->setInt32("err", err); in processBuffers() 364 outputInfo->mData->meta()->setInt32("eos", eos); in processBuffers() 442 msg->setInt32("color-format", mColorFormatIn); in onConfigureComponent() 465 mInputFormat->setInt32("stride", mStride); in onConfigureComponent() 466 mInputFormat->setInt32("slice-height", mSliceHeight); in onConfigureComponent() 467 mInputFormat->setInt32("color-format", mColorFormatIn); in onConfigureComponent() 469 mInputFormat->setInt32("width", mWidth); in onConfigureComponent() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | LayerMetadataTest.cpp | 58 metadata.setInt32(4, 2); in TEST_F() 68 reconstructed.setInt32(3, 1); // to make sure it gets replaced in TEST_F() 76 metadata.setInt32(4, 2); in TEST_F() 82 second.setInt32(6, 5); in TEST_F()
|