Mercurial > libavcodec.hg
comparison dsputil.c @ 11950:56aba5a9761c libavcodec
Make VP8 DSP functions take two strides
This isn't useful for the C functions, but will allow re-using H and V functions
for HV functions without adding separate H and V wrappers.
author | darkshikari |
---|---|
date | Fri, 25 Jun 2010 18:14:07 +0000 |
parents | f2007d7c3f1d |
children | d3551fcf4c1c |
comparison
equal
deleted
inserted
replaced
11949:778bdafd5496 | 11950:56aba5a9761c |
---|---|
2654 } | 2654 } |
2655 static void avg_rv40_qpel8_mc33_c(uint8_t *dst, uint8_t *src, int stride){ | 2655 static void avg_rv40_qpel8_mc33_c(uint8_t *dst, uint8_t *src, int stride){ |
2656 avg_pixels8_xy2_c(dst, src, stride, 8); | 2656 avg_pixels8_xy2_c(dst, src, stride, 8); |
2657 } | 2657 } |
2658 #endif /* CONFIG_RV40_DECODER */ | 2658 #endif /* CONFIG_RV40_DECODER */ |
2659 | |
2660 #if CONFIG_VP8_DECODER | |
2661 void ff_put_vp8_pixels16_c(uint8_t *dst, uint8_t *src, int stride, int h, int x, int y) { | |
2662 put_pixels16_c(dst, src, stride, h); | |
2663 } | |
2664 void ff_put_vp8_pixels8_c(uint8_t *dst, uint8_t *src, int stride, int h, int x, int y) { | |
2665 put_pixels8_c(dst, src, stride, h); | |
2666 } | |
2667 void ff_put_vp8_pixels4_c(uint8_t *dst, uint8_t *src, int stride, int h, int x, int y) { | |
2668 put_pixels4_c(dst, src, stride, h); | |
2669 } | |
2670 #endif | |
2671 | 2659 |
2672 static void wmv2_mspel8_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int w){ | 2660 static void wmv2_mspel8_v_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int w){ |
2673 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; | 2661 uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; |
2674 int i; | 2662 int i; |
2675 | 2663 |