Commit 206d22f2 authored by Hui Su's avatar Hui Su

Code cleanup in rdopt.h

Change-Id: Iea0e8665cdd5b9bc0fe17930add7068443765ea9
parent 751a2335
...@@ -2171,6 +2171,7 @@ int av1_tx_type_cost(const AV1_COMMON *cm, const MACROBLOCK *x, ...@@ -2171,6 +2171,7 @@ int av1_tx_type_cost(const AV1_COMMON *cm, const MACROBLOCK *x,
} }
return 0; return 0;
} }
static int64_t txfm_yrd(const AV1_COMP *const cpi, MACROBLOCK *x, static int64_t txfm_yrd(const AV1_COMP *const cpi, MACROBLOCK *x,
RD_STATS *rd_stats, int64_t ref_best_rd, BLOCK_SIZE bs, RD_STATS *rd_stats, int64_t ref_best_rd, BLOCK_SIZE bs,
TX_TYPE tx_type, TX_SIZE tx_size) { TX_TYPE tx_type, TX_SIZE tx_size) {
......
...@@ -290,19 +290,16 @@ int av1_active_h_edge(const struct AV1_COMP *cpi, int mi_row, int mi_step); ...@@ -290,19 +290,16 @@ int av1_active_h_edge(const struct AV1_COMP *cpi, int mi_row, int mi_step);
int av1_active_v_edge(const struct AV1_COMP *cpi, int mi_col, int mi_step); int av1_active_v_edge(const struct AV1_COMP *cpi, int mi_col, int mi_step);
int av1_active_edge_sb(const struct AV1_COMP *cpi, int mi_row, int mi_col); int av1_active_edge_sb(const struct AV1_COMP *cpi, int mi_row, int mi_col);
#ifdef __cplusplus
} // extern "C"
#endif
int av1_tx_type_cost(const AV1_COMMON *cm, const MACROBLOCK *x, int av1_tx_type_cost(const AV1_COMMON *cm, const MACROBLOCK *x,
const MACROBLOCKD *xd, BLOCK_SIZE bsize, int plane, const MACROBLOCKD *xd, BLOCK_SIZE bsize, int plane,
TX_SIZE tx_size, TX_TYPE tx_type); TX_SIZE tx_size, TX_TYPE tx_type);
int64_t get_prediction_rd_cost(const struct AV1_COMP *cpi, struct macroblock *x,
int mi_row, int mi_col, int *skip_blk,
MB_MODE_INFO *backup_mbmi);
void av1_inverse_transform_block_facade(MACROBLOCKD *xd, int plane, int block, void av1_inverse_transform_block_facade(MACROBLOCKD *xd, int plane, int block,
int blk_row, int blk_col, int eob, int blk_row, int blk_col, int eob,
int reduced_tx_set); int reduced_tx_set);
#ifdef __cplusplus
} // extern "C"
#endif
#endif // AV1_ENCODER_RDOPT_H_ #endif // AV1_ENCODER_RDOPT_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment