Home
last modified time | relevance | path

Searched refs:hasContext (Results 1 – 4 of 4) sorted by relevance

/device/generic/vulkan-cereal/host-common/
DMediaH264DecoderGeneric.cpp358 const int hasContext = (mVideoHelper || mHwVideoHelper) ? 1 : 0; in save() local
359 stream->putBe32(hasContext); in save()
390 const int hasContext = stream->getBe32(); in load() local
391 if (hasContext) { in load()
DMediaH264DecoderFfmpeg.cpp433 const int hasContext = mCodecCtx != nullptr ? 1 : 0; in save() local
434 stream->putBe32(hasContext); in save()
469 const int hasContext = stream->getBe32(); in load() local
470 if (hasContext) { in load()
479 if (hasContext && mCodecCtx != nullptr && mSnapshotState.sps.size() > 0) { in load()
DMediaH264DecoderVideoToolBox.cpp699 const int hasContext = mDecoderSession != nullptr ? 1 : 0; in save() local
700 stream->putBe32(hasContext); in save()
723 const int hasContext = stream->getBe32(); in load() local
724 if (hasContext) { in load()
728 if (hasContext && mSnapshotState.sps.size() > 0) { in load()
DMediaH264DecoderCuvid.cpp712 const int hasContext = mCudaContext == nullptr ? 0 : 1; in save() local
713 stream->putBe32(hasContext); in save()
751 const int hasContext = stream->getBe32(); in load() local
752 if (hasContext) { in load()
760 if (hasContext && mSnapshotState.sps.size() > 0) { in load()