Home
last modified time | relevance | path

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

/hardware/google/aemu/host-common/
DMediaH264DecoderGeneric.cpp387 const int hasContext = (mVideoHelper || mHwVideoHelper) ? 1 : 0; in save() local
388 stream->putBe32(hasContext); in save()
419 const int hasContext = stream->getBe32(); in load() local
420 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.cpp715 const int hasContext = mCudaContext == nullptr ? 0 : 1; in save() local
716 stream->putBe32(hasContext); in save()
754 const int hasContext = stream->getBe32(); in load() local
755 if (hasContext) { in load()
763 if (hasContext && mSnapshotState.sps.size() > 0) { in load()