platform/upstream/libav.git
17 years agoremove special case for h.264 whatever this was supposed to do its not correct
Michael Niedermayer [Fri, 16 Mar 2007 22:31:57 +0000 (22:31 +0000)]
remove special case for h.264 whatever this was supposed to do its not correct

Originally committed as revision 8423 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoadd fps stats, patch by Limin Wang <lance lmwang at gmail com>
Limin Wang [Fri, 16 Mar 2007 16:13:54 +0000 (16:13 +0000)]
add fps stats, patch by Limin Wang <lance lmwang at gmail com>

Originally committed as revision 8422 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agofix indention
Michael Niedermayer [Thu, 15 Mar 2007 23:45:45 +0000 (23:45 +0000)]
fix indention

Originally committed as revision 8421 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoforce 16-bytes alignement of block array, as needed by the implementation of ff_dct_sse2
John Dalgliesh [Thu, 15 Mar 2007 23:45:20 +0000 (23:45 +0000)]
force 16-bytes alignement of block array, as needed by the implementation of ff_dct_sse2
patch by John Dalgliesh %johnd A defyne P org%

Originally committed as revision 8420 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agosupport reordering pts in the decoder (this might be equivalent to mplayers -correct...
Michael Niedermayer [Thu, 15 Mar 2007 23:39:43 +0000 (23:39 +0000)]
support reordering pts in the decoder (this might be equivalent to mplayers -correct-pts mode)
enable it with -drp (=decoder reorders pts)

Originally committed as revision 8419 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agodisable pts reordering code and initialize a parser instead
Aurelien Jacobs [Thu, 15 Mar 2007 23:08:58 +0000 (23:08 +0000)]
disable pts reordering code and initialize a parser instead

Originally committed as revision 8418 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agosubband_coef_noise -> subband_coef_sign
Ian Braithwaite [Thu, 15 Mar 2007 21:22:10 +0000 (21:22 +0000)]
subband_coef_noise -> subband_coef_sign
Cosmetics patch by Ian Braithwaite ian .. braithwaite dot dk

Originally committed as revision 8417 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoremove secure password delivery requirement after complaint by the SVN admin
Michael Niedermayer [Thu, 15 Mar 2007 19:23:32 +0000 (19:23 +0000)]
remove secure password delivery requirement after complaint by the SVN admin

Originally committed as revision 8416 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agomisc wording/spelling fixes
Diego Biurrun [Thu, 15 Mar 2007 18:23:54 +0000 (18:23 +0000)]
misc wording/spelling fixes

Originally committed as revision 8415 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agogpg and passwords rule
Michael Niedermayer [Thu, 15 Mar 2007 12:54:48 +0000 (12:54 +0000)]
gpg and passwords rule

Originally committed as revision 8414 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoadd rule to keep disscussion on the public mailinglist (stolen from mplayers policy)
Michael Niedermayer [Thu, 15 Mar 2007 12:52:33 +0000 (12:52 +0000)]
add rule to keep disscussion on the public mailinglist (stolen from mplayers policy)
(like always 1 complain from a ffmpeg-developer and ill reverse and we can disscuss it)

Originally committed as revision 8413 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agopatches should be split into incremental changes if possible
Michael Niedermayer [Thu, 15 Mar 2007 12:38:45 +0000 (12:38 +0000)]
patches should be split into incremental changes if possible
add patch split reasoning
suggest asking on ffmpeg-dev if theres doubt about spliting
(and like always if any developer disagrees say so and ill revert this and we can disscuss it on ffmpeg-dev)

Originally committed as revision 8412 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoTarga (.tga) encoder,
Bobby Bingham [Thu, 15 Mar 2007 12:23:08 +0000 (12:23 +0000)]
Targa (.tga) encoder,
patch by Bobby Bingham % uhmmmm A gmail P com %
Only handles 24-bit BGR and 8-bit grayscale, no RLE at the moment either.
Original thread:
Date: Mar 11, 2007 7:58 PM
Subject: [Ffmpeg-devel] [PATCH] Targa encoder

Originally committed as revision 8411 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoadd a entry to the policy about fixing warnings (i think this is common sense but...
Michael Niedermayer [Thu, 15 Mar 2007 12:18:47 +0000 (12:18 +0000)]
add a entry to the policy about fixing warnings (i think this is common sense but if anydeveloper disagrees, just say so
and ill revert it and we can disscuss it on ffmpeg-dev)

Originally committed as revision 8410 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoPatch review process
Michael Niedermayer [Thu, 15 Mar 2007 11:59:50 +0000 (11:59 +0000)]
Patch review process

Originally committed as revision 8409 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years ago10l for myself, fixing --disable-encoders
Michael Niedermayer [Wed, 14 Mar 2007 23:23:30 +0000 (23:23 +0000)]
10l for myself, fixing --disable-encoders

Originally committed as revision 8408 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years ago160 bytes smaller object file, ask gcc devels why
Michael Niedermayer [Wed, 14 Mar 2007 19:47:58 +0000 (19:47 +0000)]
160 bytes smaller object file, ask gcc devels why

Originally committed as revision 8407 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoexplain where the T table comes from
Michael Niedermayer [Wed, 14 Mar 2007 19:43:31 +0000 (19:43 +0000)]
explain where the T table comes from

Originally committed as revision 8406 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoDXA demuxer and decoder
Kostya Shishkov [Wed, 14 Mar 2007 14:49:49 +0000 (14:49 +0000)]
DXA demuxer and decoder

Originally committed as revision 8405 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agodeprecate ff_realloc_static
Michael Niedermayer [Wed, 14 Mar 2007 13:25:15 +0000 (13:25 +0000)]
deprecate ff_realloc_static

Originally committed as revision 8404 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years ago10l to whoever wrote this
Michael Niedermayer [Wed, 14 Mar 2007 13:20:29 +0000 (13:20 +0000)]
10l to whoever wrote this

Originally committed as revision 8403 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agokill av_mallocz_static() calls in init_rl()
Michael Niedermayer [Wed, 14 Mar 2007 13:19:19 +0000 (13:19 +0000)]
kill av_mallocz_static() calls in init_rl()

Originally committed as revision 8402 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agomove RLTable stuff to its own header
Michael Niedermayer [Wed, 14 Mar 2007 12:29:32 +0000 (12:29 +0000)]
move RLTable stuff to its own header

Originally committed as revision 8401 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agokill av_mallocz_static()
Michael Niedermayer [Wed, 14 Mar 2007 12:15:34 +0000 (12:15 +0000)]
kill av_mallocz_static()

Originally committed as revision 8400 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoreindent after last commit
Baptiste Coudurier [Wed, 14 Mar 2007 11:13:17 +0000 (11:13 +0000)]
reindent after last commit

Originally committed as revision 8399 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoh264 complete frames parsing support
Baptiste Coudurier [Wed, 14 Mar 2007 11:12:02 +0000 (11:12 +0000)]
h264 complete frames parsing support

Originally committed as revision 8398 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agokill 3 more av_mallocz_static()
Michael Niedermayer [Wed, 14 Mar 2007 01:59:53 +0000 (01:59 +0000)]
kill 3 more av_mallocz_static()

Originally committed as revision 8397 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agokill another 2 av_mallocz_static()
Michael Niedermayer [Wed, 14 Mar 2007 00:19:56 +0000 (00:19 +0000)]
kill another 2 av_mallocz_static()

Originally committed as revision 8396 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agokill a av_mallocz_static()
Michael Niedermayer [Tue, 13 Mar 2007 23:30:28 +0000 (23:30 +0000)]
kill a av_mallocz_static()

Originally committed as revision 8395 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years ago10^10l to whoever wrote this
Michael Niedermayer [Tue, 13 Mar 2007 23:10:42 +0000 (23:10 +0000)]
10^10l to whoever wrote this

Originally committed as revision 8394 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoremove useless static cm variable
Michael Niedermayer [Tue, 13 Mar 2007 22:53:01 +0000 (22:53 +0000)]
remove useless static cm variable

Originally committed as revision 8393 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agocosmetic
Michael Niedermayer [Tue, 13 Mar 2007 22:51:49 +0000 (22:51 +0000)]
cosmetic

Originally committed as revision 8392 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoremove silly static int done protecting the initalization of 32 elements to 1
Michael Niedermayer [Tue, 13 Mar 2007 22:51:11 +0000 (22:51 +0000)]
remove silly static int done protecting the initalization of 32 elements to 1

Originally committed as revision 8391 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoremove redundant memset()
Michael Niedermayer [Tue, 13 Mar 2007 22:47:59 +0000 (22:47 +0000)]
remove redundant memset()

Originally committed as revision 8390 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agodont malloc() static mv_penalty arrays
Michael Niedermayer [Tue, 13 Mar 2007 22:47:05 +0000 (22:47 +0000)]
dont malloc() static mv_penalty arrays

Originally committed as revision 8389 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agodeprecate av_mallocz_static()
Michael Niedermayer [Tue, 13 Mar 2007 22:01:06 +0000 (22:01 +0000)]
deprecate av_mallocz_static()

Originally committed as revision 8388 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoCombine the window and overlap loops,
Ian Braithwaite [Tue, 13 Mar 2007 19:44:02 +0000 (19:44 +0000)]
Combine the window and overlap loops,
and get rid of the data swapping.

Patch by Ian Braithwaite <dk dot braithwaite at ian>

Originally committed as revision 8387 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agocosmetic (order context variables like in sha1)
Michael Niedermayer [Tue, 13 Mar 2007 12:40:13 +0000 (12:40 +0000)]
cosmetic (order context variables like in sha1)

Originally committed as revision 8386 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agos/context/ctx/
Michael Niedermayer [Tue, 13 Mar 2007 12:26:11 +0000 (12:26 +0000)]
s/context/ctx/

Originally committed as revision 8385 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years ago#undef printf under #ifdef TEST (needed for testing)
Michael Niedermayer [Tue, 13 Mar 2007 12:20:04 +0000 (12:20 +0000)]
#undef printf under #ifdef TEST (needed for testing)

Originally committed as revision 8384 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoborrow finalization algo from sha1 (100byte smaller)
Michael Niedermayer [Tue, 13 Mar 2007 12:19:20 +0000 (12:19 +0000)]
borrow finalization algo from sha1 (100byte smaller)

Originally committed as revision 8383 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoget rid of b_used variable (same size with CONFIG_SMALL)
Michael Niedermayer [Tue, 13 Mar 2007 11:57:26 +0000 (11:57 +0000)]
get rid of b_used variable (same size with CONFIG_SMALL)

Originally committed as revision 8382 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agosmaller av_sha1_update()
Michael Niedermayer [Tue, 13 Mar 2007 11:25:57 +0000 (11:25 +0000)]
smaller av_sha1_update()

Originally committed as revision 8381 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agouse CONFIG_SMALL
Michael Niedermayer [Tue, 13 Mar 2007 10:53:15 +0000 (10:53 +0000)]
use CONFIG_SMALL

Originally committed as revision 8380 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoput state[5] last so no padding is needed on arch where uint64_t needs 8byte alignment
Michael Niedermayer [Tue, 13 Mar 2007 10:48:22 +0000 (10:48 +0000)]
put state[5] last so no padding is needed on arch where uint64_t needs 8byte alignment

Originally committed as revision 8379 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agocosmetic
Michael Niedermayer [Tue, 13 Mar 2007 10:46:18 +0000 (10:46 +0000)]
cosmetic

Originally committed as revision 8378 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agodont memcpy() simpler and same speed
Michael Niedermayer [Tue, 13 Mar 2007 10:45:41 +0000 (10:45 +0000)]
dont memcpy() simpler and same speed

Originally committed as revision 8377 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agosimplify
Michael Niedermayer [Tue, 13 Mar 2007 10:40:59 +0000 (10:40 +0000)]
simplify

Originally committed as revision 8376 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoremove middle variant (keep fastest and smallest)
Michael Niedermayer [Tue, 13 Mar 2007 10:36:49 +0000 (10:36 +0000)]
remove middle variant (keep fastest and smallest)

Originally committed as revision 8375 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years ago10l
Michael Niedermayer [Tue, 13 Mar 2007 10:34:52 +0000 (10:34 +0000)]
10l

Originally committed as revision 8374 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agodouble ;;
Michael Niedermayer [Tue, 13 Mar 2007 01:25:59 +0000 (01:25 +0000)]
double ;;

Originally committed as revision 8373 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agofactorize VARIANT2 (smaller and slower)
Michael Niedermayer [Tue, 13 Mar 2007 01:13:38 +0000 (01:13 +0000)]
factorize VARIANT2 (smaller and slower)

Originally committed as revision 8372 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agorevert 2% speed loss change (r8360)
Michael Niedermayer [Tue, 13 Mar 2007 00:35:18 +0000 (00:35 +0000)]
revert 2% speed loss change (r8360)
so VARIANT0 will be big and a few % faster, VARIANT1/2 are unaffected

Originally committed as revision 8371 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoremove outdated comment
Aurelien Jacobs [Tue, 13 Mar 2007 00:21:19 +0000 (00:21 +0000)]
remove outdated comment

Originally committed as revision 8370 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoremove no more needed parameters
Aurelien Jacobs [Tue, 13 Mar 2007 00:20:18 +0000 (00:20 +0000)]
remove no more needed parameters

Originally committed as revision 8369 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agozero byte idea by rich
Michael Niedermayer [Tue, 13 Mar 2007 00:19:26 +0000 (00:19 +0000)]
zero byte idea by rich

Originally committed as revision 8368 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years ago2 other variants of how to implement the core part
Michael Niedermayer [Tue, 13 Mar 2007 00:17:55 +0000 (00:17 +0000)]
2 other variants of how to implement the core part
benchmarks welcome ...

Originally committed as revision 8367 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoset pkt->duration for laced packets too
Aurelien Jacobs [Tue, 13 Mar 2007 00:16:31 +0000 (00:16 +0000)]
set pkt->duration for laced packets too

Originally committed as revision 8366 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agocalculate pts for laced packets
Aurelien Jacobs [Tue, 13 Mar 2007 00:10:52 +0000 (00:10 +0000)]
calculate pts for laced packets

Originally committed as revision 8365 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agocalculate default_duration for AAC tracks
Aurelien Jacobs [Tue, 13 Mar 2007 00:02:55 +0000 (00:02 +0000)]
calculate default_duration for AAC tracks

Originally committed as revision 8364 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoscale duration and default_duration
Aurelien Jacobs [Tue, 13 Mar 2007 00:01:24 +0000 (00:01 +0000)]
scale duration and default_duration

Originally committed as revision 8363 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agocosmetic cleanup
Michael Niedermayer [Mon, 12 Mar 2007 22:23:30 +0000 (22:23 +0000)]
cosmetic cleanup

Originally committed as revision 8362 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agocosmetic cleanup
Michael Niedermayer [Mon, 12 Mar 2007 22:14:33 +0000 (22:14 +0000)]
cosmetic cleanup

Originally committed as revision 8361 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years ago10% smaller object file, 2% slower
Michael Niedermayer [Mon, 12 Mar 2007 22:12:36 +0000 (22:12 +0000)]
10% smaller object file, 2% slower

Originally committed as revision 8360 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agomove timecode calculation out of laces loop
Aurelien Jacobs [Mon, 12 Mar 2007 21:58:29 +0000 (21:58 +0000)]
move timecode calculation out of laces loop

Originally committed as revision 8359 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agovery slightly smaller object file
Michael Niedermayer [Mon, 12 Mar 2007 21:33:38 +0000 (21:33 +0000)]
very slightly smaller object file

Originally committed as revision 8358 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agomake count count bytes not bits (this is simpler and leads to a very slightly smaller...
Michael Niedermayer [Mon, 12 Mar 2007 21:29:39 +0000 (21:29 +0000)]
make count count bytes not bits (this is simpler and leads to a very slightly smaller object file)

Originally committed as revision 8357 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoremove bigger and slower code
Michael Niedermayer [Mon, 12 Mar 2007 21:23:33 +0000 (21:23 +0000)]
remove bigger and slower code

Originally committed as revision 8356 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agodont recommand testing with -O3
Michael Niedermayer [Mon, 12 Mar 2007 21:21:57 +0000 (21:21 +0000)]
dont recommand testing with -O3

Originally committed as revision 8355 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoavoid silly ring buffer logic (faster with -O2, -O3 is always slower then -O2)
Michael Niedermayer [Mon, 12 Mar 2007 21:21:12 +0000 (21:21 +0000)]
avoid silly ring buffer logic (faster with -O2, -O3 is always slower then -O2)

Originally committed as revision 8354 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoits faster to copy the data to the stack it seems ...
Michael Niedermayer [Mon, 12 Mar 2007 21:14:33 +0000 (21:14 +0000)]
its faster to copy the data to the stack it seems ...

Originally committed as revision 8353 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoexplain how to test it
Michael Niedermayer [Mon, 12 Mar 2007 21:07:38 +0000 (21:07 +0000)]
explain how to test it

Originally committed as revision 8352 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agosimple SHA-1 implementation
Michael Niedermayer [Mon, 12 Mar 2007 21:05:56 +0000 (21:05 +0000)]
simple SHA-1 implementation

Originally committed as revision 8351 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoremove wrong avid imx ntsc fourcc
Baptiste Coudurier [Mon, 12 Mar 2007 17:43:36 +0000 (17:43 +0000)]
remove wrong avid imx ntsc fourcc

Originally committed as revision 8350 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoExplain a few more options that were recently added.
Limin Wang [Mon, 12 Mar 2007 17:16:12 +0000 (17:16 +0000)]
Explain a few more options that were recently added.
patch by Limin Wang, lance.lmwang gmail com

Originally committed as revision 8349 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoRemove superfluous HAVE_THREADS #ifdef.
Ramiro Polla [Mon, 12 Mar 2007 17:13:20 +0000 (17:13 +0000)]
Remove superfluous HAVE_THREADS #ifdef.
patch by Ramiro Polla, angustia arrozcru.no-ip org

Originally committed as revision 8348 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agolibswscale header files are put in a subdirectory named ffmpeg, not swscale.
Diego Biurrun [Mon, 12 Mar 2007 16:56:16 +0000 (16:56 +0000)]
libswscale header files are put in a subdirectory named ffmpeg, not swscale.

Originally committed as revision 8347 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoRemove -ab 64k from ffmpeg options, this is now default.
Benoit Fouet [Mon, 12 Mar 2007 15:54:15 +0000 (15:54 +0000)]
Remove -ab 64k from ffmpeg options, this is now default.
patch by Benoit Fouet, benoit.fouet purplelabs com

Originally committed as revision 8346 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoInstall mem.h on "make install" as:
Panagiotis Issaris [Mon, 12 Mar 2007 15:23:18 +0000 (15:23 +0000)]
Install mem.h on "make install" as:
* the mem.h functions are part of the public API
* common.h includes mem.h and common.h is installed

Originally committed as revision 8345 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoRecommend building qt-faststart using make instead of a manual cc invocation.
Diego Biurrun [Mon, 12 Mar 2007 15:08:45 +0000 (15:08 +0000)]
Recommend building qt-faststart using make instead of a manual cc invocation.

Originally committed as revision 8344 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoProperly initialize filesize during input buffer initialization.
Ronald S. Bultje [Mon, 12 Mar 2007 14:51:18 +0000 (14:51 +0000)]
Properly initialize filesize during input buffer initialization.
patch by Ronald S. Bultje, rbultje ronald.bitfreak net

Originally committed as revision 8343 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoMove the memory related functions out of common.h into their own header file
Panagiotis Issaris [Mon, 12 Mar 2007 14:45:49 +0000 (14:45 +0000)]
Move the memory related functions out of common.h into their own header file
mem.h.

Originally committed as revision 8342 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoRemove superfluous header include.
Diego Biurrun [Mon, 12 Mar 2007 14:42:34 +0000 (14:42 +0000)]
Remove superfluous header include.

Originally committed as revision 8341 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agocosmetics: Fix indentation, patch by Limin Wang, lance.lmwang gmail com.
Limin Wang [Mon, 12 Mar 2007 14:35:36 +0000 (14:35 +0000)]
cosmetics: Fix indentation, patch by Limin Wang, lance.lmwang gmail com.

Originally committed as revision 8340 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoIntroduce two new logging functions av_hex_dump_log() and av_pkt_dump_log()
Panagiotis Issaris [Mon, 12 Mar 2007 14:17:26 +0000 (14:17 +0000)]
Introduce two new logging functions av_hex_dump_log() and av_pkt_dump_log()
which use av_log() for logging instead of fprintf().

Originally committed as revision 8339 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoGive context to dprintf
Michel Bardiaux [Mon, 12 Mar 2007 12:36:41 +0000 (12:36 +0000)]
Give context to dprintf

Originally committed as revision 8338 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoremove codec_info_duration/nb_frames from AVStream
Baptiste Coudurier [Mon, 12 Mar 2007 10:59:47 +0000 (10:59 +0000)]
remove codec_info_duration/nb_frames from AVStream

Originally committed as revision 8337 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoadd message saying that pgmyuv format is deprecated
Baptiste Coudurier [Mon, 12 Mar 2007 10:24:36 +0000 (10:24 +0000)]
add message saying that pgmyuv format is deprecated

Originally committed as revision 8336 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agocosmetic: indent after last commit
Aurelien Jacobs [Sun, 11 Mar 2007 23:44:13 +0000 (23:44 +0000)]
cosmetic: indent after last commit

Originally committed as revision 8335 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoreorder pts of packets from tracks using V_MPEG* codecs
Aurelien Jacobs [Sun, 11 Mar 2007 23:40:57 +0000 (23:40 +0000)]
reorder pts of packets from tracks using V_MPEG* codecs

Originally committed as revision 8334 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agorevert r7181
Aurelien Jacobs [Sun, 11 Mar 2007 23:19:27 +0000 (23:19 +0000)]
revert r7181
This was a stupid mistake. We already take care of time_scale
in av_set_pts_info().

Originally committed as revision 8333 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agocheck if current block contains a B frame and gives this info to parse_block()
Aurelien Jacobs [Sun, 11 Mar 2007 23:05:01 +0000 (23:05 +0000)]
check if current block contains a B frame and gives this info to parse_block()

Originally committed as revision 8332 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoextract ebml_read_binary() out of matroska_parse_block()
Aurelien Jacobs [Sun, 11 Mar 2007 22:54:15 +0000 (22:54 +0000)]
extract ebml_read_binary() out of matroska_parse_block()
This allows to read all the blockgroup parameters before
parsing the block itself.

Originally committed as revision 8331 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoreindent after last commit
Aurelien Jacobs [Sun, 11 Mar 2007 22:28:03 +0000 (22:28 +0000)]
reindent after last commit

Originally committed as revision 8330 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoparse clusters until some packets are queued
Aurelien Jacobs [Sun, 11 Mar 2007 22:26:39 +0000 (22:26 +0000)]
parse clusters until some packets are queued
instead of parsing only one cluster

Originally committed as revision 8329 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agofix a stupid bug in ebml_read_sint()
Aurelien Jacobs [Sun, 11 Mar 2007 22:19:02 +0000 (22:19 +0000)]
fix a stupid bug in ebml_read_sint()

Originally committed as revision 8328 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agouse codec_get_id() instead of deprecated codec_get_[bmp/wav]_id()
Aurelien Jacobs [Sun, 11 Mar 2007 22:16:38 +0000 (22:16 +0000)]
use codec_get_id() instead of deprecated codec_get_[bmp/wav]_id()

Originally committed as revision 8327 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoRespect the gop size (-g) for marking I frames. Use -g 0 gives the old behaviour.
Benjamin Larsson [Sun, 11 Mar 2007 21:01:33 +0000 (21:01 +0000)]
Respect the gop size (-g) for marking I frames. Use -g 0 gives the old behaviour.

Originally committed as revision 8326 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agoReplace custom modified discrete cosine transform with ffmpeg's own.
Ian Braithwaite [Sun, 11 Mar 2007 20:30:06 +0000 (20:30 +0000)]
Replace custom modified discrete cosine transform with ffmpeg's own.
This does alter the decoded output, but not by much.
The new output is closer to that produced by Real's "official" decoder,
and the decoder runs slightly faster.

Patch by Ian Braithwaite ian at braithwaite dot dk

Originally committed as revision 8325 to svn://svn.ffmpeg.org/ffmpeg/trunk

17 years agothe AC-3 parser needs ac3.o
Justin Ruggles [Sun, 11 Mar 2007 16:57:05 +0000 (16:57 +0000)]
the AC-3 parser needs ac3.o

Originally committed as revision 8324 to svn://svn.ffmpeg.org/ffmpeg/trunk