Commit 83a062f5 authored by David Flynn's avatar David Flynn
Browse files

geom/m47957: update kNeighPattern64to6 for N9|5|3|2 operation

Maintains contexts for:
 64->6:    0n, ud, 1n, 2nh, 2nv, 3n
 64->6->5: 0n, ud+1n, 2nh, 2nv, 3n
 64->6->3: 0n, ud+1n+2nh, 2nv+3n

Where ud = up/down,
      1n = single neighbour
      2nh = two horizontal neighbours
      2nv = two vertical neighbours
      3n = three neighbours
      0n = no neighbours
parent 7fac3df4
......@@ -44,8 +44,8 @@ const uint8_t pcc::kNeighPattern64to9[64] = {
3, 6, 6, 7, 1, 3, 3, 4, 3, 6, 6, 7, 3, 6, 6, 7, 4, 7, 7, 8};
const uint8_t pcc::kNeighPattern64to6[64] = {
0, 4, 4, x, 4, 2, 2, x, 4, 2, 2, x, x, x, x, x, 5, 3, 3, x, 3, 1,
1, x, 3, 1, 1, x, x, x, x, x, 5, 3, 3, x, 3, 1, 1, x, 3, 1, 1, x,
0, 5, 5, x, 5, 1, 1, x, 5, 1, 1, x, x, x, x, x, 2, 3, 3, x, 3, 7,
7, x, 3, 7, 7, x, x, x, x, x, 2, 3, 3, x, 3, 7, 7, x, 3, 7, 7, x,
x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x};
const uint8_t pcc::kNeighPattern9to5[9] = {0, 1, 2, 3, 1, 2, 3, 4, 4};
......
Supports Markdown
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