Allow aligning the raw image buffer
authorYunqing Wang <yunqingwang@google.com>
Mon, 5 Dec 2011 18:25:09 +0000 (13:25 -0500)
committerYunqing Wang <yunqingwang@google.com>
Tue, 6 Dec 2011 18:19:59 +0000 (13:19 -0500)
commitbe5bbc96e8105ccea91f0dca940b7f8d67f8b0c1
tree77a57dd6918ef43de7abd4d23a387bcc632fbd02
parentbdd60a7be779400e597cae001448a44d21c98f2b
Allow aligning the raw image buffer

Added code to allocate aligned image buffer in vpx_img_alloc(). The
alignment of the buffer and stride is determined by the parameter
align.

Change-Id: Idc866978484be3558551c56df39130ab7f74ddd4
vpx/src/vpx_image.c
vpx/vpx_image.h