Code cleanup in rdopt.h
Change-Id: Iea0e8665cdd5b9bc0fe17930add7068443765ea9
diff --git a/av1/encoder/rdopt.c b/av1/encoder/rdopt.c
index d6edcf5..73b71d7 100644
--- a/av1/encoder/rdopt.c
+++ b/av1/encoder/rdopt.c
@@ -2171,6 +2171,7 @@
}
return 0;
}
+
static int64_t txfm_yrd(const AV1_COMP *const cpi, MACROBLOCK *x,
RD_STATS *rd_stats, int64_t ref_best_rd, BLOCK_SIZE bs,
TX_TYPE tx_type, TX_SIZE tx_size) {
diff --git a/av1/encoder/rdopt.h b/av1/encoder/rdopt.h
index 12b38c7..0a71b78 100644
--- a/av1/encoder/rdopt.h
+++ b/av1/encoder/rdopt.h
@@ -290,19 +290,16 @@
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);
-#ifdef __cplusplus
-} // extern "C"
-#endif
-
int av1_tx_type_cost(const AV1_COMMON *cm, const MACROBLOCK *x,
const MACROBLOCKD *xd, BLOCK_SIZE bsize, int plane,
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,
int blk_row, int blk_col, int eob,
int reduced_tx_set);
+
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif // AV1_ENCODER_RDOPT_H_