platform/upstream/libav.git
16 years agoUse PIX_FMT_NONE instead of -1 in AVCodec.pix_fmts.
Carl Eugen Hoyos [Sun, 12 Oct 2008 20:22:55 +0000 (20:22 +0000)]
Use PIX_FMT_NONE instead of -1 in AVCodec.pix_fmts.

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

16 years agoDon't include byteswap.h anymore.
Carl Eugen Hoyos [Sun, 12 Oct 2008 19:50:24 +0000 (19:50 +0000)]
Don't include byteswap.h anymore.

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

16 years agoRemove unused variables
David Conrad [Sun, 12 Oct 2008 19:41:17 +0000 (19:41 +0000)]
Remove unused variables

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

16 years agoReplace sed trickery in the gcc dependency generation command by use of
Diego Biurrun [Sun, 12 Oct 2008 17:31:25 +0000 (17:31 +0000)]
Replace sed trickery in the gcc dependency generation command by use of
the -MT option as suggested by Ramiro.

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

16 years agoFix inconsistent indent.
Stefano Sabatini [Sun, 12 Oct 2008 16:35:58 +0000 (16:35 +0000)]
Fix inconsistent indent.

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

16 years agoRevert the merger of LC_ALL declaration and export.
Diego Biurrun [Sun, 12 Oct 2008 15:56:22 +0000 (15:56 +0000)]
Revert the merger of LC_ALL declaration and export.
This part of the configure script might be run by non-POSIX shells.

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

16 years agoCheck requirement for libx264 version in configure using
Stefano Sabatini [Sun, 12 Oct 2008 09:19:33 +0000 (09:19 +0000)]
Check requirement for libx264 version in configure using
require_cpp_condition().

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

16 years agoImplement CPP condition check support in configure.
Stefano Sabatini [Sun, 12 Oct 2008 09:07:14 +0000 (09:07 +0000)]
Implement CPP condition check support in configure.

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

16 years agonellymoserenc: flush PutBitContext after use.
Ramiro Polla [Sat, 11 Oct 2008 14:52:00 +0000 (14:52 +0000)]
nellymoserenc: flush PutBitContext after use.

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

16 years agoaac_parser: fix strict aliasing violation
Måns Rullgård [Sat, 11 Oct 2008 11:21:45 +0000 (11:21 +0000)]
aac_parser: fix strict aliasing violation

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

16 years agoOnly special-case absolute DOS paths on systems that support them.
Ramiro Polla [Fri, 10 Oct 2008 16:59:37 +0000 (16:59 +0000)]
Only special-case absolute DOS paths on systems that support them.

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

16 years agoMake configure --help return 0.
Stefano Sabatini [Thu, 9 Oct 2008 20:10:22 +0000 (20:10 +0000)]
Make configure --help return 0.

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

16 years agoDocument libavfilter filters options in configure -h.
Stefano Sabatini [Thu, 9 Oct 2008 19:16:58 +0000 (19:16 +0000)]
Document libavfilter filters options in configure -h.

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

16 years agoget_pixels_sse2, ~+12% performance compared to mmx
Baptiste Coudurier [Thu, 9 Oct 2008 18:36:49 +0000 (18:36 +0000)]
get_pixels_sse2, ~+12% performance compared to mmx

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

16 years agoLimit discontinuity handling to containers that allow discontinuities.
Michael Niedermayer [Thu, 9 Oct 2008 18:28:43 +0000 (18:28 +0000)]
Limit discontinuity handling to containers that allow discontinuities.

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

16 years agoMark some symbols in swscale.c as constant.
Diego Pettenò [Thu, 9 Oct 2008 11:13:14 +0000 (11:13 +0000)]
Mark some symbols in swscale.c as constant.

These are only used in swscale_template.c (and thus don't need to be
made extern), and can be declared as ASM constants.

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

16 years agoMark dither_2x2_{8,4} static to swscale.c
Diego Pettenò [Thu, 9 Oct 2008 11:12:38 +0000 (11:12 +0000)]
Mark dither_2x2_{8,4} static to swscale.c

These two tables are not used outside swscale.c even though they are
declared also in yuv2rgb.c.

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

16 years agoMark variation-specific interleaveBytes static.
Diego Pettenò [Thu, 9 Oct 2008 11:11:35 +0000 (11:11 +0000)]
Mark variation-specific interleaveBytes static.

These functions are never called by themselves, the alias
interleaveBytes is used instead.

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

16 years agoInvert logic for the single-pass in swScale() functions.
Diego Pettenò [Thu, 9 Oct 2008 11:10:30 +0000 (11:10 +0000)]
Invert logic for the single-pass in swScale() functions.

Instead of having a firstTime variable defaulting to 1, have a
warnedAlready defaulting to 0. While this should make no difference in
code speed at runtime, it allows to aggregate the four bytes of that
variable with clip_table in .bss section, rather than issuing a .data
section just for that.

As it is, libswscale require no .data section but .data.rel.ro (that
can be mitigated by prelinking), so the change might actually save one
page of memory at runtime (per process).

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

16 years agoChange variable types from int to enum PixelFormat.
Carl Eugen Hoyos [Thu, 9 Oct 2008 08:36:04 +0000 (08:36 +0000)]
Change variable types from int to enum PixelFormat.
Fixes icc warning #188: enumerated type mixed with another type

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

16 years agoMake gcc 2.95 happy.
Michael Niedermayer [Wed, 8 Oct 2008 20:55:22 +0000 (20:55 +0000)]
Make gcc 2.95 happy.

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

16 years agoDo not set src[1] to the palette, it is now in the context
Vitor Sessak [Wed, 8 Oct 2008 17:48:23 +0000 (17:48 +0000)]
Do not set src[1] to the palette, it is now in the context

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

16 years agoAdd a new unscaled PAL8 -> RGB converter.
Vitor Sessak [Wed, 8 Oct 2008 17:46:22 +0000 (17:46 +0000)]
Add a new unscaled PAL8 -> RGB converter.

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

16 years agocosmetics: indentation
Aurelien Jacobs [Wed, 8 Oct 2008 17:28:49 +0000 (17:28 +0000)]
cosmetics: indentation

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

16 years agolookup AVCodec by name
Aurelien Jacobs [Wed, 8 Oct 2008 17:27:45 +0000 (17:27 +0000)]
lookup AVCodec by name

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

16 years agoallows calling avcodec_find_(en|de)coder_by_name with NULL parameter
Aurelien Jacobs [Wed, 8 Oct 2008 17:19:26 +0000 (17:19 +0000)]
allows calling avcodec_find_(en|de)coder_by_name with NULL parameter

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

16 years agoChange one more variable type from int to enum PixelFormat.
Aurelien Jacobs [Wed, 8 Oct 2008 11:59:01 +0000 (11:59 +0000)]
Change one more variable type from int to enum PixelFormat.
This one was missing from r27727.

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

16 years agoAdd a bunch of const qualifiers to function arguments.
Diego Biurrun [Tue, 7 Oct 2008 21:41:25 +0000 (21:41 +0000)]
Add a bunch of const qualifiers to function arguments.
Taken from the upstream libmpeg2 version of the file.

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

16 years agoChange variable types from int to enum PixelFormat.
Carl Eugen Hoyos [Tue, 7 Oct 2008 19:44:39 +0000 (19:44 +0000)]
Change variable types from int to enum PixelFormat.
Fixes icc warning #188: enumerated type mixed with another type

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

16 years agoreplacing frame_rate and frame_rate_base with an AVRational time_base
Roman Shaposhnik [Tue, 7 Oct 2008 16:59:18 +0000 (16:59 +0000)]
replacing frame_rate and frame_rate_base with an AVRational time_base

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

16 years agosimplifying code as per Michael's suggestion
Roman Shaposhnik [Tue, 7 Oct 2008 16:14:33 +0000 (16:14 +0000)]
simplifying code as per Michael's suggestion

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

16 years agocosmetic updates as per Michael's suggestion
Roman Shaposhnik [Tue, 7 Oct 2008 16:07:15 +0000 (16:07 +0000)]
cosmetic updates as per Michael's suggestion

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

16 years agovertically aligning as per Michael's suggestion
Roman Shaposhnik [Tue, 7 Oct 2008 16:06:18 +0000 (16:06 +0000)]
vertically aligning as per Michael's suggestion

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

16 years agounrolling the loops as per Michael's suggestion
Roman Shaposhnik [Tue, 7 Oct 2008 15:52:20 +0000 (15:52 +0000)]
unrolling the loops as per  Michael's suggestion

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

16 years agofixing a bug that prevented proper unweighting table to be selected
Roman Shaposhnik [Tue, 7 Oct 2008 15:51:29 +0000 (15:51 +0000)]
fixing a bug that prevented proper unweighting table to be selected

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

16 years agoDoxygenizing the comments
Roman Shaposhnik [Tue, 7 Oct 2008 15:50:29 +0000 (15:50 +0000)]
Doxygenizing the comments

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

16 years agosimplifying the code as per Michael's suggestion
Roman Shaposhnik [Tue, 7 Oct 2008 15:49:45 +0000 (15:49 +0000)]
simplifying the code as per Michael's suggestion

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

16 years agoSync cosmetics from upstream.
Diego Biurrun [Tue, 7 Oct 2008 08:37:20 +0000 (08:37 +0000)]
Sync cosmetics from upstream.

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

16 years agoRename variables to clarify the channel coupling element and corresponding
Alex Converse [Mon, 6 Oct 2008 16:22:11 +0000 (16:22 +0000)]
Rename variables to clarify the channel coupling element and corresponding
target channel element.

Patch by Alex Converse (alex converse gmail com)

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

16 years agoCorrect documentation of ch_select array.
Alex Converse [Mon, 6 Oct 2008 16:18:18 +0000 (16:18 +0000)]
Correct documentation of ch_select array.

Patch by Alex Converse (alex converse gmail com)

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

16 years agoCorrections to channel coupling code to attain conformance for appropriate
Alex Converse [Mon, 6 Oct 2008 16:12:30 +0000 (16:12 +0000)]
Corrections to channel coupling code to attain conformance for appropriate
streams.

Slightly reworked from a patch by Alex Converse (alex converse gmail com)

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

16 years agoSynchronise presets with recent subme/brdo/bidir_refine -> subme changes in
Robert Swain [Mon, 6 Oct 2008 10:13:52 +0000 (10:13 +0000)]
Synchronise presets with recent subme/brdo/bidir_refine -> subme changes in
libx264

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

16 years agoRemove obsolete liba52 wrapper code.
Diego Biurrun [Mon, 6 Oct 2008 05:17:57 +0000 (05:17 +0000)]
Remove obsolete liba52 wrapper code.

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

16 years agoMake less verbose a sentence in the preset system documentation.
Stefano Sabatini [Sun, 5 Oct 2008 22:41:43 +0000 (22:41 +0000)]
Make less verbose a sentence in the preset system documentation.

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

16 years agogcc-apple specific fallback not necessary anymore (btw no apple hardware is less...
Luca Barbato [Sun, 5 Oct 2008 21:00:16 +0000 (21:00 +0000)]
gcc-apple specific fallback not necessary anymore (btw no apple hardware is less than a Intel core, thus it won't come there w/out disabling all the optimizations)

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

16 years agoCosmetics: rename mace3_decode_frame() to mace_decode_frame()
Vitor Sessak [Sun, 5 Oct 2008 20:12:20 +0000 (20:12 +0000)]
Cosmetics: rename mace3_decode_frame() to mace_decode_frame()

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

16 years agoAvoid code duplication between mace3_decode_frame() and mace6_decode_frame()
Vitor Sessak [Sun, 5 Oct 2008 20:06:40 +0000 (20:06 +0000)]
Avoid code duplication between mace3_decode_frame() and mace6_decode_frame()

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

16 years agoRemove unused and invalid code from ffmpeg.c.
Stefano Sabatini [Sun, 5 Oct 2008 17:26:09 +0000 (17:26 +0000)]
Remove unused and invalid code from ffmpeg.c.

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

16 years agoUse HAVE_FAST_64BIT instead of nonstandard __WORDSIZE macro.
Diego Biurrun [Sun, 5 Oct 2008 16:47:55 +0000 (16:47 +0000)]
Use HAVE_FAST_64BIT instead of nonstandard __WORDSIZE macro.

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

16 years agoUse a for() instead of triplicating code.
Vitor Sessak [Sun, 5 Oct 2008 16:33:43 +0000 (16:33 +0000)]
Use a for() instead of triplicating code.

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

16 years agoRegister RV-[34] block specific feature for long future loop filter
Kostya Shishkov [Sun, 5 Oct 2008 16:11:12 +0000 (16:11 +0000)]
Register RV-[34] block specific feature for long future loop filter

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

16 years agoFactorize duplicate table reading code.
Vitor Sessak [Sun, 5 Oct 2008 14:36:10 +0000 (14:36 +0000)]
Factorize duplicate table reading code.

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

16 years agoDocument the preset files system.
Stefano Sabatini [Sun, 5 Oct 2008 09:45:54 +0000 (09:45 +0000)]
Document the preset files system.

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

16 years ago10l, fix amrwb sample rate
Baptiste Coudurier [Sat, 4 Oct 2008 23:30:35 +0000 (23:30 +0000)]
10l, fix amrwb sample rate

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

16 years agomatroskaenc: correct muxing of ASS packets
Aurelien Jacobs [Sat, 4 Oct 2008 22:57:56 +0000 (22:57 +0000)]
matroskaenc: correct muxing of ASS packets
 - split packets to store one ASS event line per Matroska block
 - reformat ASS events to Matroska modified format
 - extract display duration for ASS events to store as Matroska block duration

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

16 years agomatroskaenc: use correct EBML ID for block duration
Aurelien Jacobs [Sat, 4 Oct 2008 22:47:10 +0000 (22:47 +0000)]
matroskaenc: use correct EBML ID for block duration

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

16 years agomatroskaenc: pass the packet size directly as parameter of mkv_blockgroup_size()
Aurelien Jacobs [Sat, 4 Oct 2008 22:44:50 +0000 (22:44 +0000)]
matroskaenc: pass the packet size directly as parameter of mkv_blockgroup_size()

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

16 years agomatroskaenc: remove useless mkv_block_size() function
Aurelien Jacobs [Sat, 4 Oct 2008 22:41:58 +0000 (22:41 +0000)]
matroskaenc: remove useless mkv_block_size() function

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

16 years agoFavor even chunk sizes in ambiguous cases.
Michael Niedermayer [Sat, 4 Oct 2008 22:26:43 +0000 (22:26 +0000)]
Favor even chunk sizes in ambiguous cases.
Fixes transcode_069_produces_uneven_chunk_size.avi.

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

16 years agoFactorize stream id parsing.
Michael Niedermayer [Sat, 4 Oct 2008 21:57:01 +0000 (21:57 +0000)]
Factorize stream id parsing.

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

16 years agoMake size variables in dyn_buf_write unsigned so gcc will not optimize the
Reimar Döffinger [Sat, 4 Oct 2008 21:11:58 +0000 (21:11 +0000)]
Make size variables in dyn_buf_write unsigned so gcc will not optimize the
check away (due to assuming signed overflows do not happen).

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

16 years agoRemove b5Dither, g5Dither and r5Dither from libswscale.
Carl Eugen Hoyos [Sat, 4 Oct 2008 18:50:39 +0000 (18:50 +0000)]
Remove b5Dither, g5Dither and r5Dither from libswscale.

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

16 years agoMerge variable declaration and export.
Diego Biurrun [Sat, 4 Oct 2008 17:11:54 +0000 (17:11 +0000)]
Merge variable declaration and export.

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

16 years agoDeclare ff_pw_53 and ff_pw_18 as assembler constants.
Diego Pettenò [Sat, 4 Oct 2008 16:48:07 +0000 (16:48 +0000)]
Declare ff_pw_53 and ff_pw_18 as assembler constants.
Patch by Diego 'Flameeyes' Petten

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

16 years agoRemove g6Dither from libswscale.
Carl Eugen Hoyos [Sat, 4 Oct 2008 16:40:35 +0000 (16:40 +0000)]
Remove g6Dither from libswscale.

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

16 years agoFix 'make checkheaders', based on a patch by Diego Pettenò, flameeyes gmail com.
Diego Biurrun [Sat, 4 Oct 2008 11:20:02 +0000 (11:20 +0000)]
Fix 'make checkheaders', based on a patch by Diego Pettenò, flameeyes gmail com.

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

16 years agoMove VP3 loop filter to DSPContext
David Conrad [Sat, 4 Oct 2008 10:26:17 +0000 (10:26 +0000)]
Move VP3 loop filter to DSPContext

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

16 years agoRemove MPlayer-specific MP_WORDSIZE hack.
Diego Biurrun [Sat, 4 Oct 2008 09:52:07 +0000 (09:52 +0000)]
Remove MPlayer-specific MP_WORDSIZE hack.

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

16 years agoMark the ff_find_best_tables symbol static to msmpeg4. Patch by Diego Pettenò
Diego Pettenò [Sat, 4 Oct 2008 09:43:11 +0000 (09:43 +0000)]
Mark the ff_find_best_tables symbol static to msmpeg4. Patch by Diego Pettenò

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

16 years agoMark ff_div6 and ff_rem6 static in h264.c. Patch by Diego Pettenò
Diego Pettenò [Sat, 4 Oct 2008 09:36:35 +0000 (09:36 +0000)]
Mark ff_div6 and ff_rem6 static in h264.c. Patch by Diego Pettenò

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

16 years agoMark list heads static. Patch by Diego Pettenò
Diego Pettenò [Sat, 4 Oct 2008 09:29:31 +0000 (09:29 +0000)]
Mark list heads static. Patch by Diego Pettenò

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

16 years agoMark print_all_lib_versions() static in cmdutils.c . Patch by Diego Pettenò
Diego Pettenò [Sat, 4 Oct 2008 09:25:39 +0000 (09:25 +0000)]
Mark print_all_lib_versions() static in cmdutils.c . Patch by Diego Pettenò

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

16 years agoMark ffplay internal variables static. Patch by Diego Pettenò
Diego Pettenò [Sat, 4 Oct 2008 09:23:18 +0000 (09:23 +0000)]
Mark ffplay internal variables static. Patch by Diego Pettenò

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

16 years agoReindent after r15544.
Ronald S. Bultje [Sat, 4 Oct 2008 04:19:46 +0000 (04:19 +0000)]
Reindent after r15544.

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

16 years agoImplement RDTDemuxContext, which contains RDT-specific data (similar to
Ronald S. Bultje [Sat, 4 Oct 2008 04:19:15 +0000 (04:19 +0000)]
Implement RDTDemuxContext, which contains RDT-specific data (similar to
RTPDemuxContext for RTP) for these streams where the transport protocol
is RDT (as served by Realmedia servers).

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

16 years agoMake RTPDemuxContext opaque in rtsp.c, renaming it to tx_ctx (tx=transport)
Ronald S. Bultje [Sat, 4 Oct 2008 04:17:59 +0000 (04:17 +0000)]
Make RTPDemuxContext opaque in rtsp.c, renaming it to tx_ctx (tx=transport)
and making its type a void pointer. See discussion in "RDT/Realmedia patches
#2" thread on ML.

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

16 years agoRemove access into RTPDemuxContext in rtsp.c, which allows making it opaque
Ronald S. Bultje [Sat, 4 Oct 2008 04:16:44 +0000 (04:16 +0000)]
Remove access into RTPDemuxContext in rtsp.c, which allows making it opaque
(and thus preparing for the introduction of RDTDemuxContext) in a next patch.
See discussion in "RDT/Realmedia patches #2" thread on ML.

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

16 years agoChange function prototype of RTPDynamicPayloadHandler.parse_packet() to
Ronald S. Bultje [Sat, 4 Oct 2008 04:15:06 +0000 (04:15 +0000)]
Change function prototype of RTPDynamicPayloadHandler.parse_packet() to
not use RTPDemuxContext, but rather take a pointer to the payload context
directly. This allows using payload handlers regardless over the transport
over which they were sent, and prepares for the introduction of a future
RDTDemuxContext. See discussion in "RDT/Realmedia patches #2" thread on ML.

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

16 years agoRename RTP payload contexts to PayloadContext, suggested by Luca in
Ronald S. Bultje [Sat, 4 Oct 2008 04:11:12 +0000 (04:11 +0000)]
Rename RTP payload contexts to PayloadContext, suggested by Luca in
"RDT/Realmedia patches #2" thread on ML.

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

16 years ago100l forgot return type.
Michael Niedermayer [Sat, 4 Oct 2008 01:11:04 +0000 (01:11 +0000)]
100l forgot return type.

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

16 years agoFix indention of NAL type enum.
Michael Niedermayer [Sat, 4 Oct 2008 01:08:48 +0000 (01:08 +0000)]
Fix indention of NAL type enum.

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

16 years agoff_parse_close() is not the correct function for H264Context.
Michael Niedermayer [Fri, 3 Oct 2008 23:08:52 +0000 (23:08 +0000)]
ff_parse_close() is not the correct function for H264Context.

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

16 years agoset sample rate for amr to allow stream copy since no decoder is present,
Baptiste Coudurier [Fri, 3 Oct 2008 19:37:41 +0000 (19:37 +0000)]
set sample rate for amr to allow stream copy since no decoder is present,
3gp does not store sample rate in stsd in fact. Fixes #674.

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

16 years agoFFmpeg is not made for bats: Fix 22050Hz vs. 22050kHz typo.
Diego Biurrun [Fri, 3 Oct 2008 19:14:48 +0000 (19:14 +0000)]
FFmpeg is not made for bats: Fix 22050Hz vs. 22050kHz typo.

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

16 years agoMove nal unit types enum and EXTENDED_SAR #define from h264data.h to h264.h.
Michael Niedermayer [Fri, 3 Oct 2008 13:30:19 +0000 (13:30 +0000)]
Move nal unit types enum and EXTENDED_SAR #define from h264data.h to h264.h.

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

16 years agoRemove offset_t typedef and use int64_t directly instead.
Diego Biurrun [Fri, 3 Oct 2008 10:16:29 +0000 (10:16 +0000)]
Remove offset_t typedef and use int64_t directly instead.
The name offset_t is easily confused with the standard off_t type and
*_t is POSIX reserved namespace if any POSIX header is included.

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

16 years agoStop Sun Studio from issuing a warning during configure when passed
Diego Pettenò [Fri, 3 Oct 2008 00:19:05 +0000 (00:19 +0000)]
Stop Sun Studio from issuing a warning during configure when passed
the --version option.
patch by Diego 'Flameeyes' Pettenò, flameeyes gmail com

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

16 years agoMake sure strcasecmp() is declared.
Diego Pettenò [Fri, 3 Oct 2008 00:16:19 +0000 (00:16 +0000)]
Make sure strcasecmp() is declared.
On recent glibc versions strings.h is not included by default, so the compiler
will issue a warning for implicit declaration of strcasecmp().
patch by Diego 'Flameeyes' Pettenò, flameeyes gmail com

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

16 years agoatrac3dec: cosmetics: indentation
Aurelien Jacobs [Thu, 2 Oct 2008 21:17:33 +0000 (21:17 +0000)]
atrac3dec: cosmetics: indentation

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

16 years agomatroskadec: cosmetics: indentation
Aurelien Jacobs [Thu, 2 Oct 2008 21:15:48 +0000 (21:15 +0000)]
matroskadec: cosmetics: indentation

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

16 years agomatroskadec: don't merge packets which have no timestamp
Aurelien Jacobs [Thu, 2 Oct 2008 21:14:56 +0000 (21:14 +0000)]
matroskadec: don't merge packets which have no timestamp

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

16 years agoUse __typeof__ instead of GCC-specific typeof keyword.
Diego Pettenò [Thu, 2 Oct 2008 20:01:13 +0000 (20:01 +0000)]
Use __typeof__ instead of GCC-specific typeof keyword.
The typeof keyword is disabled by default when building with -std=c99
as it's a GNU extension.
ICC supports the __typeof__ keyword as well as typeof.

Patch by Diego 'Flameeyes' Pettenò %flameeyes A gmail P com%

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

16 years agofix warning reported by Intel C compiler:
Diego Pettenò [Thu, 2 Oct 2008 19:24:26 +0000 (19:24 +0000)]
fix warning reported by Intel C compiler:
libavcodec/h264_parser.c(77): warning #589: transfer of control
bypasses initialization of:
           variable "v" (declared at line 58)
                 goto found;
This new form also improves readability.

Patch by Diego 'Flameeyes' Pettenò %flameeyes A gmail P com%

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

16 years agoIntel C compiler warns on this assignment in this if(), probably
Diego Pettenò [Thu, 2 Oct 2008 19:20:11 +0000 (19:20 +0000)]
Intel C compiler warns on this assignment in this if(), probably
because it's being assigned as a constant. To avoid a spurious warning,
split it into two instructions, which should also make it more logical
once the FIXME is resolved.
patch by Diego 'Flameeyes' Pettenò %flameeyes A gmail P com%

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

16 years agoRemove duplicate "const" qualifier for *matrix.
Diego Pettenò [Thu, 2 Oct 2008 19:09:56 +0000 (19:09 +0000)]
Remove duplicate "const" qualifier for *matrix.
This silences out a warning when compiling with Intel C Compiler.
Patch by Diego 'Flameeyes' Pettenò %flameeyes A gmail P com%

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

16 years agox264 has removed the b-rdo and bime options, and instead integrated
Jason Garrett-Glaser [Thu, 2 Oct 2008 19:05:35 +0000 (19:05 +0000)]
x264 has removed the b-rdo and bime options, and instead integrated
them into the subme number to attempt to reduce the number of
unnecessary options.  subme now scales up to 9.
Patch by Jason Garett-Glaser %darkshikari A gmail P com%

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

16 years agoMinGW runtime 3.15 has a wrapper for usleep().
Ramiro Polla [Thu, 2 Oct 2008 17:43:27 +0000 (17:43 +0000)]
MinGW runtime 3.15 has a wrapper for usleep().

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

16 years agoSpecify minimum version for some MinGW packages.
Ramiro Polla [Thu, 2 Oct 2008 17:39:30 +0000 (17:39 +0000)]
Specify minimum version for some MinGW packages.

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

16 years agoUse M_PI from libavutil/mathematics.h instead of defining PI ourselves
Reimar Döffinger [Thu, 2 Oct 2008 16:29:15 +0000 (16:29 +0000)]
Use M_PI from libavutil/mathematics.h instead of defining PI ourselves
in libavcodec/apiexample.c.

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

16 years agoMake 8svx codec context table pointer const to match the type of the
Reimar Döffinger [Thu, 2 Oct 2008 16:29:06 +0000 (16:29 +0000)]
Make 8svx codec context table pointer const to match the type of the
array.

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