Home
last modified time | relevance | path

Searched refs:setInt32 (Results 1 – 25 of 85) sorted by relevance

1234

/frameworks/av/media/libstagefright/
DUtils.cpp90 msg->setInt32("bit-rate", avgBitRate); in convertMetaDataToMessage()
95 msg->setInt32("is-sync-frame", 1); in convertMetaDataToMessage()
103 msg->setInt32("width", width); in convertMetaDataToMessage()
104 msg->setInt32("height", height); in convertMetaDataToMessage()
109 msg->setInt32("sar-width", sarWidth); in convertMetaDataToMessage()
110 msg->setInt32("sar-height", sarHeight); in convertMetaDataToMessage()
115 msg->setInt32("color-format", colorFormat); in convertMetaDataToMessage()
129 msg->setInt32("rotation-degrees", rotationDegrees); in convertMetaDataToMessage()
136 msg->setInt32("channel-count", numChannels); in convertMetaDataToMessage()
137 msg->setInt32("sample-rate", sampleRate); in convertMetaDataToMessage()
[all …]
DMediaCodec.cpp178 response->setInt32("err", err); in PostReplyWithError()
234 msg->setInt32("nameIsType", nameIsType); in init()
237 msg->setInt32("encoder", encoder); in init()
260 msg->setInt32("flags", flags); in configure()
381 msg->setInt32("flags", flags); in queueInputBuffer()
410 msg->setInt32("mode", mode); in queueSecureInputBuffer()
412 msg->setInt32("flags", flags); in queueSecureInputBuffer()
464 msg->setInt32("render", true); in renderOutputBufferAndRelease()
473 msg->setInt32("render", true); in renderOutputBufferAndRelease()
539 msg->setInt32("portIndex", kPortIndexInput); in getInputBuffers()
[all …]
DACodec.cpp117 msg->setInt32("type", omx_msg.type); in onMessage()
118 msg->setInt32("node", omx_msg.node); in onMessage()
123 msg->setInt32("event", omx_msg.u.event_data.event); in onMessage()
124 msg->setInt32("data1", omx_msg.u.event_data.data1); in onMessage()
125 msg->setInt32("data2", omx_msg.u.event_data.data2); in onMessage()
131 msg->setInt32("buffer", omx_msg.u.buffer_data.buffer); in onMessage()
137 msg->setInt32( in onMessage()
139 msg->setInt32( in onMessage()
142 msg->setInt32( in onMessage()
145 msg->setInt32( in onMessage()
[all …]
DMP3Extractor.cpp311 mMeta->setInt32(kKeySampleRate, sample_rate); in MP3Extractor()
312 mMeta->setInt32(kKeyBitRate, bitrate * 1000); in MP3Extractor()
313 mMeta->setInt32(kKeyChannelCount, num_channels); in MP3Extractor()
324 mMeta->setInt32(kKeyEncoderDelay, encd); in MP3Extractor()
325 mMeta->setInt32(kKeyEncoderPadding, encp); in MP3Extractor()
375 mMeta->setInt32(kKeyEncoderDelay, delay); in MP3Extractor()
376 mMeta->setInt32(kKeyEncoderPadding, padding); in MP3Extractor()
572 buffer->meta_data()->setInt32(kKeyIsSyncFrame, 1); in read()
662 (*meta)->setInt32("header", header); in SniffMP3()
/frameworks/av/cmds/stagefright/
Drecordvideo.cpp68 meta->setInt32(kKeyWidth, mWidth); in getFormat()
69 meta->setInt32(kKeyHeight, mHeight); in getFormat()
70 meta->setInt32(kKeyColorFormat, mColorFormat); in getFormat()
283 enc_meta->setInt32(kKeyWidth, width); in main()
284 enc_meta->setInt32(kKeyHeight, height); in main()
285 enc_meta->setInt32(kKeyFrameRate, frameRateFps); in main()
286 enc_meta->setInt32(kKeyBitRate, bitRateBps); in main()
287 enc_meta->setInt32(kKeyStride, width); in main()
288 enc_meta->setInt32(kKeySliceHeight, height); in main()
289 enc_meta->setInt32(kKeyIFramesInterval, iFramesIntervalSeconds); in main()
[all …]
Drecord.cpp60 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 …]
Dsf2.cpp303 msg->setInt32("width", width); in makeFormat()
304 msg->setInt32("height", height); in makeFormat()
312 msg->setInt32("channel-count", numChannels); in makeFormat()
313 msg->setInt32("sample-rate", sampleRate); in makeFormat()
317 msg->setInt32("is-adts", true); in makeFormat()
369 buffer->meta()->setInt32("csd", true); in makeFormat()
397 buffer->meta()->setInt32("csd", true); in makeFormat()
415 buffer->meta()->setInt32("csd", true); in makeFormat()
421 buffer->meta()->setInt32("csd", true); in makeFormat()
429 buffer->meta()->setInt32("csd", true); in makeFormat()
[all …]
Daudioloop.cpp97 meta->setInt32(kKeyChannelCount, channels); in main()
98 meta->setInt32(kKeySampleRate, kSampleRate); in main()
99 meta->setInt32(kKeyBitRate, kBitRate); in main()
102 meta->setInt32(kKeyMaxInputSize, maxInputSize); in main()
DSineSource.cpp53 meta->setInt32(kKeyChannelCount, mNumChannels); in getFormat()
54 meta->setInt32(kKeySampleRate, mSampleRate); in getFormat()
55 meta->setInt32(kKeyMaxInputSize, kBufferSize); in getFormat()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoderPassThrough.cpp94 notify->setInt32("what", kWhatOutputFormatChanged); in onConfigure()
117 reply->setInt32("generation", mBufferGeneration); in requestABuffer()
120 notify->setInt32("what", kWhatFillThisBuffer); in requestABuffer()
143 notify->setInt32("what", kWhatEOS); in onInputBufferFilled()
144 notify->setInt32("err", ERROR_END_OF_STREAM); in onInputBufferFilled()
152 reply->setInt32("generation", mBufferGeneration); in onInputBufferFilled()
153 reply->setInt32("size", buffer->size()); in onInputBufferFilled()
156 notify->setInt32("what", kWhatDrainThisBuffer); in onInputBufferFilled()
177 notify->setInt32("what", kWhatFlushCompleted); in onFlush()
197 notify->setInt32("what", kWhatShutdownCompleted); in onShutdown()
DNuPlayerDecoder.cpp199 reply->setInt32("generation", mBufferGeneration); in requestCodecNotification()
243 notify->setInt32("what", kWhatError); in handleError()
244 notify->setInt32("err", err); in handleError()
272 reply->setInt32("generation", mBufferGeneration); in handleAnInputBuffer()
296 notify->setInt32("what", kWhatFillThisBuffer); in handleAnInputBuffer()
458 notify->setInt32("what", kWhatOutputFormatChanged); in handleAnOutputBuffer()
480 buffer->meta()->setInt32("eos", true); in handleAnOutputBuffer()
486 reply->setInt32("generation", mBufferGeneration); in handleAnOutputBuffer()
489 notify->setInt32("what", kWhatDrainThisBuffer); in handleAnOutputBuffer()
499 notify->setInt32("what", kWhatEOS); in handleAnOutputBuffer()
[all …]
DNuPlayerRenderer.cpp106 msg->setInt32("audio", static_cast<int32_t>(audio)); in queueBuffer()
116 msg->setInt32("audio", static_cast<int32_t>(audio)); in queueEOS()
117 msg->setInt32("finalResult", finalResult); in queueEOS()
138 msg->setInt32("audio", static_cast<int32_t>(audio)); in flush()
265 msg->setInt32("offload-only", offloadOnly); in openAudioSink()
266 msg->setInt32("has-video", hasVideo); in openAudioSink()
267 msg->setInt32("flags", flags); in openAudioSink()
303 response->setInt32("offload", offload); in onMessageReceived()
479 msg->setInt32("generation", mAudioQueueGeneration); in postDrainAudioQueue_l()
495 notify->setInt32("what", kWhatMediaRenderingStart); in notifyIfMediaRenderingStarted()
[all …]
DGenericSource.cpp242 msg->setInt32("what", kWhatDrmNoLicense); in checkDrmStatus()
525 msg->setInt32("generation", mPollBufferingGeneration); in schedulePollBuffering()
535 msg->setInt32("what", kWhatBufferingUpdate); in notifyBufferingUpdate()
536 msg->setInt32("percentage", percentage); in notifyBufferingUpdate()
754 msg2->setInt32("generation", msgGeneration); in fetchTextData()
783 notify->setInt32("what", what); in sendTextData()
794 msg->setInt32("audio", audio); in getFormatMeta()
874 msg->setInt32("generation", mFetchSubtitleDataGeneration); in dequeueAccessUnit()
882 msg->setInt32("generation", mFetchTimedTextDataGeneration); in dequeueAccessUnit()
920 format->setInt32("type", trackType); in getTrackInfo()
[all …]
DHTTPLiveSource.cpp145 msg->setInt32("generation", mFetchSubtitleDataGeneration); in selectTrack()
182 notify->setInt32("what", kWhatSubtitleData); in onMessageReceived()
264 notify->setInt32("what", kWhatQueueDecoderShutdown); in onSessionNotify()
265 notify->setInt32("audio", audio); in onSessionNotify()
266 notify->setInt32("video", video); in onSessionNotify()
/frameworks/av/media/libstagefright/wifi-display/source/
DConverter.cpp169 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 …]
DMediaPuller.cpp106 response->setInt32("err", err); in onMessageReceived()
162 notify->setInt32("what", kWhatEOS); in onMessageReceived()
187 notify->setInt32("what", kWhatAccessUnit); in onMessageReceived()
219 msg->setInt32("generation", mPullGeneration); in schedulePull()
/frameworks/av/media/libstagefright/rtsp/
DAPacketSource.cpp456 mFormat->setInt32(kKeyWidth, width); in APacketSource()
457 mFormat->setInt32(kKeyHeight, height); in APacketSource()
468 mFormat->setInt32(kKeyWidth, width); in APacketSource()
469 mFormat->setInt32(kKeyHeight, height); in APacketSource()
477 mFormat->setInt32(kKeySampleRate, sampleRate); in APacketSource()
478 mFormat->setInt32(kKeyChannelCount, numChannels); in APacketSource()
493 mFormat->setInt32(kKeySampleRate, sampleRate); in APacketSource()
494 mFormat->setInt32(kKeyChannelCount, numChannels); in APacketSource()
506 mFormat->setInt32(kKeySampleRate, sampleRate); in APacketSource()
507 mFormat->setInt32(kKeyChannelCount, numChannels); in APacketSource()
[all …]
DARTPConnection.cpp86 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 …]
DARTSPConnection.cpp244 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 …]
DARawAudioAssembler.cpp115 msg->setInt32("eos", true); in onByeReceived()
140 format->setInt32(kKeySampleRate, sampleRate); in MakeFormat()
141 format->setInt32(kKeyChannelCount, numChannels); in MakeFormat()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp907 format->setInt32("aac-profile", OMX_AUDIO_AACObjectLC); in createAudioSource()
911 format->setInt32("aac-profile", OMX_AUDIO_AACObjectHE); in createAudioSource()
915 format->setInt32("aac-profile", OMX_AUDIO_AACObjectELD); in createAudioSource()
927 format->setInt32("max-input-size", maxInputSize); in createAudioSource()
928 format->setInt32("channel-count", mAudioChannels); in createAudioSource()
929 format->setInt32("sample-rate", mSampleRate); in createAudioSource()
930 format->setInt32("bitrate", mAudioBitRate); in createAudioSource()
932 format->setInt32("time-scale", mAudioTimeScale); in createAudioSource()
1486 format->setInt32("width", width); in setupVideoEncoder()
1487 format->setInt32("height", height); in setupVideoEncoder()
[all …]
/frameworks/av/media/libstagefright/foundation/
DANetworkSession.cpp206 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/httplive/
DPlaylistFetcher.cpp83 mStartTimeUsNotify->setInt32("what", kWhatStartedAt); in PlaylistFetcher()
84 mStartTimeUsNotify->setInt32("streamMask", 0); in PlaylistFetcher()
329 msg->setInt32("generation", mMonitorQueueGeneration); in postMonitorQueue()
364 msg->setInt32("streamTypeMask", streamTypeMask); in startAsync()
367 msg->setInt32("startDiscontinuitySeq", startDiscontinuitySeq); in startAsync()
368 msg->setInt32("adaptive", adaptive); in startAsync()
378 msg->setInt32("clear", clear); in stopAsync()
395 notify->setInt32("what", kWhatStarted); in onMessageReceived()
396 notify->setInt32("err", err); in onMessageReceived()
406 notify->setInt32("what", kWhatPaused); in onMessageReceived()
[all …]
DLiveSession.cpp94 discontinuity->meta()->setInt32("discontinuity", ATSParser::DISCONTINUITY_FORMATCHANGE); in createFormatChangeBuffer()
95 discontinuity->meta()->setInt32("swapPacketSource", swap); in createFormatChangeBuffer()
96 discontinuity->meta()->setInt32("switchGeneration", mSwitchGeneration); in createFormatChangeBuffer()
224 msg->setInt32("stream", stream); in dequeueAccessUnit()
225 msg->setInt32("switchGeneration", switchGeneration); in dequeueAccessUnit()
298 (*accessUnit)->meta()->setInt32( in dequeueAccessUnit()
425 mSeekReply->setInt32("err", OK); in onMessageReceived()
486 notify->setInt32("what", kWhatError); in onMessageReceived()
487 notify->setInt32("err", err); in onMessageReceived()
757 response->setInt32("err", OK); in onFinishDisconnect2()
[all …]
/frameworks/av/media/libstagefright/wifi-display/
DMediaSender.cpp125 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()

1234