Skip to content

Instantly share code, notes, and snippets.

Created May 3, 2013 00:50
Embed
What would you like to do?
static const uint8_t zigzag[64] =
{
000,
001, 010,
020, 011, 002,
003, 012, 021, 030,
040, 031, 022, 013, 004,
005, 014, 023, 032, 041, 050,
060, 051, 042, 033, 024, 015, 006,
007, 016, 025, 034, 043, 052, 061, 070,
071, 062, 053, 044, 035, 026, 017,
027, 036, 045, 054, 063, 072,
073, 064, 055, 046, 037,
047, 056, 065, 074,
075, 066, 057,
067, 076,
077
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment