10 years agoWin32 support for av_file_map()
Daniel Verkamp [Wed, 5 Jan 2011 05:16:33 +0000 (05:16 +0000)]
Win32 support for av_file_map()

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

10 years agoOur ljpeg encoder supports bgra, use the correct constant in the sanity check.
Michael Niedermayer [Wed, 5 Jan 2011 04:52:35 +0000 (04:52 +0000)]
Our ljpeg encoder supports bgra, use the correct constant in the sanity check.

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

10 years agoFix/cleanup m/ljpeg encoding pix fmt selection code in ffmpeg.c.
Michael Niedermayer [Wed, 5 Jan 2011 04:52:32 +0000 (04:52 +0000)]
Fix/cleanup m/ljpeg encoding pix fmt selection code in ffmpeg.c.
Better ideas are welcome ...

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

10 years agoRemove PIX_FMT_RGB32 mjpeg encoding, there is no such thing ...
Michael Niedermayer [Wed, 5 Jan 2011 04:52:21 +0000 (04:52 +0000)]
Remove PIX_FMT_RGB32 mjpeg encoding, there is no such thing ...

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

10 years agoIn pad filter, update new ref w/h in start_frame, fix chaining
Baptiste Coudurier [Wed, 5 Jan 2011 01:14:14 +0000 (01:14 +0000)]
In pad filter, update new ref w/h in start_frame, fix chaining

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

10 years agoIn crop filter, update new ref w/h instead of old one, fix chaining
Baptiste Coudurier [Wed, 5 Jan 2011 01:00:53 +0000 (01:00 +0000)]
In crop filter, update new ref w/h instead of old one, fix chaining

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

10 years agoFix YUV444P LJPEG encoding.
Michael Niedermayer [Tue, 4 Jan 2011 18:57:16 +0000 (18:57 +0000)]
Fix YUV444P LJPEG encoding.

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

10 years agoIn the video4linux2 output device, log an error description in case of
Stefano Sabatini [Tue, 4 Jan 2011 18:18:01 +0000 (18:18 +0000)]
In the video4linux2 output device, log an error description in case of
ioctl failure in mmap_release_buffer().

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

10 years agoRemove unnecessary dependency of ffprobe and ffserver on libswscale.
Stefano Sabatini [Tue, 4 Jan 2011 14:00:10 +0000 (14:00 +0000)]
Remove unnecessary dependency of ffprobe and ffserver on libswscale.

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

10 years agoDisable initialization of the swscale sws_opts context in
Stefano Sabatini [Tue, 4 Jan 2011 14:00:06 +0000 (14:00 +0000)]
Disable initialization of the swscale sws_opts context in
cmdutils.c:init_opts(), in the case libswscale compilation is not

Fix ffprobe and ffserver compilation with --disable-swscale.

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

10 years agolavf: rename meta.h->ffmeta.h for consistency.
Anton Khirnov [Tue, 4 Jan 2011 12:35:39 +0000 (12:35 +0000)]
lavf: rename meta.h->ffmeta.h for consistency.

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

10 years agocosmetics: fix typo in previous commit
Justin Ruggles [Tue, 4 Jan 2011 12:08:10 +0000 (12:08 +0000)]
cosmetics: fix typo in previous commit

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

10 years agoChange the AC-3 encoder to use floating-point.
Justin Ruggles [Tue, 4 Jan 2011 11:53:44 +0000 (11:53 +0000)]
Change the AC-3 encoder to use floating-point.
Fixed-point AC-3 encoder renamed to ac3_fixed.
Regression test acodec-ac3 renamed to acodec-ac3_fixed.
Regression test lavf-rm changed to use ac3_fixed encoder.

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

10 years agowtv: obtain codec information from stream2_guid chunks, if present
Peter Ross [Tue, 4 Jan 2011 11:38:29 +0000 (11:38 +0000)]
wtv: obtain codec information from stream2_guid chunks, if present

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

10 years agompeg4videodec: reset time_base.num to 0 when detecting time_base.den=0
Aurelien Jacobs [Mon, 3 Jan 2011 23:33:20 +0000 (23:33 +0000)]
mpeg4videodec: reset time_base.num to 0 when detecting time_base.den=0
to avoid leaving time_base in a broken/inconsistent state
fix issue2471

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

10 years agoMove fixed-point parts of the AC-3 encoder to separate files.
Justin Ruggles [Mon, 3 Jan 2011 16:08:56 +0000 (16:08 +0000)]
Move fixed-point parts of the AC-3 encoder to separate files.

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

10 years agoReindent
Martin Storsjö [Mon, 3 Jan 2011 12:43:48 +0000 (12:43 +0000)]

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

10 years agoFix compilation on x86-32 with --disable-optimizations,
Daniel Kang [Mon, 3 Jan 2011 11:30:04 +0000 (11:30 +0000)]
Fix compilation on x86-32 with --disable-optimizations,
fixes issue 2127.

Patch by Daniel Kang, daniel.d.kang at gmail

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

10 years agolibavfilter does not depend on libswscale, only the scale filter does.
Carl Eugen Hoyos [Mon, 3 Jan 2011 10:56:37 +0000 (10:56 +0000)]
libavfilter does not depend on libswscale, only the scale filter does.

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

10 years agoFix crash decoding broken wmv2 files.
Daniel Kang [Sun, 2 Jan 2011 23:41:02 +0000 (23:41 +0000)]
Fix crash decoding broken wmv2 files.
Fixes issue 1670.

Patch by Daniel Kang, daniel.d.kang at gmail

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

10 years agosrtdec: ensure we don't read 1 byte after buffer end if the buffer is not
Aurelien Jacobs [Sun, 2 Jan 2011 23:40:30 +0000 (23:40 +0000)]
srtdec: ensure we don't read 1 byte after buffer end if the buffer is not
properly terminated.

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

10 years ago"Fix" compilation with --disable-swscale.
Carl Eugen Hoyos [Sun, 2 Jan 2011 16:24:19 +0000 (16:24 +0000)]
"Fix" compilation with --disable-swscale.

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

10 years agoUse AVOption for muxers in ffmpeg.
Anssi Hannula [Sun, 2 Jan 2011 16:00:47 +0000 (16:00 +0000)]
Use AVOption for muxers in ffmpeg.

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

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

10 years agoRemove the "-idct simple" command line option from the fate-psx-str test,
Vitor Sessak [Sun, 2 Jan 2011 12:42:49 +0000 (12:42 +0000)]
Remove the "-idct simple" command line option from the fate-psx-str test,
it should not be necessary anymore.

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

10 years agowtv: display warning if scrambled stream is detected
Peter Ross [Sun, 2 Jan 2011 11:17:34 +0000 (11:17 +0000)]
wtv: display warning if scrambled stream is detected

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

10 years agoMake PSX MDEC decoder output YUVJ420 and always use IDCT_SIMPLE. This
Vitor Sessak [Sun, 2 Jan 2011 11:16:21 +0000 (11:16 +0000)]
Make PSX MDEC decoder output YUVJ420 and always use IDCT_SIMPLE. This
makes the output much closer to original Playstation hardware.

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

10 years agoAdd AVOption support for muxers.
Anssi Hannula [Sun, 2 Jan 2011 10:52:34 +0000 (10:52 +0000)]
Add AVOption support for muxers.

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

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

10 years agoUse new function put_nbyte() to speed up padding.
Anssi Hannula [Sun, 2 Jan 2011 10:46:50 +0000 (10:46 +0000)]
Use new function put_nbyte() to speed up padding.

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

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

10 years agoAdd function put_nbyte() to speed up padding in SPDIF muxer.
Anssi Hannula [Sun, 2 Jan 2011 10:45:07 +0000 (10:45 +0000)]
Add function put_nbyte() to speed up padding in SPDIF muxer.

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

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

10 years agortsp: Store the Content-Base header value straight to the target
Martin Storsjö [Sun, 2 Jan 2011 10:11:12 +0000 (10:11 +0000)]
rtsp: Store the Content-Base header value straight to the target

This avoids having a large temporary buffer in the struct used for
storing the rtsp reply headers.

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

10 years agortsp: Pass the method name to ff_rtsp_parse_line
Martin Storsjö [Sun, 2 Jan 2011 10:10:12 +0000 (10:10 +0000)]
rtsp: Pass the method name to ff_rtsp_parse_line

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

10 years agortsp: Pass RTSPState to ff_rtsp_parse_line, instead of HTTPAuthState
Martin Storsjö [Sun, 2 Jan 2011 10:07:56 +0000 (10:07 +0000)]
rtsp: Pass RTSPState to ff_rtsp_parse_line, instead of HTTPAuthState

This allows ff_rtsp_parse_line to do more changes directly in RTSPState
when parsing the reply, instead of having to store large amounts of
temporary data in RTSPMessageHeader.

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

10 years agortsp: Add a method parameter to ff_rtsp_read_reply
Martin Storsjö [Sun, 2 Jan 2011 10:06:21 +0000 (10:06 +0000)]
rtsp: Add a method parameter to ff_rtsp_read_reply

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

10 years agoFix a floating point exception for invalid framerate, fixes issue 2470.
Daniel Kang [Sun, 2 Jan 2011 05:01:46 +0000 (05:01 +0000)]
Fix a floating point exception for invalid framerate, fixes issue 2470.

Patch by Daniel Kang, daniel.d.kang at gmail

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

10 years agortpdec: Emit timestamps for packets before the first RTCP packet, too
Martin Storsjö [Sat, 1 Jan 2011 22:27:16 +0000 (22:27 +0000)]
rtpdec: Emit timestamps for packets before the first RTCP packet, too

Emitted timestamps in each stream start from 0, for the first received
RTP packet. Once an RTCP packet is received, that one is used for
sync, emitting timestamps that fit seamlessly into the earlier ones.

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

10 years agoRecognize FFMPEG_FORCE_NOCOLOR environment variable on Win32
Daniel Verkamp [Sat, 1 Jan 2011 20:08:15 +0000 (20:08 +0000)]
Recognize FFMPEG_FORCE_NOCOLOR environment variable on Win32

Fixes issue 2461

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

10 years agoUse AVSampleFormat instead of the deprecated SampleFormat.
Reimar Döffinger [Sat, 1 Jan 2011 19:45:08 +0000 (19:45 +0000)]
Use AVSampleFormat instead of the deprecated SampleFormat.

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

10 years agoUpdate current year to 2011. Happy New Year!
Justin Ruggles [Sat, 1 Jan 2011 18:49:18 +0000 (18:49 +0000)]
Update current year to 2011. Happy New Year!

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

10 years agoFix typos.
Stefano Sabatini [Sat, 1 Jan 2011 11:47:51 +0000 (11:47 +0000)]
Fix typos.

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

10 years agomove ff_get_bmp_header under CONFIG_DEMUXERS block
Peter Ross [Sat, 1 Jan 2011 03:24:10 +0000 (03:24 +0000)]
move ff_get_bmp_header under CONFIG_DEMUXERS block

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

10 years agoSkip the bit allocation search if previous and current SNR offsets are the
Justin Ruggles [Fri, 31 Dec 2010 23:22:08 +0000 (23:22 +0000)]
Skip the bit allocation search if previous and current SNR offsets are the
maximum value of 1023.
This speeds up overall encoding depending on the content and bitrate.
The most improvement is with high bitrates and/or low complexity content.

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

10 years ago10l: Fix mistake in r26044. Check increment bounds using actual increment
Justin Ruggles [Fri, 31 Dec 2010 22:59:19 +0000 (22:59 +0000)]
10l: Fix mistake in r26044. Check increment bounds using actual increment
instead of 64. This will change output in some cases, but it happens to not
affect the AC-3 regression tests.

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

10 years agoChange planar_samples from int16_t to SampleType.
Justin Ruggles [Fri, 31 Dec 2010 20:01:12 +0000 (20:01 +0000)]
Change planar_samples from int16_t to SampleType.
This one was missed in r26174.

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

10 years agoAdd .pix_fmts to LCL encoder
Jason Garrett-Glaser [Fri, 31 Dec 2010 04:56:44 +0000 (04:56 +0000)]
Add .pix_fmts to LCL encoder
Now ffmpeg should automatically convert to BGR instead of erroring out.

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

10 years agoFix invalid reads in valgrind fate, patch by Daniel Kang <daniel dot d dot
Daniel Kang [Fri, 31 Dec 2010 01:29:06 +0000 (01:29 +0000)]
Fix invalid reads in valgrind fate, patch by Daniel Kang <daniel dot d dot
kang at gmail com>, as part of Google's GCI 2010.

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

10 years agofree subtitle_header before overwriting it to avoid memleak
Aurelien Jacobs [Fri, 31 Dec 2010 00:06:25 +0000 (00:06 +0000)]
free subtitle_header before overwriting it to avoid memleak

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

10 years agouse avsubtitle_free() instead of re-implementing it partially (fix a memleak)
Aurelien Jacobs [Fri, 31 Dec 2010 00:01:37 +0000 (00:01 +0000)]
use avsubtitle_free() instead of re-implementing it partially (fix a memleak)

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

10 years agoAdd typedefs and a macro that will allow sharing of functions between the
Justin Ruggles [Thu, 30 Dec 2010 22:30:48 +0000 (22:30 +0000)]
Add typedefs and a macro that will allow sharing of functions between the
fixed-point and floating-point AC-3 encoders.

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

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