Home
last modified time | relevance | path

Searched refs:setInt32 (Results 1 – 25 of 107) 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()
265 format->setInt32("profile", codecProfile); in parseH263ProfileLevelFromD263()
267 format->setInt32("level", codecLevel); in parseH263ProfileLevelFromD263()
336 format->setInt32("profile", codecProfile); in parseHevcProfileLevelFromHvcc()
[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()
203 sampleMetaData.setInt32(kKeyIsSyncFrame, true); in writeSampleData()
207 sampleMetaData.setInt32(kKeyIsMuxerData, 1); in writeSampleData()
DMediaCodec.cpp283 notify->setInt32("what", kWhatFillThisBuffer); in onInputBufferAvailable()
292 notify->setInt32("what", kWhatDrainThisBuffer); in onOutputBufferAvailable()
332 notify->setInt32("what", kWhatEOS); in onEos()
333 notify->setInt32("err", err); in onEos()
339 notify->setInt32("what", kWhatStartCompleted); in onStartCompleted()
345 notify->setInt32("what", kWhatStopCompleted); in onStopCompleted()
351 notify->setInt32("what", kWhatReleaseCompleted); in onReleaseCompleted()
357 notify->setInt32("what", kWhatFlushCompleted); in onFlushCompleted()
363 notify->setInt32("what", kWhatError); in onError()
364 notify->setInt32("err", err); in onError()
[all …]
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()
/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.cpp131 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/libstagefright/foundation/tests/
DMetaDataBaseUnitTest.cpp70 status = metaData->setInt32(kKeyWidth, kWidth1); in TEST_F()
72 status = metaData->setInt32(kKeyHeight, kHeight1); in TEST_F()
74 status = metaData->setInt32(kKeyVideoProfile, kProfile); in TEST_F()
76 status = metaData->setInt32(kKeyVideoLevel, kLevel); in TEST_F()
166 status = metaData->setInt32(kKeyWidth, kWidth1); in TEST_F()
168 status = metaData->setInt32(kKeyHeight, kHeight1); in TEST_F()
171 status = metaData->setInt32(kKeyWidth, kWidth2); in TEST_F()
173 status = metaData->setInt32(kKeyHeight, kHeight2); in TEST_F()
176 status = metaData->setInt32(kKeyWidth, kWidth3); in TEST_F()
178 status = metaData->setInt32(kKeyHeight, kHeight3); in TEST_F()
[all …]
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp156 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/
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.cpp185 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 …]
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.cpp609 notify->setInt32("what", kWhatCacheStats); in sendCacheStats()
610 notify->setInt32("bandwidth", kbps); in sendCacheStats()
765 msg2->setInt32("generation", msgGeneration); in fetchTextData()
794 notify->setInt32("what", what); in sendTextData()
827 globalMeta->setInt32("global", 1); in sendGlobalTextData()
829 notify->setInt32("what", what); in sendGlobalTextData()
901 notify->setInt32("what", kWhatPauseOnBufferingStart); in dequeueAccessUnit()
932 msg->setInt32("generation", mFetchSubtitleDataGeneration); in dequeueAccessUnit()
940 msg->setInt32("generation", mFetchTimedTextDataGeneration); in dequeueAccessUnit()
969 format->setInt32("type", MEDIA_TRACK_TYPE_UNKNOWN); in getTrackInfo()
[all …]
DNuPlayerDecoder.cpp267 response->setInt32("err", err); in onMessageReceived()
372 mStats->setInt32("width", width); in onConfigure()
373 mStats->setInt32("height", height); in onConfigure()
518 notify->setInt32("what", kWhatFlushCompleted); in onFlush()
553 notify->setInt32("what", kWhatShutdownCompleted); in onShutdown()
597 notify->setInt32("what", kWhatError); in handleError()
598 notify->setInt32("err", err); in handleError()
632 response->setInt32("status", status); in onReleaseCrypto()
753 reply->setInt32("generation", mBufferGeneration); in handleAnOutputBuffer()
759 buffer->meta()->setInt32("eos", true); in handleAnOutputBuffer()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DAPacketSource.cpp453 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 …]
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()
345 reply->setInt32("result", OK); in onDisconnect()
360 reply->setInt32("result", -ECONNABORTED); in onCompleteConnection()
391 reply->setInt32("result", -err); in onCompleteConnection()
401 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/libstagefright/filters/
DMediaFilter.cpp98 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/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.cpp213 (*metaData)->setInt32(kKeyChannelCount, channelCount); in parseAC3SyncFrame()
214 (*metaData)->setInt32(kKeySampleRate, samplingRate); in parseAC3SyncFrame()
286 (*metaData)->setInt32(kKeyChannelCount, channelCount); in parseEAC3SyncFrame()
287 (*metaData)->setInt32(kKeySampleRate, samplingRate); in parseEAC3SyncFrame()
288 (*metaData)->setInt32(kKeyIsSyncFrame, 1); in parseEAC3SyncFrame()
356 (*metaData)->setInt32(kKeyIsSyncFrame, 1); in parseAC4SyncFrame()
359 (*metaData)->setInt32(kKeyChannelCount, 2); in parseAC4SyncFrame()
360 (*metaData)->setInt32(kKeySampleRate, samplingRate); in parseAC4SyncFrame()
808 mFormat->setInt32(kKeyWidth, 1280); in dequeueScrambledAccessUnit()
809 mFormat->setInt32(kKeyHeight, 720); in dequeueScrambledAccessUnit()
[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.cpp512 msg->setInt32("generation", mMonitorQueueGeneration); in postMonitorQueue()
581 msg->setInt32("streamTypeMask", streamTypeMask); in startAsync()
584 msg->setInt32("startDiscontinuitySeq", startDiscontinuitySeq); in startAsync()
585 msg->setInt32("seekMode", seekMode); in startAsync()
607 msg->setInt32("clear", clear); in stopAsync()
630 notify->setInt32("what", kWhatStarted); in onMessageReceived()
631 notify->setInt32("err", err); in onMessageReceived()
641 notify->setInt32("what", kWhatPaused); in onMessageReceived()
642 notify->setInt32("seekMode", in onMessageReceived()
655 notify->setInt32("what", kWhatStopped); in onMessageReceived()
[all …]

12345