| Index: source/libvpx/test/codec_factory.h
|
| ===================================================================
|
| --- source/libvpx/test/codec_factory.h (revision 293588)
|
| +++ source/libvpx/test/codec_factory.h (working copy)
|
| @@ -35,6 +35,11 @@
|
| virtual Decoder* CreateDecoder(vpx_codec_dec_cfg_t cfg,
|
| unsigned long deadline) const = 0;
|
|
|
| + virtual Decoder* CreateDecoder(vpx_codec_dec_cfg_t cfg,
|
| + const vpx_codec_flags_t flags,
|
| + unsigned long deadline) // NOLINT(runtime/int)
|
| + const = 0;
|
| +
|
| virtual Encoder* CreateEncoder(vpx_codec_enc_cfg_t cfg,
|
| unsigned long deadline,
|
| const unsigned long init_flags,
|
| @@ -72,6 +77,10 @@
|
| VP8Decoder(vpx_codec_dec_cfg_t cfg, unsigned long deadline)
|
| : Decoder(cfg, deadline) {}
|
|
|
| + VP8Decoder(vpx_codec_dec_cfg_t cfg, const vpx_codec_flags_t flag,
|
| + unsigned long deadline) // NOLINT
|
| + : Decoder(cfg, flag, deadline) {}
|
| +
|
| protected:
|
| virtual vpx_codec_iface_t* CodecInterface() const {
|
| #if CONFIG_VP8_DECODER
|
| @@ -104,8 +113,14 @@
|
|
|
| virtual Decoder* CreateDecoder(vpx_codec_dec_cfg_t cfg,
|
| unsigned long deadline) const {
|
| + return CreateDecoder(cfg, 0, deadline);
|
| + }
|
| +
|
| + virtual Decoder* CreateDecoder(vpx_codec_dec_cfg_t cfg,
|
| + const vpx_codec_flags_t flags,
|
| + unsigned long deadline) const { // NOLINT
|
| #if CONFIG_VP8_DECODER
|
| - return new VP8Decoder(cfg, deadline);
|
| + return new VP8Decoder(cfg, flags, deadline);
|
| #else
|
| return NULL;
|
| #endif
|
| @@ -154,6 +169,10 @@
|
| VP9Decoder(vpx_codec_dec_cfg_t cfg, unsigned long deadline)
|
| : Decoder(cfg, deadline) {}
|
|
|
| + VP9Decoder(vpx_codec_dec_cfg_t cfg, const vpx_codec_flags_t flag,
|
| + unsigned long deadline) // NOLINT
|
| + : Decoder(cfg, flag, deadline) {}
|
| +
|
| protected:
|
| virtual vpx_codec_iface_t* CodecInterface() const {
|
| #if CONFIG_VP9_DECODER
|
| @@ -186,8 +205,14 @@
|
|
|
| virtual Decoder* CreateDecoder(vpx_codec_dec_cfg_t cfg,
|
| unsigned long deadline) const {
|
| + return CreateDecoder(cfg, 0, deadline);
|
| + }
|
| +
|
| + virtual Decoder* CreateDecoder(vpx_codec_dec_cfg_t cfg,
|
| + const vpx_codec_flags_t flags,
|
| + unsigned long deadline) const { // NOLINT
|
| #if CONFIG_VP9_DECODER
|
| - return new VP9Decoder(cfg, deadline);
|
| + return new VP9Decoder(cfg, flags, deadline);
|
| #else
|
| return NULL;
|
| #endif
|
|
|