summaryrefslogtreecommitdiff
path: root/libavcodec/dsputil.h
diff options
context:
space:
mode:
authorLoren Merritt <lorenm@u.washington.edu>2006-03-23 20:16:36 +0000
committerLoren Merritt <lorenm@u.washington.edu>2006-03-23 20:16:36 +0000
commit513fbd8e5ab9ca266394112b177a40b6eb1d8208 (patch)
tree2cc484711e334dcf1633a231212758ed3b2d2bff /libavcodec/dsputil.h
parent7e815047e5621683ab7a91a23c93906cf916ff36 (diff)
prefetch pixels for future motion compensation. 2-5% faster h264.
Originally committed as revision 5203 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r--libavcodec/dsputil.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
index 8fe9be7798..626e6d2d13 100644
--- a/libavcodec/dsputil.h
+++ b/libavcodec/dsputil.h
@@ -343,6 +343,8 @@ typedef struct DSPContext {
void (*vertical_compose97i)(DWTELEM *b0, DWTELEM *b1, DWTELEM *b2, DWTELEM *b3, DWTELEM *b4, DWTELEM *b5, int width);
void (*horizontal_compose97i)(DWTELEM *b, int width);
void (*inner_add_yblock)(uint8_t *obmc, const int obmc_stride, uint8_t * * block, int b_w, int b_h, int src_x, int src_y, int src_stride, slice_buffer * sb, int add, uint8_t * dst8);
+
+ void (*prefetch)(void *mem, int stride, int h);
} DSPContext;
void dsputil_static_init(void);