This commit is contained in:
Anthony Minessale
2019-09-11 15:51:47 +00:00
committed by Andrey Volk
parent 34fcadbd53
commit ceb051af4e
821 changed files with 89961 additions and 48650 deletions

View File

@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef TEST_VPX_SCALE_TEST_H_
#define TEST_VPX_SCALE_TEST_H_
#ifndef VPX_TEST_VPX_SCALE_TEST_H_
#define VPX_TEST_VPX_SCALE_TEST_H_
#include "third_party/googletest/src/include/gtest/gtest.h"
@@ -33,7 +33,8 @@ class VpxScaleBase {
const int height) {
memset(img, 0, sizeof(*img));
ASSERT_EQ(
0, vp8_yv12_alloc_frame_buffer(img, width, height, VP8BORDERINPIXELS));
0, vp8_yv12_alloc_frame_buffer(img, width, height, VP8BORDERINPIXELS))
<< "for width: " << width << " height: " << height;
memset(img->buffer_alloc, kBufFiller, img->frame_size);
}
@@ -197,4 +198,4 @@ class VpxScaleBase {
} // namespace libvpx_test
#endif // TEST_VPX_SCALE_TEST_H_
#endif // VPX_TEST_VPX_SCALE_TEST_H_