#include <math.h>
#include "av1/common/av1_common_int.h"
#include "av1/common/blockd.h"
PREDICTION_MODE av1_left_block_mode(const MB_MODE_INFO *left_mi) { … }
PREDICTION_MODE av1_above_block_mode(const MB_MODE_INFO *above_mi) { … }
void av1_set_entropy_contexts(const MACROBLOCKD *xd,
struct macroblockd_plane *pd, int plane,
BLOCK_SIZE plane_bsize, TX_SIZE tx_size,
int has_eob, int aoff, int loff) { … }
void av1_reset_entropy_context(MACROBLOCKD *xd, BLOCK_SIZE bsize,
const int num_planes) { … }
void av1_reset_loop_filter_delta(MACROBLOCKD *xd, int num_planes) { … }
void av1_reset_loop_restoration(MACROBLOCKD *xd, const int num_planes) { … }
void av1_setup_block_planes(MACROBLOCKD *xd, int ss_x, int ss_y,
const int num_planes) { … }