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

16 years agospelling cosmetics
Diego Biurrun [Thu, 2 Oct 2008 16:28:58 +0000 (16:28 +0000)]
spelling cosmetics

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

16 years agoUse enum typers instead of int.
Diego Pettenò [Thu, 2 Oct 2008 16:03:00 +0000 (16:03 +0000)]
Use enum typers instead of int.
Patch by Diego 'Flameeyes' Pettenò: flameeyes gmail

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

16 years agoRemove useless cyuv_decode_end function
Reimar Döffinger [Thu, 2 Oct 2008 15:52:12 +0000 (15:52 +0000)]
Remove useless cyuv_decode_end function

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

16 years agoAdd (additional) const to many global tables.
Reimar Döffinger [Thu, 2 Oct 2008 15:52:04 +0000 (15:52 +0000)]
Add (additional) const to many global tables.

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

16 years agoUse "static const" instead of "const static"
Reimar Döffinger [Thu, 2 Oct 2008 15:51:44 +0000 (15:51 +0000)]
Use "static const" instead of "const static"

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

16 years agocosmetics: Change comment style for consistency.
Diego Biurrun [Thu, 2 Oct 2008 15:50:24 +0000 (15:50 +0000)]
cosmetics: Change comment style for consistency.

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

16 years agoUpdate copyright years.
Diego Biurrun [Thu, 2 Oct 2008 15:44:59 +0000 (15:44 +0000)]
Update copyright years.

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

16 years agoGlobally set LC_ALL=C to prevent locale issues from breaking tests.
Diego Biurrun [Thu, 2 Oct 2008 15:44:24 +0000 (15:44 +0000)]
Globally set LC_ALL=C to prevent locale issues from breaking tests.

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

16 years agoRename some variables and add some comments to try to be a bit more clear.
Benoit Fouet [Thu, 2 Oct 2008 15:27:13 +0000 (15:27 +0000)]
Rename some variables and add some comments to try to be a bit more clear.

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

16 years agoAllow using DECLARE_ALIGNED with Sun cc.
Carl Eugen Hoyos [Thu, 2 Oct 2008 10:47:05 +0000 (10:47 +0000)]
Allow using DECLARE_ALIGNED with Sun cc.

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

16 years agoRename copy_picture to ff_copy_picture.
Carl Eugen Hoyos [Thu, 2 Oct 2008 00:27:09 +0000 (00:27 +0000)]
Rename copy_picture to ff_copy_picture.

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

16 years agoFix memleak for currupt input.
Carl Eugen Hoyos [Wed, 1 Oct 2008 21:47:49 +0000 (21:47 +0000)]
Fix memleak for currupt input.

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

16 years agocosmetics, remove useless spaces
Baptiste Coudurier [Wed, 1 Oct 2008 20:45:06 +0000 (20:45 +0000)]
cosmetics, remove useless spaces

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

16 years agoCosmetics: reindent
David Conrad [Wed, 1 Oct 2008 14:48:54 +0000 (14:48 +0000)]
Cosmetics: reindent

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

16 years agoUnneeded else
David Conrad [Wed, 1 Oct 2008 14:48:35 +0000 (14:48 +0000)]
Unneeded else

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

16 years agoUnneeded braces
David Conrad [Wed, 1 Oct 2008 14:48:16 +0000 (14:48 +0000)]
Unneeded braces

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

16 years agoReturn if unpacking motion vectors for a keyframe
David Conrad [Wed, 1 Oct 2008 14:48:00 +0000 (14:48 +0000)]
Return if unpacking motion vectors for a keyframe

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

16 years agoCosmetics: indentation
David Conrad [Wed, 1 Oct 2008 14:44:30 +0000 (14:44 +0000)]
Cosmetics: indentation

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

16 years agoVisible width/height fields were added in Theora 3.2
David Conrad [Wed, 1 Oct 2008 14:43:08 +0000 (14:43 +0000)]
Visible width/height fields were added in Theora 3.2

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

16 years agofilter_limit_values only needs 7 bits, make its tables smaller
David Conrad [Wed, 1 Oct 2008 14:40:29 +0000 (14:40 +0000)]
filter_limit_values only needs 7 bits, make its tables smaller

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

16 years agoFix indentation.
Benoit Fouet [Wed, 1 Oct 2008 12:48:26 +0000 (12:48 +0000)]
Fix indentation.

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

16 years agoUse parse_packet vfunc in RTPDynamicProtocolHandler instead of hardcoding
Ronald S. Bultje [Wed, 1 Oct 2008 12:38:41 +0000 (12:38 +0000)]
Use parse_packet vfunc in RTPDynamicProtocolHandler instead of hardcoding
the use of rdt_parse_packet(). See "RDT/Realmedia patches #2" thread on ML.

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

16 years agoThis patch refactors RDT packet header parsing so that it can be used in
Ronald S. Bultje [Wed, 1 Oct 2008 12:37:07 +0000 (12:37 +0000)]
This patch refactors RDT packet header parsing so that it can be used in
rtsp.c to detect the ID of the packet source also in case of TCP streams.
This allows proper playback of RDT streams with multiple stream types, e.g.
audio + video. Accepted by LucaB in "RDT/Realmedia patches #2" thread on ML.

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

16 years agoRemove useless context variable.
Benoit Fouet [Wed, 1 Oct 2008 08:29:19 +0000 (08:29 +0000)]
Remove useless context variable.

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

16 years agoMerge declaration and assignment.
Benoit Fouet [Wed, 1 Oct 2008 08:27:37 +0000 (08:27 +0000)]
Merge declaration and assignment.

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

16 years agoInterleaved forward/backward channels processing in order to increase chances
Siarhei Siamashka [Wed, 1 Oct 2008 07:28:34 +0000 (07:28 +0000)]
Interleaved forward/backward channels processing in order to increase chances
of stepping on already cached data for the cores with extremely small data
cache.
Patch by Siarhei Siamashka: name dot surname at gmail

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

16 years agoCosmetics: indentation
David Conrad [Tue, 30 Sep 2008 19:51:02 +0000 (19:51 +0000)]
Cosmetics: indentation

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

16 years agoMerge (vp3|theora)_calculate_pixel_addresses
David Conrad [Tue, 30 Sep 2008 19:50:43 +0000 (19:50 +0000)]
Merge (vp3|theora)_calculate_pixel_addresses

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

16 years agoMissed hunks of last commit
David Conrad [Tue, 30 Sep 2008 19:22:20 +0000 (19:22 +0000)]
Missed hunks of last commit

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

16 years agoRemove unused vp3 debugging info
David Conrad [Tue, 30 Sep 2008 19:18:22 +0000 (19:18 +0000)]
Remove unused vp3 debugging info

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

16 years agoMove iv_decode_frame function to remove a forward declaration.
Benoit Fouet [Tue, 30 Sep 2008 14:43:55 +0000 (14:43 +0000)]
Move iv_decode_frame function to remove a forward declaration.

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

16 years agoRemove useless lines.
Benoit Fouet [Tue, 30 Sep 2008 14:41:11 +0000 (14:41 +0000)]
Remove useless lines.

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

16 years agoReindent whole file.
Benoit Fouet [Tue, 30 Sep 2008 14:22:10 +0000 (14:22 +0000)]
Reindent whole file.

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

16 years agoReindent after previous patches.
Ronald S. Bultje [Tue, 30 Sep 2008 13:27:19 +0000 (13:27 +0000)]
Reindent after previous patches.

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

16 years agoImplement a RTSPTransport field, which allows proper separation of server
Ronald S. Bultje [Tue, 30 Sep 2008 13:26:20 +0000 (13:26 +0000)]
Implement a RTSPTransport field, which allows proper separation of server
types and their non-standard extensions, and the data they serve. Practically,
this patch allows Real servers to serve normal non-RDT (standard RTP) data.
See discussion on ML in "Realmedia patch" thread.

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

16 years agoRemove access to rdt_data struct in functions called outside of the
Ronald S. Bultje [Tue, 30 Sep 2008 13:23:33 +0000 (13:23 +0000)]
Remove access to rdt_data struct in functions called outside of the
DynamicProtocol* context. Doing so could lead to problems if we're accessing
Real servers serving non-RDT data (or the other way around). Temporarily,
this patch adds a _subscribe2() function which will soon be removed in one
of the subsequent commits. OK'ed by Luca in "Realmedia patch" thread on ML.

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

16 years agoSend improper UDP SETUP request, which is what Realmedia servers expect.
Ronald S. Bultje [Tue, 30 Sep 2008 13:20:23 +0000 (13:20 +0000)]
Send improper UDP SETUP request, which is what Realmedia servers expect.
See discussion on ML in "Realmedia patch" thread.

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

16 years agoRename RTSPProtocol to RTSPLowerTransport, so that its name properly tells us
Ronald S. Bultje [Tue, 30 Sep 2008 13:18:41 +0000 (13:18 +0000)]
Rename RTSPProtocol to RTSPLowerTransport, so that its name properly tells us
that it only describes the lower-level transport (TCP vs. UDP) and not the
actual data layout (e.g. RDT vs. RTP). See discussion in "Realmedia patch"
thread on ML.

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

16 years agoIndent.
Benoit Fouet [Tue, 30 Sep 2008 11:55:40 +0000 (11:55 +0000)]
Indent.

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

16 years agoSimplify iv_free_func().
Benoit Fouet [Tue, 30 Sep 2008 11:55:20 +0000 (11:55 +0000)]
Simplify iv_free_func().

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

16 years agoMove allocated buffer out of YUV buffer structure.
Benoit Fouet [Tue, 30 Sep 2008 11:51:44 +0000 (11:51 +0000)]
Move allocated buffer out of YUV buffer structure.

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

16 years agoRemove useless initializations.
Benoit Fouet [Tue, 30 Sep 2008 11:46:37 +0000 (11:46 +0000)]
Remove useless initializations.

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

16 years agoCheck allocations on init.
Benoit Fouet [Tue, 30 Sep 2008 09:54:13 +0000 (09:54 +0000)]
Check allocations on init.

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

16 years agoRemove useless test.
Benoit Fouet [Tue, 30 Sep 2008 09:41:04 +0000 (09:41 +0000)]
Remove useless test.

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

16 years agoCosmetics
Benoit Fouet [Tue, 30 Sep 2008 09:35:53 +0000 (09:35 +0000)]
Cosmetics

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

16 years agouse uint8_t instead of unsigned char
Benoit Fouet [Tue, 30 Sep 2008 09:32:14 +0000 (09:32 +0000)]
use uint8_t instead of unsigned char

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

16 years agoCorrector type fits in 8 bits.
Benoit Fouet [Tue, 30 Sep 2008 09:26:49 +0000 (09:26 +0000)]
Corrector type fits in 8 bits.

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

16 years agoRemove useless casts and use variable instead of its type in sizeof.
Benoit Fouet [Tue, 30 Sep 2008 09:08:27 +0000 (09:08 +0000)]
Remove useless casts and use variable instead of its type in sizeof.

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

16 years agoChange table types to uint8_t
Benoit Fouet [Tue, 30 Sep 2008 09:05:34 +0000 (09:05 +0000)]
Change table types to uint8_t

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

16 years agoDowngrade severity of leftover bits in header packets, and don't check for the commen...
David Conrad [Tue, 30 Sep 2008 04:18:22 +0000 (04:18 +0000)]
Downgrade severity of leftover bits in header packets, and don't check for the comment header

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

16 years agosupport negative ctts in some way, unset wrong dts
Baptiste Coudurier [Tue, 30 Sep 2008 02:44:57 +0000 (02:44 +0000)]
support negative ctts in some way, unset wrong dts

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

16 years agoAllocate 1 line more in the chroma plane for H.264, this avoids some
Michael Niedermayer [Tue, 30 Sep 2008 01:45:53 +0000 (01:45 +0000)]
Allocate 1 line more in the chroma plane for H.264, this avoids some
out of array reads with mmx/sse2 code.
Fixes issue327.

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