/frameworks/av/media/libstagefright/ |
D | Utils.cpp | 107 msg->setInt32("bit-rate", avgBitRate); in convertMetaDataToMessage() 112 msg->setInt32("is-sync-frame", 1); in convertMetaDataToMessage() 120 msg->setInt32("width", width); in convertMetaDataToMessage() 121 msg->setInt32("height", height); in convertMetaDataToMessage() 126 msg->setInt32("sar-width", sarWidth); in convertMetaDataToMessage() 127 msg->setInt32("sar-height", sarHeight); in convertMetaDataToMessage() 132 msg->setInt32("color-format", colorFormat); in convertMetaDataToMessage() 146 msg->setInt32("rotation-degrees", rotationDegrees); in convertMetaDataToMessage() 153 msg->setInt32("channel-count", numChannels); in convertMetaDataToMessage() 154 msg->setInt32("sample-rate", sampleRate); in convertMetaDataToMessage() [all …]
|
D | MediaCodec.cpp | 291 response->setInt32("err", finalErr); in PostReplyWithError() 364 msg->setInt32("nameIsType", nameIsType); in init() 367 msg->setInt32("encoder", encoder); in init() 422 msg->setInt32("flags", flags); in configure() 576 msg->setInt32("reclaimed", 1); in reclaim() 640 msg->setInt32("flags", flags); in queueInputBuffer() 669 msg->setInt32("mode", mode); in queueSecureInputBuffer() 671 msg->setInt32("flags", flags); in queueSecureInputBuffer() 723 msg->setInt32("render", true); in renderOutputBufferAndRelease() 732 msg->setInt32("render", true); in renderOutputBufferAndRelease() [all …]
|
D | ACodec.cpp | 142 notify->setInt32("node", omx_msg.node); in onMessages() 147 msg->setInt32("type", omx_msg.type); in onMessages() 151 msg->setInt32("event", omx_msg.u.event_data.event); in onMessages() 152 msg->setInt32("data1", omx_msg.u.event_data.data1); in onMessages() 153 msg->setInt32("data2", omx_msg.u.event_data.data2); in onMessages() 159 msg->setInt32("buffer", omx_msg.u.buffer_data.buffer); in onMessages() 160 msg->setInt32("fence_fd", omx_msg.fenceFd); in onMessages() 166 msg->setInt32( in onMessages() 168 msg->setInt32( in onMessages() 171 msg->setInt32( in onMessages() [all …]
|
D | MP3Extractor.cpp | 295 mMeta->setInt32(kKeyEncoderDelay, encd); in MP3Extractor() 296 mMeta->setInt32(kKeyEncoderPadding, encp); in MP3Extractor() 344 mMeta->setInt32(kKeySampleRate, sample_rate); in MP3Extractor() 345 mMeta->setInt32(kKeyBitRate, bitrate * 1000); in MP3Extractor() 346 mMeta->setInt32(kKeyChannelCount, num_channels); in MP3Extractor() 387 mMeta->setInt32(kKeyEncoderDelay, delay); in MP3Extractor() 388 mMeta->setInt32(kKeyEncoderPadding, padding); in MP3Extractor() 584 buffer->meta_data()->setInt32(kKeyIsSyncFrame, 1); in read() 674 (*meta)->setInt32("header", header); in SniffMP3()
|
/frameworks/av/media/libstagefright/filters/ |
D | MediaFilter.cpp | 90 msg->setInt32("keepComponentAllocated", keepComponentAllocated); in initiateShutdown() 223 notify->setInt32("what", CodecBase::kWhatError); in signalError() 224 notify->setInt32("err", error); in signalError() 265 notify->setInt32("what", CodecBase::kWhatBuffersAllocated); in allocateBuffersOnPort() 267 notify->setInt32("portIndex", portIndex); in allocateBuffersOnPort() 313 notify->setInt32("what", CodecBase::kWhatFillThisBuffer); in postFillThisBuffer() 314 notify->setInt32("buffer-id", info->mBufferID); in postFillThisBuffer() 320 reply->setInt32("buffer-id", info->mBufferID); in postFillThisBuffer() 334 notify->setInt32("what", CodecBase::kWhatDrainThisBuffer); in postDrainThisBuffer() 335 notify->setInt32("buffer-id", info->mBufferID); in postDrainThisBuffer() [all …]
|
/frameworks/av/cmds/stagefright/ |
D | recordvideo.cpp | 72 meta->setInt32(kKeyWidth, mWidth); in getFormat() 73 meta->setInt32(kKeyHeight, mHeight); in getFormat() 74 meta->setInt32(kKeyColorFormat, mColorFormat); in getFormat() 287 enc_meta->setInt32(kKeyWidth, width); in main() 288 enc_meta->setInt32(kKeyHeight, height); in main() 289 enc_meta->setInt32(kKeyFrameRate, frameRateFps); in main() 290 enc_meta->setInt32(kKeyBitRate, bitRateBps); in main() 291 enc_meta->setInt32(kKeyStride, width); in main() 292 enc_meta->setInt32(kKeySliceHeight, height); in main() 293 enc_meta->setInt32(kKeyIFramesInterval, iFramesIntervalSeconds); in main() [all …]
|
D | record.cpp | 60 meta->setInt32(kKeyWidth, mWidth); 61 meta->setInt32(kKeyHeight, mHeight); 62 meta->setInt32(kKeyColorFormat, mColorFormat); 217 enc_meta->setInt32(kKeyWidth, width); 218 enc_meta->setInt32(kKeyHeight, height); 219 enc_meta->setInt32(kKeySampleRate, kFramerate); 220 enc_meta->setInt32(kKeyBitRate, kVideoBitRate); 221 enc_meta->setInt32(kKeyStride, width); 222 enc_meta->setInt32(kKeySliceHeight, height); 223 enc_meta->setInt32(kKeyIFramesInterval, kIFramesIntervalSec); [all …]
|
D | sf2.cpp | 302 msg->setInt32("width", width); in makeFormat() 303 msg->setInt32("height", height); in makeFormat() 311 msg->setInt32("channel-count", numChannels); in makeFormat() 312 msg->setInt32("sample-rate", sampleRate); in makeFormat() 316 msg->setInt32("is-adts", true); in makeFormat() 368 buffer->meta()->setInt32("csd", true); in makeFormat() 396 buffer->meta()->setInt32("csd", true); in makeFormat() 414 buffer->meta()->setInt32("csd", true); in makeFormat() 420 buffer->meta()->setInt32("csd", true); in makeFormat() 428 buffer->meta()->setInt32("csd", true); in makeFormat() [all …]
|
D | audioloop.cpp | 104 meta->setInt32(kKeyChannelCount, channels); in main() 105 meta->setInt32(kKeySampleRate, kSampleRate); in main() 106 meta->setInt32(kKeyBitRate, kBitRate); in main() 109 meta->setInt32(kKeyMaxInputSize, maxInputSize); in main()
|
D | SineSource.cpp | 53 meta->setInt32(kKeyChannelCount, mNumChannels); in getFormat() 54 meta->setInt32(kKeySampleRate, mSampleRate); in getFormat() 55 meta->setInt32(kKeyMaxInputSize, kBufferSize); in getFormat()
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
D | Converter.cpp | 169 mOutputFormat->setInt32("bitrate", audioBitrate); in initEncoder() 171 mOutputFormat->setInt32("bitrate", videoBitrate); in initEncoder() 172 mOutputFormat->setInt32("bitrate-mode", OMX_Video_ControlRateConstant); in initEncoder() 173 mOutputFormat->setInt32("frame-rate", 30); in initEncoder() 174 mOutputFormat->setInt32("i-frame-interval", 15); // Iframes every 15 secs in initEncoder() 177 mOutputFormat->setInt32("intra-refresh-mode", OMX_VIDEO_IntraRefreshCyclic); in initEncoder() 191 mOutputFormat->setInt32("intra-refresh-CIR-mbs", mbs); in initEncoder() 202 tmp->setInt32("prepend-sps-pps-to-idr-frames", 1); in initEncoder() 273 notify->setInt32("what", kWhatError); in notifyError() 274 notify->setInt32("err", err); in notifyError() [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | HTTPLiveSource.cpp | 188 msg->setInt32("generation", generation); in selectTrack() 218 notify->setInt32("what", pushWhat); in pollForRawData() 341 notify->setInt32("what", kWhatQueueDecoderShutdown); in onSessionNotify() 342 notify->setInt32("audio", audio); in onSessionNotify() 343 notify->setInt32("video", video); in onSessionNotify() 352 notify->setInt32("what", kWhatPauseOnBufferingStart); in onSessionNotify() 360 notify->setInt32("what", kWhatResumeOnBufferingEnd); in onSessionNotify() 371 notify->setInt32("what", kWhatBufferingUpdate); in onSessionNotify() 372 notify->setInt32("percentage", percentage); in onSessionNotify() 384 notify->setInt32("what", kWhatTimedMetaData); in onSessionNotify()
|
D | NuPlayerRenderer.cpp | 139 msg->setInt32("queueGeneration", getQueueGeneration(audio)); in queueBuffer() 140 msg->setInt32("audio", static_cast<int32_t>(audio)); in queueBuffer() 150 msg->setInt32("queueGeneration", getQueueGeneration(audio)); in queueEOS() 151 msg->setInt32("audio", static_cast<int32_t>(audio)); in queueEOS() 152 msg->setInt32("finalResult", finalResult); in queueEOS() 283 msg->setInt32("audio", static_cast<int32_t>(audio)); in flush() 353 msg->setInt32("offload-only", offloadOnly); in openAudioSink() 354 msg->setInt32("has-video", hasVideo); in openAudioSink() 355 msg->setInt32("flags", flags); in openAudioSink() 397 response->setInt32("err", err); in onMessageReceived() [all …]
|
D | GenericSource.cpp | 303 msg->setInt32("what", kWhatDrmNoLicense); in checkDrmStatus() 549 msg->setInt32("generation", mPollBufferingGeneration); in schedulePollBuffering() 582 msg->setInt32("what", kWhatBufferingUpdate); in notifyBufferingUpdate() 583 msg->setInt32("percentage", percentage); in notifyBufferingUpdate() 602 notify->setInt32("what", kWhatPauseOnBufferingStart); in startBufferingIfNecessary() 623 notify->setInt32("what", kWhatResumeOnBufferingEnd); in stopBufferingIfNecessary() 640 notify->setInt32("what", kWhatCacheStats); in sendCacheStats() 641 notify->setInt32("bandwidth", kbps); in sendCacheStats() 907 msg2->setInt32("generation", msgGeneration); in fetchTextData() 936 notify->setInt32("what", what); in sendTextData() [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() 339 reply->setInt32("generation", mBufferGeneration); in onInputBufferFetched() 340 reply->setInt32("size", bufferSize); in onInputBufferFetched() 364 notify->setInt32("what", kWhatResumeCompleted); in onResume() 391 notify->setInt32("what", kWhatFlushCompleted); in onFlush() 402 notify->setInt32("what", kWhatShutdownCompleted); in onShutdown()
|
D | NuPlayerDecoder.cpp | 225 response->setInt32("err", err); in onMessageReceived() 309 mStats->setInt32("width", width); in onConfigure() 310 mStats->setInt32("height", height); in onConfigure() 402 notify->setInt32("what", kWhatFlushCompleted); in onFlush() 438 notify->setInt32("what", kWhatShutdownCompleted); in onShutdown() 484 notify->setInt32("what", kWhatError); in handleError() 485 notify->setInt32("err", err); in handleError() 578 reply->setInt32("generation", mBufferGeneration); in handleAnOutputBuffer() 583 buffer->meta()->setInt32("eos", true); in handleAnOutputBuffer() 584 reply->setInt32("eos", true); in handleAnOutputBuffer() [all …]
|
/frameworks/av/media/libstagefright/rtsp/ |
D | APacketSource.cpp | 454 mFormat->setInt32(kKeyWidth, width); in APacketSource() 455 mFormat->setInt32(kKeyHeight, height); in APacketSource() 466 mFormat->setInt32(kKeyWidth, width); in APacketSource() 467 mFormat->setInt32(kKeyHeight, height); in APacketSource() 475 mFormat->setInt32(kKeySampleRate, sampleRate); in APacketSource() 476 mFormat->setInt32(kKeyChannelCount, numChannels); in APacketSource() 491 mFormat->setInt32(kKeySampleRate, sampleRate); in APacketSource() 492 mFormat->setInt32(kKeyChannelCount, numChannels); in APacketSource() 504 mFormat->setInt32(kKeySampleRate, sampleRate); in APacketSource() 505 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 | 244 reply->setInt32("result", ERROR_MALFORMED); in onConnect() 259 reply->setInt32("result", -ENOENT); in onConnect() 285 reply->setInt32("server-ip", ntohl(remote.sin_addr.s_addr)); in onConnect() 291 msg->setInt32("connection-id", mConnectionID); in onConnect() 296 reply->setInt32("result", -errno); in onConnect() 306 reply->setInt32("result", OK); in onConnect() 342 reply->setInt32("result", OK); in onDisconnect() 357 reply->setInt32("result", -ECONNABORTED); in onCompleteConnection() 388 reply->setInt32("result", -err); in onCompleteConnection() 398 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/libmediaplayerservice/ |
D | StagefrightRecorder.cpp | 956 format->setInt32("aac-profile", OMX_AUDIO_AACObjectLC); in createAudioSource() 960 format->setInt32("aac-profile", OMX_AUDIO_AACObjectHE); in createAudioSource() 964 format->setInt32("aac-profile", OMX_AUDIO_AACObjectELD); in createAudioSource() 976 format->setInt32("max-input-size", maxInputSize); in createAudioSource() 977 format->setInt32("channel-count", mAudioChannels); in createAudioSource() 978 format->setInt32("sample-rate", mSampleRate); in createAudioSource() 979 format->setInt32("bitrate", mAudioBitRate); in createAudioSource() 981 format->setInt32("time-scale", mAudioTimeScale); in createAudioSource() 983 format->setInt32("priority", 0 /* realtime */); in createAudioSource() 1529 format->setInt32("width", width); in setupVideoEncoder() [all …]
|
/frameworks/av/media/libstagefright/foundation/ |
D | ANetworkSession.cpp | 206 msg->setInt32("sessionID", mSessionID); in Session() 207 msg->setInt32("reason", kWhatClientConnected); in Session() 209 msg->setInt32("server-port", ntohs(localAddr.sin_port)); in Session() 211 msg->setInt32("client-port", ntohs(remoteAddr.sin_port)); in Session() 298 notify->setInt32("sessionID", mSessionID); in readMore() 299 notify->setInt32("reason", kWhatDatagram); in readMore() 311 notify->setInt32("fromPort", ntohs(remoteAddr.sin_port)); in readMore() 377 notify->setInt32("sessionID", mSessionID); in readMore() 378 notify->setInt32("reason", kWhatDatagram); in readMore() 400 notify->setInt32("sessionID", mSessionID); in readMore() [all …]
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ESQueue.cpp | 165 (*metaData)->setInt32(kKeyChannelCount, channelCount); in parseAC3SyncFrame() 166 (*metaData)->setInt32(kKeySampleRate, samplingRate); in parseAC3SyncFrame() 553 accessUnit->meta()->setInt32("isSync", 1); in dequeueAccessUnitAC3() 593 mFormat->setInt32(kKeyChannelCount, 2); in dequeueAccessUnitPCMAudio() 594 mFormat->setInt32(kKeySampleRate, 48000); in dequeueAccessUnitPCMAudio() 615 accessUnit->meta()->setInt32("isSync", 1); in dequeueAccessUnitPCMAudio() 691 mFormat->setInt32(kKeyIsADTS, true); in dequeueAccessUnitAAC() 748 accessUnit->meta()->setInt32("isSync", 1); in dequeueAccessUnitAAC() 907 accessUnit->meta()->setInt32("isSync", 1); in dequeueAccessUnitH264() 974 accessUnit->meta()->setInt32("isSync", 1); in dequeueAccessUnitMPEGAudio() [all …]
|
/frameworks/av/media/libstagefright/httplive/ |
D | PlaylistFetcher.cpp | 437 msg->setInt32("generation", mMonitorQueueGeneration); in postMonitorQueue() 506 msg->setInt32("streamTypeMask", streamTypeMask); in startAsync() 509 msg->setInt32("startDiscontinuitySeq", startDiscontinuitySeq); in startAsync() 510 msg->setInt32("seekMode", seekMode); in startAsync() 532 msg->setInt32("clear", clear); in stopAsync() 555 notify->setInt32("what", kWhatStarted); in onMessageReceived() 556 notify->setInt32("err", err); in onMessageReceived() 566 notify->setInt32("what", kWhatPaused); in onMessageReceived() 567 notify->setInt32("seekMode", in onMessageReceived() 580 notify->setInt32("what", kWhatStopped); in onMessageReceived() [all …]
|
/frameworks/av/media/libstagefright/wifi-display/ |
D | MediaSender.cpp | 125 notify->setInt32("generation", mGeneration); in initAsync() 174 notify->setInt32("generation", mGeneration); in initAsync() 355 notify->setInt32("what", kWhatInformSender); in onSenderNotify() 369 notify->setInt32("what", kWhatInitDone); in notifyInitDone() 370 notify->setInt32("err", err); in notifyInitDone() 376 notify->setInt32("what", kWhatError); in notifyError() 377 notify->setInt32("err", err); in notifyError() 383 notify->setInt32("what", kWhatNetworkStall); in notifyNetworkStall()
|