ffmpeg.git
9 years ago100l trocadero: call emms_c() after doing decoding with SIMD in APE decoder
Kostya Shishkov [Fri, 4 Dec 2009 08:18:13 +0000 (08:18 +0000)]
100l trocadero: call emms_c() after doing decoding with SIMD in APE decoder

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

9 years agoMake sure ff_init_qscale_tab() is called one way or another when
Michael Niedermayer [Thu, 3 Dec 2009 21:38:10 +0000 (21:38 +0000)]
Make sure ff_init_qscale_tab() is called one way or another when
adaptive quantization is enabled.
Fixes issue509.

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

9 years agoMove ff_init_qscale_tab() from h263.c to mpegvideo, the function is not h263 specific.
Michael Niedermayer [Thu, 3 Dec 2009 21:36:58 +0000 (21:36 +0000)]
Move ff_init_qscale_tab() from h263.c to mpegvideo, the function is not h263 specific.

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

9 years agolzw.h does not need get_bits.h, tiff.c needs intreadwrite.h for AV_R* though
Baptiste Coudurier [Thu, 3 Dec 2009 19:19:57 +0000 (19:19 +0000)]
lzw.h does not need get_bits.h, tiff.c needs intreadwrite.h for AV_R* though

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

9 years agouse lzw compression in gif encoder
Baptiste Coudurier [Thu, 3 Dec 2009 19:17:39 +0000 (19:17 +0000)]
use lzw compression in gif encoder

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

9 years agoport ape dsp functions from sse2 to mmx
Loren Merritt [Thu, 3 Dec 2009 18:53:12 +0000 (18:53 +0000)]
port ape dsp functions from sse2 to mmx
now requires yasm

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

9 years agoAdd support for nv12/nv21 input.
Ramiro Polla [Thu, 3 Dec 2009 18:18:13 +0000 (18:18 +0000)]
Add support for nv12/nv21 input.

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

9 years agoMake av_log_level static at next lavu major version bump.
Ramiro Polla [Thu, 3 Dec 2009 18:15:54 +0000 (18:15 +0000)]
Make av_log_level static at next lavu major version bump.

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

9 years agoavoid an unpredictable branch
Loren Merritt [Thu, 3 Dec 2009 17:48:54 +0000 (17:48 +0000)]
avoid an unpredictable branch
20% faster predictor_update_filter, .4-4% faster ape decoding on core2

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

9 years agoinline to allow constant propagation
Loren Merritt [Thu, 3 Dec 2009 17:44:08 +0000 (17:44 +0000)]
inline to allow constant propagation
50% faster predictor_update_filter, 1-10% faster ape decoding on core2

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

9 years agoRemove duplicating variable
Kostya Shishkov [Thu, 3 Dec 2009 17:11:48 +0000 (17:11 +0000)]
Remove duplicating variable

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

9 years ago5l trocadero: RTMP channel ID lies in range 3-65599, uint8_t is too small for it
Kostya Shishkov [Thu, 3 Dec 2009 16:13:51 +0000 (16:13 +0000)]
5l trocadero: RTMP channel ID lies in range 3-65599, uint8_t is too small for it

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

9 years agoSend connect() and createStream() in RTMP system channel, not video channel.
Sergiy [Thu, 3 Dec 2009 15:59:51 +0000 (15:59 +0000)]
Send connect() and createStream() in RTMP system channel, not video channel.
Patch by Sergiy (com gmail . piratfm @ mail =)

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

9 years agoMove "app" string into RTMP protocol context.
Sergiy [Thu, 3 Dec 2009 15:47:00 +0000 (15:47 +0000)]
Move "app" string into RTMP protocol context.
Patch by Sergiy (com.gmail@piratfm)

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

9 years agoRTMP packets with one-byte header use previous packet timestamp difference, so
Sergiy [Thu, 3 Dec 2009 06:40:37 +0000 (06:40 +0000)]
RTMP packets with one-byte header use previous packet timestamp difference, so
track timestamp difference as well.
Patch by Sergiy (mail.composeAddress("piratfm","gmail.com"))

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

9 years agoUpdate help text for -fpre option to make it a little less confusing.
Ramiro Polla [Thu, 3 Dec 2009 00:55:52 +0000 (00:55 +0000)]
Update help text for -fpre option to make it a little less confusing.

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

9 years agoUpdate Changelog, documentation, and libavformat minor version number for
Ramiro Polla [Thu, 3 Dec 2009 00:27:01 +0000 (00:27 +0000)]
Update Changelog, documentation, and libavformat minor version number for
"A format generated by IndigoVision 8000 video server" added in r20681.

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

9 years agoRevert r20095: Allow compiling to vorbis again.
Philipp Matthias Hahn [Wed, 2 Dec 2009 23:51:15 +0000 (23:51 +0000)]
Revert r20095: Allow compiling to vorbis again.

Original patch by Philipp Matthias Hahn, pmhahn pmhahn de

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

9 years agopass avctx as argument instead of width and height
Baptiste Coudurier [Wed, 2 Dec 2009 21:25:28 +0000 (21:25 +0000)]
pass avctx as argument instead of width and height

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

9 years agoremove useless params
Baptiste Coudurier [Wed, 2 Dec 2009 21:05:06 +0000 (21:05 +0000)]
remove useless params

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

9 years agoremove useless params
Baptiste Coudurier [Wed, 2 Dec 2009 21:04:23 +0000 (21:04 +0000)]
remove useless params

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

9 years agomove private context declaration at the top
Baptiste Coudurier [Wed, 2 Dec 2009 21:01:12 +0000 (21:01 +0000)]
move private context declaration at the top

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

9 years agoFix 1 pass RC in snow.
Michael Niedermayer [Wed, 2 Dec 2009 20:07:23 +0000 (20:07 +0000)]
Fix 1 pass RC in snow.
Fixes issue547.

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

9 years agoARM: 1l c&p fix: do not set pred16x16_plane for rv40
Måns Rullgård [Wed, 2 Dec 2009 17:21:43 +0000 (17:21 +0000)]
ARM: 1l c&p fix: do not set pred16x16_plane for rv40

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

9 years agoARM: NEON optimised H264 16x16, 8x8 pred
Måns Rullgård [Wed, 2 Dec 2009 14:56:45 +0000 (14:56 +0000)]
ARM: NEON optimised H264 16x16, 8x8 pred

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

9 years agoAdd another known RTMP channel ID to enum.
Sergiy [Wed, 2 Dec 2009 13:00:28 +0000 (13:00 +0000)]
Add another known RTMP channel ID to enum.
From patch by Sergiy (mail = piratfm, gmail)

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

9 years agoMove is_input flag into RTMP protocol context.
Sergiy [Wed, 2 Dec 2009 12:55:10 +0000 (12:55 +0000)]
Move is_input flag into RTMP protocol context.
Patch by Sergiy (gmail(piratfm))
Thread "[PATCH] rtmp-output"

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

9 years agoAAC: Add a global header but output not locked output configuration status.
Alex Converse [Wed, 2 Dec 2009 09:12:05 +0000 (09:12 +0000)]
AAC: Add a global header but output not locked output configuration status.

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

9 years agoSet the SBR mode to implicit on ADTS frames occurring before the output is locked.
Alex Converse [Wed, 2 Dec 2009 09:07:32 +0000 (09:07 +0000)]
Set the SBR mode to implicit on ADTS frames occurring before the output is locked.

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

9 years agoSmall refactoring: Instead of 4 loops for decoding AC coefficients based
Mike Melanson [Wed, 2 Dec 2009 04:06:27 +0000 (04:06 +0000)]
Small refactoring: Instead of 4 loops for decoding AC coefficients based
on their grouping, create one loop that indexes into a table of AC VLC
tables.

There is also a small optimization here: Do not call unpack_vlcs()
if there are no fragments in the list with outstanding coefficients.
My profiling indicates that this can save upwards of 1 million
dezicycles per frame throughout the course of unpack_dct_coeffs().

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

9 years agoUse a list to track which fragments coded in this frame still have
Mike Melanson [Wed, 2 Dec 2009 02:30:15 +0000 (02:30 +0000)]
Use a list to track which fragments coded in this frame still have
outstanding coefficients yet to be decoded from the bitstream. Once a
fragment reaches end-of-block, remove it from this new list. This change
makes the VP3/Theora entropy decode process dramatically faster due to
not having to iterate incessantly over fragments which have already been
fully decoded.

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

9 years agoARM: small tweak of NEON H264 IDCT
Måns Rullgård [Wed, 2 Dec 2009 00:37:39 +0000 (00:37 +0000)]
ARM: small tweak of NEON H264 IDCT

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

9 years agoARM: NEON 2xN chroma MC
Måns Rullgård [Wed, 2 Dec 2009 00:37:36 +0000 (00:37 +0000)]
ARM: NEON 2xN chroma MC

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

9 years agoARM: NEON 16x16 and 8x8 avg qpel MC
Måns Rullgård [Wed, 2 Dec 2009 00:37:33 +0000 (00:37 +0000)]
ARM: NEON 16x16 and 8x8 avg qpel MC

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

9 years agoprint error message when image2 muxer fail to compute frame filename
Baptiste Coudurier [Tue, 1 Dec 2009 23:10:32 +0000 (23:10 +0000)]
print error message when image2 muxer fail to compute frame filename

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

9 years agoChange ret type to int64_t because url_fseek returns int64_t.
Sean Soria [Tue, 1 Dec 2009 22:56:44 +0000 (22:56 +0000)]
Change ret type to int64_t because url_fseek returns int64_t.
This fixes seeking in files > 2gb.
Patch by Sean Soria, sean dot soria at gmail dot com.

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

9 years agofix typo, ALT_BITSTREAM_WRITER_LE does not exist
Baptiste Coudurier [Tue, 1 Dec 2009 22:35:25 +0000 (22:35 +0000)]
fix typo, ALT_BITSTREAM_WRITER_LE does not exist

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

9 years agoStore original width/height so that rv20 does not get stuck with some
Michael Niedermayer [Tue, 1 Dec 2009 22:30:03 +0000 (22:30 +0000)]
Store original width/height so that rv20 does not get stuck with some
resolution. A sample file to show a difference is at issue833 (http://airfarce.com/video/000211fh.rm)

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

9 years agoMake rv1/2 decoder use the next slice if needed.
Michael Niedermayer [Tue, 1 Dec 2009 21:10:37 +0000 (21:10 +0000)]
Make rv1/2 decoder use the next slice if needed.
Fixes issue782.

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

9 years agouse AVFormatContext in av_log, better than AVCodecContext when multiple streams are...
Baptiste Coudurier [Tue, 1 Dec 2009 20:15:05 +0000 (20:15 +0000)]
use AVFormatContext in av_log, better than AVCodecContext when multiple streams are present

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

9 years agoupdate seek regression ref due to r20674, packet size changed
Baptiste Coudurier [Tue, 1 Dec 2009 20:13:03 +0000 (20:13 +0000)]
update seek regression ref due to r20674, packet size changed

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

9 years agoSupport ASCII pnms.
Michael Niedermayer [Tue, 1 Dec 2009 16:56:13 +0000 (16:56 +0000)]
Support ASCII pnms.
Implements issue1452.

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

9 years agoWrite timestamp deltas, not timestamps, for RTMP packets with partial header
Kostya Shishkov [Tue, 1 Dec 2009 16:43:53 +0000 (16:43 +0000)]
Write timestamp deltas, not timestamps, for RTMP packets with partial header

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

9 years agoFull-header RTMP packets contain real timestamp, others contain timestamp
Kostya Shishkov [Tue, 1 Dec 2009 16:08:44 +0000 (16:08 +0000)]
Full-header RTMP packets contain real timestamp, others contain timestamp
difference, so make all read packets store absolute timestamp.
As a consequence, we don't need to track audio/video timestamps separately
any longer in protocol handler.

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

9 years agoWrite header for RTMP packets with channel_id >= 64 correctly
Kostya Shishkov [Tue, 1 Dec 2009 15:13:23 +0000 (15:13 +0000)]
Write header for RTMP packets with channel_id >= 64 correctly

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

9 years agoRead and write extended timestamps for RTMP packets.
Sergiy [Tue, 1 Dec 2009 15:07:32 +0000 (15:07 +0000)]
Read and write extended timestamps for RTMP packets.
Extracted from patch by Sergiy in thread "[PATCH] rtmp-output"

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

9 years ago7l trocadero: reading right into enum variable may cause unwanted effects, use
Kostya Shishkov [Tue, 1 Dec 2009 14:58:17 +0000 (14:58 +0000)]
7l trocadero: reading right into enum variable may cause unwanted effects, use
intermediate buffer for reading value instead in RTMP protocol handler.

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

9 years agoSupport "A format generated by IndigoVision 8000 video server".
Michael Niedermayer [Tue, 1 Dec 2009 13:17:10 +0000 (13:17 +0000)]
Support "A format generated by IndigoVision 8000 video server".

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

9 years agopngdec.c : release allocated buffers.
Jai Menon [Tue, 1 Dec 2009 11:38:37 +0000 (11:38 +0000)]
pngdec.c : release allocated buffers.

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

9 years agoslif aka "SoftLab MPEG-2 I-frames Codec" support.
Michael Niedermayer [Tue, 1 Dec 2009 02:07:46 +0000 (02:07 +0000)]
slif aka "SoftLab MPEG-2 I-frames Codec" support.
Flipping one bit still is popular it seems as a means to create a new codec.
fixes issue1469.

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

9 years ago4:2:2 4:4:4 bugfix for the error concealment code.
Michael Niedermayer [Tue, 1 Dec 2009 01:01:37 +0000 (01:01 +0000)]
4:2:2 4:4:4 bugfix for the error concealment code.

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

9 years agoRename parameters of put_sbits() to make them consistent with those of
Stefano Sabatini [Mon, 30 Nov 2009 23:52:28 +0000 (23:52 +0000)]
Rename parameters of put_sbits() to make them consistent with those of
put_bits().

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

9 years agoMove "slice below image" check from mpeg_decode_slice to its caller.
Michael Niedermayer [Mon, 30 Nov 2009 23:08:25 +0000 (23:08 +0000)]
Move "slice below image" check from mpeg_decode_slice to its caller.
Should fix issue1277.

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

9 years agoPrint a warning if the duration is estimated from the bitrate, as this is
Michael Niedermayer [Mon, 30 Nov 2009 22:08:22 +0000 (22:08 +0000)]
Print a warning if the duration is estimated from the bitrate, as this is
likely not accurate.

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

9 years agodecode qcelp in aiff, implement #1524, patch by Vitor
Vitor Sessak [Mon, 30 Nov 2009 22:01:21 +0000 (22:01 +0000)]
decode qcelp in aiff, implement #1524, patch by Vitor

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

9 years agoCheck Xfixes.h header presence before enabling x11grab.
Baptiste Coudurier [Mon, 30 Nov 2009 21:43:03 +0000 (21:43 +0000)]
Check Xfixes.h header presence before enabling x11grab.
This fixes compilation when lib is present but not header.

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

9 years agoMove dummy picture allocation code from mpeg1/2 to mpegvideo.
Michael Niedermayer [Mon, 30 Nov 2009 21:22:01 +0000 (21:22 +0000)]
Move dummy picture allocation code from mpeg1/2 to mpegvideo.
This fixes a infinite loop on a b frame.

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

9 years agoDisable error resilience for field pictures, this was never supported,
Michael Niedermayer [Mon, 30 Nov 2009 19:15:19 +0000 (19:15 +0000)]
Disable error resilience for field pictures, this was never supported,
results where more or less random but should not have crashed.

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

9 years agoSet mb_y in mpeg2 field pictures like h264 does.
Michael Niedermayer [Mon, 30 Nov 2009 19:14:00 +0000 (19:14 +0000)]
Set mb_y in mpeg2 field pictures like h264 does.
This fixes -vismv & -debug 16384 with field pictures.

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

9 years agoMake ""MPEG motion vector out of boundary" message more verbose.
Michael Niedermayer [Mon, 30 Nov 2009 17:29:21 +0000 (17:29 +0000)]
Make ""MPEG motion vector out of boundary" message more verbose.

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

9 years agoFix an issue uncovered by commit 20623:
Attila Kinali [Mon, 30 Nov 2009 10:25:20 +0000 (10:25 +0000)]
Fix an issue uncovered by commit 20623:

The init functions of mpc7 and mpc8 check whether the vlc has been
initialized already and return early if this is the case (eg by calling
init a second time).
But avctx->sample_fmt and channel_layout is set after the vlc initialization,
causing it not to be set on the second call of init.

Move all manipulations of avctx before the initialization of the vlc,
so that it is always set.

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

9 years agoStart decoding from seq/gop too, not just I frames.
Michael Niedermayer [Mon, 30 Nov 2009 03:32:43 +0000 (03:32 +0000)]
Start decoding from seq/gop too, not just I frames.
Possibly fixes issue1124.

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

9 years agoFix dual prime motion compensation in field pictures.
Michael Niedermayer [Mon, 30 Nov 2009 02:37:03 +0000 (02:37 +0000)]
Fix dual prime motion compensation in field pictures.
Fixes issue1125.

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

9 years agoInclude alsa headers before the internal FFmpeg headers.
Matthieu Castet [Sun, 29 Nov 2009 23:30:46 +0000 (23:30 +0000)]
Include alsa headers before the internal FFmpeg headers.

This avoids symbol redefinitions problems, for example avoids the "free"
symbol to be redefined before system headers actually using it are
included, thus breaking compilation. In particular this change allows
to build FFmpeg with salsa.

Patch by matthieu castet <$surname.mat?hieu@free fr>.

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

9 years agoFactorize common commandline options definition.
Stefano Sabatini [Sun, 29 Nov 2009 23:12:19 +0000 (23:12 +0000)]
Factorize common commandline options definition.

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

9 years agoUse more consistent / meaningful parameter names for the
Stefano Sabatini [Sun, 29 Nov 2009 23:01:29 +0000 (23:01 +0000)]
Use more consistent / meaningful parameter names for the
ff_copy_bits() function.

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

9 years agoconsistency with other files: av_cold static ---> static av_cold
Ivo van Poorten [Sun, 29 Nov 2009 22:39:38 +0000 (22:39 +0000)]
consistency with other files: av_cold static ---> static av_cold

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

9 years ago100l, max value for timescale is UINT16_MAX
Baptiste Coudurier [Sun, 29 Nov 2009 18:26:51 +0000 (18:26 +0000)]
100l, max value for timescale is UINT16_MAX

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

9 years agoUse the correct chroma values for the data[] array used in
Stefano Sabatini [Sun, 29 Nov 2009 18:02:19 +0000 (18:02 +0000)]
Use the correct chroma values for the data[] array used in
draw_slice().

The chroma values to use are supposed to be those of the input format,
not that of the output format, the latter case was causing crashes and
chroma issues.

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

9 years agoUse a valid log context for av_log().
Stefano Sabatini [Sun, 29 Nov 2009 17:40:53 +0000 (17:40 +0000)]
Use a valid log context for av_log().

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

9 years agonellymoser: use constant seed for dithering RNG
Måns Rullgård [Sun, 29 Nov 2009 15:15:53 +0000 (15:15 +0000)]
nellymoser: use constant seed for dithering RNG

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

9 years agocook: use constant seed for dithering RNG
Måns Rullgård [Sun, 29 Nov 2009 15:15:50 +0000 (15:15 +0000)]
cook: use constant seed for dithering RNG

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

9 years agoPrint errors instead of just ignoring contradictionary values in mpeg2 silently.
Michael Niedermayer [Sun, 29 Nov 2009 14:31:40 +0000 (14:31 +0000)]
Print errors instead of just ignoring contradictionary values in mpeg2 silently.

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

9 years agoDocument slice ordering assumption required by avfilter_draw_slice().
Stefano Sabatini [Sun, 29 Nov 2009 10:42:37 +0000 (10:42 +0000)]
Document slice ordering assumption required by avfilter_draw_slice().

The assumption depends on the corresponding assumption done by
sws_scale() and by the scale filter.

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

9 years agoOverride a few values read so as to ensure that things are not inconsistent.
Michael Niedermayer [Sun, 29 Nov 2009 03:32:30 +0000 (03:32 +0000)]
Override a few values read so as to ensure that things are not inconsistent.

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

9 years agoRestructure dummy frame allocation.
Michael Niedermayer [Sun, 29 Nov 2009 03:05:11 +0000 (03:05 +0000)]
Restructure dummy frame allocation.
New code also allocates a dummy frame for an p field after an i field,
previously that could segfault due to reading from NULL+x.

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

9 years agoremove useless mov timescale field
Baptiste Coudurier [Sun, 29 Nov 2009 02:46:49 +0000 (02:46 +0000)]
remove useless mov timescale field

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

9 years agochange track timescale to unsigned int, fix warning
Baptiste Coudurier [Sun, 29 Nov 2009 02:41:48 +0000 (02:41 +0000)]
change track timescale to unsigned int, fix warning

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

9 years agotrack time can be 64bit
Baptiste Coudurier [Sun, 29 Nov 2009 02:40:27 +0000 (02:40 +0000)]
track time can be 64bit

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

9 years agosupport pcm_f32/64le in mov
Baptiste Coudurier [Sun, 29 Nov 2009 02:27:08 +0000 (02:27 +0000)]
support pcm_f32/64le in mov

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

9 years agocosmetics, reindent after last commit
Baptiste Coudurier [Sun, 29 Nov 2009 02:04:44 +0000 (02:04 +0000)]
cosmetics, reindent after last commit

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

9 years agosupport sample rates > INT16_MAX in mov using stsd v2
Baptiste Coudurier [Sun, 29 Nov 2009 02:03:24 +0000 (02:03 +0000)]
support sample rates > INT16_MAX in mov using stsd v2

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

9 years agoMake sure field_select is not set to nonsensical values even if unused.
Michael Niedermayer [Sun, 29 Nov 2009 01:50:43 +0000 (01:50 +0000)]
Make sure field_select is not set to nonsensical values even if unused.
Fixed an assert failure.

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

9 years agoFactorize "s->first_slice = 1" out.
Michael Niedermayer [Sat, 28 Nov 2009 23:17:46 +0000 (23:17 +0000)]
Factorize "s->first_slice = 1" out.

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

9 years agoAlso check the location of the picture start code and picture coding
Michael Niedermayer [Sat, 28 Nov 2009 23:05:06 +0000 (23:05 +0000)]
Also check the location of the picture start code and picture coding
extension a little.

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

9 years agoCheck order of startcodes, ignore some obviously wrong ones.
Michael Niedermayer [Sat, 28 Nov 2009 22:51:53 +0000 (22:51 +0000)]
Check order of startcodes, ignore some obviously wrong ones.
Fixes issue487.

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

9 years agoMove mpeg_decode_postinit() out of bitstream decoding functions, it does not
Michael Niedermayer [Sat, 28 Nov 2009 21:32:33 +0000 (21:32 +0000)]
Move mpeg_decode_postinit() out of bitstream decoding functions, it does not
belong in there.

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

9 years agoInline mpeg_decode_extension, will simplify future changes.
Michael Niedermayer [Sat, 28 Nov 2009 18:57:12 +0000 (18:57 +0000)]
Inline mpeg_decode_extension, will simplify future changes.

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

9 years agoSimplify mpeg_decode_user_data()
Michael Niedermayer [Sat, 28 Nov 2009 14:17:28 +0000 (14:17 +0000)]
Simplify mpeg_decode_user_data()

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

9 years agoFix put_bits32() doxy.
Stefano Sabatini [Sat, 28 Nov 2009 10:58:07 +0000 (10:58 +0000)]
Fix put_bits32() doxy.

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

9 years agoConsistently put braces for function definitions.
Stefano Sabatini [Sat, 28 Nov 2009 10:21:10 +0000 (10:21 +0000)]
Consistently put braces for function definitions.

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

9 years agoFix typo, "Write" -> "Writes".
Stefano Sabatini [Sat, 28 Nov 2009 10:17:43 +0000 (10:17 +0000)]
Fix typo, "Write" -> "Writes".

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

9 years agoUse pixel formats names defined in av_pix_fmt_descriptors rather than
Stefano Sabatini [Sat, 28 Nov 2009 01:13:43 +0000 (01:13 +0000)]
Use pixel formats names defined in av_pix_fmt_descriptors rather than
in those in pix_fmt_info, and remove the not anymore used
PixFmtInfo.name field.

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

9 years agoRemove unused PixFmtInfo.is_hwaccel field.
Stefano Sabatini [Sat, 28 Nov 2009 00:53:15 +0000 (00:53 +0000)]
Remove unused PixFmtInfo.is_hwaccel field.

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

9 years agoRemove "frame size must be a multiple of 2" check.
Michael Niedermayer [Fri, 27 Nov 2009 20:20:44 +0000 (20:20 +0000)]
Remove "frame size must be a multiple of 2" check.
This check only caught explicitly set sizes from the cmd line and overriding
the users wish seems silly, especially as it seems to work.

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

9 years agoAdd nomouse option to not record the mouse cursor.
Michael Niedermayer [Fri, 27 Nov 2009 19:36:18 +0000 (19:36 +0000)]
Add nomouse option to not record the mouse cursor.
Implements issue877

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

9 years agoRemove unused stuff.
Michael Niedermayer [Fri, 27 Nov 2009 18:56:30 +0000 (18:56 +0000)]
Remove unused stuff.

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

9 years agoReal cursor support in x11grab.
Roxis [Fri, 27 Nov 2009 17:58:48 +0000 (17:58 +0000)]
Real cursor support in x11grab.
Patch by Roxis /// roxis list dot ru
Slight changes by me to update the patch to current svn.

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

9 years agoDo not invent error codes but pass the error code on.
Michael Niedermayer [Fri, 27 Nov 2009 13:48:37 +0000 (13:48 +0000)]
Do not invent error codes but pass the error code on.

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

9 years agoReplace very odd and completely broken oss read_packet() by the obvious way to
Michael Niedermayer [Fri, 27 Nov 2009 13:37:53 +0000 (13:37 +0000)]
Replace very odd and completely broken oss read_packet() by the obvious way to
read.
Fixes issue348.

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