ref: 282b58006b97b0b35c3a20c55545251161aa5f35
parent: 51fe9168d5fb570abc93b3d15dc9a4e5c320cd95
parent: 1e1799c9cb5060246b09021810b2a0e0651611a6
author: John Koleszar <jkoleszar@google.com>
date: Fri May 18 16:39:50 EDT 2012
Merge "examples: use alignment > 1 w/vpx_img_alloc"
--- a/vp8_scalable_patterns.c
+++ b/vp8_scalable_patterns.c
@@ -156,7 +156,7 @@
if (argc != 8+mode_to_num_layers[layering_mode])
die ("Invalid number of arguments");
- if (!vpx_img_alloc (&raw, VPX_IMG_FMT_I420, width, height, 1))
+ if (!vpx_img_alloc (&raw, VPX_IMG_FMT_I420, width, height, 32))
die ("Failed to allocate image", width, height);
printf("Using %s\n",vpx_codec_iface_name(interface));
--- a/vpxenc.c
+++ b/vpxenc.c
@@ -2437,7 +2437,7 @@
vpx_img_alloc(&raw,
input.use_i420 ? VPX_IMG_FMT_I420
: VPX_IMG_FMT_YV12,
- input.w, input.h, 1);
+ input.w, input.h, 32);
FOREACH_STREAM(init_rate_histogram(&stream->rate_hist,
&stream->config.cfg,
--
⑨