Remove av1_ prefix from static functions
Change-Id: I20e4b16d01b27db9d94dd53dcd0c60d085764f7d
diff --git a/av1/encoder/encodeframe.c b/av1/encoder/encodeframe.c
index 21f2a87..8043991 100644
--- a/av1/encoder/encodeframe.c
+++ b/av1/encoder/encodeframe.c
@@ -5207,7 +5207,7 @@
}
}
-static INLINE int av1_refs_are_one_sided(const AV1_COMMON *cm) {
+static INLINE int refs_are_one_sided(const AV1_COMMON *cm) {
assert(!frame_is_intra_only(cm));
int one_sided_refs = 1;
@@ -5786,7 +5786,7 @@
memcpy(cm->cur_frame->mode_deltas, cm->lf.mode_deltas, MAX_MODE_LF_DELTAS);
cpi->all_one_sided_refs =
- frame_is_intra_only(cm) ? 0 : av1_refs_are_one_sided(cm);
+ frame_is_intra_only(cm) ? 0 : refs_are_one_sided(cm);
cpi->prune_ref_frame_mask = 0;
// Figure out which ref frames can be skipped at frame level.
diff --git a/av1/encoder/tx_search.c b/av1/encoder/tx_search.c
index c709cc9..2b1fe4d 100644
--- a/av1/encoder/tx_search.c
+++ b/av1/encoder/tx_search.c
@@ -2061,11 +2061,11 @@
}
#endif
-static INLINE int av1_cost_coeffs(MACROBLOCK *x, int plane, int block,
- TX_SIZE tx_size, const TX_TYPE tx_type,
- const TXB_CTX *const txb_ctx,
- int use_fast_coef_costing,
- int reduced_tx_set_used) {
+static INLINE int cost_coeffs(MACROBLOCK *x, int plane, int block,
+ TX_SIZE tx_size, const TX_TYPE tx_type,
+ const TXB_CTX *const txb_ctx,
+ int use_fast_coef_costing,
+ int reduced_tx_set_used) {
#if TXCOEFF_COST_TIMER
struct aom_usec_timer timer;
aom_usec_timer_start(&timer);
@@ -2248,9 +2248,9 @@
av1_optimize_b(cpi, x, plane, block, tx_size, tx_type, txb_ctx,
cpi->sf.rd_sf.trellis_eob_fast, &rate_cost);
} else {
- rate_cost = av1_cost_coeffs(x, plane, block, tx_size, tx_type, txb_ctx,
- use_fast_coef_costing,
- cm->features.reduced_tx_set_used);
+ rate_cost =
+ cost_coeffs(x, plane, block, tx_size, tx_type, txb_ctx,
+ use_fast_coef_costing, cm->features.reduced_tx_set_used);
}
// If rd cost based on coeff rate alone is already more than best_rd,