Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
BitstreamReader.h File Reference
#include <stdint.h>

Classes

class  CBitstreamReader
 

Functions

const uint8_tfind_start_code (const uint8_t *p, const uint8_t *end, uint32_t *state)
 
constexpr uint32_t BS_RB24 (const uint8_t *x)
 
constexpr uint32_t BS_RB32 (const uint8_t *x)
 

Function Documentation

◆ BS_RB24()

constexpr uint32_t BS_RB24 ( const uint8_t x)
constexpr
Todo:
refactor this so as not to need these ffmpeg routines. These are not exposed in ffmpeg's API so we dupe them here.

◆ BS_RB32()

constexpr uint32_t BS_RB32 ( const uint8_t x)
constexpr

◆ find_start_code()

const uint8_t * find_start_code ( const uint8_t p,
const uint8_t end,
uint32_t *  state 
)