Home
last modified time | relevance | path

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

12

/frameworks/av/media/libstagefright/
DMediaTrack.cpp170 if (format->mFormat->findBuffer("crypto-plain-sizes", &valbuf)) { in read()
174 if (format->mFormat->findBuffer("crypto-encrypted-sizes", &valbuf)) { in read()
178 if (format->mFormat->findBuffer("crypto-key", &valbuf)) { in read()
182 if (format->mFormat->findBuffer("crypto-iv", &valbuf)) { in read()
186 if (format->mFormat->findBuffer("sei", &valbuf)) { in read()
190 if (format->mFormat->findBuffer("audio-presentation-info", &valbuf)) { in read()
194 if (format->mFormat->findBuffer("csd-0", &valbuf)) { in read()
DCryptoAsync.cpp121 msg->findBuffer("key", &keyBuffer); in decryptAndQueue()
122 msg->findBuffer("iv", &ivBuffer); in decryptAndQueue()
123 msg->findBuffer("subSamples", &subSamplesBuffer); in decryptAndQueue()
162 msg->findBuffer("key", &keyBuffer); in attachEncryptedBufferAndQueue()
163 msg->findBuffer("iv", &ivBuffer); in attachEncryptedBufferAndQueue()
164 msg->findBuffer("subSamples", &subSamplesBuffer); in attachEncryptedBufferAndQueue()
DUtils.cpp863 if (msg->findBuffer(elem.first, &value)) { in convertMessageToMetaDataFromMappings()
871 if (msg->findBuffer(elem.first, &value)) { in convertMessageToMetaDataFromMappings()
1784 if (msg->findBuffer("ca-session-id", &caSessionId)) { in convertMessageToMetaData()
1787 if (msg->findBuffer("ca-private-data", &caPvtData)) { in convertMessageToMetaData()
1949 if (msg->findBuffer("hdr10-plus-info", &hdr10PlusInfo)) { in convertMessageToMetaData()
2018 if (msg->findBuffer(AMEDIAFORMAT_KEY_MPEGH_COMPATIBLE_SETS, in convertMessageToMetaData()
2067 if (msg->findBuffer("csd-0", &csd0)) { in convertMessageToMetaData()
2071 if (msg->findBuffer("csd-1", &csd1)) { in convertMessageToMetaData()
2108 if (!msg->findBuffer("csd-2", &csd2)) { in convertMessageToMetaData()
2199 if (msg->findBuffer("csd-1", &csd1)) { in convertMessageToMetaData()
[all …]
DFrameDecoder.cpp728 if (videoFrameBuffer->meta()->findBuffer("image-data", &imgObj)) { in onOutputReceived()
1012 if (videoFrameBuffer->meta()->findBuffer("image-data", &imgObj)) { in onOutputReceived()
DMPEG2TSWriter.cpp593 CHECK(msg->findBuffer("buffer", &buffer)); in onMessageReceived()
DACodecBufferChannel.cpp306 if (!buffer->format()->findBuffer("image-data", &imageData)) { in attachBuffer()
/frameworks/av/media/module/mpeg2ts/
DAnotherPacketSource.cpp218 if (buffer->meta()->findBuffer("sei", &sei) && sei != NULL) { in read()
223 if (buffer->meta()->findBuffer("mpeg-user-data", &mpegUserData) && mpegUserData != NULL) { in read()
229 if (buffer->meta()->findBuffer("audio-presentation-info", &ap) && ap != NULL) { in read()
241 CHECK(buffer->meta()->findBuffer("clearBytes", &clearBytesBuffer) in read()
243 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()
DCCodecBuffers_test.cpp248 ASSERT_TRUE(clientBuffer->format()->findBuffer("image-data", &imageData)); in TEST()
388 ASSERT_TRUE(clientBuffer->format()->findBuffer("image-data", &imageData)); in TEST()
780 if (!buffer->format()->findBuffer("image-data", &imageData)) { in VerifyClientBuffer()
/frameworks/av/media/libstagefright/rtsp/
DARTPSession.cpp149 CHECK(msg->findBuffer("access-unit", &accessUnit)); in onMessageReceived()
/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/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp1020 bool hasBuffer = msg->findBuffer("buffer", &buffer); in onInputBufferFetched()
1271 if (mInputFormat->findBuffer("csd-0", &oldBuf) && in supportsSeamlessAudioFormatChange()
1272 targetFormat->findBuffer("csd-0", &newBuf)) { in supportsSeamlessAudioFormatChange()
1322 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.cpp288 bool hasBuffer = msg->findBuffer("buffer", &buffer); in onInputBufferFetched()
DNuPlayer.cpp2587 CHECK(msg->findBuffer("drmInfo", &drmInfo)); in onSourceNotify()
2700 CHECK(msg->findBuffer("buffer", &buffer)); in onSourceNotify()
2709 if (!msg->findBuffer("buffer", &buffer)) { in onSourceNotify()
2726 CHECK(msg->findBuffer("buffer", &buffer)); in onSourceNotify()
2790 CHECK(msg->findBuffer("buffer", &buffer)); in onClosedCaptionNotify()
DRTSPSource.cpp599 CHECK(msg->findBuffer("accessUnit", &accessUnit)); in onMessageReceived()
DRTPSource.cpp422 if (msg->findBuffer("access-unit", &accessUnit) == false) { in onMessageReceived()
/frameworks/av/media/module/foundation/include/media/stagefright/foundation/
DAMessage.h129 bool findBuffer(const char *name, sp<ABuffer> *buffer) const;
/frameworks/av/media/ndk/
DNdkMediaExtractor.cpp256 if(!format->findBuffer("pssh", &buffer)) { in AMediaExtractor_getPsshInfo()
DNdkMediaFormat.cpp224 if (format->mFormat->findBuffer(name, &buf)) { in AMediaFormat_getBuffer()
/frameworks/base/media/jni/
Dandroid_media_Streams.cpp297 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/codec2/sfplugin/
DCCodecConfig.cpp1456 if (msg->findBuffer(C2_PARAMKEY_TEMPORAL_LAYERING, &tmp) && tmp != nullptr) { in getFormatForDomain()
1668 && msg->findBuffer(dataKey.c_str(), &data)) { in getFormatForDomain()
1858 if (params->findBuffer(KEY_HDR_STATIC_INFO, &hdrMeta) in getReflectedFormat()
1878 if (params->findBuffer(KEY_HDR10_PLUS_INFO, &hdrDynamicInfo)) { in getReflectedFormat()
/frameworks/av/media/libstagefright/rtsp/include/media/stagefright/rtsp/
DMyHandler.h1080 CHECK(msg->findBuffer("access-unit", &accessUnit)); in onMessageReceived()
1367 CHECK(msg->findBuffer("buffer", &buffer)); in onMessageReceived()

12