summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_rdopt.h
diff options
context:
space:
mode:
authorJerome Jiang <jianj@google.com>2019-05-31 09:41:14 -0700
committerJerome Jiang <jianj@google.com>2019-05-31 14:57:01 -0700
commitda24d35132e80422dc2c33e7c92462f4db7cd83d (patch)
treeb9cafee3039d14b8507e42fb582e9b13b0b6ed01 /vp9/encoder/vp9_rdopt.h
parent0308a9a132612006056f9920c069a1942e49c26c (diff)
downloadlibvpx-da24d35132e80422dc2c33e7c92462f4db7cd83d.tar
libvpx-da24d35132e80422dc2c33e7c92462f4db7cd83d.tar.gz
libvpx-da24d35132e80422dc2c33e7c92462f4db7cd83d.tar.bz2
libvpx-da24d35132e80422dc2c33e7c92462f4db7cd83d.zip
Remove RD code for CONFIG_REALTIME_ONLY in vp9.
This reduces vp9 only binary size by ~5.7%. Change-Id: I57e46baf591d68b0a0cecbc9319a1190df8b0457
Diffstat (limited to 'vp9/encoder/vp9_rdopt.h')
-rw-r--r--vp9/encoder/vp9_rdopt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_rdopt.h b/vp9/encoder/vp9_rdopt.h
index 8b810bc47..e1147ff94 100644
--- a/vp9/encoder/vp9_rdopt.h
+++ b/vp9/encoder/vp9_rdopt.h
@@ -29,6 +29,7 @@ void vp9_rd_pick_intra_mode_sb(struct VP9_COMP *cpi, struct macroblock *x,
struct RD_COST *rd_cost, BLOCK_SIZE bsize,
PICK_MODE_CONTEXT *ctx, int64_t best_rd);
+#if !CONFIG_REALTIME_ONLY
void vp9_rd_pick_inter_mode_sb(struct VP9_COMP *cpi,
struct TileDataEnc *tile_data,
struct macroblock *x, int mi_row, int mi_col,
@@ -39,18 +40,21 @@ void vp9_rd_pick_inter_mode_sb_seg_skip(
struct VP9_COMP *cpi, struct TileDataEnc *tile_data, struct macroblock *x,
struct RD_COST *rd_cost, BLOCK_SIZE bsize, PICK_MODE_CONTEXT *ctx,
int64_t best_rd_so_far);
+#endif
int vp9_internal_image_edge(struct VP9_COMP *cpi);
int vp9_active_h_edge(struct VP9_COMP *cpi, int mi_row, int mi_step);
int vp9_active_v_edge(struct VP9_COMP *cpi, int mi_col, int mi_step);
int vp9_active_edge_sb(struct VP9_COMP *cpi, int mi_row, int mi_col);
+#if !CONFIG_REALTIME_ONLY
void vp9_rd_pick_inter_mode_sub8x8(struct VP9_COMP *cpi,
struct TileDataEnc *tile_data,
struct macroblock *x, int mi_row, int mi_col,
struct RD_COST *rd_cost, BLOCK_SIZE bsize,
PICK_MODE_CONTEXT *ctx,
int64_t best_rd_so_far);
+#endif
#ifdef __cplusplus
} // extern "C"