summaryrefslogtreecommitdiff
path: root/vp9/simple_encode.h
diff options
context:
space:
mode:
authorCheng Chen <chengchen@google.com>2020-02-10 16:13:58 -0800
committerCheng Chen <chengchen@google.com>2020-02-10 16:21:23 -0800
commit9d5bc18b099ea9115fde340e1db49536fa621318 (patch)
tree23dcb033e850b6c207d617e9fa7d7224c8813650 /vp9/simple_encode.h
parent91f8be5045bf9fdfb59106390fd6b4c85e711452 (diff)
downloadlibvpx-9d5bc18b099ea9115fde340e1db49536fa621318.tar.gz
libvpx-9d5bc18b099ea9115fde340e1db49536fa621318.tar.bz2
libvpx-9d5bc18b099ea9115fde340e1db49536fa621318.zip
Set mv to zero if the second ref does not exist
Change-Id: I94b936c2642981eccdff073fc71c12e2dccb7909
Diffstat (limited to 'vp9/simple_encode.h')
-rw-r--r--vp9/simple_encode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vp9/simple_encode.h b/vp9/simple_encode.h
index 148f8985d..60f405e97 100644
--- a/vp9/simple_encode.h
+++ b/vp9/simple_encode.h
@@ -59,8 +59,10 @@ struct MotionVectorInfo {
// or kAltRefFrame.
RefFrameType ref_frame[2];
// The row offset of motion vectors in the unit of pixel.
+ // If the second motion vector does not exist, the value is 0.
double mv_row[2];
// The column offset of motion vectors in the unit of pixel.
+ // If the second motion vector does not exist, the value is 0.
double mv_column[2];
};