platform/upstream/libav.git
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

17 years agomove AC-3 header parsing to ac3.c
Justin Ruggles [Sun, 11 Mar 2007 16:44:14 +0000 (16:44 +0000)]
move AC-3 header parsing to ac3.c

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

17 years agoCorrectly ME border blocks
Kostya Shishkov [Sun, 11 Mar 2007 09:51:01 +0000 (09:51 +0000)]
Correctly ME border blocks

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

17 years agoCheck dimensions to avoid division by zero due to invalid new dimensions.
Reimar Döffinger [Sun, 11 Mar 2007 09:16:11 +0000 (09:16 +0000)]
Check dimensions to avoid division by zero due to invalid new dimensions.
Partially fixes http://bugzilla.mplayerhq.hu/show_bug.cgi?id=773.

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

17 years agofix gsize=0 / -1 case (if(<24) goto fail) before it is not a good idea
Michael Niedermayer [Sun, 11 Mar 2007 03:36:17 +0000 (03:36 +0000)]
fix gsize=0 / -1 case (if(<24) goto fail) before it is not a good idea

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

17 years agosome url_is_streamed()==1 related fixes
Michael Niedermayer [Sun, 11 Mar 2007 02:51:06 +0000 (02:51 +0000)]
some url_is_streamed()==1 related fixes

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

17 years agoremove redundancy in AC-3 parser by using common tables from ac3tab.h
Justin Ruggles [Sun, 11 Mar 2007 02:13:05 +0000 (02:13 +0000)]
remove redundancy in AC-3 parser by using common tables from ac3tab.h

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

17 years agofix demuxing of broken MVI_3011.avi
Michael Niedermayer [Sat, 10 Mar 2007 19:30:59 +0000 (19:30 +0000)]
fix demuxing of broken MVI_3011.avi

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

17 years agoremove usage of deprecated functions in libnut.c (codec_get_id/tag)
Oded Shimon [Sat, 10 Mar 2007 18:39:58 +0000 (18:39 +0000)]
remove usage of deprecated functions in libnut.c (codec_get_id/tag)

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

17 years agoAdd doxygen file header to libnut.c
Oded Shimon [Sat, 10 Mar 2007 18:34:15 +0000 (18:34 +0000)]
Add doxygen file header to libnut.c

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

17 years agosmall improvements to the help output
Diego Biurrun [Sat, 10 Mar 2007 13:24:54 +0000 (13:24 +0000)]
small improvements to the help output

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

17 years agoUse - instead of _ for AMR options in help output.
Benoit Fouet [Sat, 10 Mar 2007 13:15:00 +0000 (13:15 +0000)]
Use - instead of _ for AMR options in help output.
patch by Benoit Fouet, benoit.fouet purplelabs com

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

17 years agomarkup/wording/spelling/formatting improvements for the last commit
Diego Biurrun [Sat, 10 Mar 2007 13:12:24 +0000 (13:12 +0000)]
markup/wording/spelling/formatting improvements for the last commit

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

17 years ago@section My bugreport/mail to ffmpeg-dev/user has not received any replies
Michael Niedermayer [Sat, 10 Mar 2007 12:37:37 +0000 (12:37 +0000)]
@section My bugreport/mail to ffmpeg-dev/user has not received any replies

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

17 years agojpeg fourcc
Michael Niedermayer [Sat, 10 Mar 2007 11:30:48 +0000 (11:30 +0000)]
jpeg fourcc

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

17 years agoSimplify, use avctx->frame_number.
Benjamin Larsson [Sat, 10 Mar 2007 09:20:07 +0000 (09:20 +0000)]
Simplify, use avctx->frame_number.

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

17 years ago--enable-mingw32 --> --target-os=mingw32
Víctor Paesa [Fri, 9 Mar 2007 19:41:04 +0000 (19:41 +0000)]
--enable-mingw32 --> --target-os=mingw32
patch by Victor Paesa, wzrlpy arsystel com

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

17 years agoFix typo in Doxygen comments.
Panagiotis Issaris [Fri, 9 Mar 2007 15:18:07 +0000 (15:18 +0000)]
Fix typo in Doxygen comments.

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

17 years agoRemove common code from AC-3 encoder and utilize ac3.c.
Justin Ruggles [Fri, 9 Mar 2007 13:57:42 +0000 (13:57 +0000)]
Remove common code from AC-3 encoder and utilize ac3.c.

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

17 years agoCreate ac3.c which will be used for AC-3 common code.
Justin Ruggles [Fri, 9 Mar 2007 13:54:44 +0000 (13:54 +0000)]
Create ac3.c which will be used for AC-3 common code.

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

17 years agoremove unused code, patch by Limin Wang <lance lmwang at gmail com>
Limin Wang [Fri, 9 Mar 2007 11:22:18 +0000 (11:22 +0000)]
remove unused code, patch by Limin Wang <lance lmwang at gmail com>

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

17 years agoprint codec parameters for audio too
Alex Beregszaszi [Fri, 9 Mar 2007 11:20:57 +0000 (11:20 +0000)]
print codec parameters for audio too

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

17 years agosimplify AC-3 bit allocation
Justin Ruggles [Fri, 9 Mar 2007 03:17:43 +0000 (03:17 +0000)]
simplify AC-3 bit allocation

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

17 years agocosmetics. remove space before semi-colon.
Justin Ruggles [Thu, 8 Mar 2007 23:38:50 +0000 (23:38 +0000)]
cosmetics. remove space before semi-colon.

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

17 years agoseems safer to set pts timebase to sample rate, fix some mp3
Baptiste Coudurier [Thu, 8 Mar 2007 22:14:04 +0000 (22:14 +0000)]
seems safer to set pts timebase to sample rate, fix some mp3

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

17 years agofix pts handling
Baptiste Coudurier [Thu, 8 Mar 2007 21:29:38 +0000 (21:29 +0000)]
fix pts handling

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

17 years agoSimplify gain block handling.
Ian Braithwaite [Thu, 8 Mar 2007 20:43:51 +0000 (20:43 +0000)]
Simplify gain block handling.

Patch by Ian Braithwaite <ian at braithwaite dot dk>

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

17 years agoDon't output the first two frames, since they don't contain valid audio.
Ian Braithwaite [Thu, 8 Mar 2007 19:47:03 +0000 (19:47 +0000)]
Don't output the first two frames, since they don't contain valid audio.
This also eases comparison of decoded output with Real's binary decoder.

Patch by Ian Braithwaite <ian at braithwaite dot dk>

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

17 years agofix drop frame timecode flag
Baptiste Coudurier [Thu, 8 Mar 2007 18:25:47 +0000 (18:25 +0000)]
fix drop frame timecode flag

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

17 years agoCorrections so that builds with DEBUG work
Michel Bardiaux [Thu, 8 Mar 2007 14:49:43 +0000 (14:49 +0000)]
Corrections so that builds with DEBUG work

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

17 years agoAs avcodec_decode_audio() is deprecated, replace it with avcodec_decode_audio2().
Limin Wang [Thu, 8 Mar 2007 11:58:50 +0000 (11:58 +0000)]
As avcodec_decode_audio() is deprecated, replace it with avcodec_decode_audio2().
Patch by Limin Wang, lance lmwang % gmail com.

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

17 years agobitrate sanity check (fixes assertion failure)
Michael Niedermayer [Thu, 8 Mar 2007 10:25:06 +0000 (10:25 +0000)]
bitrate sanity check (fixes assertion failure)

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

17 years agoRemove useless casts as recommended by Måns Rullgård.
Benoit Fouet [Thu, 8 Mar 2007 10:21:35 +0000 (10:21 +0000)]
Remove useless casts as recommended by Måns Rullgård.
Patch by Benoit Fouet, benoit fouet % purplelabs com.

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

17 years agoCosmetics in amr.c.
Benoit Fouet [Thu, 8 Mar 2007 10:11:31 +0000 (10:11 +0000)]
Cosmetics in amr.c.
 - remove carriage returns where (i find it) unneeded
 - don't break lines when defining variables
 - break line between variable definition and the rest of the code
Patch by Ben Fouet, benoit fouet % purplelabs com.

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

17 years agoMove the initialization on context definition. In amr.c, only the
Benoit Fouet [Thu, 8 Mar 2007 10:06:59 +0000 (10:06 +0000)]
Move the initialization on context definition.  In amr.c, only the
amr_wb_encode_frame function initialized its context on a different line as it
defined it.
Patch by Benoit Fouet, benoit fouet % purplelabs com.

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

17 years agoAdd PIX_FMT_PAL8 to isPacked().
Karl H. Beckers [Thu, 8 Mar 2007 10:02:49 +0000 (10:02 +0000)]
Add PIX_FMT_PAL8 to isPacked().
patch by "Karl H. Beckers", karl.h.beckers gmx net

Originally committed as revision 22487 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

17 years agoinclude only files actually built in SRCS
Måns Rullgård [Thu, 8 Mar 2007 00:24:14 +0000 (00:24 +0000)]
include only files actually built in SRCS

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

17 years agoUpdate the documentation to be consistent with the new unit for the "ab"
Panagiotis Issaris [Wed, 7 Mar 2007 18:17:16 +0000 (18:17 +0000)]
Update the documentation to be consistent with the new unit for the "ab"
parameter.

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

17 years agoRemove unnecessary the_end label.
Limin Wang [Wed, 7 Mar 2007 10:45:41 +0000 (10:45 +0000)]
Remove unnecessary the_end label.
patch by Limin Wang, lance.lmwang gmail com

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

17 years agoadd a -ab with default of 64k
Michael Niedermayer [Wed, 7 Mar 2007 09:51:45 +0000 (09:51 +0000)]
add a -ab with default of 64k
change -b to only apply to video
this returns -ab/-b to the old defautls and old behavior regarding ordering of them

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

17 years agoset defaults based on CodecType by using avcodec_get_context_defaults2()
Michael Niedermayer [Wed, 7 Mar 2007 09:50:05 +0000 (09:50 +0000)]
set defaults based on CodecType by using avcodec_get_context_defaults2()

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

17 years agoremove unused variables
Limin Wang [Wed, 7 Mar 2007 09:38:08 +0000 (09:38 +0000)]
remove unused variables
patch by Limin Wang % lance P lmwang A gmail P com %
Original thread:
Subj: [Ffmpeg-devel] [PATCH] remove unused variables
Date: 2007-03-07-07:37 AM

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

17 years agoadd avcodec_get_context_defaults2() / avcodec_alloc_context2() which take CodecType...
Michael Niedermayer [Wed, 7 Mar 2007 09:29:44 +0000 (09:29 +0000)]
add avcodec_get_context_defaults2() / avcodec_alloc_context2() which take CodecType as an additional parameter
also mark them as NOT part of the public API yet, so we can change their argument to CodecID if we decide to do so

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

17 years agoonly store command line parameters in contexts with matching codec_type
Michael Niedermayer [Wed, 7 Mar 2007 08:34:52 +0000 (08:34 +0000)]
only store command line parameters in contexts with matching codec_type

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

17 years agoAdd watermark and drawtext descriptions, plus some random fixes.
Piero Bugoni [Wed, 7 Mar 2007 08:34:43 +0000 (08:34 +0000)]
Add watermark and drawtext descriptions, plus some random fixes.
patch by Piero Bugoni, crboca32 yahoo com

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

17 years agoadd av_opt_set_defaults2() which sets just defaults from AVOptions whos flags match...
Michael Niedermayer [Wed, 7 Mar 2007 02:21:35 +0000 (02:21 +0000)]
add av_opt_set_defaults2() which sets just defaults from AVOptions whos flags match a user specified & mask = flags

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