Commit 6c652783 authored by David Barker's avatar David Barker Committed by Debargha Mukherjee

Increase global motion translation precision

increases the translational part of global motion models
to the same 1/64 pel precision which is used by the warp filter.

Change-Id: I7267b18b123662416bc5c8095186b6a5eef2f7f1
parent db4e4998
......@@ -111,8 +111,8 @@ typedef struct {
//
// XX_MIN, XX_MAX are also computed to avoid repeated computation
#define GM_TRANS_PREC_BITS 3
#define GM_ABS_TRANS_BITS 9
#define GM_TRANS_PREC_BITS 6
#define GM_ABS_TRANS_BITS 12
#define GM_TRANS_PREC_DIFF (WARPEDMODEL_PREC_BITS - GM_TRANS_PREC_BITS)
#define GM_TRANS_DECODE_FACTOR (1 << GM_TRANS_PREC_DIFF)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment