summaryrefslogtreecommitdiff
path: root/test/codec_factory.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/codec_factory.h')
-rw-r--r--test/codec_factory.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/codec_factory.h b/test/codec_factory.h
index e867dacaf..3415284ab 100644
--- a/test/codec_factory.h
+++ b/test/codec_factory.h
@@ -115,6 +115,8 @@ class VP8CodecFactory : public CodecFactory {
#if CONFIG_VP8_DECODER
return new VP8Decoder(cfg, flags);
#else
+ (void)cfg;
+ (void)flags;
return NULL;
#endif
}
@@ -126,6 +128,10 @@ class VP8CodecFactory : public CodecFactory {
#if CONFIG_VP8_ENCODER
return new VP8Encoder(cfg, deadline, init_flags, stats);
#else
+ (void)cfg;
+ (void)deadline;
+ (void)init_flags;
+ (void)stats;
return NULL;
#endif
}
@@ -135,6 +141,8 @@ class VP8CodecFactory : public CodecFactory {
#if CONFIG_VP8_ENCODER
return vpx_codec_enc_config_default(&vpx_codec_vp8_cx_algo, cfg, usage);
#else
+ (void)cfg;
+ (void)usage;
return VPX_CODEC_INCAPABLE;
#endif
}
@@ -203,6 +211,8 @@ class VP9CodecFactory : public CodecFactory {
#if CONFIG_VP9_DECODER
return new VP9Decoder(cfg, flags);
#else
+ (void)cfg;
+ (void)flags;
return NULL;
#endif
}
@@ -214,6 +224,10 @@ class VP9CodecFactory : public CodecFactory {
#if CONFIG_VP9_ENCODER
return new VP9Encoder(cfg, deadline, init_flags, stats);
#else
+ (void)cfg;
+ (void)deadline;
+ (void)init_flags;
+ (void)stats;
return NULL;
#endif
}
@@ -223,6 +237,8 @@ class VP9CodecFactory : public CodecFactory {
#if CONFIG_VP9_ENCODER
return vpx_codec_enc_config_default(&vpx_codec_vp9_cx_algo, cfg, usage);
#else
+ (void)cfg;
+ (void)usage;
return VPX_CODEC_INCAPABLE;
#endif
}