/aosp12/frameworks/av/media/libstagefright/ |
H A D | Utils.cpp | 84 msg->setInt32(name, value); 114 msg->setInt32("color-range", rangeMsg); in convertMetaDataToMessageColorAspects() 175 format->setInt32("profile", profile); in parseAacProfileFromCsd() 285 format->setInt32("rpuAssoc", 1); in parseDolbyVisionProfileLevelFromDvcc() 707 format->setInt32("level", level); in parseAV1ProfileLevelFromCsd() 976 msg->setInt32("is-sync-frame", 1); in convertMetaDataToMessage() 992 msg->setInt32("width", width); in convertMetaDataToMessage() 993 msg->setInt32("height", height); in convertMetaDataToMessage() 1155 msg->setInt32("frame-rate", fps); in convertMetaDataToMessage() 1669 meta->setInt32(key, value); [all …]
|
H A D | MediaTrack.cpp | 146 meta.setInt32(kKeyIsSyncFrame, val32); in read() 149 meta.setInt32(kKeyTemporalLayerId, val32); in read() 152 meta.setInt32(kKeyTemporalLayerCount, val32); in read() 155 meta.setInt32(kKeyCryptoDefaultIVSize, val32); in read() 158 meta.setInt32(kKeyCryptoMode, val32); in read() 161 meta.setInt32(kKeyEncryptedByteBlock, val32); in read() 164 meta.setInt32(kKeySkipByteBlock, val32); in read() 167 meta.setInt32(kKeyValidSamples, val32); in read()
|
H A 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() 130 mFileMeta->setInt32(kKeyRotation, degrees); in setOrientationHint() 153 mFileMeta->setInt32(kKeyRealTimeRecording, false); in start() 218 sampleMetaData.setInt32(kKeyIsSyncFrame, true); in writeSampleData() 222 sampleMetaData.setInt32(kKeyIsMuxerData, 1); in writeSampleData() 226 sampleMetaData.setInt32(kKeyIsEndOfStream, 1); in writeSampleData()
|
H A D | MediaCodecSource.cpp | 226 msg->setInt32("eos", 1); in handleEOS() 249 response->setInt32("err", err); in onMessageReceived() 266 response->setInt32("err", err); in onMessageReceived() 276 response->setInt32("err", OK); in onMessageReceived() 438 params->setInt32("video-bitrate", bitRate); in setEncodingBitrate() 697 params->setInt32(PARAMETER_KEY_SUSPEND, false); in resume() 874 params->setInt32(PARAMETER_KEY_SUSPEND, true); in onPause() 1038 response->setInt32("err", onStart(params)); in onMessageReceived() 1095 timeoutMsg->setInt32("generation", mGeneration); in onMessageReceived() 1143 response->setInt32("err", err); in onMessageReceived() [all …]
|
H A D | MetaDataUtils.cpp | 49 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()
|
/aosp12/frameworks/av/media/libstagefright/tests/fuzzers/ |
H A D | FrameDecoderHelpers.h | 51 newMeta->setInt32(kKeyRotation, fdp->ConsumeIntegral<int32_t>()); in generateMetaData() 60 newMeta->setInt32(kKeySARWidth, fdp->ConsumeIntegral<int32_t>()); in generateMetaData() 61 newMeta->setInt32(kKeySARHeight, fdp->ConsumeIntegral<int32_t>()); in generateMetaData() 62 newMeta->setInt32(kKeyDisplayWidth, fdp->ConsumeIntegral<int32_t>()); in generateMetaData() 63 newMeta->setInt32(kKeyDisplayHeight, fdp->ConsumeIntegral<int32_t>()); in generateMetaData() 78 newMeta->setInt32(kKeyTileWidth, fdp->ConsumeIntegral<int32_t>()); in generateMetaData() 79 newMeta->setInt32(kKeyTileHeight, fdp->ConsumeIntegral<int32_t>()); in generateMetaData() 80 newMeta->setInt32(kKeyGridRows, fdp->ConsumeIntegral<int32_t>()); in generateMetaData() 81 newMeta->setInt32(kKeyGridCols, fdp->ConsumeIntegral<int32_t>()); in generateMetaData() 84 newMeta->setInt32(kKeyHeight, fdp->ConsumeIntegral<int32_t>()); in generateMetaData() [all …]
|
H A D | FuzzerMediaUtility.cpp | 86 fileMeta->setInt32(kKeyFileType, output_format::OUTPUT_FORMAT_OGG); in createWriter() 90 fileMeta->setInt32(kKeyFileType, output_format::OUTPUT_FORMAT_AAC_ADIF); in createWriter() 94 fileMeta->setInt32(kKeyFileType, output_format::OUTPUT_FORMAT_AAC_ADTS); in createWriter() 98 fileMeta->setInt32(kKeyFileType, output_format::OUTPUT_FORMAT_WEBM); in createWriter() 102 fileMeta->setInt32(kKeyFileType, output_format::OUTPUT_FORMAT_MPEG_4); in createWriter() 106 fileMeta->setInt32(kKeyFileType, output_format::OUTPUT_FORMAT_AMR_NB); in createWriter() 110 fileMeta->setInt32(kKeyFileType, output_format::OUTPUT_FORMAT_AMR_WB); in createWriter() 114 fileMeta->setInt32(kKeyFileType, output_format::OUTPUT_FORMAT_MPEG2TS); in createWriter() 120 fileMeta->setInt32(kKeyRealTimeRecording, false); in createWriter()
|
/aosp12/hardware/google/av/media/eco/ |
H A D | ECOUtils.cpp | 32 data.setInt32(ENCODER_TYPE, mCodecType); in toEcoData() 33 data.setInt32(ENCODER_PROFILE, mProfile); in toEcoData() 34 data.setInt32(ENCODER_LEVEL, mLevel); in toEcoData() 35 data.setInt32(ENCODER_TARGET_BITRATE_BPS, mTargetBitrate); in toEcoData() 36 data.setInt32(ENCODER_KFI_FRAMES, mKeyFrameIntervalFrames); in toEcoData() 45 data.setInt32(FRAME_NUM, mFrameNum); in toEcoData() 48 data.setInt32(FRAME_AVG_QP, mAvgQp); in toEcoData() 49 data.setInt32(FRAME_SIZE_BYTES, mFrameSizeBytes); in toEcoData()
|
/aosp12/frameworks/av/cmds/stagefright/ |
H A D | recordvideo.cpp | 73 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() 294 enc_meta->setInt32("level", level); in main() [all …]
|
H A D | record.cpp | 64 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); 222 enc_meta->setInt32("color-format", colorFormat); 291 encMeta->setInt32("sample-rate", kSampleRate); in main() 293 encMeta->setInt32("max-input-size", 8192); in main() [all …]
|
H A 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()
|
/aosp12/frameworks/av/media/libstagefright/foundation/tests/ |
H A D | MetaDataBaseUnitTest.cpp | 70 status = metaData->setInt32(kKeyWidth, kWidth1); in TEST_F() 72 status = metaData->setInt32(kKeyHeight, kHeight1); 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() 218 status = metaData->setInt32(kKeyWidth, kWidth1); in TEST_F() 244 status = metaData->setInt32(kKeyWidth, kWidth1); in TEST_F() [all …]
|
/aosp12/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTPConnection.cpp | 96 msg->setInt32("rtp-socket", rtpSocket); in addStream() 97 msg->setInt32("rtcp-socket", rtcpSocket); in addStream() 101 msg->setInt32("injected", injected); in addStream() 112 msg->setInt32("rtp-socket", rtpSocket); in removeStream() 113 msg->setInt32("rtcp-socket", rtcpSocket); in removeStream() 753 meta->setInt32("ssrc", srcId); in parseRTP() 754 meta->setInt32("rtp-time", rtpTime); in parseRTP() 755 meta->setInt32("PT", data[1] & 0x7f); in parseRTP() 756 meta->setInt32("M", data[1] >> 7); in parseRTP() 758 meta->setInt32("cvo", cvoDegrees); in parseRTP() [all …]
|
H A D | APacketSource.cpp | 455 mFormat->setInt32(kKeyWidth, width); in APacketSource() 456 mFormat->setInt32(kKeyHeight, height); in APacketSource() 466 mFormat->setInt32(kKeyWidth, width); in APacketSource() 467 mFormat->setInt32(kKeyHeight, height); in APacketSource() 478 mFormat->setInt32(kKeyWidth, width); in APacketSource() 479 mFormat->setInt32(kKeyHeight, height); in APacketSource() 487 mFormat->setInt32(kKeySampleRate, sampleRate); in APacketSource() 503 mFormat->setInt32(kKeySampleRate, sampleRate); in APacketSource() 550 mFormat->setInt32(kKeyWidth, width); in APacketSource() 551 mFormat->setInt32(kKeyHeight, height); in APacketSource() [all …]
|
H A D | ARTPSource.cpp | 141 notify->setInt32("time-update", true); in timeUpdate() 142 notify->setInt32("rtp-time", rtpTime); in timeUpdate() 144 notify->setInt32("rtcp-event", 1); in timeUpdate() 145 notify->setInt32("payload-type", RTCP_SR); in timeUpdate() 710 notify->setInt32("rtcp-event", 1); in notifyPktInfo() 711 notify->setInt32("payload-type", payloadType); in notifyPktInfo() 712 notify->setInt32("feedback-type", 0); in notifyPktInfo() 714 notify->setInt32("bit-rate", bitrate); in notifyPktInfo() 716 notify->setInt32("base-seq-num", mBaseSeqNumber); in notifyPktInfo() 717 notify->setInt32("prev-expected", mPrevExpected); in notifyPktInfo() [all …]
|
H A D | ARTSPConnection.cpp | 246 reply->setInt32("result", ERROR_MALFORMED); in onConnect() 261 reply->setInt32("result", -ENOENT); 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() 416 reply->setInt32("result", -ENOTCONN); in onSendRequest() 517 reply->setInt32("result", -ECONNABORTED); in flushPendingRequests() [all …]
|
/aosp12/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 1262 meta->setInt32(kKeySelfID, mSelfID); in start() 1418 format->setInt32("sample-rate", mSampleRate); in createAudioSource() 1419 format->setInt32("bitrate", mAudioBitRate); in createAudioSource() 1987 format->setInt32("width", width); in setupVideoEncoder() 1988 format->setInt32("height", height); in setupVideoEncoder() 1989 format->setInt32("stride", stride); in setupVideoEncoder() 1993 format->setInt32("width", mVideoWidth); in setupVideoEncoder() 1994 format->setInt32("height", mVideoHeight); in setupVideoEncoder() 1995 format->setInt32("stride", mVideoWidth); in setupVideoEncoder() 2014 format->setInt32("bitrate", mVideoBitRate); in setupVideoEncoder() [all …]
|
/aosp12/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A 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 …]
|
H A D | NuPlayerRenderer.cpp | 452 msg->setInt32("has-video", hasVideo); in openAudioSink() 453 msg->setInt32("flags", flags); in openAudioSink() 487 meta->setInt32("has-video", hasVideo); in changeAudioFormat() 488 meta->setInt32("flags", flags); in changeAudioFormat() 520 response->setInt32("err", err); in onMessageReceived() 688 response->setInt32("err", err); in onMessageReceived() 703 response->setInt32("err", err); in onMessageReceived() 1462 notify->setInt32("what", kWhatEOS); in notifyEOS_l() 1490 msg->setInt32("reason", reason); in notifyAudioTearDown() 1897 notify->setInt32("reason", reason); in onAudioTearDown() [all …]
|
H A D | NuPlayerDecoder.cpp | 268 response->setInt32("err", err); in onMessageReceived() 377 mStats->setInt32("width", width); in onConfigure() 378 mStats->setInt32("height", height); in onConfigure() 602 notify->setInt32("what", kWhatError); in handleError() 603 notify->setInt32("err", err); in handleError() 637 response->setInt32("status", status); in onReleaseCrypto() 770 buffer->meta()->setInt32("eos", true); in handleAnOutputBuffer() 771 reply->setInt32("eos", true); in handleAnOutputBuffer() 814 mStats->setInt32("width", width); in handleOutputFormatChange() 815 mStats->setInt32("height", height); in handleOutputFormatChange() [all …]
|
H A 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()
|
H A D | GenericSource.cpp | 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() 978 format->setInt32("type", trackType); in getTrackInfo() 994 format->setInt32("forced", !!isForced); in getTrackInfo() 1125 msg->setInt32("mode", mode); in seekTo() 1147 response->setInt32("err", err); in onSeek() 1311 msg->setInt32("trackType", trackType); in postReadBuffer() [all …]
|
/aosp12/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ESQueue.cpp | 288 (*metaData)->setInt32(kKeyIsSyncFrame, 1); in parseEAC3SyncFrame() 356 (*metaData)->setInt32(kKeyIsSyncFrame, 1); in parseAC4SyncFrame() 359 (*metaData)->setInt32(kKeyChannelCount, 2); in parseAC4SyncFrame() 861 scrambledAccessUnit->meta()->setInt32( in dequeueScrambledAccessUnit() 1000 accessUnit->meta()->setInt32("isSync", 1); in dequeueAccessUnitEAC3() 1064 accessUnit->meta()->setInt32("isSync", 1); in dequeueAccessUnitAC4() 1103 mFormat->setInt32(kKeyChannelCount, 2); in dequeueAccessUnitPCMAudio() 1104 mFormat->setInt32(kKeySampleRate, 48000); in dequeueAccessUnitPCMAudio() 1126 accessUnit->meta()->setInt32("isSync", 1); in dequeueAccessUnitPCMAudio() 1287 accessUnit->meta()->setInt32("isSync", 1); in dequeueAccessUnitAAC() [all …]
|
/aosp12/frameworks/av/media/codec2/sfplugin/tests/ |
H A D | MediaCodec_sanity_test.cpp | 112 cfg->setInt32("width", 320); in TEST_P() 113 cfg->setInt32("height", 240); in TEST_P() 141 cfg->setInt32("width", 320); in TEST_P() 142 cfg->setInt32("height", 240); in TEST_P() 171 cfg->setInt32("channel-count", 2); in TEST_P() 205 cfg->setInt32("width", 320); in TEST_F() 206 cfg->setInt32("height", 240); in TEST_F() 264 cfg->setInt32("width", 320); in TEST_F() 265 cfg->setInt32("height", 240); in TEST_F() 290 cfg->setInt32("width", 320); in TEST_P() [all …]
|
/aosp12/frameworks/av/media/libstagefright/filters/ |
H A D | MediaFilter.cpp | 122 buffer->meta()->setInt32("flags", flags); in drainThisBuffer() 395 reply->setInt32("buffer-id", info->mBufferID); in postFillThisBuffer() 408 reply->setInt32("buffer-id", info->mBufferID); in postDrainThisBuffer() 544 msg->setInt32("color-format", mColorFormatIn); in onConfigureComponent() 567 mInputFormat->setInt32("stride", mStride); in onConfigureComponent() 571 mInputFormat->setInt32("width", mWidth); in onConfigureComponent() 572 mInputFormat->setInt32("height", mHeight); in onConfigureComponent() 576 mOutputFormat->setInt32("stride", mStride); in onConfigureComponent() 580 mOutputFormat->setInt32("width", mWidth); in onConfigureComponent() 581 mOutputFormat->setInt32("height", mHeight); in onConfigureComponent() [all …]
|