Home
last modified time | relevance | path

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

12

/frameworks/native/libs/vr/libbufferhubqueue/
Dbuffer_hub_queue_producer.cpp325 DvrNativeBufferMetadata meta_data = {}; in queueBuffer() local
326 meta_data.timestamp = timestamp; in queueBuffer()
327 meta_data.is_auto_timestamp = static_cast<int32_t>(is_auto_timestamp); in queueBuffer()
328 meta_data.dataspace = static_cast<int32_t>(dataspace); in queueBuffer()
329 meta_data.crop_left = crop.left; in queueBuffer()
330 meta_data.crop_top = crop.top; in queueBuffer()
331 meta_data.crop_right = crop.right; in queueBuffer()
332 meta_data.crop_bottom = crop.bottom; in queueBuffer()
333 meta_data.scaling_mode = static_cast<int32_t>(scaling_mode); in queueBuffer()
334 meta_data.transform = static_cast<int32_t>(transform); in queueBuffer()
[all …]
/frameworks/av/media/libstagefright/codecs/aacenc/
DAACEncoder.cpp232 buffer->meta_data()->setInt32(kKeyIsCodecConfig, true); in read()
237 buffer->meta_data()->setInt32(kKeyIsCodecConfig, false); in read()
259 if (mInputBuffer->meta_data()->findInt64(kKeyDriftTime, &timeUs)) { in read()
262 if (mInputBuffer->meta_data()->findInt64(kKeyAnchorTime, &timeUs)) { in read()
322 buffer->meta_data()->setInt64(kKeyTime, mAnchorTimeUs + mediaTimeUs); in read()
324 buffer->meta_data()->setInt64(kKeyDriftTime, mediaTimeUs - wallClockTimeUs); in read()
/frameworks/av/media/libstagefright/rtsp/
DVideoSource.h73 (*buffer)->meta_data()->clear(); in read()
74 (*buffer)->meta_data()->setInt64( in read()
Drtp_test.cpp205 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); in main()
/frameworks/av/media/libstagefright/
DAudioSource.cpp258 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); in read()
282 buffer->meta_data()->setInt64(kKeyTime, timeUs); in read()
402 buffer->meta_data()->setInt64(kKeyAnchorTime, mStartTimeUs); in queueInputBuffer_l()
405 buffer->meta_data()->setInt64(kKeyTime, mPrevSampleTimeUs); in queueInputBuffer_l()
406 buffer->meta_data()->setInt64(kKeyDriftTime, timeUs - mInitialReadTimeUs); in queueInputBuffer_l()
DNuMediaExtractor.cpp424 CHECK(info->mSample->meta_data()->findInt64( in fetchTrackSamples()
471 if (!info->mSample->meta_data()->findInt32( in appendVorbisNumPageSamples()
483 if (info->mSample->meta_data()->findData(kKeyEncryptedSizes, &type, &data, &size)) { in appendVorbisNumPageSamples()
501 info->mSample->meta_data()->setData(kKeyEncryptedSizes, type, adata, newSize); in appendVorbisNumPageSamples()
503 if (info->mSample->meta_data()->findData(kKeyPlainSizes, &type, &data, &size2)) { in appendVorbisNumPageSamples()
516 info->mSample->meta_data()->setData(kKeyPlainSizes, type, adata, newSize); in appendVorbisNumPageSamples()
605 *sampleMeta = info->mSample->meta_data(); in getSampleMeta()
DMediaCodecSource.cpp662 CHECK(mbuf->meta_data()->findInt64(kKeyTime, &timeUs)); in feedEncoderInputBuffers()
685 if (mbuf->meta_data()->findInt64(kKeyDriftTime, &driftTimeUs) in feedEncoderInputBuffers()
906 mbuf->meta_data()->setInt64(kKeyDecodingTime, decodingTimeUs); in onMessageReceived()
916 mbuf->meta_data()->setInt64(kKeyDriftTime, driftTimeUs); in onMessageReceived()
921 mbuf->meta_data()->setInt64(kKeyTime, timeUs); in onMessageReceived()
923 mbuf->meta_data()->setInt64(kKeyTime, 0ll); in onMessageReceived()
924 mbuf->meta_data()->setInt32(kKeyIsCodecConfig, true); in onMessageReceived()
927 mbuf->meta_data()->setInt32(kKeyIsSyncFrame, true); in onMessageReceived()
DOggExtractor.cpp280 if (packet->meta_data()->findInt64(kKeyTime, &timeUs)) { in read()
287 packet->meta_data()->setInt32(kKeyIsSyncFrame, 1); in read()
605 if ((*out)->meta_data()->findInt32(kKeyValidSamples, &currentPageSamples)) { in readNextPacket()
609 (*out)->meta_data()->setInt32(kKeyValidSamples, currentPageSamples); in readNextPacket()
615 (*out)->meta_data()->setInt64(kKeyTime, timeUs); in readNextPacket()
744 buffer->meta_data()->setInt32( in _readNextPacket()
766 buffer->meta_data()->setInt64(kKeyTime, timeUs); in _readNextPacket()
812 buffer->meta_data()->setInt64(kKeyTime, timeUs); in _readNextPacket()
815 buffer->meta_data()->setInt32( in _readNextPacket()
DSimpleDecodingSource.cpp287 CHECK(in_buf->meta_data()->findInt64(kKeyTime, &timestampUs)); in doRead()
299 if (!in_buf->meta_data()->findInt32(kKeyValidSamples, &numPageSamples)) { in doRead()
371 (*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.cpp194 (*newBuffer)->meta_data()->setInt64(kKeyTime, frameTime); in createMediaBufferCopy()
200 CHECK(sourceBuffer.meta_data()->findInt64(kKeyTime, &frameTime)); in fillLastReadBufferCopy()
DAMRExtractor.cpp328 buffer->meta_data()->setInt64(kKeyTime, mCurrentTimeUs); in read()
329 buffer->meta_data()->setInt32(kKeyIsSyncFrame, 1); in read()
DAACExtractor.cpp324 buffer->meta_data()->setInt64(kKeyTime, mCurrentTimeUs); in read()
325 buffer->meta_data()->setInt32(kKeyIsSyncFrame, 1); in read()
DMPEG4Extractor.cpp4639 mBuffer->meta_data()->clear(); in read()
4640 mBuffer->meta_data()->setInt64( in read()
4642 mBuffer->meta_data()->setInt64( in read()
4646 mBuffer->meta_data()->setInt64( in read()
4651 mBuffer->meta_data()->setInt32(kKeyIsSyncFrame, 1); in read()
4774 mBuffer->meta_data()->clear(); in read()
4775 mBuffer->meta_data()->setInt64( in read()
4777 mBuffer->meta_data()->setInt64( in read()
4781 mBuffer->meta_data()->setInt64( in read()
4788 mBuffer->meta_data()->setInt32(kKeyTemporalLayerId, layerId); in read()
[all …]
DMediaMuxer.cpp173 sp<MetaData> sampleMetaData = mediaBuffer->meta_data(); in writeSampleData()
/frameworks/native/services/sensorservice/
DSensorEventConnection.cpp221 buffer[i].meta_data.sensor); in sendEvents()
225 sensor_handle = buffer[i].meta_data.sensor; in sendEvents()
242 buffer[i].meta_data.sensor); in sendEvents()
271 buffer[i].meta_data.sensor == sensor_handle))); in sendEvents()
399 flushCompleteEvent.meta_data.sensor = handle; in sendPendingFlushEventsLocked()
411 flushCompleteEvent.meta_data.sensor); in sendPendingFlushEventsLocked()
480 FlushInfo& flushInfo = mSensorInfo.editValueFor(scratch[j].meta_data.sensor); in countFlushCompleteEventsLocked()
/frameworks/av/cmds/stagefright/
Drecord.cpp95 (*buffer)->meta_data()->clear();
96 (*buffer)->meta_data()->setInt64(
243 if (!buffer->meta_data()->findInt32(kKeyIsSyncFrame, &isSync)) {
Drecordvideo.cpp117 (*buffer)->meta_data()->clear(); in read()
118 (*buffer)->meta_data()->setInt64( in read()
DSineSource.cpp91 buffer->meta_data()->setInt64( in read()
Dstagefright.cpp251 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timestampUs)); in playSource()
490 (*buffer)->meta_data()->setInt32(kKeyIsSyncFrame, isIDR); in read()
495 (*buffer)->meta_data()->setInt32(kKeyIsSyncFrame, true); in read()
589 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); in performSeekTest()
/frameworks/av/media/libmedia/
DIMediaSource.cpp172 buf->meta_data()->updateFromParcel(reply); in readMultiple()
178 buf->meta_data()->updateFromParcel(reply); in readMultiple()
414 buf->meta_data()->writeToParcel(*reply); in onTransact()
427 buf->meta_data()->writeToParcel(*reply); in onTransact()
/frameworks/wilhelm/src/android/util/
DAacAdtsExtractor.cpp295 buffer->meta_data()->setInt64(kKeyTime, mCurrentTimeUs); in read()
296 buffer->meta_data()->setInt32(kKeyIsSyncFrame, 1); in read()
/frameworks/av/media/libstagefright/matroska/
DMatroskaExtractor.cpp553 sp<MetaData> meta = mbuf->meta_data(); in setWebmBlockCryptoInfo()
632 mbuf->meta_data()->setInt64(kKeyTime, timeUs); in readBlock()
633 mbuf->meta_data()->setInt32(kKeyIsSyncFrame, block->IsKey()); in readBlock()
696 frame->meta_data()->setInt64( in read()
784 CHECK(frame->meta_data()->findInt64(kKeyTime, &timeUs)); in read()
786 CHECK(frame->meta_data()->findInt32(kKeyIsSyncFrame, &isSync)); in read()
788 buffer->meta_data()->setInt64(kKeyTime, timeUs); in read()
789 buffer->meta_data()->setInt32(kKeyIsSyncFrame, isSync); in read()
801 buffer->meta_data()->setInt64( in read()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp1294 if (!mb->meta_data()->findInt32(kKeyValidSamples, &numPageSamples)) { in mediaBufferToABuffer()
1305 CHECK(mb->meta_data()->findInt64(kKeyTime, &timeUs)); in mediaBufferToABuffer()
1310 if (mb->meta_data()->findInt32(kKeyTemporalLayerId, &layerId)) { in mediaBufferToABuffer()
1323 if (mb->meta_data()->findInt64(kKeyDuration, &durationUs)) { in mediaBufferToABuffer()
1334 if (mb->meta_data()->findData(kKeySEI, &dataType, &seiData, &seiLength)) { in mediaBufferToABuffer()
1341 if (mb->meta_data()->findData( in mediaBufferToABuffer()
1452 if (!mbuf->meta_data()->findInt64(kKeyTime, &timeUs)) { in readBuffer()
1453 mbuf->meta_data()->dumpToLog(); in readBuffer()
/frameworks/av/media/libstagefright/wifi-display/source/
DRepeaterSource.cpp158 (*buffer)->meta_data()->setInt64(kKeyTime, bufferTimeUs); in read()

12