aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dsputil.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-12-15 09:46:02 -0800
committerLuca Barbato <lu_zero@gentoo.org>2012-12-20 13:40:45 +0100
commit8c53d39e7f0604127bfc96fa1182c8abe3847ac6 (patch)
tree18495cabf7f0e6d365871d3407f2534f2b80b653 /libavcodec/dsputil.h
parenta925f723a915bc0255e2673f8817af5212131763 (diff)
downloadffmpeg-8c53d39e7f0604127bfc96fa1182c8abe3847ac6.tar.gz
lavc: introduce VideoDSPContext
Move some functions from dsputil. The idea is that videodsp contains functions that are useful for a large and varied set of video decoders. Currently, it contains emulated_edge_mc() and prefetch(). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r--libavcodec/dsputil.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
index 364270b0b3..57c8bebb63 100644
--- a/libavcodec/dsputil.h
+++ b/libavcodec/dsputil.h
@@ -188,15 +188,6 @@ void ff_init_scantable(uint8_t *, ScanTable *st, const uint8_t *src_scantable);
void ff_init_scantable_permutation(uint8_t *idct_permutation,
int idct_permutation_type);
-#define EMULATED_EDGE(depth) \
-void ff_emulated_edge_mc_ ## depth (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);
-
-EMULATED_EDGE(8)
-EMULATED_EDGE(9)
-EMULATED_EDGE(10)
-
/**
* DSPContext.
*/
@@ -216,21 +207,6 @@ 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);
@@ -465,8 +441,6 @@ typedef struct DSPContext {
#define EDGE_TOP 1
#define EDGE_BOTTOM 2
- 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);
/**