From: James Zern Date: Sat, 16 Nov 2019 04:30:39 +0000 (-0800) Subject: vp9_cx_iface: quiet unused fn warning w/CONFIG_REALTIME_ONLY X-Git-Tag: v1.8.2~45 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=76d9afc349fec0d1edc4d674daaca89b6c8c9c90;p=libvpx vp9_cx_iface: quiet unused fn warning w/CONFIG_REALTIME_ONLY since: 71684703a Remove output_pkt_list from cpi Change-Id: I14afae6598051680fdaf8c7509b6705d73789dd6 --- 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,