Jason Garrett-Glaser [Sun, 6 Dec 2009 12:48:09 +0000 (12:48 +0000)]
Various VP3 optimizations.
Faster checks in reverse_dc_prediction.
Simplified deblocking checks.
Check transform==15 first, since it's more common than 13.
Originally committed as revision 20747 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov [Sun, 6 Dec 2009 07:03:46 +0000 (07:03 +0000)]
cosmetics: insert space between codeword and left parenthesis
Originally committed as revision 20746 to svn://svn.ffmpeg.org/ffmpeg/trunk
Sergiy [Sun, 6 Dec 2009 07:01:37 +0000 (07:01 +0000)]
Do not send invokes to RTMP server if we are not connected to it.
Patch by Sergiy (server.connect("gmail.com").selectAddress("piratfm"))
Originally committed as revision 20745 to svn://svn.ffmpeg.org/ffmpeg/trunk
Sean Soria [Sun, 6 Dec 2009 00:03:53 +0000 (00:03 +0000)]
Calls to url_fseek should have their return value checked in
av_seek_frame_binary, just as they do in av_seek_frame_generic.
Otherwise, function may return success even though url_fseek reported
failure.
Patch by Sean Soria, first.last at gmail
Originally committed as revision 20744 to svn://svn.ffmpeg.org/ffmpeg/trunk
Loren Merritt [Sat, 5 Dec 2009 17:53:11 +0000 (17:53 +0000)]
slightly faster scalarproduct_and_madd_int16_ssse3 on penryn, no change on conroe
Originally committed as revision 20743 to svn://svn.ffmpeg.org/ffmpeg/trunk
Loren Merritt [Sat, 5 Dec 2009 17:51:57 +0000 (17:51 +0000)]
r20739 broke compilation on systems without yasm
Originally committed as revision 20742 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jai Menon [Sat, 5 Dec 2009 17:51:00 +0000 (17:51 +0000)]
Update frame_width and frame_height based on the lowres value.
Fixes issues 1387, 1097 and probably some other lowres related problems.
Originally committed as revision 20741 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sat, 5 Dec 2009 15:14:01 +0000 (15:14 +0000)]
Add 'const' attribute to the last_asked_format variable, fix a
compiler warning.
Originally committed as revision 20740 to svn://svn.ffmpeg.org/ffmpeg/trunk
Loren Merritt [Sat, 5 Dec 2009 15:09:10 +0000 (15:09 +0000)]
refactor and optimize scalarproduct
29-105% faster apply_filter, 6-90% faster ape decoding on core2
(Any x86 other than core2 probably gets much less, since this is mostly due to ssse3 cachesplit avoidance and I haven't written the full gamut of other cachesplit modes.)
9-123% faster ape decoding on G4.
Originally committed as revision 20739 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ramiro Polla [Sat, 5 Dec 2009 09:44:19 +0000 (09:44 +0000)]
Fix compilation with runtime cpu detection.
All functions in swscale_template.c should be declared with the RENAME macro.
Originally committed as revision 29976 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Carl Eugen Hoyos [Sat, 5 Dec 2009 09:41:23 +0000 (09:41 +0000)]
Cosmetics: Reindent after r20679.
Originally committed as revision 20738 to svn://svn.ffmpeg.org/ffmpeg/trunk
Carl Eugen Hoyos [Sat, 5 Dec 2009 09:36:32 +0000 (09:36 +0000)]
Cosmetics: Reindent after r20736.
Originally committed as revision 20737 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Sat, 5 Dec 2009 03:53:12 +0000 (03:53 +0000)]
Make sure the parsers do not overwrite width/height as this can interfere
with the decoder.
Fixes issue1135.
Originally committed as revision 20736 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Fri, 4 Dec 2009 23:30:34 +0000 (23:30 +0000)]
Add an entry for the avfilter_draw_slice() API changes implemented in
r20734.
Originally committed as revision 20735 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Fri, 4 Dec 2009 23:26:13 +0000 (23:26 +0000)]
Add a slice_dir parameter to avfilter_draw_slice().
Avoid the need to implement slice direction detection code, thus
reducing code duplication.
See the thread:
"[FFmpeg-devel] [PATCH] Add a slice_dir parameter to avfilter_start_frame()".
Originally committed as revision 20734 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Fri, 4 Dec 2009 23:16:27 +0000 (23:16 +0000)]
Cosmetics: remove empty definitions of hw-accelerated PixFmtInfo
structs.
Originally committed as revision 20733 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov [Fri, 4 Dec 2009 16:52:42 +0000 (16:52 +0000)]
cosmetics: reindent after last commit
Originally committed as revision 20732 to svn://svn.ffmpeg.org/ffmpeg/trunk
Sergiy [Fri, 4 Dec 2009 16:52:16 +0000 (16:52 +0000)]
Implement RTMP output (publishing FLV stream to RTMP server).
Patch by Sergiy (piratfm at `do-no-evil-mail`.com)
Originally committed as revision 20731 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 4 Dec 2009 16:20:00 +0000 (16:20 +0000)]
Do not crash on frame size changes.
Fixes issue1481.
Originally committed as revision 20730 to svn://svn.ffmpeg.org/ffmpeg/trunk
Loren Merritt [Fri, 4 Dec 2009 15:12:09 +0000 (15:12 +0000)]
1-13% faster apply_filter, 1-3% faster ape decoding on core2
Originally committed as revision 20729 to svn://svn.ffmpeg.org/ffmpeg/trunk
Sergiy [Fri, 4 Dec 2009 15:01:58 +0000 (15:01 +0000)]
Compress headers for output RTMP packets.
Patch by Sergiy (piratfmGMAIL)
Originally committed as revision 20728 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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