Mercurial > libavcodec.hg
comparison avcodec.h @ 4576:ad02fe65f45a libavcodec
Move the av_realloc_static() declaration out of avcodec.h into bitstream.c.
author | takis |
---|---|
date | Thu, 22 Feb 2007 20:21:33 +0000 |
parents | a9388782b9b0 |
children | dae72d303a8d |
comparison
equal
deleted
inserted
replaced
4575:715e6e3ac428 | 4576:ad02fe65f45a |
---|---|
2918 * @param[in] size The amount of memory you need in bytes. | 2918 * @param[in] size The amount of memory you need in bytes. |
2919 * @return Block of memory of the requested size. | 2919 * @return Block of memory of the requested size. |
2920 */ | 2920 */ |
2921 void *av_mallocz_static(unsigned int size); | 2921 void *av_mallocz_static(unsigned int size); |
2922 | 2922 |
2923 /** | |
2924 * Same as av_mallocz_static(), but does a realloc. | |
2925 * | |
2926 * @param[in] ptr The block of memory to reallocate. | |
2927 * @param[in] size The requested size. | |
2928 * @return Block of memory of requested size. | |
2929 */ | |
2930 void *av_realloc_static(void *ptr, unsigned int size); | |
2931 | |
2932 void img_copy(AVPicture *dst, const AVPicture *src, | 2923 void img_copy(AVPicture *dst, const AVPicture *src, |
2933 int pix_fmt, int width, int height); | 2924 int pix_fmt, int width, int height); |
2934 | 2925 |
2935 int img_crop(AVPicture *dst, const AVPicture *src, | 2926 int img_crop(AVPicture *dst, const AVPicture *src, |
2936 int pix_fmt, int top_band, int left_band); | 2927 int pix_fmt, int top_band, int left_band); |