From 76d9afc349fec0d1edc4d674daaca89b6c8c9c90 Mon Sep 17 00:00:00 2001 From: James Zern Date: Fri, 15 Nov 2019 20:30:39 -0800 Subject: [PATCH] vp9_cx_iface: quiet unused fn warning w/CONFIG_REALTIME_ONLY since: 71684703a Remove output_pkt_list from cpi Change-Id: I14afae6598051680fdaf8c7509b6705d73789dd6 --- vp9/vp9_cx_iface.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vp9/vp9_cx_iface.c b/vp9/vp9_cx_iface.c index b794466a6..e3ae48bd1 100644 --- a/vp9/vp9_cx_iface.c +++ b/vp9/vp9_cx_iface.c @@ -1121,6 +1121,8 @@ static INLINE vpx_codec_cx_pkt_t get_psnr_pkt(const PSNR_STATS *psnr) { pkt.data.psnr = *psnr; return pkt; } + +#if !CONFIG_REALTIME_ONLY static INLINE vpx_codec_cx_pkt_t get_first_pass_stats_pkt(FIRSTPASS_STATS *stats) { // WARNNING: This function assumes that stats will @@ -1132,6 +1134,7 @@ get_first_pass_stats_pkt(FIRSTPASS_STATS *stats) { pkt.data.twopass_stats.sz = sizeof(*stats); return pkt; } +#endif const size_t kMinCompressedSize = 8192; static vpx_codec_err_t encoder_encode(vpx_codec_alg_priv_t *ctx, -- 2.40.0