commit | 88841f1059ff1f4a8402e8d96eb4d034c900caaf | [log] [tgz] |
---|---|---|
author | John Koleszar <jkoleszar@google.com> | Wed Apr 13 14:00:18 2011 -0400 |
committer | John Koleszar <jkoleszar@google.com> | Wed Apr 13 14:26:45 2011 -0400 |
tree | a86d510e32f84ad1c84fe98a02af00b4a45c287e | |
parent | 538f1104078c444f962ed615b873d2d551758843 [diff] |
Refactor lookahead ring buffer This patch cleans up the source buffer storage and copy mechanism to allow access through a standard push/pop/peek interface. This approach also avoids an extra copy in the case where the source is not a multiple of 16, fixing issue #102. Change-Id: I05808c39f5743625cb4c7af54cc841b9b10fdbd9