Merge "Change test image format to VPX_IMG_FMT_I420" into experimental

This commit is contained in:
John Koleszar 2013-05-09 12:25:45 -07:00 committed by Gerrit Code Review
commit dd9dc0e9d6
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ class I420VideoSource : public VideoSource {
void SetSize(unsigned int width, unsigned int height) {
if (width != width_ || height != height_) {
vpx_img_free(img_);
img_ = vpx_img_alloc(NULL, VPX_IMG_FMT_VPXI420, width, height, 1);
img_ = vpx_img_alloc(NULL, VPX_IMG_FMT_I420, width, height, 1);
ASSERT_TRUE(img_ != NULL);
width_ = width;
height_ = height;

View File

@ -103,7 +103,7 @@ class DummyVideoSource : public VideoSource {
if (width != width_ || height != height_) {
vpx_img_free(img_);
raw_sz_ = ((width + 31)&~31) * height * 3 / 2;
img_ = vpx_img_alloc(NULL, VPX_IMG_FMT_VPXI420, width, height, 32);
img_ = vpx_img_alloc(NULL, VPX_IMG_FMT_I420, width, height, 32);
width_ = width;
height_ = height;
}