comparison dsputil.h @ 12466:0a306a267dbf libavcodec

Reimplement ff_img_copy_plane() as av_image_copy_plane() in libavcore, and deprecate the old function.
author stefano
date Tue, 07 Sep 2010 21:23:45 +0000
parents 4269ae88366b
children 9fef0a8ddd63
comparison
equal deleted inserted replaced
12465:1921e24d5886 12466:0a306a267dbf
103 103
104 /* EA functions */ 104 /* EA functions */
105 void ff_ea_idct_put_c(uint8_t *dest, int linesize, DCTELEM *block); 105 void ff_ea_idct_put_c(uint8_t *dest, int linesize, DCTELEM *block);
106 106
107 /* 1/2^n downscaling functions from imgconvert.c */ 107 /* 1/2^n downscaling functions from imgconvert.c */
108 #if LIBAVCODEC_VERSION_MAJOR < 53
109 /**
110 * @deprecated Use av_image_copy_plane() instead.
111 */
112 attribute_deprecated
108 void ff_img_copy_plane(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height); 113 void ff_img_copy_plane(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height);
114 #endif
115
109 void ff_shrink22(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height); 116 void ff_shrink22(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height);
110 void ff_shrink44(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height); 117 void ff_shrink44(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height);
111 void ff_shrink88(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height); 118 void ff_shrink88(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height);
112 119
113 void ff_gmc_c(uint8_t *dst, uint8_t *src, int stride, int h, int ox, int oy, 120 void ff_gmc_c(uint8_t *dst, uint8_t *src, int stride, int h, int ox, int oy,