10 years agoMove the list of supported channel layouts to a separate table.
Justin Ruggles [Thu, 30 Dec 2010 22:13:41 +0000 (22:13 +0000)]
Move the list of supported channel layouts to a separate table.

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

10 years agoAdd a window field to AC3MDCTContext and use it as an input to apply_window()
Justin Ruggles [Thu, 30 Dec 2010 22:13:37 +0000 (22:13 +0000)]
Add a window field to AC3MDCTContext and use it as an input to apply_window()
instead of using the ff_ac3_window[] table directly.

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

10 years agocosmetics: alignment, line wrap, and spacing
Justin Ruggles [Thu, 30 Dec 2010 22:13:34 +0000 (22:13 +0000)]
cosmetics: alignment, line wrap, and spacing

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

10 years agoRemove avctx from AC3MDCTContext and just pass it to mdct_init() instead.
Justin Ruggles [Thu, 30 Dec 2010 22:13:30 +0000 (22:13 +0000)]
Remove avctx from AC3MDCTContext and just pass it to mdct_init() instead.

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

10 years agoMake exponent_group_tab[] static.
Justin Ruggles [Thu, 30 Dec 2010 22:13:25 +0000 (22:13 +0000)]
Make exponent_group_tab[] static.

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

10 years agoFix valgrind invalid read on top MB rows with CODEC_FLAG_EMU_EDGE set.
Ronald S. Bultje [Thu, 30 Dec 2010 14:33:21 +0000 (14:33 +0000)]
Fix valgrind invalid read on top MB rows with CODEC_FLAG_EMU_EDGE set.

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

10 years agoSet blkalign to maximum framesize to allow playback on WMP (see issue 2455 and issue...
Carl Eugen Hoyos [Thu, 30 Dec 2010 14:21:14 +0000 (14:21 +0000)]
Set blkalign to maximum framesize to allow playback on WMP (see issue 2455 and issue 2446).

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

10 years agoUse %td instead of %PRIdPTR. The argument has type ptrdiff_t.
Justin Ruggles [Thu, 30 Dec 2010 13:34:31 +0000 (13:34 +0000)]
Use %td instead of %PRIdPTR. The argument has type ptrdiff_t.

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

10 years agoAdd audio flag to libvorbis AVOption.
Justin Ruggles [Thu, 30 Dec 2010 04:22:41 +0000 (04:22 +0000)]
Add audio flag to libvorbis AVOption.

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

10 years agoUse %"PRIdPTR" instead of %d to silence gcc warning about type mismatch.
Justin Ruggles [Thu, 30 Dec 2010 04:09:44 +0000 (04:09 +0000)]
Use %"PRIdPTR" instead of %d to silence gcc warning about type mismatch.

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

10 years agoflac_parser: loop append buffer when the default size is not enough to get
Michael Chinen [Thu, 30 Dec 2010 04:09:39 +0000 (04:09 +0000)]
flac_parser: loop append buffer when the default size is not enough to get
the desired number of frames.
Patch by Michael Chinen [mchinen at gmail]

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

10 years agoPort pred8x8l_down_left_mmxext (H.264 intra prediction) from x264 (authors:
Daniel Kang [Wed, 29 Dec 2010 23:48:44 +0000 (23:48 +0000)]
Port pred8x8l_down_left_mmxext (H.264 intra prediction) from x264 (authors:
Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot d dot kang
at gmail com>, as part of Google's GCI 2010.

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

10 years agoCosmetics: Re-indent after last commit.
Carl Eugen Hoyos [Wed, 29 Dec 2010 23:43:25 +0000 (23:43 +0000)]
Cosmetics: Re-indent after last commit.

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

10 years agoDo not add the preamble if the DTS stream is already padded, like DTS in
Anssi Hannula [Wed, 29 Dec 2010 23:42:27 +0000 (23:42 +0000)]
Do not add the preamble if the DTS stream is already padded, like DTS in
wav. In that case, DTS can be transmitted through S/PDIF without
the IEC 61937 headers.

Patch by Anssi Hannula, anssi d hannula a iki d fi

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

10 years agoPort pred4x4_down_right_mmxext (H.264 intra prediction) from x264 (authors:
Daniel Kang [Wed, 29 Dec 2010 21:55:51 +0000 (21:55 +0000)]
Port pred4x4_down_right_mmxext (H.264 intra prediction) from x264 (authors:
Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot d dot kang
at gmail com>, as part of Google's GCI 2010.

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

10 years agoPort pred4x4_vertical_right_mmxext (H.264 intra prediction) from x264 (authors:
Daniel Kang [Wed, 29 Dec 2010 21:52:41 +0000 (21:52 +0000)]
Port pred4x4_vertical_right_mmxext (H.264 intra prediction) from x264 (authors:
Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot d dot kang
at gmail com>, as part of Google's GCI 2010.

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

10 years agoPort pred4x4_horizontal_down_mmxext (H.264 intra prediction) from x264
Daniel Kang [Wed, 29 Dec 2010 21:49:57 +0000 (21:49 +0000)]
Port pred4x4_horizontal_down_mmxext (H.264 intra prediction) from x264
(authors:Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot
d dot kang at gmail com>, as part of Google's GCI 2010.

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

10 years agoPort pred4x4_horizontal_up_mmxext (H.264 intra prediction) from x264 (authors:
Daniel Kang [Wed, 29 Dec 2010 21:42:33 +0000 (21:42 +0000)]
Port pred4x4_horizontal_up_mmxext (H.264 intra prediction) from x264 (authors:
Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot d dot kang
at gmail com>, as part of Google's GCI 2010.

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

10 years agoPort pred4x4_vertical_left_mmxext (H.264 intra prediction) from x264 (authors:
Daniel Kang [Wed, 29 Dec 2010 21:35:34 +0000 (21:35 +0000)]
Port pred4x4_vertical_left_mmxext (H.264 intra prediction) from x264 (authors:
Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot d dot kang
at gmail com>, as part of Google's GCI 2010.

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

10 years agoMerge a few superfluous CONFIG_GPL checks.
Ronald S. Bultje [Wed, 29 Dec 2010 21:30:47 +0000 (21:30 +0000)]
Merge a few superfluous CONFIG_GPL checks.

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

10 years agoWhitespace cosmetics.
Ronald S. Bultje [Wed, 29 Dec 2010 21:23:31 +0000 (21:23 +0000)]
Whitespace cosmetics.

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

10 years agoWhitespace cosmetics.
Ronald S. Bultje [Wed, 29 Dec 2010 20:43:15 +0000 (20:43 +0000)]
Whitespace cosmetics.

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

10 years agoPort pred8x8l_horizontal_down_sse2/ssse3 (H.264 intra prediction) from x264
Daniel Kang [Wed, 29 Dec 2010 20:42:15 +0000 (20:42 +0000)]
Port pred8x8l_horizontal_down_sse2/ssse3 (H.264 intra prediction) from x264
(authors: Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot
d dot kang at gmail com>, as part of Google's GCI 2010.

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

10 years agoPort pred8x8l_horizontal_down_mmxext (H.264 intra prediction) from x264
Daniel Kang [Wed, 29 Dec 2010 20:38:06 +0000 (20:38 +0000)]
Port pred8x8l_horizontal_down_mmxext (H.264 intra prediction) from x264
(authors: Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot
d dot kang at gmail com>, as part of Google's GCI 2010.

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

10 years agoPort pred8x8l_horizontal_up_mmxext/ssse3 (H.264 intra prediction) from x264
Daniel Kang [Wed, 29 Dec 2010 20:35:31 +0000 (20:35 +0000)]
Port pred8x8l_horizontal_up_mmxext/ssse3 (H.264 intra prediction) from x264
(authors: Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot
d dot kang at gmail com>, as part of Google's GCI 2010.

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

10 years agoPort pred8x8l_vertical_left_sse2/ssse3 (H.264 intra prediction) from x264
Daniel Kang [Wed, 29 Dec 2010 20:06:22 +0000 (20:06 +0000)]
Port pred8x8l_vertical_left_sse2/ssse3 (H.264 intra prediction) from x264
(authors: Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot
d dot kang at gmail com>, as part of Google's GCI 2010.

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

10 years agoPort pred8x8l_vertical_right_sse2/ssse3 (H.264 intra prediction) from x264
Daniel Kang [Wed, 29 Dec 2010 19:54:05 +0000 (19:54 +0000)]
Port pred8x8l_vertical_right_sse2/ssse3 (H.264 intra prediction) from x264
(authors: Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot
d dot kang at gmail com>, as part of Google's GCI 2010.

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

10 years agoPort pred8x8l_vertical_right_mmxext (H.264 intra prediction) from x264
Daniel Kang [Wed, 29 Dec 2010 19:46:09 +0000 (19:46 +0000)]
Port pred8x8l_vertical_right_mmxext (H.264 intra prediction) from x264
(authors: Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot
d dot kang at gmail com>, as part of Google's GCI 2010.

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

10 years agoPort pred8x8l_down_right_sse2/ssse3 (H.264 intra prediction) from x264
Daniel Kang [Wed, 29 Dec 2010 19:19:49 +0000 (19:19 +0000)]
Port pred8x8l_down_right_sse2/ssse3 (H.264 intra prediction) from x264
(authors: Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot
d dot kang at gmail com>, as part of Google's GCI 2010.

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

10 years agoChange the default dB-per-bit code from 2 to 3.
Justin Ruggles [Wed, 29 Dec 2010 19:17:22 +0000 (19:17 +0000)]
Change the default dB-per-bit code from 2 to 3.
This gives slightly better quality in PEAQ tests.
Code 3 gives a dBpb value of 2816 = -132dB (128 psd units = -6dB), which
corresponds to 22 bits. Since the exponents have an offset applied, the
16-bit source looks like 24-bit source to the bit allocation routine.
So using dBpb code=3 is a closer match to the exponent range.

Regression test refs updated for acodec-ac3, lavf-rm, and seek-ac3_rm.

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

10 years agoPort pred8x8l_down_right_mmxext (H.264 intra prediction) from x264 (authors:
Daniel Kang [Wed, 29 Dec 2010 19:12:02 +0000 (19:12 +0000)]
Port pred8x8l_down_right_mmxext (H.264 intra prediction) from x264 (authors:
Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot d dot kang
at gmail com>, as part of Google's GCI 2010.

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

10 years agoPort pred8x8l_down_left_sse2/ssse3 (H.264 intra prediction) from x264 (authors:
Daniel Kang [Wed, 29 Dec 2010 19:02:50 +0000 (19:02 +0000)]
Port pred8x8l_down_left_sse2/ssse3 (H.264 intra prediction) from x264 (authors:
Jason, Loren, Holger) to FFmpeg. Patch by Daniel Kang <daniel dot d dot kang at
gmail com>, as part of Google's GCI 2010.

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

10 years agos/IEC958/IEC 61937 - IEC958 is a lower level format.
Anssi Hannula [Wed, 29 Dec 2010 18:48:32 +0000 (18:48 +0000)]
s/IEC958/IEC 61937 - IEC958 is a lower level format.

Patch by Anssi Hannula, anssi d hannula a iki d fi

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

10 years agoPort pred8x8l_vertical_mmxext/ssse3 (H.264 intra prediction) from x264 to
Daniel Kang [Wed, 29 Dec 2010 18:46:40 +0000 (18:46 +0000)]
Port pred8x8l_vertical_mmxext/ssse3 (H.264 intra prediction) from x264 to
FFmpeg. Original authors: Holger Lubitz <holger lubitz org>, Jason Garrett-
Glaser <darkshikari gmail com> (approves LGPL relicensing for this code) and
Loren Merritt <lorenm at u dot washington dot edu> (approves LGPL relicensing
for this code). Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as
part of Google's GCI 2010.

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

10 years agoPort pred8x8l_horizontal_mmxext/ssse3 (H.264 intra prediction) from x264 to
Daniel Kang [Wed, 29 Dec 2010 18:40:53 +0000 (18:40 +0000)]
Port pred8x8l_horizontal_mmxext/ssse3 (H.264 intra prediction) from x264 to
FFmpeg. Original authors: Holger Lubitz <holger lubitz org>, Jason Garrett-
Glaser <darkshikari gmail com> (approves LGPL relicensing for this code) and
Loren Merritt <lorenm at u dot washington dot edu> (approves LGPL relicensing
for this code). Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as
part of Google's GCI 2010.

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

10 years agoPort pred8x8l_dc_mmx/ssse3 (H.264 intra prediction) from x264 to FFmpeg.
Daniel Kang [Wed, 29 Dec 2010 18:33:10 +0000 (18:33 +0000)]
Port pred8x8l_dc_mmx/ssse3 (H.264 intra prediction) from x264 to FFmpeg.
Original authors: Holger Lubitz <holger lubitz org>, Jason Garrett-Glaser
<darkshikari gmail com> (approves LGPL relicensing for this code) and Loren
Merritt <lorenm at u dot washington dot edu> (approves LGPL relicensing for
this code). Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as
part of Google's GCI 2010.

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

10 years agoPort pred8x8l_top_dc_mmxext/ssse3 (H.264 intra prediction) from x264 to FFmpeg.
Daniel Kang [Wed, 29 Dec 2010 18:11:27 +0000 (18:11 +0000)]
Port pred8x8l_top_dc_mmxext/ssse3 (H.264 intra prediction) from x264 to FFmpeg.
Original authors: Holger Lubitz <holger lubitz org>, Jason Garrett-Glaser
<darkshikari gmail com> (approves LGPL relicensing for this code) and Loren
Merritt <lorenm at u dot washington dot edu> (approves LGPL relicensing for
this code). Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as
part of Google's GCI 2010.

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

10 years agoMove PRED4x4_LOWPASS up so it can be used in 8x8l predict functions while
Ronald S. Bultje [Wed, 29 Dec 2010 18:04:57 +0000 (18:04 +0000)]
Move PRED4x4_LOWPASS up so it can be used in 8x8l predict functions while
keeping the functions ordered in the source file (i.e. cosmetics).

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

10 years agoPort pred8x8_dc_mmxext (H.264 intra prediction) from x264 to FFmpeg. Original
Ronald S. Bultje [Wed, 29 Dec 2010 18:00:26 +0000 (18:00 +0000)]
Port pred8x8_dc_mmxext (H.264 intra prediction) from x264 to FFmpeg. Original
authors: Holger Lubitz <holger lubitz org>, Jason Garrett-Glaser <darkshikari
gmail com> (approves LGPL relicensing for this code) and Loren Merritt <lorenm
at u dot washington dot edu> (approves LGPL relicensing for this code). Patch
by Daniel Kang <daniel dot d dot kang at gmail com>, as part of Google's GCI

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

10 years agoMake fate vp8 test cover emu_edge cases
Luca Barbato [Wed, 29 Dec 2010 17:48:57 +0000 (17:48 +0000)]
Make fate vp8 test cover emu_edge cases

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

10 years agoAdd missing authors to copyright headers.
Ronald S. Bultje [Wed, 29 Dec 2010 17:45:26 +0000 (17:45 +0000)]
Add missing authors to copyright headers.

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

10 years agoPort pred8x8_top_dc_mmxext (H.264 intra prediction) from x264 to FFmpeg.
Daniel Kang [Wed, 29 Dec 2010 17:42:34 +0000 (17:42 +0000)]
Port pred8x8_top_dc_mmxext (H.264 intra prediction) from x264 to FFmpeg.
Original authors: Holger Lubitz <holger lubitz org>, Jason Garrett-Glaser
<darkshikari gmail com> (approves LGPL relicensing for this code) and Loren
Merritt <lorenm at u dot washington dot edu> (approves LGPL relicensing for
this code). Patch by Daniel Kang <daniel dot d dot kang at gmail com>, as
part of Google's GCI 2010.

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

10 years agoMark recently added pred4x4_down_left_mmxext as CONFIG_GPL. Although Holger
Ronald S. Bultje [Wed, 29 Dec 2010 17:34:00 +0000 (17:34 +0000)]
Mark recently added pred4x4_down_left_mmxext as CONFIG_GPL. Although Holger
initially said he'd be OK with relicensing, he also said he wanted to have
another look at the patch, and then he went on vacation, so let's play it
safe for now. We can consider removing this again later.

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

10 years agoFix wrong bitstream mode for AC-3.
Anssi Hannula [Wed, 29 Dec 2010 16:48:40 +0000 (16:48 +0000)]
Fix wrong bitstream mode for AC-3.
Noticed by CrystalP from XBMC.

Patch by Anssi Hannula, anssi d hannula a iki d fi

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

10 years agoImprove error return values.
Anssi Hannula [Wed, 29 Dec 2010 16:42:14 +0000 (16:42 +0000)]
Improve error return values.

Patch by Anssi Hannula, anssi d hannula a iki d fi

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

10 years agoAlways encapsulate DTS in big-endian format, at least some receivers
Anssi Hannula [Wed, 29 Dec 2010 16:34:47 +0000 (16:34 +0000)]
Always encapsulate DTS in big-endian format, at least some receivers
require that.

Patch by Anssi Hannula, anssi d hannula a iki d fi

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

10 years agoAdd Anssi and myself to the authors in doxygen.
Anssi Hannula [Wed, 29 Dec 2010 16:30:07 +0000 (16:30 +0000)]
Add Anssi and myself to the authors in doxygen.

Patch by Anssi Hannula, anssi d hannula a iki d fi

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

10 years agowtv: parse MPEG2 descriptor events
Peter Ross [Wed, 29 Dec 2010 13:41:10 +0000 (13:41 +0000)]
wtv: parse MPEG2 descriptor events

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

10 years agoadd ff_parse_mpeg2_descriptor; make MPEG2 descriptor parsing routines available to...
Peter Ross [Wed, 29 Dec 2010 12:45:31 +0000 (12:45 +0000)]
add ff_parse_mpeg2_descriptor; make MPEG2 descriptor parsing routines available to other modules.

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

10 years agowtv: only warn about unknown subtype, if it actually unknown
Peter Ross [Wed, 29 Dec 2010 10:43:16 +0000 (10:43 +0000)]
wtv: only warn about unknown subtype, if it actually unknown

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

10 years agowtv: use correct names for subtitle and language guids
Peter Ross [Wed, 29 Dec 2010 03:49:02 +0000 (03:49 +0000)]
wtv: use correct names for subtitle and language guids

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

10 years agoFix assertion failure due to frames being 0 in mp3 vbr bitrate calculation.
Michael Niedermayer [Wed, 29 Dec 2010 01:33:36 +0000 (01:33 +0000)]
Fix assertion failure due to frames being 0 in mp3 vbr bitrate calculation.

Fixes issue 2442.

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

10 years agoadd ASS encoding and decoding support in Subtitle Formats documentation
Aurelien Jacobs [Tue, 28 Dec 2010 23:55:56 +0000 (23:55 +0000)]
add ASS encoding and decoding support in Subtitle Formats documentation

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

10 years agoadd SubRip decoder
Aurelien Jacobs [Tue, 28 Dec 2010 23:52:53 +0000 (23:52 +0000)]
add SubRip decoder

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

10 years agoBump micro for VP8 emu-edge support.
Ronald S. Bultje [Tue, 28 Dec 2010 22:48:39 +0000 (22:48 +0000)]
Bump micro for VP8 emu-edge support.

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

10 years agoSupport CODEC_FLAG_EMU_EDGE in VP8 decoder.
Ronald S. Bultje [Tue, 28 Dec 2010 17:37:19 +0000 (17:37 +0000)]
Support CODEC_FLAG_EMU_EDGE in VP8 decoder.

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

10 years agoFix style nits in avfiltergraph.c.
Stefano Sabatini [Tue, 28 Dec 2010 14:10:12 +0000 (14:10 +0000)]
Fix style nits in avfiltergraph.c.

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

10 years agoFix ffplay -an/-vn options that were swapped by r26105.
Nicolas George [Tue, 28 Dec 2010 09:52:31 +0000 (09:52 +0000)]
Fix ffplay -an/-vn options that were swapped by r26105.

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

10 years agoffmetaenc: remove useless initializers
Anton Khirnov [Tue, 28 Dec 2010 09:03:38 +0000 (09:03 +0000)]
ffmetaenc: remove useless initializers

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

10 years agolavf: rename meta{dec,enc}.c -> ffmeta{dec,enc}.c
Anton Khirnov [Tue, 28 Dec 2010 09:03:33 +0000 (09:03 +0000)]
lavf: rename meta{dec,enc}.c -> ffmeta{dec,enc}.c

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

10 years agoAdd copy filter, useful for testing the avfilter_draw_slice() copy
Stefano Sabatini [Tue, 28 Dec 2010 01:01:09 +0000 (01:01 +0000)]
Add copy filter, useful for testing the avfilter_draw_slice() copy

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

10 years agoBump lavfi minor and add an entry after r26108 (which added
Stefano Sabatini [Mon, 27 Dec 2010 18:16:52 +0000 (18:16 +0000)]
Bump lavfi minor and add an entry after r26108 (which added
AV_PERM_NEG_LINESIZES to avfilter.h).

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

10 years agoIn the crop filter, put under ifdef DEBUG the trace logs for the
Stefano Sabatini [Mon, 27 Dec 2010 18:04:35 +0000 (18:04 +0000)]
In the crop filter, put under ifdef DEBUG the trace logs for the
evaluated crop area coordinates.

Prevent debug log spamming, define the DEBUG symbol for enabling them.

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

10 years agoFix date in APIchanges.
Stefano Sabatini [Mon, 27 Dec 2010 18:04:32 +0000 (18:04 +0000)]
Fix date in APIchanges.

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

10 years agoSupport filters and decoders that dont support negative linesizes.
Michael Niedermayer [Mon, 27 Dec 2010 15:10:21 +0000 (15:10 +0000)]
Support filters and decoders that dont support negative linesizes.
This patch is based on work by stefano.

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

10 years agortsp: Check if the rtp stream actually has an RTPDemuxContext
Martin Storsjö [Mon, 27 Dec 2010 09:56:19 +0000 (09:56 +0000)]
rtsp: Check if the rtp stream actually has an RTPDemuxContext

For example MS-RTSP doesn't have RTPDemuxContexts for all streams.

This fixes issue 2448.

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

10 years agoConsistently prefer short library names in APIchanges.
Stefano Sabatini [Mon, 27 Dec 2010 09:30:20 +0000 (09:30 +0000)]
Consistently prefer short library names in APIchanges.

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

10 years agoUse av_find_best_stream in ffplay.
Nicolas George [Mon, 27 Dec 2010 09:08:36 +0000 (09:08 +0000)]
Use av_find_best_stream in ffplay.

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

10 years agoImplement av_find_best_stream.
Nicolas George [Mon, 27 Dec 2010 09:08:20 +0000 (09:08 +0000)]
Implement av_find_best_stream.

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

10 years agolavf: bump minor and add APIchanges entry after adding AVFMT_NOSTREAMS
Anton Khirnov [Mon, 27 Dec 2010 07:46:57 +0000 (07:46 +0000)]
lavf: bump minor and add APIchanges entry after adding AVFMT_NOSTREAMS

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

10 years agoMetadata demuxer.
Anton Khirnov [Mon, 27 Dec 2010 07:46:53 +0000 (07:46 +0000)]
Metadata demuxer.

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

10 years agoMetadata muxer
Anton Khirnov [Mon, 27 Dec 2010 07:46:49 +0000 (07:46 +0000)]
Metadata muxer

Dumps all metadata to a text file for easy manual editing.

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

10 years agoAllow output formats without any streams.
Anton Khirnov [Mon, 27 Dec 2010 07:46:44 +0000 (07:46 +0000)]
Allow output formats without any streams.

Required for future metadata format.

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

10 years agoFix typo.
Ronald S. Bultje [Sun, 26 Dec 2010 22:48:13 +0000 (22:48 +0000)]
Fix typo.

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

10 years agoExtend documentation for format and noformat filters, and remove
Stefano Sabatini [Sun, 26 Dec 2010 11:52:26 +0000 (11:52 +0000)]
Extend documentation for format and noformat filters, and remove
explicit reference to the ffmpeg tool command for keeping the docs
more generic.

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

10 years agoAdd erode libopencv filter.
Stefano Sabatini [Sun, 26 Dec 2010 11:27:09 +0000 (11:27 +0000)]
Add erode libopencv filter.

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

10 years agoAdd dilate libopencv filter.
Stefano Sabatini [Sun, 26 Dec 2010 11:27:05 +0000 (11:27 +0000)]
Add dilate libopencv filter.

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

10 years agoBump libavformat minor version, forgotten in r26094
Peter Ross [Sun, 26 Dec 2010 05:48:38 +0000 (05:48 +0000)]
Bump libavformat minor version, forgotten in r26094

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

10 years agoWindows Televison (WTV) demuxer
Peter Ross [Sun, 26 Dec 2010 01:28:25 +0000 (01:28 +0000)]
Windows Televison (WTV) demuxer

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

10 years agomake guid utility function visibile to other modules (ff_guidcmp, ff_get_guid)
Peter Ross [Sun, 26 Dec 2010 01:26:29 +0000 (01:26 +0000)]
make guid utility function visibile to other modules (ff_guidcmp, ff_get_guid)

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

10 years agoadd ff_find_stream_index
Peter Ross [Sun, 26 Dec 2010 01:24:51 +0000 (01:24 +0000)]
add ff_find_stream_index

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

10 years agoadd ff_get_bmp_header
Peter Ross [Sun, 26 Dec 2010 01:23:44 +0000 (01:23 +0000)]
add ff_get_bmp_header

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

10 years agoSimplify tff setting code in MPV_frame_start().
Michael Niedermayer [Sat, 25 Dec 2010 19:49:19 +0000 (19:49 +0000)]
Simplify tff setting code in MPV_frame_start().

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

10 years agoClarify AVFMT_TS_DISCONT and muxers.
Michael Niedermayer [Sat, 25 Dec 2010 19:49:15 +0000 (19:49 +0000)]
Clarify AVFMT_TS_DISCONT and muxers.

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

10 years agoFix size of monoblack_pal array, code uses 16 values unconditionally.
Daniel Verkamp [Sat, 25 Dec 2010 16:09:23 +0000 (16:09 +0000)]
Fix size of monoblack_pal array, code uses 16 values unconditionally.
Patch by Daniel Verkamp [daniel drv nu].

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

10 years agoPort pred4x4_down_left_mmxext (H.264 intra prediction) from x264 to FFmpeg.
Daniel Kang [Fri, 24 Dec 2010 22:43:07 +0000 (22:43 +0000)]
Port pred4x4_down_left_mmxext (H.264 intra prediction) from x264 to FFmpeg.
LGPL relicensing approved by original authors: Holger Lubitz <holger lubitz
org>, Jason Garrett-Glaser <darkshikari gmail com> and Loren Merritt <lorenm
at u dot washington dot edu>. Patch by Daniel Kang <daniel dot d dot kang at
gmail com>, as part of Google's GCI 2010.

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

10 years agoFor rounding in chroma MC SSSE3, use 16-byte pw_3/4 instead of reading 8 bytes
Ronald S. Bultje [Fri, 24 Dec 2010 17:23:22 +0000 (17:23 +0000)]
For rounding in chroma MC SSSE3, use 16-byte pw_3/4 instead of reading 8 bytes
and then using movlhps to dup it into the higher half of the register.

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

10 years agoThere is no complete G.729 decoder in libavcodec.
Carl Eugen Hoyos [Fri, 24 Dec 2010 11:30:21 +0000 (11:30 +0000)]
There is no complete G.729 decoder in libavcodec.

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

10 years agocosmetics: line wrap and vertical alignment
Justin Ruggles [Thu, 23 Dec 2010 18:01:29 +0000 (18:01 +0000)]
cosmetics: line wrap and vertical alignment

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

10 years agoMake sure that the 2nd CRC value does not match the AC-3 sync word.
Justin Ruggles [Thu, 23 Dec 2010 18:01:26 +0000 (18:01 +0000)]
Make sure that the 2nd CRC value does not match the AC-3 sync word.
This is optional for encoders, but it's a good idea and has minimal impact
on performance.
This will change the output for some files, but it happens not to affect the
regression tests.

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

10 years agoStore CRC context locally to reduce number of calls to av_crc_get_table().
Justin Ruggles [Thu, 23 Dec 2010 18:01:23 +0000 (18:01 +0000)]
Store CRC context locally to reduce number of calls to av_crc_get_table().

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

10 years agoRemove unneeded local variable, frame_size, in output_frame_end().
Justin Ruggles [Thu, 23 Dec 2010 18:01:19 +0000 (18:01 +0000)]
Remove unneeded local variable, frame_size, in output_frame_end().

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

10 years agoFix braino: by -> with.
Stefano Sabatini [Thu, 23 Dec 2010 17:29:48 +0000 (17:29 +0000)]
Fix braino: by -> with.

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

10 years agoRedesign the libopencv wrapper to make it more generic. Accept both
Stefano Sabatini [Thu, 23 Dec 2010 17:24:19 +0000 (17:24 +0000)]
Redesign the libopencv wrapper to make it more generic. Accept both

The same filter class will be used for managing all the libopencv
filtering functions.

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

10 years agoAdd dependency for the libavfitler.html file.
Stefano Sabatini [Thu, 23 Dec 2010 17:06:46 +0000 (17:06 +0000)]
Add dependency for the libavfitler.html file.

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

10 years agortsp: Require the transport reply from the server to match the request
Martin Storsjö [Thu, 23 Dec 2010 15:05:24 +0000 (15:05 +0000)]
rtsp: Require the transport reply from the server to match the request

This fixes a crash if we requested TCP interleaved transport, but the
server replies with transport data for UDP. According to the RFC, the
server isn't allowed to respond with another transport type than the
one requested.

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

10 years agoMakefile: Fix dependencies of components
Martin Storsjö [Wed, 22 Dec 2010 20:00:42 +0000 (20:00 +0000)]
Makefile: Fix dependencies of components

This fixes compilation with --disable-everything --enable-<component>,
for all encoders, decoders, muxers, demuxers, parsers, protocols, bsfs,
indevs, outdevs and filters at the moment. (All those that work without
any external dependencies at least.)

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

10 years agoFix av_file_map(): replace stat(filename, &st) with fstat(fd, &st).
Stefano Sabatini [Wed, 22 Dec 2010 16:16:31 +0000 (16:16 +0000)]
Fix av_file_map(): replace stat(filename, &st) with fstat(fd, &st).

The file might be replaced between open() and stat().
Spotted by Mans.

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

10 years agoReplace lstat() with stat() in av_file_map(). The lstat() use was wrong.
Stefano Sabatini [Wed, 22 Dec 2010 15:32:13 +0000 (15:32 +0000)]
Replace lstat() with stat() in av_file_map(). The lstat() use was wrong.

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

10 years agoAdd av_file_map() and av_file_unmap() functions.
Stefano Sabatini [Wed, 22 Dec 2010 14:13:04 +0000 (14:13 +0000)]
Add av_file_map() and av_file_unmap() functions.

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