Home
last modified time | relevance | path

Searched refs:meta_data (Results 1 – 25 of 61) sorted by relevance

123

/frameworks/av/media/libstagefright/rtsp/fuzzer/
Drtp_writer_fuzzer.cpp80 (*buffer)->meta_data().setInt32(kKeySps, mKeySps); in read()
83 (*buffer)->meta_data().setInt32(kKeyVps, mKeyVps); in read()
86 (*buffer)->meta_data().setInt32(kKeyPps, mKeyPps); in read()
88 (*buffer)->meta_data().setInt64(kKeyTime, mKeyTime); in read()
/frameworks/av/media/libstagefright/rtsp/include/media/stagefright/rtsp/
DVideoSource.h73 (*buffer)->meta_data()->clear(); in read()
74 (*buffer)->meta_data()->setInt64( in read()
/frameworks/av/media/libstagefright/rtsp/
DARTPWriter.cpp987 mSPSBuf->meta_data().setInt64(kKeyTime, timeUs); in sendSPSPPSIfIFrame()
988 mSPSBuf->meta_data().setInt32(kKeySps, 1); in sendSPSPPSIfIFrame()
993 mPPSBuf->meta_data().setInt64(kKeyTime, timeUs); in sendSPSPPSIfIFrame()
994 mPPSBuf->meta_data().setInt32(kKeyPps, 1); in sendSPSPPSIfIFrame()
1010 mVPSBuf->meta_data().setInt64(kKeyTime, timeUs); in sendVPSSPSPPSIfIFrame()
1011 mVPSBuf->meta_data().setInt32(kKeyVps, 1); in sendVPSSPSPPSIfIFrame()
1016 mSPSBuf->meta_data().setInt64(kKeyTime, timeUs); in sendVPSSPSPPSIfIFrame()
1017 mSPSBuf->meta_data().setInt32(kKeySps, 1); in sendVPSSPSPPSIfIFrame()
1022 mPPSBuf->meta_data().setInt64(kKeyTime, timeUs); in sendVPSSPSPPSIfIFrame()
1023 mPPSBuf->meta_data().setInt32(kKeyPps, 1); in sendVPSSPSPPSIfIFrame()
[all …]
Drtp_test.cpp204 CHECK(buffer->meta_data().findInt64(kKeyTime, &timeUs)); in main()
/frameworks/av/media/libstagefright/tests/fuzzers/
DFuzzerMediaUtility.h46 mbb->meta_data().setInt32(kKeyIsEndOfStream, mFdp->ConsumeBool()); in read()
47 mbb->meta_data().setInt64(kKeyTime, mFdp->ConsumeIntegral<uint32_t>() / 2); in read()
DIMediaSourceFuzzImpl.h76 mbb->meta_data().setInt64(kKeyTime, fdp->ConsumeIntegral<uint64_t>()); in readMultiple()
89 mbb->meta_data().setInt64(kKeyTime, fdp->ConsumeIntegral<uint64_t>()); in readMultiple()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaBufferBase.h66 virtual MetaDataBase& meta_data() = 0;
114 mWrapper->meta_data = [](void *handle) -> AMediaFormat* { in wrap()
/frameworks/av/media/libstagefright/
DNuMediaExtractor.cpp582 if (mbuf->meta_data().findInt64(kKeyTime, &timeUs)) { in fetchTrackSamples()
585 mbuf->meta_data().dumpToLog(); in fetchTrackSamples()
643 if (!mbuf->meta_data().findInt32( in appendVorbisNumPageSamples()
658 if (mbuf->meta_data().findData(kKeyEncryptedSizes, &type, &data, &size)) { in appendVorbisNumPageSamples()
676 mbuf->meta_data().setData(kKeyEncryptedSizes, type, adata, newSize); in appendVorbisNumPageSamples()
678 if (mbuf->meta_data().findData(kKeyPlainSizes, &type, &data, &size2)) { in appendVorbisNumPageSamples()
691 mbuf->meta_data().setData(kKeyPlainSizes, type, adata, newSize); in appendVorbisNumPageSamples()
806 *sampleMeta = new MetaData(info->mSamples.begin()->mBuffer->meta_data()); in getSampleMeta()
868 sp<MetaData> meta = new MetaData(info->mSamples.begin()->mBuffer->meta_data()); in getAudioPresentations()
DAudioSource.cpp293 CHECK(buffer->meta_data().findInt64(kKeyTime, &timeUs)); in read()
317 buffer->meta_data().setInt64(kKeyTime, timeUs); in read()
456 buffer->meta_data().setInt64(kKeyAnchorTime, mStartTimeUs); in queueInputBuffer_l()
463 buffer->meta_data().setInt64(kKeyTime, mPrevSampleTimeUs); in queueInputBuffer_l()
464 buffer->meta_data().setInt64(kKeyDriftTime, timeUs - mInitialReadTimeUs); in queueInputBuffer_l()
DMediaCodecSource.cpp719 CHECK(mbuf->meta_data().findInt64(kKeyTime, &timeUs)); in feedEncoderInputBuffers()
742 if (mbuf->meta_data().findInt64(kKeyDriftTime, &driftTimeUs) in feedEncoderInputBuffers()
766 if (mbuf->meta_data().findInt32(kKeyColorSpace, &ds) in feedEncoderInputBuffers()
990 mbuf->meta_data().setInt64(kKeyDecodingTime, decodingTimeUs); in onMessageReceived()
1000 mbuf->meta_data().setInt64(kKeyDriftTime, driftTimeUs); in onMessageReceived()
1005 mbuf->meta_data().setInt64(kKeyTime, timeUs); in onMessageReceived()
1007 mbuf->meta_data().setInt64(kKeyTime, 0LL); in onMessageReceived()
1008 mbuf->meta_data().setInt32(kKeyIsCodecConfig, true); in onMessageReceived()
1011 mbuf->meta_data().setInt32(kKeyIsSyncFrame, true); in onMessageReceived()
DMediaTrack.cpp121 MetaDataBase &meta = (*buffer)->meta_data(); in read()
122 AMediaFormat *format = buf->meta_data(buf->handle); in read()
DCameraSourceTimeLapse.cpp193 (*newBuffer)->meta_data().setInt64(kKeyTime, frameTime); in createMediaBufferCopy()
200 CHECK(sourceBuffer.meta_data().findInt64(kKeyTime, &frameTime)); in fillLastReadBufferCopy()
DSimpleDecodingSource.cpp313 CHECK(in_buf->meta_data().findInt64(kKeyTime, &timestampUs)); in doRead()
325 if (!in_buf->meta_data().findInt32(kKeyValidSamples, &numPageSamples)) { in doRead()
402 (*buffer)->meta_data().setInt64(kKeyTime, out_pts); in doRead()
DAACWriter.cpp319 if (buffer->meta_data().findInt32(kKeyIsCodecConfig, &isCodecSpecific) && isCodecSpecific) { in threadFunc()
327 CHECK(buffer->meta_data().findInt64(kKeyTime, &timestampUs)); in threadFunc()
DOggWriter.cpp317 if ((buffer->meta_data().findInt32(kKeyIsCodecConfig, &isCodecSpecific) in threadFunc()
351 CHECK(buffer->meta_data().findInt64(kKeyTime, &timestampUs)); in threadFunc()
/frameworks/native/services/sensorservice/
DSensorEventConnection.cpp306 buffer[i].meta_data.sensor); in sendEvents()
310 sensor_handle = buffer[i].meta_data.sensor; in sendEvents()
326 buffer[i].meta_data.sensor); in sendEvents()
358 buffer[i].meta_data.sensor == sensor_handle))); in sendEvents()
569 flushCompleteEvent.meta_data.sensor = handle; in sendPendingFlushEventsLocked()
581 flushCompleteEvent.meta_data.sensor); in sendPendingFlushEventsLocked()
653 if (mSensorInfo.count(scratch[j].meta_data.sensor) == 0) { in countFlushCompleteEventsLocked()
655 __func__, scratch[j].meta_data.sensor); in countFlushCompleteEventsLocked()
659 FlushInfo& flushInfo = mSensorInfo[scratch[j].meta_data.sensor]; in countFlushCompleteEventsLocked()
/frameworks/av/cmds/stagefright/
Drecord.cpp99 (*buffer)->meta_data()->clear();
100 (*buffer)->meta_data()->setInt64(
247 if (!buffer->meta_data()->findInt32(kKeyIsSyncFrame, &isSync)) {
Drecordvideo.cpp115 (*buffer)->meta_data().clear(); in read()
116 (*buffer)->meta_data().setInt64( in read()
DSineSource.cpp95 buffer->meta_data().setInt64( in read()
Dstagefright.cpp174 MetaDataBase &meta = mbuf->meta_data(); in dumpSource()
273 CHECK(buffer->meta_data().findInt64(kKeyTime, &timestampUs)); in playSource()
369 MetaDataBase &meta = buffer->meta_data(); in playSource()
515 (*buffer)->meta_data().setInt32(kKeyIsSyncFrame, isIDR); in read()
520 (*buffer)->meta_data().setInt32(kKeyIsSyncFrame, true); in read()
614 CHECK(buffer->meta_data().findInt64(kKeyTime, &timeUs)); in performSeekTest()
/frameworks/av/media/libmedia/
DIMediaSource.cpp175 buf->meta_data().updateFromParcel(reply); in readMultiple()
181 buf->meta_data().updateFromParcel(reply); in readMultiple()
419 buf->meta_data().writeToParcel(*reply); in onTransact()
432 buf->meta_data().writeToParcel(*reply); in onTransact()
/frameworks/wilhelm/src/android/util/
DAacAdtsExtractor.cpp270 buffer->meta_data().setInt64(kKeyTime, mCurrentTimeUs); in read()
271 buffer->meta_data().setInt32(kKeyIsSyncFrame, 1); in read()
/frameworks/av/media/module/extractors/ogg/
DOggExtractor.cpp290 AMediaFormat *meta = packet->meta_data(); in read()
686 AMediaFormat *meta = (*out)->meta_data(); in readNextPacket()
802 AMediaFormat *meta_data() override { in meta_data() function in android::StandAloneMediaBuffer
861 AMediaFormat_clear(tmp->meta_data()); in _readNextPacket()
891 AMediaFormat *meta = buffer->meta_data(); in _readNextPacket()
914 AMediaFormat *meta = buffer->meta_data(); in _readNextPacket()
963 AMediaFormat *meta = buffer->meta_data(); in _readNextPacket()
967 AMediaFormat *meta = buffer->meta_data(); in _readNextPacket()
/frameworks/av/media/libstagefright/tests/writer/
DWriterUtility.cpp58 MetaDataBase &sampleMetaData = mediaBuffer->meta_data(); in sendBuffersToWriter()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp1231 if (!mb->meta_data().findInt32(kKeyValidSamples, &numPageSamples)) { in mediaBufferToABuffer()
1242 CHECK(mb->meta_data().findInt64(kKeyTime, &timeUs)); in mediaBufferToABuffer()
1247 if (mb->meta_data().findInt32(kKeyTemporalLayerId, &layerId)) { in mediaBufferToABuffer()
1260 if (mb->meta_data().findInt64(kKeyDuration, &durationUs)) { in mediaBufferToABuffer()
1271 if (mb->meta_data().findData(kKeySEI, &dataType, &seiData, &seiLength)) { in mediaBufferToABuffer()
1278 if (mb->meta_data().findData( in mediaBufferToABuffer()
1410 if (!mbuf->meta_data().findInt64(kKeyTime, &timeUs)) { in readBuffer()
1411 mbuf->meta_data().dumpToLog(); in readBuffer()

123