# range -128..128
# sum of line must not exceed the range!

# Bicubic with A = -0.5 (from wikipedia)

# horizontal coefficients
  0, 128,   0,  0
 -4, 127,   5,  0
 -6, 123,  12, -1
 -8, 118,  20, -2
 -9, 111,  29, -3
 -9, 102,  39, -4
 -9,  93,  50, -6
 -9,  83,  61, -7
 -8,  72,  72, -8
 -7,  61,  83, -9
 -6,  50,  92, -9
 -4,  39, 103, -9
 -3,  29, 111, -9
 -2,  20, 118, -8
 -1,  12, 123, -6
  0,   5, 127, -4

# vertical coefficients
  0, 128,   0,  0
 -4, 127,   5,  0
 -6, 123,  12, -1
 -8, 118,  20, -2
 -9, 111,  29, -3
 -9, 102,  39, -4
 -9,  93,  50, -6
 -9,  83,  61, -7
 -8,  72,  72, -8
 -7,  61,  83, -9
 -6,  50,  92, -9
 -4,  39, 103, -9
 -3,  29, 111, -9
 -2,  20, 118, -8
 -1,  12, 123, -6
  0,   5, 127, -4