Lines Matching refs:g_enmState
56 static uint32_t g_enmState = VIDREC_UNINITIALIZED;
400 if (ASMAtomicReadU32(&g_enmState) == VIDREC_TERMINATING)
437 Assert(ASMAtomicReadU32(&g_enmState) == VIDREC_UNINITIALIZED);
462 ASMAtomicWriteU32(&g_enmState, VIDREC_IDLE);
594 if (ASMAtomicCmpXchgExU32(&g_enmState, VIDREC_TERMINATING, enmState, &enmState))
630 ASMAtomicWriteU32(&g_enmState, VIDREC_UNINITIALIZED);
641 uint32_t enmState = ASMAtomicReadU32(&g_enmState);
657 uint32_t enmState = ASMAtomicReadU32(&g_enmState);
821 if (!ASMAtomicCmpXchgU32(&g_enmState, VIDREC_COPYING, VIDREC_IDLE))
955 if (!ASMAtomicCmpXchgU32(&g_enmState, VIDREC_IDLE, VIDREC_COPYING))