Home
last modified time | relevance | path

Searched refs:mInitData (Results 1 – 25 of 97) sorted by relevance

1234

/dports/lang/spidermonkey60/firefox-60.9.0/dom/media/eme/
H A DMediaEncryptedEvent.cpp26 NS_IMPL_CYCLE_COLLECTION_TRACE_JS_MEMBER_CALLBACK(mInitData)
30 tmp->mInitData = nullptr;
43 mInitData = nullptr; in ~MediaEncryptedEvent()
79 if (!aEventInitDict.mInitData.IsNull()) { in Constructor()
80 const auto& a = aEventInitDict.mInitData.Value(); in Constructor()
82 e->mInitData = ArrayBuffer::Create(aGlobal.Context(), a.Length(), a.Data()); in Constructor()
83 if (!e->mInitData) { in Constructor()
100 mInitData = ArrayBuffer::Create(cx, this, mRawInitData.Length(), in GetInitData()
102 if (!mInitData) { in GetInitData()
108 aData.set(mInitData); in GetInitData()
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/media/eme/
H A DMediaEncryptedEvent.cpp26 NS_IMPL_CYCLE_COLLECTION_TRACE_JS_MEMBER_CALLBACK(mInitData)
30 tmp->mInitData = nullptr;
45 mInitData = nullptr; in ~MediaEncryptedEvent()
88 if (!aEventInitDict.mInitData.IsNull()) { in Constructor()
89 const auto& a = aEventInitDict.mInitData.Value(); in Constructor()
91 e->mInitData = ArrayBuffer::Create(aGlobal.Context(), in Constructor()
94 if (!e->mInitData) { in Constructor()
115 mInitData = ArrayBuffer::Create(cx, in GetInitData()
119 if (!mInitData) { in GetInitData()
125 aData.set(mInitData); in GetInitData()
/dports/lang/spidermonkey78/firefox-78.9.0/dom/media/eme/
H A DMediaEncryptedEvent.cpp27 NS_IMPL_CYCLE_COLLECTION_TRACE_JS_MEMBER_CALLBACK(mInitData)
31 tmp->mInitData = nullptr;
44 mInitData = nullptr; in ~MediaEncryptedEvent()
80 if (!aEventInitDict.mInitData.IsNull()) { in Constructor()
82 aEventInitDict.mInitData.Value().Obj()); in Constructor()
83 e->mInitData = JS::CopyArrayBuffer(aGlobal.Context(), buffer); in Constructor()
84 if (!e->mInitData) { in Constructor()
101 mInitData = ArrayBuffer::Create(cx, this, mRawInitData.Length(), in GetInitData()
103 if (!mInitData) { in GetInitData()
109 aData.set(mInitData); in GetInitData()
/dports/www/firefox-esr/firefox-91.8.0/dom/media/eme/
H A DMediaEncryptedEvent.cpp27 NS_IMPL_CYCLE_COLLECTION_TRACE_JS_MEMBER_CALLBACK(mInitData)
76 if (!aEventInitDict.mInitData.IsNull()) { in Constructor()
78 aEventInitDict.mInitData.Value().Obj()); in Constructor()
79 e->mInitData = JS::CopyArrayBuffer(aGlobal.Context(), buffer); in Constructor()
80 if (!e->mInitData) { in Constructor()
97 mInitData = ArrayBuffer::Create(cx, this, mRawInitData.Length(), in GetInitData()
99 if (!mInitData) { in GetInitData()
105 aData.set(mInitData); in GetInitData()
/dports/www/firefox/firefox-99.0/dom/media/eme/
H A DMediaEncryptedEvent.cpp27 NS_IMPL_CYCLE_COLLECTION_TRACE_JS_MEMBER_CALLBACK(mInitData)
76 if (!aEventInitDict.mInitData.IsNull()) { in Constructor()
78 aEventInitDict.mInitData.Value().Obj()); in Constructor()
79 e->mInitData = JS::CopyArrayBuffer(aGlobal.Context(), buffer); in Constructor()
80 if (!e->mInitData) { in Constructor()
97 mInitData = ArrayBuffer::Create(cx, this, mRawInitData.Length(), in GetInitData()
99 if (!mInitData) { in GetInitData()
105 aData.set(mInitData); in GetInitData()
/dports/mail/thunderbird/thunderbird-91.8.0/dom/media/eme/
H A DMediaEncryptedEvent.cpp27 NS_IMPL_CYCLE_COLLECTION_TRACE_JS_MEMBER_CALLBACK(mInitData)
76 if (!aEventInitDict.mInitData.IsNull()) { in Constructor()
78 aEventInitDict.mInitData.Value().Obj()); in Constructor()
79 e->mInitData = JS::CopyArrayBuffer(aGlobal.Context(), buffer); in Constructor()
80 if (!e->mInitData) { in Constructor()
97 mInitData = ArrayBuffer::Create(cx, this, mRawInitData.Length(), in GetInitData()
99 if (!mInitData) { in GetInitData()
105 aData.set(mInitData); in GetInitData()
/dports/www/firefox-legacy/firefox-52.8.0esr/media/gmp-clearkey/0.1/
H A DClearKeyPersistence.cpp126 mInitData.insert(mInitData.end(), in CreateSessionTask()
135 &mInitData.front(), in Run()
136 mInitData.size(), in Run()
147 vector<uint8_t> mInitData; member in CreateSessionTask
/dports/www/firefox-esr/firefox-91.8.0/dom/media/mediasource/
H A DContainerParser.cpp83 return mHasInitData && !!mInitData->Length(); in HasCompleteInitData()
86 MediaByteBuffer* ContainerParser::InitData() { return mInitData; } in InitData()
171 mInitData = new MediaByteBuffer(); in ParseStartAndEndTimestamps()
196 MOZ_DIAGNOSTIC_ASSERT(mInitData && mResource && in ParseStartAndEndTimestamps()
198 if (!mInitData->SetLength(mParser.mInitEndOffset, fallible)) { in ParseStartAndEndTimestamps()
204 char* buffer = reinterpret_cast<char*>(mInitData->Elements()); in ParseStartAndEndTimestamps()
533 mInitData = new MediaByteBuffer(); in ParseStartAndEndTimestamps()
543 MOZ_DIAGNOSTIC_ASSERT(mResource && mParser && mInitData, in ParseStartAndEndTimestamps()
556 if (!mInitData->SetLength(range.Length(), fallible)) { in ParseStartAndEndTimestamps()
560 char* buffer = reinterpret_cast<char*>(mInitData->Elements()); in ParseStartAndEndTimestamps()
[all …]
H A DTrackBuffersManager.cpp75 mInitData(aInitData.Clone()), in DispatchKeyNeededEvent()
82 owner->DispatchEncrypted(mInitData, mInitDataType); in Run()
90 nsTArray<uint8_t> mInitData; member in mozilla::DispatchKeyNeededEvent
257 mInitData = nullptr; in ProcessTasks()
467 MOZ_ASSERT(mInitData && mInitData->Length(), in CompleteResetParserState()
473 mInputBuffer = Some(MediaSpan::WithCopyOf(mInitData)); in CompleteResetParserState()
1132 if (!mInitData) { in IsRepeatInitData()
1143 if (*mInitData == *mParser->InitData()) { in IsRepeatInitData()
1451 mInitData = mParser->InitData(); in OnDemuxerInitDone()
2394 if (aReuseInitData && mInitData) { in RecreateParser()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/dom/media/mediasource/
H A DContainerParser.cpp83 return mHasInitData && !!mInitData->Length(); in HasCompleteInitData()
86 MediaByteBuffer* ContainerParser::InitData() { return mInitData; } in InitData()
171 mInitData = new MediaByteBuffer(); in ParseStartAndEndTimestamps()
196 MOZ_DIAGNOSTIC_ASSERT(mInitData && mResource && in ParseStartAndEndTimestamps()
198 if (!mInitData->SetLength(mParser.mInitEndOffset, fallible)) { in ParseStartAndEndTimestamps()
204 char* buffer = reinterpret_cast<char*>(mInitData->Elements()); in ParseStartAndEndTimestamps()
533 mInitData = new MediaByteBuffer(); in ParseStartAndEndTimestamps()
543 MOZ_DIAGNOSTIC_ASSERT(mResource && mParser && mInitData, in ParseStartAndEndTimestamps()
556 if (!mInitData->SetLength(range.Length(), fallible)) { in ParseStartAndEndTimestamps()
560 char* buffer = reinterpret_cast<char*>(mInitData->Elements()); in ParseStartAndEndTimestamps()
[all …]
/dports/www/firefox/firefox-99.0/dom/media/mediasource/
H A DContainerParser.cpp83 return mHasInitData && !!mInitData->Length(); in HasCompleteInitData()
86 MediaByteBuffer* ContainerParser::InitData() { return mInitData; } in InitData()
171 mInitData = new MediaByteBuffer(); in ParseStartAndEndTimestamps()
196 MOZ_DIAGNOSTIC_ASSERT(mInitData && mResource && in ParseStartAndEndTimestamps()
198 if (!mInitData->SetLength(mParser.mInitEndOffset, fallible)) { in ParseStartAndEndTimestamps()
204 char* buffer = reinterpret_cast<char*>(mInitData->Elements()); in ParseStartAndEndTimestamps()
533 mInitData = new MediaByteBuffer(); in ParseStartAndEndTimestamps()
543 MOZ_DIAGNOSTIC_ASSERT(mResource && mParser && mInitData, in ParseStartAndEndTimestamps()
556 if (!mInitData->SetLength(range.Length(), fallible)) { in ParseStartAndEndTimestamps()
560 char* buffer = reinterpret_cast<char*>(mInitData->Elements()); in ParseStartAndEndTimestamps()
[all …]
H A DTrackBuffersManager.cpp77 mInitData(aInitData.Clone()), in DispatchKeyNeededEvent()
84 owner->DispatchEncrypted(mInitData, mInitDataType); in Run()
92 nsTArray<uint8_t> mInitData; member in mozilla::DispatchKeyNeededEvent
278 mInitData = nullptr; in ProcessTasks()
490 MOZ_ASSERT(mInitData && mInitData->Length(), in CompleteResetParserState()
1171 if (!mInitData) { in IsRepeatInitData()
1182 if (*mInitData == *mParser->InitData()) { in IsRepeatInitData()
1491 mInitData = mParser->InitData(); in OnDemuxerInitDone()
2458 if (aReuseInitData && mInitData) { in RecreateParser()
2461 mProcessedInput = mInitData->Length(); in RecreateParser()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/dom/media/mediasource/
H A DContainerParser.cpp83 return mHasInitData && !!mInitData->Length(); in HasCompleteInitData()
86 MediaByteBuffer* ContainerParser::InitData() { return mInitData; } in InitData()
171 mInitData = new MediaByteBuffer(); in ParseStartAndEndTimestamps()
196 MOZ_DIAGNOSTIC_ASSERT(mInitData && mResource && in ParseStartAndEndTimestamps()
198 if (!mInitData->SetLength(mParser.mInitEndOffset, fallible)) { in ParseStartAndEndTimestamps()
204 char* buffer = reinterpret_cast<char*>(mInitData->Elements()); in ParseStartAndEndTimestamps()
533 mInitData = new MediaByteBuffer(); in ParseStartAndEndTimestamps()
543 MOZ_DIAGNOSTIC_ASSERT(mResource && mParser && mInitData, in ParseStartAndEndTimestamps()
556 if (!mInitData->SetLength(range.Length(), fallible)) { in ParseStartAndEndTimestamps()
560 char* buffer = reinterpret_cast<char*>(mInitData->Elements()); in ParseStartAndEndTimestamps()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/media/mediasource/
H A DContainerParser.cpp89 return mHasInitData && !!mInitData->Length(); in HasCompleteInitData()
95 return mInitData; in InitData()
207 mInitData = new MediaByteBuffer(); in ParseStartAndEndTimestamps()
230 if (!mInitData->SetLength(mParser.mInitEndOffset, fallible)) { in ParseStartAndEndTimestamps()
235 char* buffer = reinterpret_cast<char*>(mInitData->Elements()); in ParseStartAndEndTimestamps()
481 mInitData = new MediaByteBuffer(); in ParseStartAndEndTimestamps()
496 if (!mInitData->SetLength(range.Length(), fallible)) { in ParseStartAndEndTimestamps()
500 char* buffer = reinterpret_cast<char*>(mInitData->Elements()); in ParseStartAndEndTimestamps()
661 mInitData = new MediaByteBuffer(header.header_length); in ParseStartAndEndTimestamps()
662 mInitData->AppendElements(aData->Elements(), header.header_length); in ParseStartAndEndTimestamps()
/dports/lang/spidermonkey60/firefox-60.9.0/dom/media/mediasource/
H A DContainerParser.cpp88 return mHasInitData && !!mInitData->Length(); in HasCompleteInitData()
91 MediaByteBuffer* ContainerParser::InitData() { return mInitData; } in InitData()
176 mInitData = new MediaByteBuffer(); in ParseStartAndEndTimestamps()
202 if (!mInitData->SetLength(mParser.mInitEndOffset, fallible)) { in ParseStartAndEndTimestamps()
208 char* buffer = reinterpret_cast<char*>(mInitData->Elements()); in ParseStartAndEndTimestamps()
531 mInitData = new MediaByteBuffer(); in ParseStartAndEndTimestamps()
551 if (!mInitData->SetLength(range.Length(), fallible)) { in ParseStartAndEndTimestamps()
555 char* buffer = reinterpret_cast<char*>(mInitData->Elements()); in ParseStartAndEndTimestamps()
715 mInitData = new MediaByteBuffer(header.header_length); in ParseStartAndEndTimestamps()
716 mInitData->AppendElements(aData->Elements(), header.header_length); in ParseStartAndEndTimestamps()
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/media/webm/
H A DWebMDemuxer.cpp165 , mInitData(nullptr) in WebMDemuxer()
293 mInitData = resource.MediaReadAt(0, mBufferedState->GetInitEndOffset()); in ReadMetadata()
294 if (!mInitData || in ReadMetadata()
295 mInitData->Length() != size_t(mBufferedState->GetInitEndOffset())) { in ReadMetadata()
477 if (!mNeedReIndex || !mInitData) { in EnsureUpToDateIndex()
509 if (mInitData) { in NotifyDataRemoved()
510 mBufferedState->NotifyDataArrived(mInitData->Elements(), mInitData->Length(), 0); in NotifyDataRemoved()
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/media/fmp4/
H A DMP4Demuxer.cpp119 , mInitData(new MediaByteBuffer) in MP4Demuxer()
133 mInitData = mp4_demuxer::MP4Metadata::Metadata(stream); in Init()
134 if (!mInitData) { in Init()
140 new mp4_demuxer::BufferStream(mInitData); in Init()
/dports/mail/thunderbird/thunderbird-91.8.0/widget/android/
H A DAndroidView.h29 mozilla::java::GeckoBundle::GlobalRef mInitData;
/dports/www/firefox/firefox-99.0/widget/android/
H A DAndroidView.h29 mozilla::java::GeckoBundle::GlobalRef mInitData;
/dports/www/firefox-esr/firefox-91.8.0/widget/android/
H A DAndroidView.h29 mozilla::java::GeckoBundle::GlobalRef mInitData;
/dports/www/firefox-esr/firefox-91.8.0/dom/media/webm/
H A DWebMDemuxer.cpp157 mInitData(nullptr), in WebMDemuxer()
269 mInitData = resource.MediaReadAt(0, mBufferedState->GetInitEndOffset()); in ReadMetadata()
270 if (!mInitData || in ReadMetadata()
271 mInitData->Length() != size_t(mBufferedState->GetInitEndOffset())) { in ReadMetadata()
455 if (!mNeedReIndex || !mInitData) { in EnsureUpToDateIndex()
483 if (mInitData) { in NotifyDataRemoved()
484 mBufferedState->NotifyDataArrived(mInitData->Elements(), in NotifyDataRemoved()
485 mInitData->Length(), 0); in NotifyDataRemoved()
/dports/www/firefox/firefox-99.0/dom/media/webm/
H A DWebMDemuxer.cpp157 mInitData(nullptr), in WebMDemuxer()
269 mInitData = resource.MediaReadAt(0, mBufferedState->GetInitEndOffset()); in ReadMetadata()
270 if (!mInitData || in ReadMetadata()
271 mInitData->Length() != size_t(mBufferedState->GetInitEndOffset())) { in ReadMetadata()
455 if (!mNeedReIndex || !mInitData) { in EnsureUpToDateIndex()
483 if (mInitData) { in NotifyDataRemoved()
484 mBufferedState->NotifyDataArrived(mInitData->Elements(), in NotifyDataRemoved()
485 mInitData->Length(), 0); in NotifyDataRemoved()
/dports/mail/thunderbird/thunderbird-91.8.0/dom/media/webm/
H A DWebMDemuxer.cpp157 mInitData(nullptr), in WebMDemuxer()
269 mInitData = resource.MediaReadAt(0, mBufferedState->GetInitEndOffset()); in ReadMetadata()
270 if (!mInitData || in ReadMetadata()
271 mInitData->Length() != size_t(mBufferedState->GetInitEndOffset())) { in ReadMetadata()
455 if (!mNeedReIndex || !mInitData) { in EnsureUpToDateIndex()
483 if (mInitData) { in NotifyDataRemoved()
484 mBufferedState->NotifyDataArrived(mInitData->Elements(), in NotifyDataRemoved()
485 mInitData->Length(), 0); in NotifyDataRemoved()
/dports/lang/spidermonkey60/firefox-60.9.0/dom/media/webm/
H A DWebMDemuxer.cpp161 mInitData(nullptr), in WebMDemuxer()
274 mInitData = resource.MediaReadAt(0, mBufferedState->GetInitEndOffset()); in ReadMetadata()
275 if (!mInitData || in ReadMetadata()
276 mInitData->Length() != size_t(mBufferedState->GetInitEndOffset())) { in ReadMetadata()
454 if (!mNeedReIndex || !mInitData) { in EnsureUpToDateIndex()
482 if (mInitData) { in NotifyDataRemoved()
483 mBufferedState->NotifyDataArrived(mInitData->Elements(), in NotifyDataRemoved()
484 mInitData->Length(), 0); in NotifyDataRemoved()
/dports/lang/spidermonkey78/firefox-78.9.0/dom/media/webm/
H A DWebMDemuxer.cpp156 mInitData(nullptr), in WebMDemuxer()
268 mInitData = resource.MediaReadAt(0, mBufferedState->GetInitEndOffset()); in ReadMetadata()
269 if (!mInitData || in ReadMetadata()
270 mInitData->Length() != size_t(mBufferedState->GetInitEndOffset())) { in ReadMetadata()
456 if (!mNeedReIndex || !mInitData) { in EnsureUpToDateIndex()
484 if (mInitData) { in NotifyDataRemoved()
485 mBufferedState->NotifyDataArrived(mInitData->Elements(), in NotifyDataRemoved()
486 mInitData->Length(), 0); in NotifyDataRemoved()

1234