Home
last modified time | relevance | path

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

123

/frameworks/native/libs/gui/
DBufferHubProducer.cpp469 DvrNativeBufferMetadata meta_data; in queueBuffer() local
470 meta_data.timestamp = timestamp; in queueBuffer()
471 meta_data.is_auto_timestamp = int32_t(is_auto_timestamp); in queueBuffer()
472 meta_data.dataspace = int32_t(dataspace); in queueBuffer()
473 meta_data.crop_left = crop.left; in queueBuffer()
474 meta_data.crop_top = crop.top; in queueBuffer()
475 meta_data.crop_right = crop.right; in queueBuffer()
476 meta_data.crop_bottom = crop.bottom; in queueBuffer()
477 meta_data.scaling_mode = int32_t(scaling_mode); in queueBuffer()
478 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()
Drtp_test.cpp204 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); in main()
/frameworks/av/media/libstagefright/
DNuMediaExtractor.cpp533 if (mbuf->meta_data().findInt64(kKeyTime, &timeUs)) { in fetchTrackSamples()
536 mbuf->meta_data().dumpToLog(); in fetchTrackSamples()
594 if (!mbuf->meta_data().findInt32( in appendVorbisNumPageSamples()
606 if (mbuf->meta_data().findData(kKeyEncryptedSizes, &type, &data, &size)) { in appendVorbisNumPageSamples()
624 mbuf->meta_data().setData(kKeyEncryptedSizes, type, adata, newSize); in appendVorbisNumPageSamples()
626 if (mbuf->meta_data().findData(kKeyPlainSizes, &type, &data, &size2)) { in appendVorbisNumPageSamples()
639 mbuf->meta_data().setData(kKeyPlainSizes, type, adata, newSize); in appendVorbisNumPageSamples()
752 *sampleMeta = new MetaData(info->mSamples.begin()->mBuffer->meta_data()); in getSampleMeta()
814 sp<MetaData> meta = new MetaData(info->mSamples.begin()->mBuffer->meta_data()); in getAudioPresentations()
DAudioSource.cpp272 CHECK(buffer->meta_data().findInt64(kKeyTime, &timeUs)); in read()
296 buffer->meta_data().setInt64(kKeyTime, timeUs); in read()
435 buffer->meta_data().setInt64(kKeyAnchorTime, mStartTimeUs); in queueInputBuffer_l()
442 buffer->meta_data().setInt64(kKeyTime, mPrevSampleTimeUs); in queueInputBuffer_l()
443 buffer->meta_data().setInt64(kKeyDriftTime, timeUs - mInitialReadTimeUs); in queueInputBuffer_l()
DMediaCodecSource.cpp700 CHECK(mbuf->meta_data().findInt64(kKeyTime, &timeUs)); in feedEncoderInputBuffers()
723 if (mbuf->meta_data().findInt64(kKeyDriftTime, &driftTimeUs) in feedEncoderInputBuffers()
947 mbuf->meta_data().setInt64(kKeyDecodingTime, decodingTimeUs); in onMessageReceived()
957 mbuf->meta_data().setInt64(kKeyDriftTime, driftTimeUs); in onMessageReceived()
962 mbuf->meta_data().setInt64(kKeyTime, timeUs); in onMessageReceived()
964 mbuf->meta_data().setInt64(kKeyTime, 0LL); in onMessageReceived()
965 mbuf->meta_data().setInt32(kKeyIsCodecConfig, true); in onMessageReceived()
968 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()
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()
DCameraSourceTimeLapse.cpp204 (*newBuffer)->meta_data().setInt64(kKeyTime, frameTime); in createMediaBufferCopy()
216 CHECK(sourceBuffer.meta_data().findInt64(kKeyTime, &frameTime)); in fillLastReadBufferCopy()
DOggWriter.cpp310 if ((buffer->meta_data().findInt32(kKeyIsCodecConfig, &isCodecSpecific) in threadFunc()
344 CHECK(buffer->meta_data().findInt64(kKeyTime, &timestampUs)); in threadFunc()
/frameworks/native/services/sensorservice/
DSensorEventConnection.cpp245 buffer[i].meta_data.sensor); in sendEvents()
249 sensor_handle = buffer[i].meta_data.sensor; in sendEvents()
266 buffer[i].meta_data.sensor); in sendEvents()
298 buffer[i].meta_data.sensor == sensor_handle))); in sendEvents()
487 flushCompleteEvent.meta_data.sensor = handle; in sendPendingFlushEventsLocked()
499 flushCompleteEvent.meta_data.sensor); in sendPendingFlushEventsLocked()
571 ssize_t index = mSensorInfo.indexOfKey(scratch[j].meta_data.sensor); in countFlushCompleteEventsLocked()
574 __func__, scratch[j].meta_data.sensor); in countFlushCompleteEventsLocked()
/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/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()
417 buf->meta_data().writeToParcel(*reply); in onTransact()
430 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()
746 AMediaFormat *meta_data() override { in meta_data() function in android::StandAloneMediaBuffer
804 AMediaFormat_clear(tmp->meta_data()); in _readNextPacket()
834 AMediaFormat *meta = buffer->meta_data(); in _readNextPacket()
857 AMediaFormat *meta = buffer->meta_data(); in _readNextPacket()
906 AMediaFormat *meta = buffer->meta_data(); in _readNextPacket()
910 AMediaFormat *meta = buffer->meta_data(); in _readNextPacket()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp1238 if (!mb->meta_data().findInt32(kKeyValidSamples, &numPageSamples)) { in mediaBufferToABuffer()
1249 CHECK(mb->meta_data().findInt64(kKeyTime, &timeUs)); in mediaBufferToABuffer()
1254 if (mb->meta_data().findInt32(kKeyTemporalLayerId, &layerId)) { in mediaBufferToABuffer()
1267 if (mb->meta_data().findInt64(kKeyDuration, &durationUs)) { in mediaBufferToABuffer()
1278 if (mb->meta_data().findData(kKeySEI, &dataType, &seiData, &seiLength)) { in mediaBufferToABuffer()
1285 if (mb->meta_data().findData( in mediaBufferToABuffer()
1417 if (!mbuf->meta_data().findInt64(kKeyTime, &timeUs)) { in readBuffer()
1418 mbuf->meta_data().dumpToLog(); in readBuffer()
/frameworks/av/media/libstagefright/tests/writer/
DWriterUtility.cpp58 MetaDataBase &sampleMetaData = mediaBuffer->meta_data(); in sendBuffersToWriter()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp660 AMediaFormat *meta = mbuf->meta_data(); in setWebmBlockCryptoInfo()
804 AMediaFormat *meta = mbuf->meta_data(); in readBlock()
916 CHECK(AMediaFormat_getInt64(frame->meta_data(), in mp3FrameRead()
920 AMediaFormat_setInt64(frame->meta_data(), in mp3FrameRead()
1021 AMediaFormat_setInt64(buffer->meta_data(), in mp3FrameRead()
1026 AMediaFormat_setInt64(buffer->meta_data(), in mp3FrameRead()
1079 AMediaFormat_setInt64(frame->meta_data(), in read()
1189 AMediaFormat *frameMeta = frame->meta_data(); in read()
1195 AMediaFormat *bufMeta = buffer->meta_data(); in read()
1209 AMediaFormat_setInt64(buffer->meta_data(), in read()
/frameworks/av/include/media/
DMediaExtractorPluginApi.h62 AMediaFormat* (*meta_data)(void *handle); member
/frameworks/av/media/libstagefright/foundation/
DMediaBuffer.cpp151 MetaDataBase& MediaBuffer::meta_data() { in meta_data() function in android::MediaBuffer

123