Commit 82da68d4 authored by Debargha Mukherjee's avatar Debargha Mukherjee

Minor cleanup on warped precision bits macros

Change-Id: If54cb2a96b02f29ba9c2cc6046189c925586e972
parent 0df711f2
......@@ -335,7 +335,7 @@ static const int16_t
{ 1, -4, 13, 124, -7, 1 }, { 1, -4, 11, 125, -6, 1 },
{ 1, -3, 8, 126, -5, 1 }, { 1, -2, 6, 126, -4, 1 },
{ 0, -1, 4, 127, -3, 1 }, { 0, -1, 2, 128, -1, 0 },
#else
#elif WARPEDPIXEL_PREC_BITS == 5
{ 0, 0, 128, 0, 0, 0 }, { 1, -3, 127, 4, -1, 0 },
{ 1, -5, 126, 8, -3, 1 }, { 1, -7, 124, 13, -4, 1 },
{ 2, -9, 122, 18, -6, 1 }, { 2, -11, 120, 22, -7, 2 },
......@@ -603,7 +603,7 @@ const int16_t warped_filter[WARPEDPIXEL_PREC_SHIFTS * 3 + 1][8] = {
{ 0, 0, 1, - 3, 8, 126, - 5, 1 }, { 0, 0, 1, - 2, 6, 126, - 4, 1 },
{ 0, 0, 0, - 1, 4, 127, - 3, 1 }, { 0, 0, 0, 0, 2, 127, - 1, 0 },
#else
#elif WARPEDPIXEL_PREC_BITS == 5
// [-1, 0)
{0, 0, 127, 1, 0, 0, 0, 0}, {1, -3, 127, 4, -1, 0, 0, 0},
{1, -5, 126, 8, -3, 1, 0, 0}, {1, -7, 124, 13, -4, 1, 0, 0},
......
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