summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_encoder.h
diff options
context:
space:
mode:
authorangiebird <angiebird@google.com>2019-11-11 17:33:46 -0800
committerangiebird <angiebird@google.com>2019-11-18 11:37:24 -0800
commit56735c3fdb8401fb052f69cdaf2ebf16714bd21d (patch)
tree93c0d6da1e5045ca2c3f90b9676d7ae1154ed7b5 /vp9/encoder/vp9_encoder.h
parent6956e393c710fab99833500a57062862e97096b6 (diff)
downloadlibvpx-56735c3fdb8401fb052f69cdaf2ebf16714bd21d.tar
libvpx-56735c3fdb8401fb052f69cdaf2ebf16714bd21d.tar.gz
libvpx-56735c3fdb8401fb052f69cdaf2ebf16714bd21d.tar.bz2
libvpx-56735c3fdb8401fb052f69cdaf2ebf16714bd21d.zip
Add psnr and sse to EncodeFrameResult
Change-Id: I33c410a14b86f95278eff8d1d0e6992f1b82a17d
Diffstat (limited to 'vp9/encoder/vp9_encoder.h')
-rw-r--r--vp9/encoder/vp9_encoder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_encoder.h b/vp9/encoder/vp9_encoder.h
index 230420953..66526bd00 100644
--- a/vp9/encoder/vp9_encoder.h
+++ b/vp9/encoder/vp9_encoder.h
@@ -825,6 +825,8 @@ typedef struct VP9_COMP {
typedef struct ENCODE_FRAME_RESULT {
int show_idx;
FRAME_UPDATE_TYPE update_type;
+ double psnr;
+ uint64_t sse;
} ENCODE_FRAME_RESULT;
void vp9_initialize_enc(void);