#ifndef VPX_VP9_COMMON_VP9_ONYXC_INT_H_
#define VPX_VP9_COMMON_VP9_ONYXC_INT_H_
#include "./vpx_config.h"
#include "vpx/internal/vpx_codec_internal.h"
#include "./vp9_rtcd.h"
#include "vp9/common/vp9_alloccommon.h"
#include "vp9/common/vp9_loopfilter.h"
#include "vp9/common/vp9_entropymv.h"
#include "vp9/common/vp9_entropy.h"
#include "vp9/common/vp9_entropymode.h"
#include "vp9/common/vp9_frame_buffers.h"
#include "vp9/common/vp9_quant_common.h"
#include "vp9/common/vp9_tile_common.h"
#if CONFIG_VP9_POSTPROC
#include "vp9/common/vp9_postproc.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif
#define REFS_PER_FRAME …
#define REF_FRAMES_LOG2 …
#define REF_FRAMES …
#define FRAME_BUFFERS …
#define FRAME_CONTEXTS_LOG2 …
#define FRAME_CONTEXTS …
#define NUM_PING_PONG_BUFFERS …
extern const struct { … } partition_context_lookup[BLOCK_SIZES];
REFERENCE_MODE;
MV_REF;
RefCntBuffer;
BufferPool;
VP9_COMMON;
static INLINE void init_frame_indexes(VP9_COMMON *cm) { … }
static INLINE void update_frame_indexes(VP9_COMMON *cm, int show_frame) { … }
FRAME_INFO;
static INLINE void init_frame_info(FRAME_INFO *frame_info,
const VP9_COMMON *cm) { … }
static INLINE YV12_BUFFER_CONFIG *get_buf_frame(VP9_COMMON *cm, int index) { … }
static INLINE YV12_BUFFER_CONFIG *get_ref_frame(VP9_COMMON *cm, int index) { … }
static INLINE YV12_BUFFER_CONFIG *get_frame_new_buffer(VP9_COMMON *cm) { … }
static INLINE int get_free_fb(VP9_COMMON *cm) { … }
static INLINE void ref_cnt_fb(RefCntBuffer *bufs, int *idx, int new_idx) { … }
static INLINE int mi_cols_aligned_to_sb(int n_mis) { … }
static INLINE int frame_is_intra_only(const VP9_COMMON *const cm) { … }
static INLINE void set_partition_probs(const VP9_COMMON *const cm,
MACROBLOCKD *const xd) { … }
static INLINE void vp9_init_macroblockd(VP9_COMMON *cm, MACROBLOCKD *xd,
tran_low_t *dqcoeff) { … }
static INLINE const vpx_prob *get_partition_probs(const MACROBLOCKD *xd,
int ctx) { … }
static INLINE void set_skip_context(MACROBLOCKD *xd, int mi_row, int mi_col) { … }
static INLINE int calc_mi_size(int len) { … }
static INLINE void set_mi_row_col(MACROBLOCKD *xd, const TileInfo *const tile,
int mi_row, int bh, int mi_col, int bw,
int mi_rows, int mi_cols) { … }
static INLINE void update_partition_context(MACROBLOCKD *xd, int mi_row,
int mi_col, BLOCK_SIZE subsize,
BLOCK_SIZE bsize) { … }
static INLINE int partition_plane_context(const MACROBLOCKD *xd, int mi_row,
int mi_col, BLOCK_SIZE bsize) { … }
#ifdef __cplusplus
}
#endif
#endif