Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
NavigationCommand.h File Reference
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <map>
#include <optional>

Classes

struct  XFILE::NavigationCommand
 
class  XFILE::CRegisterFile
 The general purpose registers of one command sequence, tracked while walking it. More...
 

Namespaces

namespace  XFILE
 

Enumerations

enum class  XFILE::HDMV_GROUP : uint8_t { XFILE::BRANCH = 0 , XFILE::COMPARE , XFILE::SET }
 
enum class  XFILE::HDMV_BRANCH_SUBGROUP : uint8_t { XFILE::GOTO = 0 , XFILE::JUMP , XFILE::PLAY }
 
enum class  XFILE::HDMV_JUMP_OPTION : uint8_t {
  XFILE::JUMP_OBJECT = 0 , XFILE::JUMP_TITLE , XFILE::CALL_OBJECT , XFILE::CALL_TITLE ,
  XFILE::RESUME
}
 
enum class  XFILE::HDMV_PLAY_OPTION : uint8_t {
  XFILE::PLAY_PLAYLIST = 0 , XFILE::PLAY_PLAYLIST_PLAYITEM , XFILE::PLAY_PLAYLIST_PLAYMARK , XFILE::TERMINATE_PLAYLIST ,
  XFILE::LINK_PLAYITEM , XFILE::LINK_PLAYMARK
}
 
enum class  XFILE::HDMV_SET_SUBGROUP : uint8_t { XFILE::SET = 0 , XFILE::SETSYSTEM }
 
enum class  XFILE::HDMV_SET_OPERATION : uint8_t {
  XFILE::MOVE = 0x01 , XFILE::SWAP , XFILE::ADD , XFILE::SUB ,
  XFILE::MUL , XFILE::DIV , XFILE::MOD , XFILE::RND ,
  XFILE::AND , XFILE::OR , XFILE::XOR , XFILE::BITSET ,
  XFILE::BITCLR , XFILE::SHL , XFILE::SHR
}
 The operations of the SET sub-group. More...
 

Functions

constexpr bool XFILE::IsPlayerStatusRegister (uint32_t operand)
 
constexpr bool XFILE::IsValidRegister (uint32_t operand)
 
constexpr unsigned int XFILE::RegisterNumber (uint32_t operand)
 The register an operand names. Only meaningful where IsValidRegister.
 
NavigationCommand XFILE::DecodeNavigationCommand (const std::byte *command)
 Decode one 12 byte navigation command.
 

Variables

constexpr unsigned int XFILE::NAVIGATION_COMMAND_SIZE = 12
 
constexpr uint32_t XFILE::REGISTER_IS_PSR = 0x80000000
 
constexpr uint32_t XFILE::REGISTER_NUMBER_MASK = 0x00000FFF
 
constexpr uint32_t XFILE::PSR_NUMBER_MASK = 0x0000007F