Home
last modified time | relevance | path

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

123

/frameworks/native/libs/gui/
DBufferHubProducer.cpp468 DvrNativeBufferMetadata meta_data; in queueBuffer() local
469 meta_data.timestamp = timestamp; in queueBuffer()
470 meta_data.is_auto_timestamp = int32_t(is_auto_timestamp); in queueBuffer()
471 meta_data.dataspace = int32_t(dataspace); in queueBuffer()
472 meta_data.crop_left = crop.left; in queueBuffer()
473 meta_data.crop_top = crop.top; in queueBuffer()
474 meta_data.crop_right = crop.right; in queueBuffer()
475 meta_data.crop_bottom = crop.bottom; in queueBuffer()
476 meta_data.scaling_mode = int32_t(scaling_mode); in queueBuffer()
477 meta_data.transform = int32_t(transform); in queueBuffer()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DVideoSource.h73 (*buffer)->meta_data()->clear(); in read()
74 (*buffer)->meta_data()->setInt64( in read()
DARTPWriter.cpp961 mSPSBuf->meta_data().setInt64(kKeyTime, timeUs); in sendSPSPPSIfIFrame()
962 mSPSBuf->meta_data().setInt32(kKeySps, 1); in sendSPSPPSIfIFrame()
967 mPPSBuf->meta_data().setInt64(kKeyTime, timeUs); in sendSPSPPSIfIFrame()
968 mPPSBuf->meta_data().setInt32(kKeyPps, 1); in sendSPSPPSIfIFrame()
984 mVPSBuf->meta_data().setInt64(kKeyTime, timeUs); in sendVPSSPSPPSIfIFrame()
985 mVPSBuf->meta_data().setInt32(kKeyVps, 1); in sendVPSSPSPPSIfIFrame()
990 mSPSBuf->meta_data().setInt64(kKeyTime, timeUs); in sendVPSSPSPPSIfIFrame()
991 mSPSBuf->meta_data().setInt32(kKeySps, 1); in sendVPSSPSPPSIfIFrame()
996 mPPSBuf->meta_data().setInt64(kKeyTime, timeUs); in sendVPSSPSPPSIfIFrame()
997 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/include/media/stagefright/
DMediaBufferBase.h66 virtual MetaDataBase& meta_data() = 0;
114 mWrapper->meta_data = [](void *handle) -> AMediaFormat* { in wrap()
/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()
565 flushCompleteEvent.meta_data.sensor = handle; in sendPendingFlushEventsLocked()
577 flushCompleteEvent.meta_data.sensor); in sendPendingFlushEventsLocked()
649 if (mSensorInfo.count(scratch[j].meta_data.sensor) == 0) { in countFlushCompleteEventsLocked()
651 __func__, scratch[j].meta_data.sensor); in countFlushCompleteEventsLocked()
655 FlushInfo& flushInfo = mSensorInfo[scratch[j].meta_data.sensor]; in countFlushCompleteEventsLocked()
/frameworks/av/media/libstagefright/
DNuMediaExtractor.cpp603 if (mbuf->meta_data().findInt64(kKeyTime, &timeUs)) { in fetchTrackSamples()
606 mbuf->meta_data().dumpToLog(); in fetchTrackSamples()
664 if (!mbuf->meta_data().findInt32( in appendVorbisNumPageSamples()
676 if (mbuf->meta_data().findData(kKeyEncryptedSizes, &type, &data, &size)) { in appendVorbisNumPageSamples()
694 mbuf->meta_data().setData(kKeyEncryptedSizes, type, adata, newSize); in appendVorbisNumPageSamples()
696 if (mbuf->meta_data().findData(kKeyPlainSizes, &type, &data, &size2)) { in appendVorbisNumPageSamples()
709 mbuf->meta_data().setData(kKeyPlainSizes, type, adata, newSize); in appendVorbisNumPageSamples()
822 *sampleMeta = new MetaData(info->mSamples.begin()->mBuffer->meta_data()); in getSampleMeta()
884 sp<MetaData> meta = new MetaData(info->mSamples.begin()->mBuffer->meta_data()); in getAudioPresentations()
DAudioSource.cpp306 CHECK(buffer->meta_data().findInt64(kKeyTime, &timeUs)); in read()
330 buffer->meta_data().setInt64(kKeyTime, timeUs); in read()
469 buffer->meta_data().setInt64(kKeyAnchorTime, mStartTimeUs); in queueInputBuffer_l()
476 buffer->meta_data().setInt64(kKeyTime, mPrevSampleTimeUs); in queueInputBuffer_l()
477 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()
983 mbuf->meta_data().setInt64(kKeyDecodingTime, decodingTimeUs); in onMessageReceived()
993 mbuf->meta_data().setInt64(kKeyDriftTime, driftTimeUs); in onMessageReceived()
998 mbuf->meta_data().setInt64(kKeyTime, timeUs); in onMessageReceived()
1000 mbuf->meta_data().setInt64(kKeyTime, 0LL); in onMessageReceived()
1001 mbuf->meta_data().setInt32(kKeyIsCodecConfig, true); in onMessageReceived()
1004 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()
397 (*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.cpp310 if ((buffer->meta_data().findInt32(kKeyIsCodecConfig, &isCodecSpecific) in threadFunc()
344 CHECK(buffer->meta_data().findInt64(kKeyTime, &timestampUs)); in threadFunc()
/frameworks/av/cmds/stagefright/
Drecord.cpp97 (*buffer)->meta_data()->clear();
98 (*buffer)->meta_data()->setInt64(
245 if (!buffer->meta_data()->findInt32(kKeyIsSyncFrame, &isSync)) {
Drecordvideo.cpp115 (*buffer)->meta_data().clear(); in read()
116 (*buffer)->meta_data().setInt64( in read()
Dstagefright.cpp164 MetaDataBase &meta = mbuf->meta_data(); in dumpSource()
266 CHECK(buffer->meta_data().findInt64(kKeyTime, &timestampUs)); in playSource()
362 MetaDataBase &meta = buffer->meta_data(); in playSource()
508 (*buffer)->meta_data().setInt32(kKeyIsSyncFrame, isIDR); in read()
513 (*buffer)->meta_data().setInt32(kKeyIsSyncFrame, true); in read()
607 CHECK(buffer->meta_data().findInt64(kKeyTime, &timeUs)); in performSeekTest()
DSineSource.cpp92 buffer->meta_data().setInt64( in read()
/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/extractors/ogg/
DOggExtractor.cpp287 AMediaFormat *meta = packet->meta_data(); in read()
631 AMediaFormat *meta = (*out)->meta_data(); in readNextPacket()
747 AMediaFormat *meta_data() override { in meta_data() function in android::StandAloneMediaBuffer
805 AMediaFormat_clear(tmp->meta_data()); in _readNextPacket()
835 AMediaFormat *meta = buffer->meta_data(); in _readNextPacket()
858 AMediaFormat *meta = buffer->meta_data(); in _readNextPacket()
907 AMediaFormat *meta = buffer->meta_data(); in _readNextPacket()
911 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.cpp1226 if (!mb->meta_data().findInt32(kKeyValidSamples, &numPageSamples)) { in mediaBufferToABuffer()
1237 CHECK(mb->meta_data().findInt64(kKeyTime, &timeUs)); in mediaBufferToABuffer()
1242 if (mb->meta_data().findInt32(kKeyTemporalLayerId, &layerId)) { in mediaBufferToABuffer()
1255 if (mb->meta_data().findInt64(kKeyDuration, &durationUs)) { in mediaBufferToABuffer()
1266 if (mb->meta_data().findData(kKeySEI, &dataType, &seiData, &seiLength)) { in mediaBufferToABuffer()
1273 if (mb->meta_data().findData( in mediaBufferToABuffer()
1405 if (!mbuf->meta_data().findInt64(kKeyTime, &timeUs)) { in readBuffer()
1406 mbuf->meta_data().dumpToLog(); in readBuffer()
/frameworks/av/include/media/
DMediaExtractorPluginApi.h62 AMediaFormat* (*meta_data)(void *handle); member
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp665 AMediaFormat *meta = mbuf->meta_data(); in setWebmBlockCryptoInfo()
809 AMediaFormat *meta = mbuf->meta_data(); in readBlock()
923 CHECK(AMediaFormat_getInt64(frame->meta_data(), in mp3FrameRead()
927 AMediaFormat_setInt64(frame->meta_data(), in mp3FrameRead()
1030 AMediaFormat_setInt64(buffer->meta_data(), in mp3FrameRead()
1035 AMediaFormat_setInt64(buffer->meta_data(), in mp3FrameRead()
1088 AMediaFormat_setInt64(frame->meta_data(), in read()
1198 AMediaFormat *frameMeta = frame->meta_data(); in read()
1204 AMediaFormat *bufMeta = buffer->meta_data(); in read()
1218 AMediaFormat_setInt64(buffer->meta_data(), in read()

123