Commit Graph

4511 Commits

Author SHA1 Message Date
Panagiotis Issaris
e0b67c7618 Doxygenize the existing amr.c documentation.
Originally committed as revision 8087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 19:16:31 +00:00
Panagiotis Issaris
4267e90dd0 Doxygenize the comments for the av_fast_realloc() function.
Originally committed as revision 8086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 19:14:07 +00:00
Panagiotis Issaris
8079a686c3 Doxygenize the comments for the av_free_static() function.
Originally committed as revision 8085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 19:12:40 +00:00
Panagiotis Issaris
9c5cb112ca Doxygenize the comments for the av_mallocz_static() function.
Originally committed as revision 8084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 19:11:33 +00:00
Panagiotis Issaris
3d0a39fa2d Doxygenize the comments for the av_realloc_static() function.
Originally committed as revision 8083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 19:10:55 +00:00
Panagiotis Issaris
2fa378a72c Doxygenize the comments for the av_get_bits_per_sample() function.
Originally committed as revision 8082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 19:09:35 +00:00
Panagiotis Issaris
8f6260af48 Doxygenize the comments for the av_get_pict_type_char() function.
Originally committed as revision 8081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 19:08:39 +00:00
Panagiotis Issaris
8fc3d25c0a Doxygenize the comments for the avpicture_free() function.
Originally committed as revision 8080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 19:06:28 +00:00
Panagiotis Issaris
8ab4861cc2 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
2007-02-22 19:05:44 +00:00
Panagiotis Issaris
f9ec0aa1a9 Add more Doxygen documentation.
Originally committed as revision 8078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 18:59:05 +00:00
Panagiotis Issaris
930344d854 Fix spelling.
Originally committed as revision 8077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 14:56:54 +00:00
Panagiotis Issaris
b24daebf22 The memsetting of the end of buffer is not needed for audio.
Originally committed as revision 8070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 12:56:31 +00:00
Panagiotis Issaris
f6618b0f43 Stray comment, probably copy & pasted from audio_encode_example().
Originally committed as revision 8066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 02:12:54 +00:00
Panagiotis Issaris
5604801191 Fix typo.
Originally committed as revision 8065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 00:46:36 +00:00
Diego Biurrun
3700dab4f2 cosmetics: aswell --> as well typo fix
Originally committed as revision 8062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 00:14:54 +00:00
Michael Niedermayer
470d2d03cc gcc 2.95 fix
Originally committed as revision 8059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 00:04:36 +00:00
Panagiotis Issaris
85975aa9a5 Correct typo.
Originally committed as revision 8058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 23:48:20 +00:00
Aurelien Jacobs
6829ac8de4 simplify release_buffer using FFSWAP
Originally committed as revision 8057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 23:46:25 +00:00
Diego Biurrun
3dc09ed188 simplify i386 object handling
Originally committed as revision 8056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 23:32:13 +00:00
Michael Niedermayer
97bbb8851b output delayed frames
fixes:
CANL4_SVA_B.264
NL3_SVA_C.264
NL3_SVA_E.264

Originally committed as revision 8055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 21:16:07 +00:00
Diego Biurrun
57177f648d cosmetics: Fix another common typo, gurantee --> guArantee.
Originally committed as revision 8054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 19:19:46 +00:00
Kostya Shishkov
391fcef9a9 100l: forgot to reset LS mode on new frame
Originally committed as revision 8053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 18:10:25 +00:00
Diego Biurrun
0afd2a92bd cosmetics: Fix a common typo, sepErate --> sepArate.
Originally committed as revision 8047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 10:15:08 +00:00
Panagiotis Issaris
7ad731e99f Add some more Doxygen documentation to libavcodec/utils.c.
Originally committed as revision 8041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 12:45:16 +00:00
Michel Bardiaux
346a655d46 Add support for MS-GSM codec
Originally committed as revision 8039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 11:09:47 +00:00
Panagiotis Issaris
758a6b3c06 Provide Doxygen documentation.
Originally committed as revision 8038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 10:34:01 +00:00
Guillaume Poirier
bb0f999bbb add doxygen docs for avpicture_fill()
Patch  by Panagiotis Issaris % takis P issaris A uhasselt P be %

Originally committed as revision 8034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 08:35:25 +00:00
Stefan Gehrer
0ac47d632f fix comment, get/show_bits(0) does not work
Originally committed as revision 8029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-19 20:59:40 +00:00
Michel Bardiaux
78104b5d76 Remove some old disabled debugging output
Originally committed as revision 8027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-19 11:00:38 +00:00
Loren Merritt
4672503d8c simplify in fill_caches
Originally committed as revision 8026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-19 04:44:17 +00:00
Panagiotis Issaris
9b2bb40341 Remove a non-C dependency (being M_PI) from the libavcodec example.
Originally committed as revision 8025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-18 21:23:50 +00:00
Benjamin Larsson
0564528eff Clairyfication of the gain tool struct.
Originally committed as revision 8023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-18 20:35:22 +00:00
Måns Rullgård
459022f504 fix for x86-64
Originally committed as revision 8022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-18 20:00:05 +00:00
Benjamin Larsson
dd462087fd Don't use byte swaps and use the more portable way
of declaring aligned buffers.

Originally committed as revision 8021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-18 19:12:20 +00:00
Michael Niedermayer
fda51641b1 factorize more calls to fill_rectangle()
Originally committed as revision 8017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-18 01:37:50 +00:00
Michael Niedermayer
d19f5acb36 factorize fill_rectangle() calls
Originally committed as revision 8016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-18 01:24:57 +00:00
Alex Beregszaszi
492d0e4c12 display line number when printing error
Originally committed as revision 8015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-18 01:02:34 +00:00
Michael Niedermayer
b21e0b6dfc rewrite H264_CHROMA_MC4_TMPL (20% faster)
Originally committed as revision 8012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-17 23:43:02 +00:00
Michael Niedermayer
bc2ce35b31 remove imgresample and convert with the next version bump
Originally committed as revision 8005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-17 11:55:57 +00:00
Kostya Shishkov
e4cc43625f Use AVRandom
Originally committed as revision 8004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-17 11:41:59 +00:00
Kostya Shishkov
eeb40eb367 10l: forgot break statement
Originally committed as revision 8003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-17 11:39:54 +00:00
Michael Niedermayer
8d6947bc7d factorize fill_rectangle()
remove more silly ref_count checks
use list_count where appropriate

Originally committed as revision 8000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-16 21:50:37 +00:00
Michael Niedermayer
3425501d3b replace list<2 checks by list<list_count
remove silly ref_count<0 and ref_count==0 checks its impossible for this variable to have such a value

Originally committed as revision 7999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-16 21:42:01 +00:00
Michael Niedermayer
187696fa72 fix 2nd ref_count check
add list_count

Originally committed as revision 7998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-16 21:34:21 +00:00
Michael Niedermayer
0565c64834 fix ref_count check
Originally committed as revision 7997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-16 21:29:15 +00:00
Michael Niedermayer
65a0f3fd47 factorize mv_cache and mvd_cache init
Originally committed as revision 7996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-16 21:27:59 +00:00
Michael Niedermayer
43ff071456 simplify
Originally committed as revision 7995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-16 21:25:22 +00:00
Michael Niedermayer
2a115873af add a few asserts to ensure alignment
Originally committed as revision 7994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-16 21:22:53 +00:00
Michael Niedermayer
00e210ddbb prevent h.264 MC related functions from being inlined (yes this is much faster the code just doesnt fit in the code cache otherwise)
Originally committed as revision 7993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-16 21:21:07 +00:00
Michel Bardiaux
5286d11fcd Spelling fix
Originally committed as revision 7989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-15 12:57:51 +00:00
Michel Bardiaux
1d726a5958 Spelling fix
Originally committed as revision 7988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-15 12:57:20 +00:00
Diego Biurrun
befa3397c5 Move xvmc_render.h to libavcodec where it belongs. Blessed by Ivan.
Originally committed as revision 7986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 23:33:16 +00:00
Michael Niedermayer
e13d80238c doxy for avcodec_encode_video()
Originally committed as revision 7977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 10:50:01 +00:00
Michel Bardiaux
e372862674 Fix one warning
Originally committed as revision 7976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 09:57:41 +00:00
Måns Rullgård
35f9736988 rename POWERPC_PERFORMANCE_REPORT to CONFIG_POWERPC_PERF
Originally committed as revision 7968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 23:45:28 +00:00
François Revol
8fa36ae09d This fixes error handling for BeOS, removing the need for some ifdefs.
AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h.
Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed.
Please from now on use return AVERROR(EFOO) instead of the ugly return -EFOO in your code.
This also removes the need for berrno.h.

Originally committed as revision 7965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 18:26:14 +00:00
Michel Bardiaux
bcdf0d2697 Change some dprintf to av_log
Originally committed as revision 7964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 16:06:50 +00:00
Kostya Shishkov
674678b04a Intensity compensation for B-frames in AP was missing
Originally committed as revision 7962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 07:48:23 +00:00
Diego Biurrun
dc02fc6a68 consistency renaming: yuv422 --> yuyv422
Originally committed as revision 7959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 23:23:05 +00:00
Diego Biurrun
9ac529a5ba consistency renaming: uyvy411 --> uyyvyy411
Originally committed as revision 7958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 23:15:38 +00:00
Diego Biurrun
3cf5b6bed7 consistency renaming: rgba32 --> rgb32
Originally committed as revision 7957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 23:07:17 +00:00
Diego Biurrun
7bc5f2a8a4 Restore the possibility to link liba52 instead of dlopening.
Originally committed as revision 7945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 10:05:19 +00:00
Diego Biurrun
f4ca507980 Rename ac3 decoder to liba52 to prepare for native decoder.
Originally committed as revision 7939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-11 19:02:59 +00:00
Måns Rullgård
ecfc4f4436 rename HAVE_GPROF to CONFIG_GPROF
Originally committed as revision 7934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-11 16:39:09 +00:00
Diego Biurrun
0900a85fe8 Remove internal liba52; external lib still works, native decoder coming up.
Originally committed as revision 7933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-11 16:29:00 +00:00
Diego Biurrun
b7d3bfa6d3 Remove unused libac3 AC3 decoding interface.
Originally committed as revision 7923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-11 12:27:11 +00:00
Reimar Döffinger
392b76ca93 Minor AMD64 compilation fix
Originally committed as revision 7907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-10 13:33:08 +00:00
Michael Niedermayer
9bc0d3ef3e maybe fix x86_64 (untested)
Originally committed as revision 7906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-10 03:56:49 +00:00
Francois Oligny-Lemieux
6ff9b4226b always decode extradata when of non-avc stream (like RTSP)
Patch by Francois Oligny-Lemieux % eucloid A gmail P com %
Original thread:
Date: Feb 9, 2007 12:00 AM
Subject: [Ffmpeg-devel] h264.c patch, always decoding extradata when on non avc stream

Originally committed as revision 7904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 22:25:29 +00:00
Michael Niedermayer
b2a581dc71 packets with half pcm samples are invalid
Originally committed as revision 7900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 13:57:14 +00:00
Michael Niedermayer
7c4fd7eb0c factor out common subexprssion (gcc of course is too stupid to do this ...)
5% faster avg_h264_chroma_mc2_mmx2()
10% faster put_h264_chroma_mc2_mmx2()

Originally committed as revision 7898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 12:37:38 +00:00
Michael Niedermayer
9301a0b4a9 merge asm fragments in H264_CHROMA_MC2_TMPL()
10% faster avg_h264_chroma_mc2_mmx2()
5% faster put_h264_chroma_mc2_mmx2()

Originally committed as revision 7897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 12:24:22 +00:00
Michael Niedermayer
04cfef21ff sanity check
Originally committed as revision 7890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 02:25:23 +00:00
Michael Niedermayer
960964f5a9 fix segfault with lol-ffplay2.mpg (dunno if this is exploitable, probably not easily)
Originally committed as revision 7889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 02:21:34 +00:00
Justin Ruggles
f7a49547de fix parsing of RealAudio AC-3/DolbyNet
Originally committed as revision 7888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 02:02:09 +00:00
Luca Abeni
ab1c6dc95c Directly access av_log_level instead of calling av_log_{set, get}_level()
(which will be removed at the next avutil version increment)

Originally committed as revision 7882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-08 18:55:36 +00:00
Reimar Döffinger
5959a29893 Fix incorrect use of ff_get_fourcc that made mjpgb not play on big endian.
Fixes bug 739.

Originally committed as revision 7875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 17:35:36 +00:00
Michael Niedermayer
7dda43eefd vorbis suffers from the same sign flip issue as wma (so this lame workaround, though it arguably doesnt matter much where the sign is fliped back)
Originally committed as revision 7873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 16:59:10 +00:00
Michael Niedermayer
6836af5250 doxygenize
Originally committed as revision 7872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 14:53:25 +00:00
Diego Biurrun
013591c5f2 Add a comment about swapped numerator and denominator.
Originally committed as revision 7871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 14:10:50 +00:00
Diego Biurrun
9b1a3ea0de missing spaces
Originally committed as revision 7870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 12:38:47 +00:00
Diego Biurrun
71e445fca3 Replace deprecated PIX_FMT names by the newer variants.
Originally committed as revision 7867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 01:48:09 +00:00
Michael Niedermayer
a1fd944f73 workaround sign bug
Originally committed as revision 7864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 23:58:02 +00:00
Michael Niedermayer
21ac1d47d1 10l use of uninitalized var
Originally committed as revision 7863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 22:20:55 +00:00
Michael Niedermayer
e8ebd57360 kill debuging code
Originally committed as revision 7856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 21:12:48 +00:00
Michael Niedermayer
5968607304 wma encoder
Originally committed as revision 7855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 20:19:04 +00:00
Michael Niedermayer
aad512b4ec Revised patch for HD DVD .EVO demuxing by (Ian Caulfield <lowercase name seperated by . place at here gmail place a dot here com>)
Originally committed as revision 7853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 19:14:16 +00:00
Michael Niedermayer
7d4495dafe simplify and remove useless index in AV_W*
Originally committed as revision 7852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 19:10:17 +00:00
Kostya Shishkov
ac91185fb7 Progressive frames disguised as interlaced are supported
Originally committed as revision 7849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 07:16:52 +00:00
Kostya Shishkov
6eda6e37a9 B-frames could not be determined from broken_link/closed_entry, use fixed value
Originally committed as revision 7848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 07:11:20 +00:00
Kostya Shishkov
02c823d4f3 Wrong flag tested
Originally committed as revision 7847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 07:07:29 +00:00
Aurelien Jacobs
5e5067c73d ensure that data[0] is set to NULL for next frame
to please avcodec_default_get_buffer()

Originally committed as revision 7846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 00:35:51 +00:00
Måns Rullgård
7ee829922b oops, revert accidental checkin
Originally committed as revision 7840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 21:18:11 +00:00
Måns Rullgård
271593f123 fix multichannel decoding
Originally committed as revision 7839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 21:16:31 +00:00
Måns Rullgård
3a0495a29f move static variables to private context struct
Originally committed as revision 7838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 20:17:02 +00:00
Måns Rullgård
89fa5b4e23 remove preprocessor cruft
Originally committed as revision 7837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 19:56:31 +00:00
Måns Rullgård
8af23633a2 cosmetics: don't needlessly open new blocks
Originally committed as revision 7836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 19:55:15 +00:00
Måns Rullgård
ac49ddc60d cosmetic: indent sensibly so code can be read at all
Originally committed as revision 7835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 19:35:36 +00:00
Diego Biurrun
52548eeede BMP encoder by Michel Bardiaux, mbardiaux mediaxim be
Originally committed as revision 7824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 15:05:29 +00:00
Sascha Sommer
8274e4224a fix use of uninitialized variables
Originally committed as revision 7822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 11:57:36 +00:00