Commit 5894efb9 authored by Tom Finegan's avatar Tom Finegan Committed by James Zern
Browse files

Fix unused variable warnings in a couple tests.

av1_convolve_test.cc and test_intra_pred_speed.cc each had an
unused function parameter. Silence the warnings.

BUG=https://bugs.chromium.org/p/aomedia/issues/detail?id=445

Change-Id: I11c75ce85d34881286d3ea9dc9d741b574f45f29
parent 3d8adf3c
......@@ -85,8 +85,8 @@ struct ConvolveFunctions {
ConvolveFunc vf_;
};
typedef tuple<ConvolveFunctions *, InterpFilter /* filter_x */,
InterpFilter /* filter_y */>
typedef tuple<ConvolveFunctions *, InterpFilter /*filter_x*/,
InterpFilter /*filter_y*/>
ConvolveParam;
class Av1ConvolveTest : public ::testing::TestWithParam<ConvolveParam> {
......@@ -119,7 +119,7 @@ class Av1ConvolveTest : public ::testing::TestWithParam<ConvolveParam> {
}
return buf + offset * (*stride) + offset;
}
virtual uint8_t *add_output(int w, int h, int *stride) {
virtual uint8_t *add_output(int w, int /*h*/, int *stride) {
uint8_t *buf =
reinterpret_cast<uint8_t *>(aom_memalign(kDataAlignment, kBufferSize));
buf_ls_.push_back(buf);
......
......@@ -47,7 +47,7 @@ const char *kAv1IntraPredNames[kNumAv1IntraFuncs] = {
void TestIntraPred(const char name[], AvxPredFunc const *pred_funcs,
const char *const pred_func_names[], int num_funcs,
const char *const signatures[], int block_size,
const char *const signatures[], int /*block_size*/,
int num_pixels_per_test) {
libaom_test::ACMRandom rnd(libaom_test::ACMRandom::DeterministicSeed());
const int kBPS = 32;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment