Searched refs:hasContext (Results 1 – 4 of 4) sorted by relevance
387 const int hasContext = (mVideoHelper || mHwVideoHelper) ? 1 : 0; in save() local388 stream->putBe32(hasContext); in save()419 const int hasContext = stream->getBe32(); in load() local420 if (hasContext) { in load()
433 const int hasContext = mCodecCtx != nullptr ? 1 : 0; in save() local434 stream->putBe32(hasContext); in save()469 const int hasContext = stream->getBe32(); in load() local470 if (hasContext) { in load()479 if (hasContext && mCodecCtx != nullptr && mSnapshotState.sps.size() > 0) { in load()
699 const int hasContext = mDecoderSession != nullptr ? 1 : 0; in save() local700 stream->putBe32(hasContext); in save()723 const int hasContext = stream->getBe32(); in load() local724 if (hasContext) { in load()728 if (hasContext && mSnapshotState.sps.size() > 0) { in load()
715 const int hasContext = mCudaContext == nullptr ? 0 : 1; in save() local716 stream->putBe32(hasContext); in save()754 const int hasContext = stream->getBe32(); in load() local755 if (hasContext) { in load()763 if (hasContext && mSnapshotState.sps.size() > 0) { in load()