summaryrefslogtreecommitdiff
path: root/libavcodec/dsputil.h
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2006-07-30 03:45:02 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2006-07-30 03:45:02 +0000
commit64db55aedb57e17c8ed9811fbade352f153b3cee (patch)
tree1579f84b17080b6aacfb45278afcc4fcab693d74 /libavcodec/dsputil.h
parent59d0fc57794efd327a6cec5bb09921c46985b62d (diff)
New functions in DSPContext for VC-1 decoding
Originally committed as revision 5862 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r--libavcodec/dsputil.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
index fb84b20e00..a2a5171129 100644
--- a/libavcodec/dsputil.h
+++ b/libavcodec/dsputil.h
@@ -365,6 +365,18 @@ typedef struct DSPContext {
void (*prefetch)(void *mem, int stride, int h);
void (*shrink[4])(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height);
+
+ /* vc1 functions */
+ void (*vc1_inv_trans_8x8)(DCTELEM *b);
+ void (*vc1_inv_trans_8x4)(DCTELEM *b, int n);
+ void (*vc1_inv_trans_4x8)(DCTELEM *b, int n);
+ void (*vc1_inv_trans_4x4)(DCTELEM *b, int n);
+ void (*vc1_v_overlap)(uint8_t* src, int stride, int rnd);
+ void (*vc1_h_overlap)(uint8_t* src, int stride, int rnd);
+ /* put 8x8 block with bicubic interpolation and quarterpel precision
+ * last argument is actually round value instead of height
+ */
+ op_pixels_func put_vc1_mspel_pixels_tab[16];
} DSPContext;
void dsputil_static_init(void);