* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef VP9_ENCODER_VP9_BLOCK_H_
-#define VP9_ENCODER_VP9_BLOCK_H_
+#ifndef VPX_VP9_ENCODER_VP9_BLOCK_H_
+#define VPX_VP9_ENCODER_VP9_BLOCK_H_
#include "vpx_util/vpx_thread.h"
struct buf_2d src;
// Quantizer setings
+ DECLARE_ALIGNED(16, int16_t, round_fp[8]);
int16_t *quant_fp;
- int16_t *round_fp;
int16_t *quant;
int16_t *quant_shift;
int16_t *zbin;
int sadperbit4;
int rddiv;
int rdmult;
+ int cb_rdmult;
+ int segment_id;
int mb_energy;
// These are set to their default values at the beginning, and then adjusted
int *nmvsadcost_hp[2];
int **mvsadcost;
+ // sharpness is used to disable skip mode and change rd_mult
+ int sharpness;
+
+ // aq mode is used to adjust rd based on segment.
+ int adjust_rdmult_by_segment;
+
// These define limits to motion vector components to prevent them
// from extending outside the UMV borders
MvLimits mv_limits;
uint8_t last_sb_high_content;
+ int sb_use_mv_part;
+
+ int sb_mvcol_part;
+
+ int sb_mvrow_part;
+
+ int sb_pickmode_part;
+
+ int zero_temp_sad_source;
+
// For each superblock: saves the content value (e.g., low/high sad/sumdiff)
// based on source sad, prior to encoding the frame.
uint8_t content_state_sb;
// 32x32, 9~24 for 16x16.
uint8_t variance_low[25];
+ uint8_t arf_frame_usage;
+ uint8_t lastgolden_frame_usage;
+
void (*fwd_txfm4x4)(const int16_t *input, tran_low_t *output, int stride);
- void (*itxfm_add)(const tran_low_t *input, uint8_t *dest, int stride,
- int eob);
+ void (*inv_txfm_add)(const tran_low_t *input, uint8_t *dest, int stride,
+ int eob);
#if CONFIG_VP9_HIGHBITDEPTH
- void (*highbd_itxfm_add)(const tran_low_t *input, uint16_t *dest, int stride,
- int eob, int bd);
+ void (*highbd_inv_txfm_add)(const tran_low_t *input, uint16_t *dest,
+ int stride, int eob, int bd);
#endif
+ DECLARE_ALIGNED(16, uint8_t, est_pred[64 * 64]);
+
+ struct scale_factors *me_sf;
};
#ifdef __cplusplus
} // extern "C"
#endif
-#endif // VP9_ENCODER_VP9_BLOCK_H_
+#endif // VPX_VP9_ENCODER_VP9_BLOCK_H_