#include "vp8/common/onyxc_int.h"
#if CONFIG_POSTPROC
#include "vp8/common/postproc.h"
#endif
#include "vp8/common/onyxd.h"
#include "onyxd_int.h"
#include "vpx_mem/vpx_mem.h"
#include "vp8/common/alloccommon.h"
#include "vp8/common/common.h"
#include "vp8/common/loopfilter.h"
#include "vp8/common/swapyv12buffer.h"
#include "vp8/common/threading.h"
#include "decoderthreading.h"
#include <stdio.h>
#include <assert.h>
#include "vp8/common/quant_common.h"
#include "vp8/common/reconintra.h"
#include "./vpx_dsp_rtcd.h"
#include "./vpx_scale_rtcd.h"
#include "vpx_scale/vpx_scale.h"
#include "vp8/common/systemdependent.h"
#include "vpx_ports/system_state.h"
#include "vpx_ports/vpx_once.h"
#include "vpx_ports/vpx_timer.h"
#include "detokenize.h"
#if CONFIG_ERROR_CONCEALMENT
#include "error_concealment.h"
#endif
#if VPX_ARCH_ARM
#include "vpx_ports/arm.h"
#endif
extern void vp8_init_loop_filter(VP8_COMMON *cm);
static int get_free_fb(VP8_COMMON *cm);
static void ref_cnt_fb(int *buf, int *idx, int new_idx);
static void initialize_dec(void) { … }
static void remove_decompressor(VP8D_COMP *pbi) { … }
static struct VP8D_COMP *create_decompressor(VP8D_CONFIG *oxcf) { … }
vpx_codec_err_t vp8dx_get_reference(VP8D_COMP *pbi,
enum vpx_ref_frame_type ref_frame_flag,
YV12_BUFFER_CONFIG *sd) { … }
vpx_codec_err_t vp8dx_set_reference(VP8D_COMP *pbi,
enum vpx_ref_frame_type ref_frame_flag,
YV12_BUFFER_CONFIG *sd) { … }
static int get_free_fb(VP8_COMMON *cm) { … }
static void ref_cnt_fb(int *buf, int *idx, int new_idx) { … }
static int swap_frame_buffers(VP8_COMMON *cm) { … }
static int check_fragments_for_errors(VP8D_COMP *pbi) { … }
int vp8dx_receive_compressed_data(VP8D_COMP *pbi) { … }
int vp8dx_get_raw_frame(VP8D_COMP *pbi, YV12_BUFFER_CONFIG *sd,
vp8_ppflags_t *flags) { … }
int vp8dx_references_buffer(VP8_COMMON *oci, int ref_frame) { … }
int vp8_create_decoder_instances(struct frame_buffers *fb, VP8D_CONFIG *oxcf) { … }
int vp8_remove_decoder_instances(struct frame_buffers *fb) { … }
int vp8dx_get_quantizer(const VP8D_COMP *pbi) { … }