diff options
author | Alberto Delmás <adelmas@gmail.com> | 2011-08-17 14:24:42 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-08-23 11:18:35 +0200 |
commit | 45ecda855405f102bcc5d8fbadc5f2376e8e9c42 (patch) | |
tree | e40dee592918dbe35b68dc943d15da93e294101c /libavcodec/vc1dsp.h | |
parent | 3be5a943514f4528056d91afb8347b3dc51f21d6 (diff) | |
download | ffmpeg-45ecda855405f102bcc5d8fbadc5f2376e8e9c42.tar.gz |
Windows Media Image decoder (WMVP/WVP2)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/vc1dsp.h')
-rw-r--r-- | libavcodec/vc1dsp.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libavcodec/vc1dsp.h b/libavcodec/vc1dsp.h index e1b6ba0aa8..3e0a88e28d 100644 --- a/libavcodec/vc1dsp.h +++ b/libavcodec/vc1dsp.h @@ -60,6 +60,16 @@ typedef struct VC1DSPContext { /* This is really one func used in VC-1 decoding */ h264_chroma_mc_func put_no_rnd_vc1_chroma_pixels_tab[3]; h264_chroma_mc_func avg_no_rnd_vc1_chroma_pixels_tab[3]; + + /* Windows Media Image functions */ + void (*sprite_h)(uint8_t *dst, const uint8_t *src, int offset, int advance, int count); + void (*sprite_v_single)(uint8_t *dst, const uint8_t *src1a, const uint8_t *src1b, int offset, int width); + void (*sprite_v_double_noscale)(uint8_t *dst, const uint8_t *src1a, const uint8_t *src2a, int alpha, int width); + void (*sprite_v_double_onescale)(uint8_t *dst, const uint8_t *src1a, const uint8_t *src1b, int offset1, + const uint8_t *src2a, int alpha, int width); + void (*sprite_v_double_twoscale)(uint8_t *dst, const uint8_t *src1a, const uint8_t *src1b, int offset1, + const uint8_t *src2a, const uint8_t *src2b, int offset2, + int alpha, int width); } VC1DSPContext; void ff_vc1dsp_init(VC1DSPContext* c); |