ffmpeg.git
10 years agoRemove mostly unnecessary rtpdec_*.h files, store the declarations in one file
Martin Storsjö [Fri, 30 Jul 2010 12:04:27 +0000 (12:04 +0000)]
Remove mostly unnecessary rtpdec_*.h files, store the declarations in one file

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

10 years agoMake config_input() return AVERROR(EINVAL) in place of -1.
Stefano Sabatini [Fri, 30 Jul 2010 11:56:01 +0000 (11:56 +0000)]
Make config_input() return AVERROR(EINVAL) in place of -1.

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

10 years agoCompute the max pixel step for each plane, and use it in place of
Stefano Sabatini [Fri, 30 Jul 2010 11:33:31 +0000 (11:33 +0000)]
Compute the max pixel step for each plane, and use it in place of
hardcoding that value in a switch.

More compact and correct.

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

10 years agoAdd an entry for the AVFilterBuffer change of r24592.
Stefano Sabatini [Fri, 30 Jul 2010 09:06:03 +0000 (09:06 +0000)]
Add an entry for the AVFilterBuffer change of r24592.

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

10 years agoResize AVFilterBuffer to hold 8 planes/linesizes worth of data.
S.N. Hemanth Meenakshisundaram [Fri, 30 Jul 2010 08:42:25 +0000 (08:42 +0000)]
Resize AVFilterBuffer to hold 8 planes/linesizes worth of data.

This is required for making AVFilterBuffer useful for storing audio
data.

Patch by S.N. Hemanth Meenakshisundaram revert <ude.dscu@skaneems>.

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

10 years agoRename the av_fill_image_linesize() formal parameter linesize to
Stefano Sabatini [Fri, 30 Jul 2010 08:42:22 +0000 (08:42 +0000)]
Rename the av_fill_image_linesize() formal parameter linesize to
linesizes, for consistency with the function declaration.

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

10 years agoReimplement av_fill_image_pointers() using the information stored in
Stefano Sabatini [Fri, 30 Jul 2010 08:42:19 +0000 (08:42 +0000)]
Reimplement av_fill_image_pointers() using the information stored in
the pixdescs.

The new implementation is more compact, and does not need to be
updated at each pixel format addition.

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

10 years agoMake av_fill_image_linesizes() return a meaningful error core rather
Stefano Sabatini [Fri, 30 Jul 2010 08:42:15 +0000 (08:42 +0000)]
Make av_fill_image_linesizes() return a meaningful error core rather
than -1.

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

10 years agoRename av_fill_image_linesizes() internal variables max_plane_step and
Stefano Sabatini [Fri, 30 Jul 2010 08:42:12 +0000 (08:42 +0000)]
Rename av_fill_image_linesizes() internal variables max_plane_step and
max_plane_step_comp by removing the "plane_" word, and add a comment
for explaining what they represent.

Increase readability.

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

10 years agoMake avpicture_fill() directly call av_fill_image_linesizes() and
Stefano Sabatini [Fri, 30 Jul 2010 08:42:08 +0000 (08:42 +0000)]
Make avpicture_fill() directly call av_fill_image_linesizes() and
av_fill_image_pointers() rather than their wrappers ff_fill_linesize()
and ff_fill_pointer().

Improve performance.

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

10 years agoMake avfilter_default_get_video_buffer() use functions in
Stefano Sabatini [Fri, 30 Jul 2010 00:29:50 +0000 (00:29 +0000)]
Make avfilter_default_get_video_buffer() use functions in
libavcore/imgutils.c rather than ff_fill_linesize() and
ff_fill_pointer().

Also remove a dependency on libavcodec.

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

10 years agoMake pkgconfig_generate() explicitly return 0 in instead of returning
Jean-Daniel Dupas [Fri, 30 Jul 2010 00:05:16 +0000 (00:05 +0000)]
Make pkgconfig_generate() explicitly return 0 in instead of returning
without value when the target library is disabled.

If it does not explicitly return 0, when the last library is disabled
(swscale), the final "configure" exit value is 1, even if the
configure script is successfully executed. So it breaks scripts that
invoke configure and rely on 0 for success and 1 for failure.

Patch by Jean-Daniel Dupas reverse(<org.shadowlab@devlists>).

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

10 years agoAdd APIchanges entry for the libavcore/imgutils.h addition.
Stefano Sabatini [Thu, 29 Jul 2010 23:58:04 +0000 (23:58 +0000)]
Add APIchanges entry for the libavcore/imgutils.h addition.

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

10 years agoMove fill_image_linesize() and fill_image_data_ptr() from
Stefano Sabatini [Thu, 29 Jul 2010 23:44:57 +0000 (23:44 +0000)]
Move fill_image_linesize() and fill_image_data_ptr() from
libavcodec/imgconvert.c and make them public in libavcore/imgutils.h,
with the names av_fill_image_linesizes() and av_fill_image_pointers().

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

10 years agoFix compilation in x86_64. I broke it with r24580.
Vitor Sessak [Thu, 29 Jul 2010 22:45:21 +0000 (22:45 +0000)]
Fix compilation in x86_64. I broke it with r24580.

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

10 years agoExtend show_protocols() to make it print information about input,
Stefano Sabatini [Thu, 29 Jul 2010 22:38:28 +0000 (22:38 +0000)]
Extend show_protocols() to make it print information about input,
output, seek support.

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

10 years agoTranslate libmpeg2 MMX IDCT to plain asm
Vitor Sessak [Thu, 29 Jul 2010 22:19:54 +0000 (22:19 +0000)]
Translate libmpeg2 MMX IDCT to plain asm

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

10 years ago avidec: demux ASS and SRT tracks out of GAB2 chunks
Aurelien Jacobs [Thu, 29 Jul 2010 22:17:30 +0000 (22:17 +0000)]
 avidec: demux ASS and SRT tracks out of GAB2 chunks

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

10 years agoadd seeking support in ASS demuxer
Aurelien Jacobs [Thu, 29 Jul 2010 22:10:22 +0000 (22:10 +0000)]
add seeking support in ASS demuxer

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

10 years agoImplement ffprobe -show_packets.
Stefano Sabatini [Wed, 28 Jul 2010 23:17:59 +0000 (23:17 +0000)]
Implement ffprobe -show_packets.

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

10 years agoCheck for udp_set_remote_url error.
Reimar Döffinger [Wed, 28 Jul 2010 16:27:16 +0000 (16:27 +0000)]
Check for udp_set_remote_url error.
Fixes issue 1784 (hang with nonsense URL/no network available).

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

10 years agoWarn about "/** text" comments.
Michael Niedermayer [Wed, 28 Jul 2010 15:03:05 +0000 (15:03 +0000)]
Warn about "/** text" comments.

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

10 years agoMake sure "Last message repeated" is printed.
Michael Niedermayer [Wed, 28 Jul 2010 12:08:26 +0000 (12:08 +0000)]
Make sure "Last message repeated" is printed.

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

10 years agoRevert commit:
Stefano Sabatini [Wed, 28 Jul 2010 10:43:02 +0000 (10:43 +0000)]
Revert commit:
  r31772 | stefano | 2010-07-23 01:01:31 +0200 (Fri, 23 Jul 2010) | 2 lines

  Prefer impersonal form over third person, for consistency with the
  rest of FFmpeg.

The change was not approved by the maintainer.

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

10 years agoAdd my GPG fingerprint and add myself as ffprobe.c maintainer.
Stefano Sabatini [Wed, 28 Jul 2010 10:29:41 +0000 (10:29 +0000)]
Add my GPG fingerprint and add myself as ffprobe.c maintainer.

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

10 years agortsp: Move the definition of SDP_MAX_SIZE up, use it in the RTSP muxer, too
Martin Storsjö [Wed, 28 Jul 2010 09:26:15 +0000 (09:26 +0000)]
rtsp: Move the definition of SDP_MAX_SIZE up, use it in the RTSP muxer, too

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

10 years agoRequire libswscale only if the scale filter is used.
Stefano Sabatini [Wed, 28 Jul 2010 08:56:52 +0000 (08:56 +0000)]
Require libswscale only if the scale filter is used.

Although with several limitations, lavfi can be compiled and used
without the scale filter.

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

10 years agoRemove reference to the unexisting movie filter and the corresponding
Stefano Sabatini [Wed, 28 Jul 2010 08:56:49 +0000 (08:56 +0000)]
Remove reference to the unexisting movie filter and the corresponding
useless --enable-avfilter-lavf option.

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

10 years agoIn wav muxer, always flush in write_trailer, fix pipe output
Baptiste Coudurier [Wed, 28 Jul 2010 08:17:02 +0000 (08:17 +0000)]
In wav muxer, always flush in write_trailer, fix pipe output

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

10 years agoSkip short padding in id3v2.
Alexander Kojevnikov [Wed, 28 Jul 2010 08:06:52 +0000 (08:06 +0000)]
Skip short padding in id3v2.

Patch by Alexander Kojevnikov, alexander kojevnikov com

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

10 years agoMap rc_buffer_size to and c_initial_buffer_occupancy to their libvpx
James Zern [Wed, 28 Jul 2010 08:02:35 +0000 (08:02 +0000)]
Map rc_buffer_size to and c_initial_buffer_occupancy to their libvpx
counterparts.

Patch by James Zern, jzern at google

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

10 years agortpdec_xiph: Handle the sampling SDP parameter
Josh Allmann [Wed, 28 Jul 2010 06:43:58 +0000 (06:43 +0000)]
rtpdec_xiph: Handle the sampling SDP parameter

Patch by Josh Allmann, joshua dot allmann at gmail

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

10 years agoAdd extern to mxf_d10_muxer forward declaration to avoid a redundant
Reimar Döffinger [Wed, 28 Jul 2010 05:48:48 +0000 (05:48 +0000)]
Add extern to mxf_d10_muxer forward declaration to avoid a redundant
redeclaration warning.

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

10 years ago10l: missed one reindent.
Alex Converse [Wed, 28 Jul 2010 05:40:38 +0000 (05:40 +0000)]
10l: missed one reindent.

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

10 years agoReindent after last commit.
Alex Converse [Wed, 28 Jul 2010 05:38:30 +0000 (05:38 +0000)]
Reindent after last commit.

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

10 years agoff_prefix non static vp56 functions.
Alex Converse [Wed, 28 Jul 2010 05:36:33 +0000 (05:36 +0000)]
ff_prefix non static vp56 functions.

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

10 years agonellymoserenc: Declare the supported sample format
Martin Storsjö [Wed, 28 Jul 2010 05:19:42 +0000 (05:19 +0000)]
nellymoserenc: Declare the supported sample format

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

10 years agob0rk3d FATE + black helicopters hissing -> rolling back to r24556 and sleeping
Pascal Massimino [Tue, 27 Jul 2010 23:09:13 +0000 (23:09 +0000)]
b0rk3d FATE + black helicopters hissing -> rolling back to r24556 and sleeping

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

10 years agoperform the clipping on luma_dc_qmul[1] and chroma_qmul[0] earlier
Pascal Massimino [Tue, 27 Jul 2010 22:23:50 +0000 (22:23 +0000)]
perform the clipping on luma_dc_qmul[1] and chroma_qmul[0] earlier

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

10 years agosave some copies by moving some fields out of proba[2]
Pascal Massimino [Tue, 27 Jul 2010 22:21:49 +0000 (22:21 +0000)]
save some copies by moving some fields out of proba[2]

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

10 years agoAdd my gpg fingerprint
Luca Barbato [Tue, 27 Jul 2010 22:00:47 +0000 (22:00 +0000)]
Add my gpg fingerprint

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

10 years agoDCA: fix multichannel -> 2 channel downmix.
Nick Brereton [Tue, 27 Jul 2010 21:45:43 +0000 (21:45 +0000)]
DCA: fix multichannel -> 2 channel downmix.

Patch by Nick Brereton

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

10 years agoSetup correct channel value when downmixing is required.
Nick Brereton [Tue, 27 Jul 2010 21:44:09 +0000 (21:44 +0000)]
Setup correct channel value when downmixing is required.

Patch by Nick Brereton

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

10 years agoremove useless cast
Aurelien Jacobs [Tue, 27 Jul 2010 21:12:16 +0000 (21:12 +0000)]
remove useless cast

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

10 years agoDetect PathScale compiler
Måns Rullgård [Tue, 27 Jul 2010 18:55:21 +0000 (18:55 +0000)]
Detect PathScale compiler

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

10 years agoDocument how the ref_buf is used.
Reimar Döffinger [Tue, 27 Jul 2010 17:11:13 +0000 (17:11 +0000)]
Document how the ref_buf is used.

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

10 years agoconfigure: fix sh_quote function
Måns Rullgård [Tue, 27 Jul 2010 16:59:42 +0000 (16:59 +0000)]
configure: fix sh_quote function

Non-matching lists start with ! instead of the usual ^ in shell
patterns.

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

10 years agoFix doxy that refers to the wrong variable.
Michael Niedermayer [Tue, 27 Jul 2010 15:54:26 +0000 (15:54 +0000)]
Fix doxy that refers to the wrong variable.

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

10 years agoFix the lavf docs, we have a RTP muxer, not a demuxer
Martin Storsjö [Tue, 27 Jul 2010 15:28:05 +0000 (15:28 +0000)]
Fix the lavf docs, we have a RTP muxer, not a demuxer

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

10 years agoFix 2 doxy comments that referred to the wrong variable.
Michael Niedermayer [Tue, 27 Jul 2010 15:21:29 +0000 (15:21 +0000)]
Fix 2 doxy comments that referred to the wrong variable.

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

10 years agoMake doxygen formatting more consistent.
Michael Niedermayer [Tue, 27 Jul 2010 15:20:02 +0000 (15:20 +0000)]
Make doxygen formatting more consistent.

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

10 years agoPlace the concat protocol entry at the begin of the registered
Stefano Sabatini [Tue, 27 Jul 2010 14:34:56 +0000 (14:34 +0000)]
Place the concat protocol entry at the begin of the registered
protocol list, restore alphabetical order.

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

10 years agoDocument existing rules for AVInputFormat.name.
Alex Converse [Tue, 27 Jul 2010 14:13:24 +0000 (14:13 +0000)]
Document existing rules for AVInputFormat.name.

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

10 years agoAdd the indevs.texi and outdevs.texi files.
Stefano Sabatini [Tue, 27 Jul 2010 13:10:59 +0000 (13:10 +0000)]
Add the indevs.texi and outdevs.texi files.

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

10 years agofate: clean up also after failed runs
Måns Rullgård [Tue, 27 Jul 2010 11:57:51 +0000 (11:57 +0000)]
fate: clean up also after failed runs

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

10 years agoIncrease error tolerance for RA288 and one vorbis test. Should fix some
Vitor Sessak [Tue, 27 Jul 2010 11:53:14 +0000 (11:53 +0000)]
Increase error tolerance for RA288 and one vorbis test. Should fix some
failures in PPC and ARM.

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

10 years agoMake frames unsigned.
Alexander Kojevnikov [Tue, 27 Jul 2010 10:11:05 +0000 (10:11 +0000)]
Make frames unsigned.

Patch by Alexander Kojevnikov, alexander kojevnikov com

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

10 years agoShow correct bitrate for VBR MP3 files.
Alexander Kojevnikov [Tue, 27 Jul 2010 10:08:34 +0000 (10:08 +0000)]
Show correct bitrate for VBR MP3 files.

Patch by Alexander Kojevnikov, alexander kojevnikov com

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

10 years agoRemove duplicate initialiser for cavsvideo_muxer.extensions
Måns Rullgård [Tue, 27 Jul 2010 08:21:23 +0000 (08:21 +0000)]
Remove duplicate initialiser for cavsvideo_muxer.extensions

The extensions field was initialised first to "cavs", then to "avs".
The name "cavs" is kept since this is used for the format elsewhere
and "avs" is already used for avisynth files.

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

10 years agortpdec_xiph: Drop RTP packets that come in without a prior fragment start marker.
Josh Allmann [Tue, 27 Jul 2010 08:16:03 +0000 (08:16 +0000)]
rtpdec_xiph: Drop RTP packets that come in without a prior fragment start marker.

This can avoid segfaults in some cases.

Patch by Josh Allmann, joshua dot allmann at gmail

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

10 years agolibavformat needs libavcore
Måns Rullgård [Tue, 27 Jul 2010 08:03:09 +0000 (08:03 +0000)]
libavformat needs libavcore

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

10 years agoadd Chinese AVS encoding via external library libxavs
Stefan Gehrer [Tue, 27 Jul 2010 07:18:36 +0000 (07:18 +0000)]
add Chinese AVS encoding via external library libxavs

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

10 years agolibavcore needs libavutil
Måns Rullgård [Tue, 27 Jul 2010 06:58:42 +0000 (06:58 +0000)]
libavcore needs libavutil

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

10 years agofate: delete build and install dirs after session
Måns Rullgård [Tue, 27 Jul 2010 01:08:44 +0000 (01:08 +0000)]
fate: delete build and install dirs after session

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

10 years agofate: add fate session script
Måns Rullgård [Mon, 26 Jul 2010 23:44:09 +0000 (23:44 +0000)]
fate: add fate session script

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

10 years agofate: create report files
Måns Rullgård [Mon, 26 Jul 2010 23:44:06 +0000 (23:44 +0000)]
fate: create report files

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

10 years agoconfigure: extract detailed compiler identification
Måns Rullgård [Mon, 26 Jul 2010 23:44:02 +0000 (23:44 +0000)]
configure: extract detailed compiler identification

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

10 years agoversion.sh: write version to stdout if no output file specified
Måns Rullgård [Mon, 26 Jul 2010 23:43:59 +0000 (23:43 +0000)]
version.sh: write version to stdout if no output file specified

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

10 years agoAdd a simple base64 encoder for use in tests
Måns Rullgård [Mon, 26 Jul 2010 23:43:56 +0000 (23:43 +0000)]
Add a simple base64 encoder for use in tests

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

10 years agoAdd an APIchanges entry for the libavcore/parseutils.{h,c} addition of
Stefano Sabatini [Mon, 26 Jul 2010 23:26:42 +0000 (23:26 +0000)]
Add an APIchanges entry for the libavcore/parseutils.{h,c} addition of
r24518.

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

10 years agoAvoid the use of an intermediary variable in
Stefano Sabatini [Mon, 26 Jul 2010 23:12:48 +0000 (23:12 +0000)]
Avoid the use of an intermediary variable in
av_parse_video_rate(). Simplify.

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

10 years agoMake VideoFrameRateAbbr contain a rational rather than two ints for
Stefano Sabatini [Mon, 26 Jul 2010 23:12:45 +0000 (23:12 +0000)]
Make VideoFrameRateAbbr contain a rational rather than two ints for
num and den. Simplify.

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

10 years agoRemove reference to the "frame" term in variable names. Simpler and
Stefano Sabatini [Mon, 26 Jul 2010 23:12:41 +0000 (23:12 +0000)]
Remove reference to the "frame" term in variable names. Simpler and
more consistent with the function names.

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

10 years agoMake av_parse_video_size() and av_parse_video_rate() return
Stefano Sabatini [Mon, 26 Jul 2010 23:12:38 +0000 (23:12 +0000)]
Make av_parse_video_size() and av_parse_video_rate() return
AVERROR(EINVAL) rather than -1 in case of unsuccess.

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

10 years agoReindent.
Stefano Sabatini [Mon, 26 Jul 2010 23:12:35 +0000 (23:12 +0000)]
Reindent.

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

10 years agoMake pkgconfig_generate check if the library is enabled before to
Stefano Sabatini [Mon, 26 Jul 2010 23:12:32 +0000 (23:12 +0000)]
Make pkgconfig_generate check if the library is enabled before to
generate the pc files.

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

10 years agoDeprecate av_parse_video_frame_size() and av_parse_video_frame_rate()
Stefano Sabatini [Mon, 26 Jul 2010 23:12:28 +0000 (23:12 +0000)]
Deprecate av_parse_video_frame_size() and av_parse_video_frame_rate()
in favor of the newly added corresponding functions
av_parse_video_size() and av_parse_video_rate() defined in
libavcore/parseutils.h.

This change also adds a linking-time dependency of libavcodec and of
libavfilter on libavcore.

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

10 years agoReindent after r24516.
Ronald S. Bultje [Mon, 26 Jul 2010 22:22:42 +0000 (22:22 +0000)]
Reindent after r24516.

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

10 years agoUse inverse error branches, i.e. instead of if(something){success} else {error},
Ronald S. Bultje [Mon, 26 Jul 2010 22:22:20 +0000 (22:22 +0000)]
Use inverse error branches, i.e. instead of if(something){success} else {error},
use if(!something) {return error;} success;, which needs less indenting.

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

10 years agoUse av_log(.., AV_LOG_ERROR) instead of dprintf() for logging errors. This
Ronald S. Bultje [Mon, 26 Jul 2010 22:21:14 +0000 (22:21 +0000)]
Use av_log(.., AV_LOG_ERROR) instead of dprintf() for logging errors. This
should help in making mmst a little more userfriendly, or at least debuggable.
Also use helpful error return values instead of -1.

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

10 years agoUse pmaddubsw for the mbedge_filter (>=ssse3), 6-10 cycles faster.
Ronald S. Bultje [Mon, 26 Jul 2010 21:18:19 +0000 (21:18 +0000)]
Use pmaddubsw for the mbedge_filter (>=ssse3), 6-10 cycles faster.

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

10 years agoVP8: Much faster SSE2 MC
Jason Garrett-Glaser [Mon, 26 Jul 2010 19:34:00 +0000 (19:34 +0000)]
VP8: Much faster SSE2 MC
5-10% faster or more on Phenom, Athlon 64, and some others.
Helps some on pre-SSSE3 Intel chips as well, but not as much.

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

10 years agoDefine static functions fill_image_linesize() and
S.N. Hemanth Meenakshisundaram [Mon, 26 Jul 2010 14:30:47 +0000 (14:30 +0000)]
Define static functions fill_image_linesize() and
fill_image_data_ptr(). ff_fill_linesize() and ff_fill_pointer() now wrap
these functions.

The new functions are more generic, and are going to be exported in a
future patch.

Patch by S.N. Hemanth Meenakshisundaram smeenaks # ucsd § edu.

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

10 years agoEnable no-loop memory/register saving for ssse3/sse4 also.
Ronald S. Bultje [Mon, 26 Jul 2010 14:07:57 +0000 (14:07 +0000)]
Enable no-loop memory/register saving for ssse3/sse4 also.

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

10 years agoSave a register (or regsize of stackspace for x86-32) for the no-loop
Ronald S. Bultje [Mon, 26 Jul 2010 14:00:15 +0000 (14:00 +0000)]
Save a register (or regsize of stackspace for x86-32) for the no-loop
mbedge loopfilter functions, by re-using space that holds a variable
that we no longer need.

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

10 years agoUse nested ifs instead of &&, which appears to not work with %ifidn (i.e. this
Ronald S. Bultje [Mon, 26 Jul 2010 13:56:51 +0000 (13:56 +0000)]
Use nested ifs instead of &&, which appears to not work with %ifidn (i.e. this
construct was always enabled, even for <ssse3 versions).

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

10 years agoRename pow variable to pwr.
Axel Holzinger [Mon, 26 Jul 2010 13:52:49 +0000 (13:52 +0000)]
Rename pow variable to pwr.

Patch by Axel Holzinger <aholzinger gmx de>.

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

10 years agoSplit pextrw macro-spaghetti into several opt-specific macros, this will make
Ronald S. Bultje [Mon, 26 Jul 2010 13:50:59 +0000 (13:50 +0000)]
Split pextrw macro-spaghetti into several opt-specific macros, this will make
future new optimizations (imagine a sse5) much easier. Also fix a bug where
we used the direction (%2) rather than optimization (%1) to enable this, which
means it wasn't ever actually used...

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

10 years agoReindent.
Stefano Sabatini [Mon, 26 Jul 2010 13:39:49 +0000 (13:39 +0000)]
Reindent.

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

10 years agoRename av_transcode() to transcode().
Stefano Sabatini [Mon, 26 Jul 2010 13:39:41 +0000 (13:39 +0000)]
Rename av_transcode() to transcode().

av_ prefix is reserved for libav* libraries functions, it is confusing
to use it for an application function.

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

10 years agoVP8: add missing free
Jason Garrett-Glaser [Mon, 26 Jul 2010 07:10:30 +0000 (07:10 +0000)]
VP8: add missing free
Fixes a tiny memory leak.

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

10 years agomatroskaenc: add support for muxing SRT tracks
Aurelien Jacobs [Sun, 25 Jul 2010 21:16:58 +0000 (21:16 +0000)]
matroskaenc: add support for muxing SRT tracks

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

10 years agoadd mime-type for ASS muxer
Aurelien Jacobs [Sun, 25 Jul 2010 19:36:20 +0000 (19:36 +0000)]
add mime-type for ASS muxer

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

10 years agoInclude the correct header that actually is used, use quotes instead of angle brackets
Martin Storsjö [Sun, 25 Jul 2010 19:12:35 +0000 (19:12 +0000)]
Include the correct header that actually is used, use quotes instead of angle brackets

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

10 years agoFix pkgconfig_generate line for libavcore.
Stefano Sabatini [Sun, 25 Jul 2010 15:31:25 +0000 (15:31 +0000)]
Fix pkgconfig_generate line for libavcore.

libavcore depends on libavutil, and does not require extralibs.

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

10 years agoAccept stdin as input for patcheck.
Rafaël Carré [Sun, 25 Jul 2010 15:02:27 +0000 (15:02 +0000)]
Accept stdin as input for patcheck.

Patch by Rafaël Carré, rafael d carre a gmail

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

10 years agoFix r24445: Instead of needlessly initialising a variable, silence the warning.
Carl Eugen Hoyos [Sun, 25 Jul 2010 14:49:45 +0000 (14:49 +0000)]
Fix r24445: Instead of needlessly initialising a variable, silence the warning.

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

10 years agoRename av_exit() to ffmpeg_exit().
Stefano Sabatini [Sun, 25 Jul 2010 14:42:32 +0000 (14:42 +0000)]
Rename av_exit() to ffmpeg_exit().

av_ is a prefix reserved for av* libraries functions, using that for an
application function is confusing.

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

10 years agoUse X ? Y : Z construct, simplify.
Stefano Sabatini [Sun, 25 Jul 2010 14:41:06 +0000 (14:41 +0000)]
Use X ? Y : Z construct, simplify.

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

10 years agoCosmetics: fix indentation and remove a useless else.
Reimar Döffinger [Sun, 25 Jul 2010 14:35:12 +0000 (14:35 +0000)]
Cosmetics: fix indentation and remove a useless else.

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