3.1.1 Abstract Data Model

This section describes a conceptual model of possible data organization that an implementation maintains to participate in this protocol. The described organization is provided to facilitate the explanation of how the protocol behaves. This document does not mandate that implementations adhere to this model, as long as their external behavior is consistent with that described in this document.

OperationalMode: Stores the operational mode currently in use. Operational modes include video mode, and image mode.

EntropyAlgorithm: Stores the entropy algorithm currently in use. Entropy algorithms include RLGR1 and RLGR3.

FrameIndex: A 32-bit integer variable. Used by the server to keep track of the current index of the encoded frame within an encoding session. This variable is used only when the OperationalMode is video mode. If the OperationalMode is image mode, the server does not need to maintain this variable.

In video mode, initialize this variable to 0 at the start of the session and then increment it by 1 after every encoded frame. The current value of this variable is stored in the frameIdx field of the TS_RFX_FRAME_BEGIN message (section 2.2.2.3.1).