diff options
author | Loren Merritt <lorenm@u.washington.edu> | 2006-03-23 20:16:36 +0000 |
---|---|---|
committer | Loren Merritt <lorenm@u.washington.edu> | 2006-03-23 20:16:36 +0000 |
commit | 513fbd8e5ab9ca266394112b177a40b6eb1d8208 (patch) | |
tree | 2cc484711e334dcf1633a231212758ed3b2d2bff /libavcodec/dsputil.h | |
parent | 7e815047e5621683ab7a91a23c93906cf916ff36 (diff) | |
download | ffmpeg-513fbd8e5ab9ca266394112b177a40b6eb1d8208.tar.gz |
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.h | 2 |
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); |