comparison imgutils.h @ 27:ed20007aabe2 libavcore tip

av_fill_image_linesizes -> av_image_fill_linesizes
author ramiro
date Wed, 08 Sep 2010 23:36:14 +0000
parents 63d8168fa16a
children
comparison
equal deleted inserted replaced
26:ec642b5a1d0a 27:ed20007aabe2
68 * height height. 68 * height height.
69 * 69 *
70 * @param data pointers array to be filled with the pointer for each image plane 70 * @param data pointers array to be filled with the pointer for each image plane
71 * @param ptr the pointer to a buffer which will contain the image 71 * @param ptr the pointer to a buffer which will contain the image
72 * @param linesizes[4] the array containing the linesize for each 72 * @param linesizes[4] the array containing the linesize for each
73 * plane, should be filled by av_fill_image_linesizes() 73 * plane, should be filled by av_image_fill_linesizes()
74 * @return the size in bytes required for the image buffer, a negative 74 * @return the size in bytes required for the image buffer, a negative
75 * error code in case of failure 75 * error code in case of failure
76 */ 76 */
77 int av_image_fill_pointers(uint8_t *data[4], enum PixelFormat pix_fmt, int height, 77 int av_image_fill_pointers(uint8_t *data[4], enum PixelFormat pix_fmt, int height,
78 uint8_t *ptr, const int linesizes[4]); 78 uint8_t *ptr, const int linesizes[4]);