Home
last modified time | relevance | path

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

12345

/frameworks/av/media/libstagefright/
DUtils.cpp74 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()
275 format->setInt32("rpuAssoc", 1); in parseDolbyVisionProfileLevelFromDvcc()
281 format->setInt32("profile", codecProfile); in parseDolbyVisionProfileLevelFromDvcc()
284 format->setInt32("bl_compatibility_id", bl_compatibility_id); in parseDolbyVisionProfileLevelFromDvcc()
[all …]
DMediaTrack.cpp138 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()
DMediaMuxer.cpp64 mFileMeta->setInt32(kKeyFileType, output_format::OUTPUT_FORMAT_HEIF); in MediaMuxer()
66 mFileMeta->setInt32(kKeyFileType, output_format::OUTPUT_FORMAT_OGG); in MediaMuxer()
125 mFileMeta->setInt32(kKeyRotation, degrees); in setOrientationHint()
148 mFileMeta->setInt32(kKeyRealTimeRecording, false); in start()
206 sampleMetaData.setInt32(kKeyIsSyncFrame, true); in writeSampleData()
210 sampleMetaData.setInt32(kKeyIsMuxerData, 1); in writeSampleData()
214 sampleMetaData.setInt32(kKeyIsEndOfStream, 1); in writeSampleData()
DMetaDataUtils.cpp49 meta.setInt32(kKeyWidth, width); in MakeAVCCodecSpecificData()
50 meta.setInt32(kKeyHeight, height); in MakeAVCCodecSpecificData()
52 meta.setInt32(kKeySARWidth, sarWidth); in MakeAVCCodecSpecificData()
53 meta.setInt32(kKeySARHeight, sarHeight); in MakeAVCCodecSpecificData()
118 meta.setInt32(kKeyIsADTS, true); in MakeAACCodecSpecificData()
216 meta.setInt32(kKeySampleRate, sampleRate); in MakeAACCodecSpecificData()
217 meta.setInt32(kKeyChannelCount, channel_configuration); in MakeAACCodecSpecificData()
DMediaCodec.cpp381 notify->setInt32("what", kWhatFillThisBuffer); in onInputBufferAvailable()
390 notify->setInt32("what", kWhatDrainThisBuffer); in onOutputBufferAvailable()
430 notify->setInt32("what", kWhatEOS); in onEos()
431 notify->setInt32("err", err); in onEos()
437 notify->setInt32("what", kWhatStartCompleted); in onStartCompleted()
443 notify->setInt32("what", kWhatStopCompleted); in onStopCompleted()
449 notify->setInt32("what", kWhatReleaseCompleted); in onReleaseCompleted()
455 notify->setInt32("what", kWhatFlushCompleted); in onFlushCompleted()
461 notify->setInt32("what", kWhatError); in onError()
462 notify->setInt32("err", err); in onError()
[all …]
/frameworks/av/cmds/stagefright/
Drecordvideo.cpp73 meta->setInt32(kKeyWidth, mWidth); in getFormat()
74 meta->setInt32(kKeyHeight, mHeight); in getFormat()
75 meta->setInt32(kKeyColorFormat, mColorFormat); in getFormat()
285 enc_meta->setInt32("width", width); in main()
286 enc_meta->setInt32("height", height); in main()
287 enc_meta->setInt32("frame-rate", frameRateFps); in main()
288 enc_meta->setInt32("bitrate", bitRateBps); in main()
289 enc_meta->setInt32("stride", width); in main()
290 enc_meta->setInt32("slice-height", height); in main()
291 enc_meta->setInt32("i-frame-interval", iFramesIntervalSeconds); in main()
[all …]
Drecord.cpp64 meta->setInt32(kKeyWidth, mWidth);
65 meta->setInt32(kKeyHeight, mHeight);
66 meta->setInt32(kKeyColorFormat, mColorFormat);
215 enc_meta->setInt32("width", width);
216 enc_meta->setInt32("height", height);
217 enc_meta->setInt32("sample-rate", kFramerate);
218 enc_meta->setInt32("bitrate", kVideoBitRate);
221 enc_meta->setInt32("i-frame-interval", kIFramesIntervalSec);
222 enc_meta->setInt32("color-format", colorFormat);
316 encMeta->setInt32("sample-rate", kSampleRate); in main()
[all …]
DSineSource.cpp54 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()
Daudioloop.cpp134 meta->setInt32("channel-count", channels); in main()
135 meta->setInt32("sample-rate", sampleRate); in main()
136 meta->setInt32("bitrate", bitRate); in main()
139 meta->setInt32("max-input-size", maxInputSize); in main()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp157 mMetricsItem->setInt32(kRecorderHeight, mVideoHeight); in updateMetrics()
158 mMetricsItem->setInt32(kRecorderWidth, mVideoWidth); in updateMetrics()
159 mMetricsItem->setInt32(kRecorderFrameRate, mFrameRate); in updateMetrics()
160 mMetricsItem->setInt32(kRecorderVideoBitrate, mVideoBitRate); in updateMetrics()
161 mMetricsItem->setInt32(kRecorderAudioSampleRate, mSampleRate); in updateMetrics()
162 mMetricsItem->setInt32(kRecorderAudioChannels, mAudioChannels); in updateMetrics()
163 mMetricsItem->setInt32(kRecorderAudioBitrate, mAudioBitRate); in updateMetrics()
165 mMetricsItem->setInt32(kRecorderVideoIframeInterval, mIFramesIntervalSec); in updateMetrics()
169 mMetricsItem->setInt32(kRecorderMovieTimescale, mMovieTimeScale); in updateMetrics()
171 mMetricsItem->setInt32(kRecorderAudioTimescale, mAudioTimeScale); in updateMetrics()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DHTTPLiveSource.cpp153 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 …]
DNuPlayerRenderer.cpp187 msg->setInt32("queueGeneration", getQueueGeneration(audio)); in queueBuffer()
188 msg->setInt32("audio", static_cast<int32_t>(audio)); in queueBuffer()
198 msg->setInt32("queueGeneration", getQueueGeneration(audio)); in queueEOS()
199 msg->setInt32("audio", static_cast<int32_t>(audio)); in queueEOS()
200 msg->setInt32("finalResult", finalResult); in queueEOS()
340 msg->setInt32("audio", static_cast<int32_t>(audio)); in flush()
451 msg->setInt32("offload-only", offloadOnly); in openAudioSink()
452 msg->setInt32("has-video", hasVideo); in openAudioSink()
453 msg->setInt32("flags", flags); in openAudioSink()
454 msg->setInt32("isStreaming", isStreaming); in openAudioSink()
[all …]
DNuPlayerDecoderPassThrough.cpp244 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()
DGenericSource.cpp597 notify->setInt32("what", kWhatCacheStats); in sendCacheStats()
598 notify->setInt32("bandwidth", kbps); in sendCacheStats()
753 msg2->setInt32("generation", msgGeneration); in fetchTextData()
782 notify->setInt32("what", what); in sendTextData()
815 globalMeta->setInt32("global", 1); in sendGlobalTextData()
817 notify->setInt32("what", what); in sendGlobalTextData()
889 notify->setInt32("what", kWhatPauseOnBufferingStart); in dequeueAccessUnit()
920 msg->setInt32("generation", mFetchSubtitleDataGeneration); in dequeueAccessUnit()
928 msg->setInt32("generation", mFetchTimedTextDataGeneration); in dequeueAccessUnit()
957 format->setInt32("type", MEDIA_TRACK_TYPE_UNKNOWN); in getTrackInfo()
[all …]
DNuPlayerDecoder.cpp268 response->setInt32("err", err); in onMessageReceived()
377 mStats->setInt32("width", width); in onConfigure()
378 mStats->setInt32("height", height); in onConfigure()
523 notify->setInt32("what", kWhatFlushCompleted); in onFlush()
558 notify->setInt32("what", kWhatShutdownCompleted); in onShutdown()
602 notify->setInt32("what", kWhatError); in handleError()
603 notify->setInt32("err", err); in handleError()
637 response->setInt32("status", status); in onReleaseCrypto()
758 reply->setInt32("generation", mBufferGeneration); in handleAnOutputBuffer()
764 buffer->meta()->setInt32("eos", true); in handleAnOutputBuffer()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DAPacketSource.cpp455 mFormat->setInt32(kKeyWidth, width); in APacketSource()
456 mFormat->setInt32(kKeyHeight, height); in APacketSource()
467 mFormat->setInt32(kKeyWidth, width); in APacketSource()
468 mFormat->setInt32(kKeyHeight, height); in APacketSource()
476 mFormat->setInt32(kKeySampleRate, sampleRate); in APacketSource()
477 mFormat->setInt32(kKeyChannelCount, numChannels); in APacketSource()
492 mFormat->setInt32(kKeySampleRate, sampleRate); in APacketSource()
493 mFormat->setInt32(kKeyChannelCount, numChannels); in APacketSource()
505 mFormat->setInt32(kKeySampleRate, sampleRate); in APacketSource()
506 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.cpp246 reply->setInt32("result", ERROR_MALFORMED); in onConnect()
261 reply->setInt32("result", -ENOENT); in onConnect()
287 reply->setInt32("server-ip", ntohl(remote.sin_addr.s_addr)); in onConnect()
293 msg->setInt32("connection-id", mConnectionID); in onConnect()
298 reply->setInt32("result", -errno); in onConnect()
308 reply->setInt32("result", OK); in onConnect()
344 reply->setInt32("result", OK); in onDisconnect()
359 reply->setInt32("result", -ECONNABORTED); in onCompleteConnection()
390 reply->setInt32("result", -err); in onCompleteConnection()
400 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/codec2/sfplugin/tests/
DMediaCodec_sanity_test.cpp112 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/mpeg2ts/
DESQueue.cpp216 (*metaData)->setInt32(kKeyChannelCount, channelCount); in parseAC3SyncFrame()
217 (*metaData)->setInt32(kKeySampleRate, samplingRate); in parseAC3SyncFrame()
289 (*metaData)->setInt32(kKeyChannelCount, channelCount); in parseEAC3SyncFrame()
290 (*metaData)->setInt32(kKeySampleRate, samplingRate); in parseEAC3SyncFrame()
291 (*metaData)->setInt32(kKeyIsSyncFrame, 1); in parseEAC3SyncFrame()
359 (*metaData)->setInt32(kKeyIsSyncFrame, 1); in parseAC4SyncFrame()
362 (*metaData)->setInt32(kKeyChannelCount, 2); in parseAC4SyncFrame()
363 (*metaData)->setInt32(kKeySampleRate, samplingRate); in parseAC4SyncFrame()
811 mFormat->setInt32(kKeyWidth, 1280); in dequeueScrambledAccessUnit()
812 mFormat->setInt32(kKeyHeight, 720); in dequeueScrambledAccessUnit()
[all …]
/frameworks/av/media/libstagefright/filters/
DMediaFilter.cpp122 buffer->meta()->setInt32("flags", flags); in drainThisBuffer()
209 msg->setInt32("keepComponentAllocated", keepComponentAllocated); in initiateShutdown()
395 reply->setInt32("buffer-id", info->mBufferID); in postFillThisBuffer()
408 reply->setInt32("buffer-id", info->mBufferID); in postDrainThisBuffer()
456 outputInfo->mData->meta()->setInt32("err", err); in processBuffers()
467 outputInfo->mData->meta()->setInt32("eos", eos); in processBuffers()
544 msg->setInt32("color-format", mColorFormatIn); in onConfigureComponent()
567 mInputFormat->setInt32("stride", mStride); in onConfigureComponent()
568 mInputFormat->setInt32("slice-height", mSliceHeight); in onConfigureComponent()
569 mInputFormat->setInt32("color-format", mColorFormatIn); in onConfigureComponent()
[all …]
/frameworks/av/media/libstagefright/tests/writer/
DWriterTest.cpp188 mFileMeta->setInt32(kKeyFileType, output_format::OUTPUT_FORMAT_OGG); in createWriter()
192 mFileMeta->setInt32(kKeyFileType, output_format::OUTPUT_FORMAT_AAC_ADIF); in createWriter()
196 mFileMeta->setInt32(kKeyFileType, output_format::OUTPUT_FORMAT_AAC_ADTS); in createWriter()
200 mFileMeta->setInt32(kKeyFileType, output_format::OUTPUT_FORMAT_WEBM); in createWriter()
204 mFileMeta->setInt32(kKeyFileType, output_format::OUTPUT_FORMAT_MPEG_4); in createWriter()
208 mFileMeta->setInt32(kKeyFileType, output_format::OUTPUT_FORMAT_AMR_NB); in createWriter()
212 mFileMeta->setInt32(kKeyFileType, output_format::OUTPUT_FORMAT_AMR_WB); in createWriter()
216 mFileMeta->setInt32(kKeyFileType, output_format::OUTPUT_FORMAT_MPEG2TS); in createWriter()
222 mFileMeta->setInt32(kKeyRealTimeRecording, false); in createWriter()
232 format->setInt32("channel-count", params.channelCount); in addWriterSource()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerMetadataTest.cpp58 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()
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp513 msg->setInt32("generation", mMonitorQueueGeneration); in postMonitorQueue()
582 msg->setInt32("streamTypeMask", streamTypeMask); in startAsync()
585 msg->setInt32("startDiscontinuitySeq", startDiscontinuitySeq); in startAsync()
586 msg->setInt32("seekMode", seekMode); in startAsync()
608 msg->setInt32("clear", clear); in stopAsync()
631 notify->setInt32("what", kWhatStarted); in onMessageReceived()
632 notify->setInt32("err", err); in onMessageReceived()
642 notify->setInt32("what", kWhatPaused); in onMessageReceived()
643 notify->setInt32("seekMode", in onMessageReceived()
656 notify->setInt32("what", kWhatStopped); in onMessageReceived()
[all …]

12345