summaryrefslogtreecommitdiff
path: root/vp9/simple_encode.cc
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/simple_encode.cc
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/simple_encode.cc')
-rw-r--r--vp9/simple_encode.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/vp9/simple_encode.cc b/vp9/simple_encode.cc
index 9319a7f9f..4d7ec3084 100644
--- a/vp9/simple_encode.cc
+++ b/vp9/simple_encode.cc
@@ -90,6 +90,8 @@ static void update_encode_frame_result(
encode_frame_result->show_idx = encode_frame_info->show_idx;
encode_frame_result->frame_type =
get_frame_type_from_update_type(encode_frame_info->update_type);
+ encode_frame_result->psnr = encode_frame_info->psnr;
+ encode_frame_result->sse = encode_frame_info->sse;
}
SimpleEncode::SimpleEncode(int frame_width, int frame_height,