Home
last modified time | relevance | path

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

123

/frameworks/native/libs/gui/
DBufferHubProducer.cpp319 DvrNativeBufferMetadata meta_data; in queueBuffer() local
320 meta_data.timestamp = timestamp; in queueBuffer()
321 meta_data.is_auto_timestamp = int32_t(is_auto_timestamp); in queueBuffer()
322 meta_data.dataspace = int32_t(dataspace); in queueBuffer()
323 meta_data.crop_left = crop.left; in queueBuffer()
324 meta_data.crop_top = crop.top; in queueBuffer()
325 meta_data.crop_right = crop.right; in queueBuffer()
326 meta_data.crop_bottom = crop.bottom; in queueBuffer()
327 meta_data.scaling_mode = int32_t(scaling_mode); in queueBuffer()
328 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/native/services/sensorservice/
DSensorEventConnection.cpp237 buffer[i].meta_data.sensor); in sendEvents()
241 sensor_handle = buffer[i].meta_data.sensor; in sendEvents()
258 buffer[i].meta_data.sensor); in sendEvents()
289 buffer[i].meta_data.sensor == sensor_handle))); in sendEvents()
439 flushCompleteEvent.meta_data.sensor = handle; in sendPendingFlushEventsLocked()
451 flushCompleteEvent.meta_data.sensor); in sendPendingFlushEventsLocked()
523 ssize_t index = mSensorInfo.indexOfKey(scratch[j].meta_data.sensor); in countFlushCompleteEventsLocked()
526 __func__, scratch[j].meta_data.sensor); in countFlushCompleteEventsLocked()
/frameworks/av/media/libstagefright/
DAudioSource.cpp268 CHECK(buffer->meta_data().findInt64(kKeyTime, &timeUs)); in read()
292 buffer->meta_data().setInt64(kKeyTime, timeUs); in read()
436 buffer->meta_data().setInt64(kKeyAnchorTime, mStartTimeUs); in queueInputBuffer_l()
439 buffer->meta_data().setInt64(kKeyTime, mPrevSampleTimeUs); in queueInputBuffer_l()
440 buffer->meta_data().setInt64(kKeyDriftTime, timeUs - mInitialReadTimeUs); in queueInputBuffer_l()
DNuMediaExtractor.cpp562 if (mbuf->meta_data().findInt64(kKeyTime, &timeUs)) { in fetchTrackSamples()
565 mbuf->meta_data().dumpToLog(); in fetchTrackSamples()
605 if (!mbuf->meta_data().findInt32( in appendVorbisNumPageSamples()
617 if (mbuf->meta_data().findData(kKeyEncryptedSizes, &type, &data, &size)) { in appendVorbisNumPageSamples()
635 mbuf->meta_data().setData(kKeyEncryptedSizes, type, adata, newSize); in appendVorbisNumPageSamples()
637 if (mbuf->meta_data().findData(kKeyPlainSizes, &type, &data, &size2)) { in appendVorbisNumPageSamples()
650 mbuf->meta_data().setData(kKeyPlainSizes, type, adata, newSize); in appendVorbisNumPageSamples()
763 *sampleMeta = new MetaData(info->mSamples.begin()->mBuffer->meta_data()); in getSampleMeta()
DMediaCodecSource.cpp695 CHECK(mbuf->meta_data().findInt64(kKeyTime, &timeUs)); in feedEncoderInputBuffers()
718 if (mbuf->meta_data().findInt64(kKeyDriftTime, &driftTimeUs) in feedEncoderInputBuffers()
940 mbuf->meta_data().setInt64(kKeyDecodingTime, decodingTimeUs); in onMessageReceived()
950 mbuf->meta_data().setInt64(kKeyDriftTime, driftTimeUs); in onMessageReceived()
955 mbuf->meta_data().setInt64(kKeyTime, timeUs); in onMessageReceived()
957 mbuf->meta_data().setInt64(kKeyTime, 0ll); in onMessageReceived()
958 mbuf->meta_data().setInt32(kKeyIsCodecConfig, true); in onMessageReceived()
961 mbuf->meta_data().setInt32(kKeyIsSyncFrame, true); in onMessageReceived()
DSimpleDecodingSource.cpp312 CHECK(in_buf->meta_data().findInt64(kKeyTime, &timestampUs)); in doRead()
324 if (!in_buf->meta_data().findInt32(kKeyValidSamples, &numPageSamples)) { in doRead()
396 (*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()
/frameworks/av/media/extractors/ogg/
DOggExtractor.cpp282 if (packet->meta_data().findInt64(kKeyTime, &timeUs)) { in read()
289 packet->meta_data().setInt32(kKeyIsSyncFrame, 1); in read()
612 if ((*out)->meta_data().findInt32(kKeyValidSamples, &currentPageSamples)) { in readNextPacket()
616 (*out)->meta_data().setInt32(kKeyValidSamples, currentPageSamples); in readNextPacket()
622 (*out)->meta_data().setInt64(kKeyTime, timeUs); in readNextPacket()
751 buffer->meta_data().setInt32( in _readNextPacket()
773 buffer->meta_data().setInt64(kKeyTime, timeUs); in _readNextPacket()
819 buffer->meta_data().setInt64(kKeyTime, timeUs); in _readNextPacket()
822 buffer->meta_data().setInt32( in _readNextPacket()
/frameworks/av/cmds/stagefright/
Drecord.cpp96 (*buffer)->meta_data()->clear();
97 (*buffer)->meta_data()->setInt64(
244 if (!buffer->meta_data()->findInt32(kKeyIsSyncFrame, &isSync)) {
Drecordvideo.cpp117 (*buffer)->meta_data().clear(); in read()
118 (*buffer)->meta_data().setInt64( in read()
DSineSource.cpp92 buffer->meta_data().setInt64( in read()
Dstagefright.cpp256 CHECK(buffer->meta_data().findInt64(kKeyTime, &timestampUs)); in playSource()
495 (*buffer)->meta_data().setInt32(kKeyIsSyncFrame, isIDR); in read()
500 (*buffer)->meta_data().setInt32(kKeyIsSyncFrame, true); in read()
594 CHECK(buffer->meta_data().findInt64(kKeyTime, &timeUs)); in performSeekTest()
/frameworks/av/media/libmedia/
DIMediaSource.cpp174 buf->meta_data().updateFromParcel(reply); in readMultiple()
180 buf->meta_data().updateFromParcel(reply); in readMultiple()
411 buf->meta_data().writeToParcel(*reply); in onTransact()
424 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/libstagefright/include/media/stagefright/
DMediaBufferBase.h62 virtual MetaDataBase& meta_data() = 0;
/frameworks/av/media/libmediaextractor/include/media/stagefright/
DMediaBufferBase.h62 virtual MetaDataBase& meta_data() = 0;
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp604 MetaDataBase &meta = mbuf->meta_data(); in setWebmBlockCryptoInfo()
740 mbuf->meta_data().setInt64(kKeyTime, timeUs); in readBlock()
741 mbuf->meta_data().setInt32(kKeyIsSyncFrame, block->IsKey()); in readBlock()
808 frame->meta_data().setInt64( in read()
896 CHECK(frame->meta_data().findInt64(kKeyTime, &timeUs)); in read()
898 CHECK(frame->meta_data().findInt32(kKeyIsSyncFrame, &isSync)); in read()
900 buffer->meta_data().setInt64(kKeyTime, timeUs); in read()
901 buffer->meta_data().setInt32(kKeyIsSyncFrame, isSync); in read()
913 buffer->meta_data().setInt64( in read()
/frameworks/av/media/extractors/aac/
DAACExtractor.cpp314 buffer->meta_data().setInt64(kKeyTime, mCurrentTimeUs); in read()
315 buffer->meta_data().setInt32(kKeyIsSyncFrame, 1); in read()
/frameworks/av/media/extractors/amr/
DAMRExtractor.cpp352 buffer->meta_data().setInt64(kKeyTime, mCurrentTimeUs); in read()
353 buffer->meta_data().setInt32(kKeyIsSyncFrame, 1); in read()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp1206 if (!mb->meta_data().findInt32(kKeyValidSamples, &numPageSamples)) { in mediaBufferToABuffer()
1217 CHECK(mb->meta_data().findInt64(kKeyTime, &timeUs)); in mediaBufferToABuffer()
1222 if (mb->meta_data().findInt32(kKeyTemporalLayerId, &layerId)) { in mediaBufferToABuffer()
1235 if (mb->meta_data().findInt64(kKeyDuration, &durationUs)) { in mediaBufferToABuffer()
1246 if (mb->meta_data().findData(kKeySEI, &dataType, &seiData, &seiLength)) { in mediaBufferToABuffer()
1253 if (mb->meta_data().findData( in mediaBufferToABuffer()
1385 if (!mbuf->meta_data().findInt64(kKeyTime, &timeUs)) { in readBuffer()
1386 mbuf->meta_data().dumpToLog(); in readBuffer()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp4847 mBuffer->meta_data().clear(); in read()
4848 mBuffer->meta_data().setInt64( in read()
4850 mBuffer->meta_data().setInt64( in read()
4854 mBuffer->meta_data().setInt64( in read()
4859 mBuffer->meta_data().setInt32(kKeyIsSyncFrame, 1); in read()
4982 mBuffer->meta_data().clear(); in read()
4983 mBuffer->meta_data().setInt64( in read()
4985 mBuffer->meta_data().setInt64( in read()
4989 mBuffer->meta_data().setInt64( in read()
4996 mBuffer->meta_data().setInt32(kKeyTemporalLayerId, layerId); in read()
[all …]
/frameworks/av/media/libmediaextractor/
DMediaBuffer.cpp148 MetaDataBase& MediaBuffer::meta_data() { in meta_data() function in android::MediaBuffer

123