aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2007-02-22 19:05:44 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2007-02-22 19:05:44 +0000
commit8ab4861cc23460ebf11285f34c048ddef7bc887e (patch)
tree553c70ae8aafc943c7333f283158cb403486ccc0 /libavcodec/utils.c
parentf9ec0aa1a98dd195f5e79c90c277570db3db7f8d (diff)
downloadffmpeg-8ab4861cc23460ebf11285f34c048ddef7bc887e.tar.gz
Move the Doxygen function documentation unaltered from libavcodec/utils.c to
libavcodec/avcodec.h. Originally committed as revision 8079 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 60a978778c..5058420ee4 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -59,9 +59,6 @@ const uint8_t ff_reverse[256]={
static int volatile entangled_thread_counter=0;
-/**
- * realloc which does nothing if the block is large enough
- */
void *av_fast_realloc(void *ptr, unsigned int *size, unsigned int min_size)
{
if(min_size < *size)
@@ -76,9 +73,6 @@ static unsigned int last_static = 0;
static unsigned int allocated_static = 0;
static void** array_static = NULL;
-/**
- * allocation of static arrays - do not use for normal allocation.
- */
void *av_mallocz_static(unsigned int size)
{
void *ptr = av_mallocz(size);
@@ -93,10 +87,6 @@ void *av_mallocz_static(unsigned int size)
return ptr;
}
-/**
- * same as above, but does realloc
- */
-
void *av_realloc_static(void *ptr, unsigned int size)
{
int i;
@@ -113,9 +103,6 @@ void *av_realloc_static(void *ptr, unsigned int size)
}
-/**
- * free all static arrays and reset pointers to 0.
- */
void av_free_static(void)
{
while(last_static){
@@ -938,10 +925,6 @@ int avcodec_decode_audio(AVCodecContext *avctx, int16_t *samples,
}
#endif
-
-/* decode a subtitle message. return -1 if error, otherwise return the
- *number of bytes used. If no subtitle could be decompressed,
- *got_sub_ptr is zero. Otherwise, the subtitle is stored in *sub. */
int avcodec_decode_subtitle(AVCodecContext *avctx, AVSubtitle *sub,
int *got_sub_ptr,
const uint8_t *buf, int buf_size)
@@ -1206,9 +1189,6 @@ void avcodec_init(void)
init_crcs();
}
-/**
- * Flush buffers, should be called when seeking or when switching to a different stream.
- */
void avcodec_flush_buffers(AVCodecContext *avctx)
{
if(avctx->codec->flush)