diff options
Diffstat (limited to 'vpx')
-rw-r--r-- | vpx/src/vpx_decoder.c | 6 | ||||
-rw-r--r-- | vpx/vpx_decoder.h | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/vpx/src/vpx_decoder.c b/vpx/src/vpx_decoder.c index 4ffb00d..e0be55a 100644 --- a/vpx/src/vpx_decoder.c +++ b/vpx/src/vpx_decoder.c @@ -26,6 +26,12 @@ vpx_codec_err_t vpx_codec_dec_init_ver(vpx_codec_ctx_t *ctx, { vpx_codec_err_t res; +#ifdef MIPS_DSP_REV +#if (MIPS_DSP_REV>=2) + dsputil_static_init(); +#endif +#endif + if (ver != VPX_DECODER_ABI_VERSION) res = VPX_CODEC_ABI_MISMATCH; else if (!ctx || !iface) diff --git a/vpx/vpx_decoder.h b/vpx/vpx_decoder.h index 4c57409..003675a 100644 --- a/vpx/vpx_decoder.h +++ b/vpx/vpx_decoder.h @@ -302,6 +302,12 @@ extern "C" { void *user_priv); +#ifdef MIPS_DSP_REV +#if (MIPS_DSP_REV>=2) + void dsputil_static_init(); +#endif +#endif + /*!@} - end defgroup cap_put_slice*/ /*!@} - end defgroup decoder*/ |