From 76cdfe2d732188847002d4bcbde3ed0964d77bb0 Mon Sep 17 00:00:00 2001 From: angiebird Date: Sat, 2 Nov 2019 15:22:13 -0700 Subject: Pack psnr pkt outside of vp9_get_compressed_data Change-Id: I5549c3dbcbe1550824deaebf03178e38c1b07d54 --- vp9/encoder/vp9_encoder.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vp9/encoder/vp9_encoder.h') diff --git a/vp9/encoder/vp9_encoder.h b/vp9/encoder/vp9_encoder.h index 78225f1ea..d603ce62a 100644 --- a/vp9/encoder/vp9_encoder.h +++ b/vp9/encoder/vp9_encoder.h @@ -20,6 +20,7 @@ #include "vpx_dsp/ssim.h" #endif #include "vpx_dsp/variance.h" +#include "vpx_dsp/psnr.h" #include "vpx_ports/system_state.h" #include "vpx_util/vpx_thread.h" #include "vpx_util/vpx_timestamp.h" @@ -1063,6 +1064,8 @@ void vp9_new_framerate(VP9_COMP *cpi, double framerate); void vp9_set_row_mt(VP9_COMP *cpi); +int vp9_get_psnr(const VP9_COMP *cpi, PSNR_STATS *psnr); + #define LAYER_IDS_TO_IDX(sl, tl, num_tl) ((sl) * (num_tl) + (tl)) #ifdef __cplusplus -- cgit v1.2.3