diff options
author | John Koleszar <jkoleszar@google.com> | 2010-05-24 21:45:05 -0400 |
---|---|---|
committer | John Koleszar <jkoleszar@google.com> | 2010-05-24 21:45:05 -0400 |
commit | b6c71918ae9242f86d7e5b8313c64140c1c8eba3 (patch) | |
tree | 7450c024a2f17340332a52b8879bf09dd57d1d8e /ivfdec.c | |
parent | efcdf4d6a7677602b1e4bd33496328cd920138e9 (diff) | |
download | libvpx-b6c71918ae9242f86d7e5b8313c64140c1c8eba3.tar.gz libvpx-b6c71918ae9242f86d7e5b8313c64140c1c8eba3.tar.bz2 libvpx-b6c71918ae9242f86d7e5b8313c64140c1c8eba3.zip |
vpx_image: add VPX_ prefix to PLANE_*
The PLANE_{PACKED,Y,U,V,ALPHA} macros should be renamed to be within the
VPX_ namespace.
Fixes #27
Diffstat (limited to 'ivfdec.c')
-rw-r--r-- | ivfdec.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -534,28 +534,28 @@ int main(int argc, const char **argv_) out = out_open(out_fn, do_md5); } - buf = img->planes[PLANE_Y]; + buf = img->planes[VPX_PLANE_Y]; for (y = 0; y < img->d_h; y++) { out_put(out, buf, img->d_w, do_md5); - buf += img->stride[PLANE_Y]; + buf += img->stride[VPX_PLANE_Y]; } - buf = img->planes[flipuv?PLANE_V:PLANE_U]; + buf = img->planes[flipuv?VPX_PLANE_V:VPX_PLANE_U]; for (y = 0; y < (1 + img->d_h) / 2; y++) { out_put(out, buf, (1 + img->d_w) / 2, do_md5); - buf += img->stride[PLANE_U]; + buf += img->stride[VPX_PLANE_U]; } - buf = img->planes[flipuv?PLANE_U:PLANE_V]; + buf = img->planes[flipuv?VPX_PLANE_U:VPX_PLANE_V]; for (y = 0; y < (1 + img->d_h) / 2; y++) { out_put(out, buf, (1 + img->d_w) / 2, do_md5); - buf += img->stride[PLANE_V]; + buf += img->stride[VPX_PLANE_V]; } if (!fn2) |