*/
// FIXME(rbultje) maybe replace left/top pointers with HAVE_TOP/
// HAVE_LEFT/HAVE_TOPRIGHT flags instead, and then handle it in-place?
- // also needs to fit in with what h264/vp8/etc do
+ // also needs to fit in with what H.264/VP8/etc do
void (*intra_pred[N_TXFM_SIZES][N_INTRA_PRED_MODES])(uint8_t *dst,
ptrdiff_t stride,
const uint8_t *left,
uint8_t use_last_frame_mvs;
uint8_t errorres;
uint8_t colorspace;
+ uint8_t sub_x;
+ uint8_t sub_y;
uint8_t fullrange;
uint8_t intraonly;
uint8_t resetctx;
uint8_t temporal;
uint8_t absolute_vals;
uint8_t update_map;
+ #define MAX_SEGMENT 8
struct {
uint8_t q_enabled;
uint8_t lf_enabled;
int8_t lf_val;
int16_t qmul[2][2];
uint8_t lflvl[4][2];
- } feat[8];
+ } feat[MAX_SEGMENT];
} segmentation;
struct {
unsigned log2_tile_cols, log2_tile_rows;