summaryrefslogtreecommitdiff
path: root/vp9
diff options
context:
space:
mode:
authorCheng Chen <chengchen@google.com>2020-01-21 15:59:41 -0800
committerCheng Chen <chengchen@google.com>2020-01-27 13:34:08 -0800
commitdb900e5268e4bed46d67f12c8528b83b1a5cecf9 (patch)
tree14171da4554e1858d426cdf65151d6dc3adfc4fc /vp9
parentc2b223406201b4fc32db77c5d797c228629ec28c (diff)
downloadlibvpx-db900e5268e4bed46d67f12c8528b83b1a5cecf9.tar
libvpx-db900e5268e4bed46d67f12c8528b83b1a5cecf9.tar.gz
libvpx-db900e5268e4bed46d67f12c8528b83b1a5cecf9.tar.bz2
libvpx-db900e5268e4bed46d67f12c8528b83b1a5cecf9.zip
Consistency test for partition info
Test the information stored in the encoder is the same between two encode runs. Change-Id: I4f97fac4f212602f766aee0a6cbef566ca43b41e
Diffstat (limited to 'vp9')
-rw-r--r--vp9/encoder/vp9_encoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_encoder.h b/vp9/encoder/vp9_encoder.h
index 8d7872911..b1f49d8fa 100644
--- a/vp9/encoder/vp9_encoder.h
+++ b/vp9/encoder/vp9_encoder.h
@@ -551,7 +551,7 @@ static INLINE void encode_command_reset_external_quantize_index(
}
// Returns number of units in size of 4, if not multiple not a multiple of 4,
-// round it up. For example, size is 7, return 3.
+// round it up. For example, size is 7, return 2.
static INLINE int get_num_unit_4x4(int size) { return (size + 3) >> 2; }
#endif // CONFIG_RATE_CTRL