/* * These patterns are defined referring to Japanese Monthly C Magazine (May 2000 Vol.12 No.5). */ const unsigned char pattern4x4_type1[MAX_ELEMENT] = { 0, 8, 2, 10, 12, 4, 14, 6, 3, 11, 1, 9, 15, 7, 13, 5 }; const unsigned char pattern4x4_type2[MAX_ELEMENT] = { 9, 8, 7, 6, 10, 1, 0, 5, 11, 2, 3, 4, 12, 13, 14, 15 }; const unsigned char pattern4x4_type3[MAX_ELEMENT] = { 0, 2, 14, 12, 8, 10, 5, 7, 15, 13, 1, 3, 4, 6, 9, 11 };