Home
last modified time | relevance | path

Searched refs:findBuffer (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/av/media/libstagefright/
DMediaTrack.cpp162 if (format->mFormat->findBuffer("crypto-plain-sizes", &valbuf)) { in read()
166 if (format->mFormat->findBuffer("crypto-encrypted-sizes", &valbuf)) { in read()
170 if (format->mFormat->findBuffer("crypto-key", &valbuf)) { in read()
174 if (format->mFormat->findBuffer("crypto-iv", &valbuf)) { in read()
178 if (format->mFormat->findBuffer("sei", &valbuf)) { in read()
182 if (format->mFormat->findBuffer("audio-presentation-info", &valbuf)) { in read()
DUtils.cpp752 if (msg->findBuffer(elem.first, &value)) { in convertMessageToMetaDataFromMappings()
760 if (msg->findBuffer(elem.first, &value)) { in convertMessageToMetaDataFromMappings()
1614 if (msg->findBuffer("ca-session-id", &caSessionId)) { in convertMessageToMetaData()
1617 if (msg->findBuffer("ca-private-data", &caPvtData)) { in convertMessageToMetaData()
1717 if (msg->findBuffer("hdr10-plus-info", &hdr10PlusInfo)) { in convertMessageToMetaData()
1811 if (msg->findBuffer("csd-0", &csd0)) { in convertMessageToMetaData()
1815 if (msg->findBuffer("csd-1", &csd1)) { in convertMessageToMetaData()
1846 if (msg->findBuffer("csd-1", &csd1)) { in convertMessageToMetaData()
1850 if (msg->findBuffer("csd-2", &csd2)) { in convertMessageToMetaData()
1872 } else if (mime == MEDIA_MIMETYPE_VIDEO_AVC && msg->findBuffer("csd-avc", &csd0)) { in convertMessageToMetaData()
[all …]
DMPEG2TSWriter.cpp593 CHECK(msg->findBuffer("buffer", &buffer)); in onMessageReceived()
DMediaCodec.cpp2322 if (mOutputFormat->findBuffer("hdr10-plus-info", &hdr10PlusInfo) in onMessageReceived()
3152 if (!format->findBuffer(AStringPrintf("csd-%u", i).c_str(), &csd)) { in extractCSD()
3513 if (info->mData->format()->findBuffer("image-data", &imageData)) { in dequeuePortBuffer()
/frameworks/av/media/libstagefright/mpeg2ts/
DAnotherPacketSource.cpp216 if (buffer->meta()->findBuffer("sei", &sei) && sei != NULL) { in read()
221 if (buffer->meta()->findBuffer("mpeg-user-data", &mpegUserData) && mpegUserData != NULL) { in read()
227 if (buffer->meta()->findBuffer("audio-presentation-info", &ap) && ap != NULL) { in read()
239 CHECK(buffer->meta()->findBuffer("clearBytes", &clearBytesBuffer) in read()
241 CHECK(buffer->meta()->findBuffer("encBytes", &encBytesBuffer) in read()
DHlsSampleDecryptor.cpp48 sampleAesKeyItem->findBuffer("keyData", &keyDataBuffer); in signalNewSampleAesKey()
49 sampleAesKeyItem->findBuffer("initVec", &initVecBuffer); in signalNewSampleAesKey()
/frameworks/av/media/codec2/sfplugin/tests/
DMediaCodec_sanity_test.cpp219 ASSERT_TRUE(ofmt->findBuffer("hdr-static-info", &oinfo)); in TEST_F()
257 ASSERT_TRUE(ofmt->findBuffer("hdr-static-info", &oinfo)); in TEST_F()
278 ASSERT_TRUE(ofmt->findBuffer("hdr-static-info", &oinfo)); in TEST_F()
343 ASSERT_TRUE(ofmt->findBuffer("image-data", &imgBuf)); in TEST_P()
344 ASSERT_TRUE(buf->meta()->findBuffer("image-data", &imgBuf2)); in TEST_P()
/frameworks/av/media/codec2/components/cmds/
Dcodec2.cpp205 format->findBuffer("csd-0", &csd0); in play()
206 format->findBuffer("csd-1", &csd1); in play()
/frameworks/av/media/libstagefright/rtsp/
DARTPSession.cpp149 CHECK(msg->findBuffer("access-unit", &accessUnit)); in onMessageReceived()
DARTPConnection.cpp653 CHECK(msg->findBuffer("buffer", &buffer)); in onInjectPacket()
DMyHandler.h1066 CHECK(msg->findBuffer("access-unit", &accessUnit)); in onMessageReceived()
1351 CHECK(msg->findBuffer("buffer", &buffer)); in onMessageReceived()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp1001 bool hasBuffer = msg->findBuffer("buffer", &buffer); in onInputBufferFetched()
1234 if (mInputFormat->findBuffer("csd-0", &oldBuf) && in supportsSeamlessAudioFormatChange()
1235 targetFormat->findBuffer("csd-0", &newBuf)) { in supportsSeamlessAudioFormatChange()
1285 if (!format->findBuffer(tag.c_str(), &buffer)) { in rememberCodecSpecificData()
DNuPlayerCCDecoder.cpp226 if (!accessUnit->meta()->findBuffer("sei", &sei) || sei == NULL) { in extractFromSEI()
318 if (!accessUnit->meta()->findBuffer("mpeg-user-data", &mpegUserData) in extractFromMPEGUserData()
DNuPlayerDecoderPassThrough.cpp289 bool hasBuffer = msg->findBuffer("buffer", &buffer); in onInputBufferFetched()
DNuPlayer.cpp2536 CHECK(msg->findBuffer("drmInfo", &drmInfo)); in onSourceNotify()
2649 CHECK(msg->findBuffer("buffer", &buffer)); in onSourceNotify()
2658 if (!msg->findBuffer("buffer", &buffer)) { in onSourceNotify()
2675 CHECK(msg->findBuffer("buffer", &buffer)); in onSourceNotify()
2731 CHECK(msg->findBuffer("buffer", &buffer)); in onClosedCaptionNotify()
DRTSPSource.cpp592 CHECK(msg->findBuffer("accessUnit", &accessUnit)); in onMessageReceived()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAMessage.h126 bool findBuffer(const char *name, sp<ABuffer> *buffer) const;
/frameworks/av/media/ndk/
DNdkMediaFormat.cpp182 if (format->mFormat->findBuffer(name, &buf)) { in AMediaFormat_getBuffer()
DNdkMediaExtractor.cpp248 if(!format->findBuffer("pssh", &buffer)) { in AMediaExtractor_getPsshInfo()
/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp950 for (size_t ix = 0; msg->findBuffer(StringPrintf("csd-%zu", ix).c_str(), &csd); ++ix) { in configure()
996 if (msg->findBuffer(KEY_HDR_STATIC_INFO, &hdrInfo) in configure()
997 && !config->mOutputFormat->findBuffer(KEY_HDR_STATIC_INFO, &hdrInfo)) { in configure()
DCCodecConfig.cpp1132 if (msg->findBuffer(C2_PARAMKEY_TEMPORAL_LAYERING, &tmp) && tmp != nullptr) { in getSdkFormatForDomain()
1444 if (params->findBuffer(KEY_HDR_STATIC_INFO, &hdrMeta) in getReflectedFormat()
/frameworks/base/media/jni/
Dandroid_media_Streams.cpp358 CHECK(msg->findBuffer(key, &buffer)); in ConvertMessageToMap()
/frameworks/av/cmds/stagefright/
DSimplePlayer.cpp333 while (format->findBuffer(AStringPrintf("csd-%d", j).c_str(), &buffer)) { in onPrepare()
/frameworks/av/media/libstagefright/foundation/
DColorUtils.cpp764 if (!format->findBuffer("hdr-static-info", &buf)) { in getHDRStaticInfoFromFormat()
DAMessage.cpp365 bool AMessage::findBuffer(const char *name, sp<ABuffer> *buf) const { in findBuffer() function in android::AMessage

12