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

11 years agoAdd an entry for the avfilter_register() signature change.
Stefano Sabatini [Tue, 24 Nov 2009 23:52:07 +0000 (23:52 +0000)]
Add an entry for the avfilter_register() signature change.

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

11 years agoImplement a new registration system for filters.
Stefano Sabatini [Tue, 24 Nov 2009 23:47:33 +0000 (23:47 +0000)]
Implement a new registration system for filters.

Create a new static array containing pointers to the AVFilter
definitions, so that the non-constant next filter in the AVFilter
struct is not anymore required and the AVFilter definitions may be
stored in shareable memory.

Also change the signature for avfilter_register(), make it return an
int since it may fail if there is not enough space in the static array
for the registered filters.

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

11 years agoAdd an entry for the pixdesc.h API publication.
Stefano Sabatini [Tue, 24 Nov 2009 23:38:20 +0000 (23:38 +0000)]
Add an entry for the pixdesc.h API publication.

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

11 years agoMake the pixdesc API public.
Stefano Sabatini [Tue, 24 Nov 2009 23:33:41 +0000 (23:33 +0000)]
Make the pixdesc API public.

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

11 years agoMake lsp2polyf() function non-static for upcoming usage in SIPR
Vitor Sessak [Tue, 24 Nov 2009 16:58:50 +0000 (16:58 +0000)]
Make lsp2polyf() function non-static for upcoming usage in SIPR

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

11 years agoUpdate ffserver to include all basic x264 parameters in .ffm files.
Jason Garrett-Glaser [Tue, 24 Nov 2009 15:54:17 +0000 (15:54 +0000)]
Update ffserver to include all basic x264 parameters in .ffm files.

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

11 years agoAdd weightp support in API for libx264.
Jason Garrett-Glaser [Tue, 24 Nov 2009 15:49:34 +0000 (15:49 +0000)]
Add weightp support in API for libx264.
ffmpeg can encode baseline profile again.

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

11 years agoCall ff_find_hwaccel() after calling avcodec_set_dimensions().
Reimar Döffinger [Tue, 24 Nov 2009 15:13:47 +0000 (15:13 +0000)]
Call ff_find_hwaccel() after calling avcodec_set_dimensions().

Patch by Reimar

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

11 years agoWMA: extend exponent range to 95
Måns Rullgård [Tue, 24 Nov 2009 10:10:39 +0000 (10:10 +0000)]
WMA: extend exponent range to 95

Hopefully this will be enough.  Fixes issue 1565 (again).

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

11 years agoupdate seek regression ref due to r20579, mp3 timestamps are adjusted
Baptiste Coudurier [Tue, 24 Nov 2009 07:29:54 +0000 (07:29 +0000)]
update seek regression ref due to r20579, mp3 timestamps are adjusted

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

11 years agoDetermine VOC block length when length field is zero, fixes issue1538.
Peter Ross [Tue, 24 Nov 2009 07:08:17 +0000 (07:08 +0000)]
Determine VOC block length when length field is zero, fixes issue1538.

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

11 years agoCall avcodec_set_dimensions() instead of simply setting avctx->width/height
Kostya Shishkov [Tue, 24 Nov 2009 06:05:41 +0000 (06:05 +0000)]
Call avcodec_set_dimensions() instead of simply setting avctx->width/height
when frame dimensions change in RV3/4.

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

11 years agoAdd missing include. Fix the following compiler warnings:
Vitor Sessak [Mon, 23 Nov 2009 22:28:45 +0000 (22:28 +0000)]
Add missing include. Fix the following compiler warnings:
twinvq.c: In function 'decode_lsp':
twinvq.c:575: warning: implicit declaration of function 'ff_sort_nearly_sorted_floats'

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

11 years agoWMA: extend exponent table up to 75
Måns Rullgård [Mon, 23 Nov 2009 22:22:16 +0000 (22:22 +0000)]
WMA: extend exponent table up to 75

Fixes issue 1565.

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

11 years agoClarify PIX_FMT_BE flag doxy. Increase consistency / pickiness.
Stefano Sabatini [Mon, 23 Nov 2009 20:14:47 +0000 (20:14 +0000)]
Clarify PIX_FMT_BE flag doxy. Increase consistency / pickiness.

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

11 years agoUse avcodec_set_dimensions()
Michael Niedermayer [Mon, 23 Nov 2009 19:45:40 +0000 (19:45 +0000)]
Use avcodec_set_dimensions()

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

11 years agoCorrect order of arguments for avcodec_check_dimensions().
Michael Niedermayer [Mon, 23 Nov 2009 19:24:17 +0000 (19:24 +0000)]
Correct order of arguments for avcodec_check_dimensions().

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