Mercurial > libavcodec.hg
comparison avcodec.h @ 4568:ad50768a5b57 libavcodec
Doxygenize the comments for the avpicture_free() function.
author | takis |
---|---|
date | Thu, 22 Feb 2007 19:06:28 +0000 |
parents | f0138063c568 |
children | dcf43f64d80d |
comparison
equal
deleted
inserted
replaced
4567:f0138063c568 | 4568:ad50768a5b57 |
---|---|
2441 * @param height the height of the picture. | 2441 * @param height the height of the picture. |
2442 * @return Zero if successful, a negative value if not. | 2442 * @return Zero if successful, a negative value if not. |
2443 */ | 2443 */ |
2444 int avpicture_alloc(AVPicture *picture, int pix_fmt, int width, int height); | 2444 int avpicture_alloc(AVPicture *picture, int pix_fmt, int width, int height); |
2445 | 2445 |
2446 /* Free a picture previously allocated by avpicture_alloc. */ | 2446 /** |
2447 * Free a picture previously allocated by avpicture_alloc(). | |
2448 * | |
2449 * @param picture The AVPicture to be freed. | |
2450 */ | |
2447 void avpicture_free(AVPicture *picture); | 2451 void avpicture_free(AVPicture *picture); |
2448 | 2452 |
2449 int avpicture_fill(AVPicture *picture, uint8_t *ptr, | 2453 int avpicture_fill(AVPicture *picture, uint8_t *ptr, |
2450 int pix_fmt, int width, int height); | 2454 int pix_fmt, int width, int height); |
2451 int avpicture_layout(const AVPicture* src, int pix_fmt, int width, int height, | 2455 int avpicture_layout(const AVPicture* src, int pix_fmt, int width, int height, |