diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2011-01-27 06:35:56 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-01-30 05:41:01 +0300 |
commit | d23e3e5fea78420fecacbe3719e8d7928b591504 (patch) | |
tree | 25a084528b21a442ca64e7d64b537f06f1fd172d /libavcodec/dsputil.h | |
parent | efcc10645525e7b5c2f3d7d46ecf6b5d267867f5 (diff) |
Move ff_emulated_edge_mc() into DSPContext.
(cherry picked from commit 2e279598793133ee9c57fd0026d672f076fde4bf)
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r-- | libavcodec/dsputil.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index 74831cf41b..9a1172b1dc 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -216,6 +216,21 @@ typedef struct DSPContext { void (*add_pixels4)(uint8_t *pixels, DCTELEM *block, int line_size); int (*sum_abs_dctelem)(DCTELEM *block/*align 16*/); /** + * Motion estimation with emulated edge values. + * @param buf pointer to destination buffer (unaligned) + * @param src pointer to pixel source (unaligned) + * @param linesize width (in pixels) for src/buf + * @param block_w number of pixels (per row) to copy to buf + * @param block_h nummber of pixel rows to copy to buf + * @param src_x offset of src to start of row - this may be negative + * @param src_y offset of src to top of image - this may be negative + * @param w width of src in pixels + * @param h height of src in pixels + */ + void (*emulated_edge_mc)(uint8_t *buf, const uint8_t *src, int linesize, + int block_w, int block_h, + int src_x, int src_y, int w, int h); + /** * translational global motion compensation. */ void (*gmc1)(uint8_t *dst/*align 8*/, uint8_t *src/*align 1*/, int srcStride, int h, int x16, int y16, int rounder); |