#ifndef VPX_VPX_DSP_BITREADER_H_
#define VPX_VPX_DSP_BITREADER_H_
#include <stddef.h>
#include <stdio.h>
#include <limits.h>
#include "./vpx_config.h"
#include "vpx_ports/mem.h"
#include "vpx/vp8dx.h"
#include "vpx/vpx_integer.h"
#include "vpx_dsp/prob.h"
#if CONFIG_BITSTREAM_DEBUG
#include "vpx_util/vpx_debug_util.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif
BD_VALUE;
#define BD_VALUE_SIZE …
#define LOTS_OF_BITS …
vpx_reader;
int vpx_reader_init(vpx_reader *r, const uint8_t *buffer, size_t size,
vpx_decrypt_cb decrypt_cb, void *decrypt_state);
void vpx_reader_fill(vpx_reader *r);
const uint8_t *vpx_reader_find_end(vpx_reader *r);
static INLINE int vpx_reader_has_error(vpx_reader *r) { … }
static INLINE int vpx_read(vpx_reader *r, int prob) { … }
static INLINE int vpx_read_bit(vpx_reader *r) { … }
static INLINE int vpx_read_literal(vpx_reader *r, int bits) { … }
static INLINE int vpx_read_tree(vpx_reader *r, const vpx_tree_index *tree,
const vpx_prob *probs) { … }
#ifdef __cplusplus
}
#endif
#endif