Home
last modified time | relevance | path

Searched refs:bufferInfos (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.cpp186 sp<BufferInfosWrapper> bufferInfos{new BufferInfosWrapper(decltype(bufferInfos->value)())}; in submitMultiAccessUnits() local
222 bufferInfos->value.emplace_back( in submitMultiAccessUnits()
235 bufferInfos->value.emplace_back( in submitMultiAccessUnits()
242 bufferInfos->value.emplace_back( in submitMultiAccessUnits()
261 bufferInfos->value.emplace_back( in submitMultiAccessUnits()
270 bufferInfos->value.emplace_back( in submitMultiAccessUnits()
292 if (!bufferInfos->value.empty()) { in submitMultiAccessUnits()
293 buffer->meta()->setObject("accessUnitInfo", bufferInfos); in submitMultiAccessUnits()
DCCodecBufferChannel.cpp522 sp<BufferInfosWrapper> bufferInfos{(BufferInfosWrapper *)obj.get()}; in attachEncryptedBuffers() local
576 for (int i = 0; i < bufferInfos->value.size(); i++) { in attachEncryptedBuffers()
577 if (bufferInfos->value[i].mSize > 0) { in attachEncryptedBuffers()
580 src.size = bufferInfos->value[i].mSize; in attachEncryptedBuffers()
592 srcOffset += bufferInfos->value[i].mSize; in attachEncryptedBuffers()
605 bufferInfos->value[i].mSize = result; in attachEncryptedBuffers()
935 sp<BufferInfosWrapper> bufferInfos{(BufferInfosWrapper *)obj.get()}; in queueSecureInputBuffers() local
1010 for (int i = 0 ; i < bufferInfos->value.size(); i++) { in queueSecureInputBuffers()
1011 if (bufferInfos->value[i].mSize > 0) { in queueSecureInputBuffers()
1021 source.size = bufferInfos->value[i].mSize; in queueSecureInputBuffers()
[all …]
/frameworks/base/media/java/android/media/
DMediaCodec.java3003 @NonNull ArrayDeque<BufferInfo> bufferInfos) {
3015 index, bufferInfos.toArray());
3326 @NonNull ArrayDeque<BufferInfo> bufferInfos, in queueSecureInputBuffers() argument
3339 index, bufferInfos.toArray(), cryptoInfos.toArray()); in queueSecureInputBuffers()
3355 @NonNull Object[] bufferInfos, in native_queueSecureInputBuffers() argument
3692 @NonNull ArrayDeque<MediaCodec.BufferInfo> bufferInfos, in setMultiFrameEncryptedLinearBlock() argument
3702 mBufferInfos.addAll(bufferInfos); in setMultiFrameEncryptedLinearBlock()
3953 @NonNull Object[] bufferInfos, in native_queueLinearBlock() argument
/frameworks/av/media/libstagefright/
DMediaCodec.cpp280 sp<AMessage> &msg, const sp<BufferInfosWrapper> &bufferInfos) { in generateFlagsFromAccessUnitInfo() argument
281 msg->setInt64("timeUs", bufferInfos->value[0].mTimestamp); in generateFlagsFromAccessUnitInfo()
282 msg->setInt32("flags", bufferInfos->value[0].mFlags); in generateFlagsFromAccessUnitInfo()
284 if (bufferInfos->value.size() > 1) { in generateFlagsFromAccessUnitInfo()
290 for ( ; infoIdx < bufferInfos->value.size() && !foundEndOfStream; ++infoIdx) { in generateFlagsFromAccessUnitInfo()
291 bufferFlags |= bufferInfos->value[infoIdx].mFlags; in generateFlagsFromAccessUnitInfo()
292 andFlags &= bufferInfos->value[infoIdx].mFlags; in generateFlagsFromAccessUnitInfo()
298 if (infoIdx != bufferInfos->value.size()) { in generateFlagsFromAccessUnitInfo()
3363 const sp<BufferInfosWrapper> &bufferInfos, in queueBuffer() argument
3369 if (bufferInfos == nullptr || bufferInfos->value.empty()) { in queueBuffer()
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodec.h227 const sp<BufferInfosWrapper> &bufferInfos,
236 const sp<BufferInfosWrapper> &bufferInfos,