ffmpeg.git
11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 years agoFix typo.
Jai Menon [Fri, 27 Nov 2009 13:10:56 +0000 (13:10 +0000)]
Fix typo.

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

11 years agoAdd support for hardcoding the motionpixels rgb to yuv table.
Reimar Döffinger [Thu, 26 Nov 2009 21:20:28 +0000 (21:20 +0000)]
Add support for hardcoding the motionpixels rgb to yuv table.

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

11 years ago10l, pix_fmt should be set by the motionpixels decoder, not by the demuxer.
Reimar Döffinger [Thu, 26 Nov 2009 21:15:06 +0000 (21:15 +0000)]
10l, pix_fmt should be set by the motionpixels decoder, not by the demuxer.
This fixes playback when lavf and lavc are less tightly couples as in e.g. MPlayer.

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

11 years agoMake sws_format_name() use av_pix_fmt_descriptors.
Stefano Sabatini [Thu, 26 Nov 2009 21:08:45 +0000 (21:08 +0000)]
Make sws_format_name() use av_pix_fmt_descriptors.

This also introduces a dependency of libswscale on libavutil.

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

11 years agoMake avcodec_get_pix_fmt_name() use av_pix_fmt_descriptors rather than
Stefano Sabatini [Thu, 26 Nov 2009 21:04:33 +0000 (21:04 +0000)]
Make avcodec_get_pix_fmt_name() use av_pix_fmt_descriptors rather than
pix_fmt_info.

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

11 years agoMake av_pix_fmt_descriptors use the same pixel format names as defined
Stefano Sabatini [Thu, 26 Nov 2009 20:58:37 +0000 (20:58 +0000)]
Make av_pix_fmt_descriptors use the same pixel format names as defined
in libavcodec/imgconvert.c.

Avoid to break compatility when making the functions dealing with
pixel format names in imgconvert.c use the names defined in pixdescs.

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

11 years agoAllow decoders to correctly set the sample format by defaulting to
Jai Menon [Thu, 26 Nov 2009 20:46:13 +0000 (20:46 +0000)]
Allow decoders to correctly set the sample format by defaulting to
SAMPLE_FMT_NONE in avcodec_get_context_defaults2.

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

11 years agoRemove x_chroma_shift and y_chroma_shift fields from PixFmtInfo, use
Stefano Sabatini [Thu, 26 Nov 2009 20:00:03 +0000 (20:00 +0000)]
Remove x_chroma_shift and y_chroma_shift fields from PixFmtInfo, use
av_pix_fmt_descriptors log2_chroma_w and log2_chroma_h values instead.

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

11 years agoUpdate libavformat regression reference checksum for ffm. This change is
Jai Menon [Thu, 26 Nov 2009 18:49:34 +0000 (18:49 +0000)]
Update libavformat regression reference checksum for ffm. This change is
due to r20601.

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

11 years agoRevert "Add required header #include to fix 'make checkheaders'."
Måns Rullgård [Thu, 26 Nov 2009 10:06:41 +0000 (10:06 +0000)]
Revert "Add required header #include to fix 'make checkheaders'."

config.h must not be included in that file.  The table generator runs
on the host system, but config.h describes the target.

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

11 years agocosmetics: K&R style, prettyprinting
Diego Biurrun [Thu, 26 Nov 2009 09:59:10 +0000 (09:59 +0000)]
cosmetics: K&R style, prettyprinting

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

11 years agoMark apply_mdct() function as static; it is only used within the file.
Diego Biurrun [Thu, 26 Nov 2009 09:55:03 +0000 (09:55 +0000)]
Mark apply_mdct() function as static; it is only used within the file.

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

11 years agoUse av_pix_fmt_descriptors in avcodec_get_chroma_sub_sample(), rather
Stefano Sabatini [Thu, 26 Nov 2009 00:33:19 +0000 (00:33 +0000)]
Use av_pix_fmt_descriptors in avcodec_get_chroma_sub_sample(), rather
than the PixFmtInfo x_chroma_shift and y_chroma_shift fields.

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

11 years agoUse av_pix_fmt_descriptors in ff_is_hwaccel_pix_fmt() rather than
Stefano Sabatini [Wed, 25 Nov 2009 23:52:20 +0000 (23:52 +0000)]
Use av_pix_fmt_descriptors in ff_is_hwaccel_pix_fmt() rather than
access the PixFmtInfo.is_hwaccel field which is going to be removed.

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

11 years agoRemove special case that changed video sync behavior for av_q2d(enc->time_base) ...
Michael Niedermayer [Wed, 25 Nov 2009 23:33:47 +0000 (23:33 +0000)]
Remove special case that changed video sync behavior for av_q2d(enc->time_base) <= 0.001.
This should make the default behave more like one would expect and not
change behavior at 1000fps.

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

11 years agoAdd an entry for the AVFilter.next field removal.
Stefano Sabatini [Wed, 25 Nov 2009 23:32:26 +0000 (23:32 +0000)]
Add an entry for the AVFilter.next field removal.

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

11 years ago-DFRAC_BITS must be added to CPPFLAGS when compiling mpegaudio_tablegen.ho.
Diego Biurrun [Wed, 25 Nov 2009 23:29:36 +0000 (23:29 +0000)]
-DFRAC_BITS must be added to CPPFLAGS when compiling mpegaudio_tablegen.ho.

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

11 years agoAdd required header #include to fix 'make checkheaders'.
Diego Biurrun [Wed, 25 Nov 2009 23:24:09 +0000 (23:24 +0000)]
Add required header #include to fix 'make checkheaders'.

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

11 years agoRemove AVFilter.next field, since it is not used and it is not going
Stefano Sabatini [Wed, 25 Nov 2009 23:24:09 +0000 (23:24 +0000)]
Remove AVFilter.next field, since it is not used and it is not going
to be used since the implementation of the new filter registration
system.

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

11 years agoFix nv12/nv21 handling. linesize for plane 1 should account for both chroma
Ramiro Polla [Wed, 25 Nov 2009 17:14:48 +0000 (17:14 +0000)]
Fix nv12/nv21 handling. linesize for plane 1 should account for both chroma
planes instead of just doubling the height while computing plane sizes. Also
adjust avpicture_layout() to copy the correct amount of data for plane 1.

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

11 years agoSupport compiling against libtheora older than 1.1
David Conrad [Wed, 25 Nov 2009 16:00:14 +0000 (16:00 +0000)]
Support compiling against libtheora older than 1.1

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

11 years agoAdd an entry for the avfilter_next() function addition.
Stefano Sabatini [Wed, 25 Nov 2009 00:01:14 +0000 (00:01 +0000)]
Add an entry for the avfilter_next() function addition.

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

11 years agoImplement avfilter_next().
Stefano Sabatini [Tue, 24 Nov 2009 23:58:48 +0000 (23:58 +0000)]
Implement avfilter_next().

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