#ifndef AOM_AV1_COMMON_TILE_COMMON_H_
#define AOM_AV1_COMMON_TILE_COMMON_H_
#include <stdbool.h>
#include "config/aom_config.h"
#ifdef __cplusplus
extern "C" {
#endif
struct AV1Common;
struct SequenceHeader;
struct CommonTileParams;
#define DEFAULT_MAX_NUM_TG …
TileInfo;
void av1_tile_init(TileInfo *tile, const struct AV1Common *cm, int row,
int col);
void av1_tile_set_row(TileInfo *tile, const struct AV1Common *cm, int row);
void av1_tile_set_col(TileInfo *tile, const struct AV1Common *cm, int col);
int av1_get_sb_rows_in_tile(const struct AV1Common *cm, const TileInfo *tile);
int av1_get_sb_cols_in_tile(const struct AV1Common *cm, const TileInfo *tile);
#define MAX_TILE_WIDTH …
#define MAX_TILE_AREA …
#if CONFIG_CWG_C013
#define MAX_TILE_AREA_LEVEL_7_AND_ABOVE …
#endif
bool av1_get_uniform_tile_size(const struct AV1Common *cm, int *w, int *h);
void av1_get_tile_limits(struct AV1Common *const cm);
void av1_calculate_tile_cols(const struct SequenceHeader *const seq_params,
int cm_mi_rows, int cm_mi_cols,
struct CommonTileParams *const tiles);
void av1_calculate_tile_rows(const struct SequenceHeader *const seq_params,
int cm_mi_rows,
struct CommonTileParams *const tiles);
int av1_is_min_tile_width_satisfied(const struct AV1Common *cm);
#ifdef __cplusplus
}
#endif
#endif