diff options
author | Ben Avison <bavison@riscosopen.org> | 2014-07-21 14:53:08 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2014-08-04 22:22:54 +0200 |
commit | adf8227cf4e7b4fccb2ad88e1e09b6dc00dd00ed (patch) | |
tree | 4d42e1740f55099c18465d032c9d9239b253713d /libavcodec/vc1dsp.c | |
parent | db7f1c7c5a1d37e7f4da64a79a97bea1c4b6e9f8 (diff) | |
download | ffmpeg-adf8227cf4e7b4fccb2ad88e1e09b6dc00dd00ed.tar.gz |
vc-1: Add platform-specific start code search routine to VC1DSPContext.
Initialise VC1DSPContext for parser as well as for decoder.
Note, the VC-1 code doesn't actually use the function pointer yet.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/vc1dsp.c')
-rw-r--r-- | libavcodec/vc1dsp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/vc1dsp.c b/libavcodec/vc1dsp.c index 3b92eb2ea5..a193dd704d 100644 --- a/libavcodec/vc1dsp.c +++ b/libavcodec/vc1dsp.c @@ -29,6 +29,7 @@ #include "h264chroma.h" #include "qpeldsp.h" #include "vc1dsp.h" +#include "startcode.h" /* Apply overlap transform to horizontal edge */ static void vc1_v_overlap_c(uint8_t *src, int stride) @@ -948,6 +949,8 @@ av_cold void ff_vc1dsp_init(VC1DSPContext *dsp) dsp->sprite_v_double_twoscale = sprite_v_double_twoscale_c; #endif /* CONFIG_WMV3IMAGE_DECODER || CONFIG_VC1IMAGE_DECODER */ + dsp->startcode_find_candidate = ff_startcode_find_candidate_c; + if (ARCH_AARCH64) ff_vc1dsp_init_aarch64(dsp); if (ARCH_ARM) |