comparison imgutils.h @ 24:c063c88b1309 libavcore

Move av_picture_data_copy() to libavcore, and rename it av_image_copy().
author stefano
date Tue, 07 Sep 2010 21:23:55 +0000
parents 478992775cf8
children 63d8168fa16a
comparison
equal deleted inserted replaced
23:478992775cf8 24:c063c88b1309
89 void av_image_copy_plane(uint8_t *dst, int dst_linesize, 89 void av_image_copy_plane(uint8_t *dst, int dst_linesize,
90 const uint8_t *src, int src_linesize, 90 const uint8_t *src, int src_linesize,
91 int bytewidth, int height); 91 int bytewidth, int height);
92 92
93 /** 93 /**
94 * Copy image in src_data to dst_data.
95 *
96 * @param dst_linesize linesizes for the image in dst_data
97 * @param src_linesize linesizes for the image in src_data
98 */
99 void av_image_copy(uint8_t *dst_data[4], int dst_linesize[4],
100 const uint8_t *src_data[4], const int src_linesize[4],
101 enum PixelFormat pix_fmt, int width, int height);
102
103 /**
94 * Check if the given dimension of an image is valid, meaning that all 104 * Check if the given dimension of an image is valid, meaning that all
95 * bytes of the image can be addressed with a signed int. 105 * bytes of the image can be addressed with a signed int.
96 * 106 *
97 * @param w the width of the picture 107 * @param w the width of the picture
98 * @param h the height of the picture 108 * @param h the height of the picture