]> git.sesse.net Git - ffmpeg/log
ffmpeg
12 years agolavr: Add x86-optimized function for s16 to s32 conversion
Justin Ruggles [Fri, 20 Apr 2012 19:48:08 +0000 (15:48 -0400)]
lavr: Add x86-optimized function for s16 to s32 conversion

12 years agortpenc: Support packetizing iLBC
Martin Storsjö [Sun, 17 Jun 2012 14:25:46 +0000 (17:25 +0300)]
rtpenc: Support packetizing iLBC

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agortpdec: Add a depacketizer for iLBC
Martin Storsjö [Sun, 17 Jun 2012 13:12:53 +0000 (16:12 +0300)]
rtpdec: Add a depacketizer for iLBC

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoImplement the iLBC storage file format
Martin Storsjö [Sun, 17 Jun 2012 12:54:31 +0000 (15:54 +0300)]
Implement the iLBC storage file format

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agomov: Support muxing/demuxing iLBC
Martin Storsjö [Sat, 16 Jun 2012 21:29:26 +0000 (00:29 +0300)]
mov: Support muxing/demuxing iLBC

The packet size, signalled via block_align, has to be passed via
the container.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoAdd support for iLBC decoding/encoding via the external library libilbc
Martin Storsjö [Fri, 15 Jun 2012 21:42:13 +0000 (00:42 +0300)]
Add support for iLBC decoding/encoding via the external library libilbc

The library is 3-clause BSD licensed.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agortmp: Don't send every flv packet in a separate HTTP request in RTMPT
Samuel Pitoiset [Mon, 18 Jun 2012 12:55:55 +0000 (14:55 +0200)]
rtmp: Don't send every flv packet in a separate HTTP request in RTMPT

Add a new option 'rtmp_flush_interval' that allows specifying the
number of packets to write before sending it off as a HTTP request.

This is mostly relevant for RTMPT - for plain RTMP, it only controls
how often we check the socket for incoming packets, which shouldn't
affect the performance in any noticeable way.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agortsp: Send mode=record instead of mode=receive
Martin Storsjö [Mon, 18 Jun 2012 13:19:33 +0000 (16:19 +0300)]
rtsp: Send mode=record instead of mode=receive

This seems to be the correct mode to send, according to the
original RTSP RFC, and matches the method RECORD which is
sent later when starting to send data.

Darwin Streaming Server works fine with either of them.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agodirac: replace compound literal with normal initialiser
Ronald S. Bultje [Mon, 18 Jun 2012 11:57:25 +0000 (12:57 +0100)]
dirac: replace compound literal with normal initialiser

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agolavr: add x86-optimized functions for mixing 1-to-2 s16p with flt coeffs
Justin Ruggles [Tue, 29 May 2012 21:03:56 +0000 (17:03 -0400)]
lavr: add x86-optimized functions for mixing 1-to-2 s16p with flt coeffs

12 years agolavr: add x86-optimized functions for mixing 1-to-2 fltp with flt coeffs
Justin Ruggles [Tue, 29 May 2012 21:03:40 +0000 (17:03 -0400)]
lavr: add x86-optimized functions for mixing 1-to-2 fltp with flt coeffs

12 years agoAdd Dolby/DPLII downmix support to libavresample
John Stebbins [Sat, 9 Jun 2012 20:45:49 +0000 (13:45 -0700)]
Add Dolby/DPLII downmix support to libavresample

Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
12 years agovorbisdec: replace div/mod in loop with a counter
Mans Rullgard [Sat, 16 Jun 2012 17:08:03 +0000 (18:08 +0100)]
vorbisdec: replace div/mod in loop with a counter

2x speedup of surround decoding on Cortex-A9.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agofate: vorbis: add 5.1 surround test
Mans Rullgard [Sat, 16 Jun 2012 15:14:21 +0000 (16:14 +0100)]
fate: vorbis: add 5.1 surround test

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agortpenc: Allow requesting H264 RTP packetization mode 0
Martin Storsjö [Mon, 28 May 2012 09:11:26 +0000 (12:11 +0300)]
rtpenc: Allow requesting H264 RTP packetization mode 0

This requires all NAL units to fit within single RTP packets. It
doesn't change the actual packetization for packets that fit, but
errors out and gives a helpful hint if the NAL units would have to
be split, and signals the right packetization mode in the SDP.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoconfigure: Sort the library listings in the help text alphabetically
Martin Storsjö [Sun, 17 Jun 2012 21:05:52 +0000 (00:05 +0300)]
configure: Sort the library listings in the help text alphabetically

Only these three libraries were out of order, the rest was already
neatly sorted.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agodwt: remove variable-length arrays
Ronald S. Bultje [Thu, 14 Jun 2012 10:47:55 +0000 (11:47 +0100)]
dwt: remove variable-length arrays

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoRTMPT protocol support
Samuel Pitoiset [Sun, 17 Jun 2012 18:24:43 +0000 (20:24 +0200)]
RTMPT protocol support

This adds two protocols, but one of them is an internal implementation
detail just used as an abstraction layer/generalization in the code. The
RTMPT protocol implementation uses rtmphttp:// as an alternative to the
tcp:// protocol. This allows moving most of the lower level logic out
from the higher level generic rtmp code.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agohttp: Properly handle chunked transfer-encoding for replies to post data
Martin Storsjö [Sun, 17 Jun 2012 18:19:41 +0000 (21:19 +0300)]
http: Properly handle chunked transfer-encoding for replies to post data

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agohttp: Fail reading if the connection has gone away
Martin Storsjö [Sun, 17 Jun 2012 18:15:32 +0000 (21:15 +0300)]
http: Fail reading if the connection has gone away

This can happen if doing a new request using the same socket,
but the new request failed, which clears the urlcontext.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoamr: Mark an array const
Martin Storsjö [Sun, 17 Jun 2012 16:08:23 +0000 (19:08 +0300)]
amr: Mark an array const

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoamr: More space cleanup
Martin Storsjö [Sun, 17 Jun 2012 16:06:56 +0000 (19:06 +0300)]
amr: More space cleanup

This was missed in the previous cleanup patch.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agortpenc: Fix memory leaks in the muxer open function
Martin Storsjö [Sun, 17 Jun 2012 15:18:16 +0000 (18:18 +0300)]
rtpenc: Fix memory leaks in the muxer open function

Also return a proper error code in these cases.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoamr: Cosmetic cleanup
Martin Storsjö [Sun, 17 Jun 2012 15:07:27 +0000 (18:07 +0300)]
amr: Cosmetic cleanup

Add spaces around operators, fix brace placement and whitespace to
match K&R style, vertically align code, remove redundant != 0 and
convert x == 0 into !x, drop useless braces.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agomov_chan: Fix operator precedence by adding parentheses
Martin Storsjö [Sat, 16 Jun 2012 23:08:00 +0000 (02:08 +0300)]
mov_chan: Fix operator precedence by adding parentheses

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agodoc: Add missing protocols to list of supported protocols.
Diego Biurrun [Thu, 14 Jun 2012 08:34:16 +0000 (10:34 +0200)]
doc: Add missing protocols to list of supported protocols.

12 years agotcp: Check the listen call
Jordi Ortiz [Sat, 16 Jun 2012 10:29:53 +0000 (12:29 +0200)]
tcp: Check the listen call

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoflacdec: read attached pictures.
Anton Khirnov [Fri, 15 Jun 2012 12:39:23 +0000 (14:39 +0200)]
flacdec: read attached pictures.

12 years agolavf: don't segfault when a NULL filename is passed to avformat_open_input()
Anton Khirnov [Fri, 15 Jun 2012 17:58:11 +0000 (19:58 +0200)]
lavf: don't segfault when a NULL filename is passed to avformat_open_input()

This can easily happen when the caller is using a custom AVIOContext.

Behave as if the filename was an empty string in this case.

CC: libav-stable@libav.org
12 years agoaf_resample: fix format modifier in debug string for FF_API_SAMPLERATE64
Janne Grunau [Fri, 15 Jun 2012 14:07:29 +0000 (16:07 +0200)]
af_resample: fix format modifier in debug string for FF_API_SAMPLERATE64

12 years agosegment: remove unnecessary <strings.h> include
Janne Grunau [Thu, 14 Jun 2012 16:41:47 +0000 (18:41 +0200)]
segment: remove unnecessary <strings.h> include

12 years agofate: add snow hpel tests
Mans Rullgard [Thu, 14 Jun 2012 12:58:08 +0000 (12:58 +0000)]
fate: add snow hpel tests

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
12 years agoAvoid C99 variable declarations within for statements.
Diego Biurrun [Thu, 14 Jun 2012 08:19:06 +0000 (10:19 +0200)]
Avoid C99 variable declarations within for statements.

We generally do not declare variables within for statements and
there are compilers that choke on such constructs.

12 years agortmp: Read and handle incoming packets while writing data
Samuel Pitoiset [Thu, 14 Jun 2012 13:28:40 +0000 (15:28 +0200)]
rtmp: Read and handle incoming packets while writing data

This makes sure all incoming packets are read and handled (and reacted
to) while sending an FLV stream over RTMP to a server. If there were
enough incoming data to fill the TCP buffers, this could potentially
make things block at unexpected places. For the upcoming RTMPT support,
we need to consume all incoming data before we can send the next
request.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agodoc: document THREAD_TYPE fate variable
Luca Barbato [Thu, 14 Jun 2012 18:27:31 +0000 (20:27 +0200)]
doc: document THREAD_TYPE fate variable

12 years agortpdec: Don't require frames to start with a Mode A packet
Martin Storsjö [Thu, 14 Jun 2012 12:13:14 +0000 (15:13 +0300)]
rtpdec: Don't require frames to start with a Mode A packet

While there is no reason for starting a frame with anything else
than a Mode A packet, some senders seem to consistently use Mode B
packets for everything. This fixes depacketization of such streams.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoavconv: don't try to free threads that were not initialized.
Anton Khirnov [Wed, 13 Jun 2012 11:33:42 +0000 (13:33 +0200)]
avconv: don't try to free threads that were not initialized.

12 years agortmp: Add a new option 'rtmp_buffer', for setting the client buffer time
Samuel Pitoiset [Wed, 13 Jun 2012 13:02:03 +0000 (15:02 +0200)]
rtmp: Add a new option 'rtmp_buffer', for setting the client buffer time

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agortmp: Set the client buffer time to 3s instead of 0.26s
Samuel Pitoiset [Wed, 13 Jun 2012 12:48:02 +0000 (14:48 +0200)]
rtmp: Set the client buffer time to 3s instead of 0.26s

This factorizes existing code into a new function gen_buffer_time(),
which generates the client buffer time message and sends it to the
server.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agortmp: Handle server bandwidth packets
Samuel Pitoiset [Wed, 13 Jun 2012 12:47:26 +0000 (14:47 +0200)]
rtmp: Handle server bandwidth packets

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agortmp: Display a verbose message when an unknown packet type is received
Samuel Pitoiset [Wed, 13 Jun 2012 12:45:57 +0000 (14:45 +0200)]
rtmp: Display a verbose message when an unknown packet type is received

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agolavfi/audio: use av_samples_copy() instead of custom code.
Anton Khirnov [Wed, 13 Jun 2012 08:52:35 +0000 (10:52 +0200)]
lavfi/audio: use av_samples_copy() instead of custom code.

Fixes a possible invalid write, found by Nicolas George.

12 years agoconfigure: add all filters hardcoded into avconv to avconv_deps
Anton Khirnov [Wed, 13 Jun 2012 08:17:28 +0000 (10:17 +0200)]
configure: add all filters hardcoded into avconv to avconv_deps

12 years agoavfiltergraph: remove a redundant call to avfilter_get_by_name().
Anton Khirnov [Wed, 13 Jun 2012 08:12:08 +0000 (10:12 +0200)]
avfiltergraph: remove a redundant call to avfilter_get_by_name().

12 years agolavfi: allow building without swscale.
Anton Khirnov [Wed, 13 Jun 2012 08:10:31 +0000 (10:10 +0200)]
lavfi: allow building without swscale.

12 years agobuild: Do not delete tests/vsynth2 directory, which is no longer created.
Diego Biurrun [Wed, 13 Jun 2012 10:17:06 +0000 (12:17 +0200)]
build: Do not delete tests/vsynth2 directory, which is no longer created.

12 years agolavfi: replace AVFilterContext.input/output_count with nb_inputs/outputs
Anton Khirnov [Tue, 12 Jun 2012 19:25:10 +0000 (21:25 +0200)]
lavfi: replace AVFilterContext.input/output_count with nb_inputs/outputs

This is more consistent with naming in the rest of Libav.

12 years agolavfi: make AVFilterPad opaque after two major bumps.
Anton Khirnov [Tue, 12 Jun 2012 18:12:42 +0000 (20:12 +0200)]
lavfi: make AVFilterPad opaque after two major bumps.

It will allow adding new fields to it without ABI breaks.

12 years agolavfi: add avfilter_pad_get_type() and avfilter_pad_get_name().
Anton Khirnov [Tue, 12 Jun 2012 17:57:57 +0000 (19:57 +0200)]
lavfi: add avfilter_pad_get_type() and avfilter_pad_get_name().

This will allow making AVFilterPad opaque for the calling apps, since
those are the only two fields that can be useful to the users.

12 years agolavfi: make avfilter_get_video_buffer() private on next bump.
Anton Khirnov [Wed, 30 May 2012 08:31:48 +0000 (10:31 +0200)]
lavfi: make avfilter_get_video_buffer() private on next bump.

They are only useful inside filters and we don't allow user filters for
now.

12 years agojack: update to new latency range API as the old one has been deprecated
Sean McGovern [Mon, 11 Jun 2012 22:22:31 +0000 (18:22 -0400)]
jack: update to new latency range API as the old one has been deprecated

Fixes Bugzilla #279.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years agortmp: Tokenize the AMF connection parameters manually instead of using strtok_r
Martin Storsjö [Wed, 13 Jun 2012 07:51:22 +0000 (10:51 +0300)]
rtmp: Tokenize the AMF connection parameters manually instead of using strtok_r

This fixes builds on platforms without strtok_r (windows).

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoppc: Rename H.264 optimization template file for consistency.
Diego Biurrun [Sun, 3 Jun 2012 15:20:30 +0000 (17:20 +0200)]
ppc: Rename H.264 optimization template file for consistency.

12 years agolavfi: add channelsplit audio filter.
Anton Khirnov [Wed, 30 May 2012 11:59:30 +0000 (13:59 +0200)]
lavfi: add channelsplit audio filter.

12 years agogolomb: check remaining bits during unary decoding in get_ur_golomb_jpegls()
Justin Ruggles [Mon, 11 Jun 2012 14:29:57 +0000 (10:29 -0400)]
golomb: check remaining bits during unary decoding in get_ur_golomb_jpegls()

Fixes infinite loop in FLAC decoding in case of a truncated bitstream due to
the safe bitstream reader returning 0's at the end.

Fixes Bug 310.

CC:libav-stable@libav.org

12 years agosws: fix planar RGB input conversions for 9/10/16 bpp.
Ronald S. Bultje [Sat, 12 May 2012 14:21:32 +0000 (07:21 -0700)]
sws: fix planar RGB input conversions for 9/10/16 bpp.

Fixes bug 282.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years agoavfilter: Log an error if avfilter fails to configure a link.
Alex Converse [Fri, 8 Jun 2012 19:02:04 +0000 (12:02 -0700)]
avfilter: Log an error if avfilter fails to configure a link.

12 years agoavconv: support only native pthreads.
Anton Khirnov [Mon, 11 Jun 2012 13:34:12 +0000 (15:34 +0200)]
avconv: support only native pthreads.

Our w32pthreads wrapper has various issues and is only supposed to be
used in libavcodec.

12 years agortmp: Fix a possible access to invalid memory location when the playpath is too short.
Samuel Pitoiset [Mon, 11 Jun 2012 12:21:32 +0000 (14:21 +0200)]
rtmp: Fix a possible access to invalid memory location when the playpath is too short.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agortmp: Do not send extension for flv files
Samuel Pitoiset [Thu, 7 Jun 2012 15:46:34 +0000 (17:46 +0200)]
rtmp: Do not send extension for flv files

This fixes bugzilla bug #304.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agortmp: support connection parameters
Samuel Pitoiset [Fri, 8 Jun 2012 11:16:34 +0000 (13:16 +0200)]
rtmp: support connection parameters

Allow using connection parameters in order to append arbitrary
AMF data like "B:1 S:authMe O:1 NN:code:1.23 NS:flag:ok O:0" to the
Connect message. You can pass these parameters through the -rtmp_conn
option.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agodoc: Add documentation for the newly added rtmp_* options
Samuel Pitoiset [Fri, 8 Jun 2012 11:15:21 +0000 (13:15 +0200)]
doc: Add documentation for the newly added rtmp_* options

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agolibmp3lame: add missing layout terminator
Michael Niedermayer [Thu, 31 May 2012 22:07:36 +0000 (00:07 +0200)]
libmp3lame: add missing layout terminator

Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years agoavconv: multithreaded demuxing.
Anton Khirnov [Sat, 2 Jun 2012 05:26:41 +0000 (07:26 +0200)]
avconv: multithreaded demuxing.

When there are multiple input files, run demuxing for each input file in
a separate thread, so reading packets does not block.

This is useful for achieving low latency when reading from multiple
(possibly slow) input streams.

12 years agoBump lavu minor and add an APIChanges entry for audioconvert functions.
Anton Khirnov [Mon, 28 May 2012 19:40:44 +0000 (21:40 +0200)]
Bump lavu minor and add an APIChanges entry for audioconvert functions.

12 years agoaudioconvert: add a function for extracting the channel with the given index
Anton Khirnov [Mon, 28 May 2012 10:20:57 +0000 (12:20 +0200)]
audioconvert: add a function for extracting the channel with the given index

12 years agoaudioconvert: add a function for getting the name of a single channel.
Anton Khirnov [Mon, 28 May 2012 06:39:10 +0000 (08:39 +0200)]
audioconvert: add a function for getting the name of a single channel.

12 years agoaudioconvert: add a function for getting channel's index in layout
Anton Khirnov [Mon, 28 May 2012 06:16:40 +0000 (08:16 +0200)]
audioconvert: add a function for getting channel's index in layout

12 years agoaudioconvert: use av_popcount64 in av_get_channel_layout_nb_channels
Anton Khirnov [Sat, 9 Jun 2012 18:14:12 +0000 (20:14 +0200)]
audioconvert: use av_popcount64 in av_get_channel_layout_nb_channels

12 years agovf_libopencv: add missing headers.
Anton Khirnov [Sat, 9 Jun 2012 14:00:16 +0000 (16:00 +0200)]
vf_libopencv: add missing headers.

Fix build after b74a1da4.

12 years agoiac: add missing dependency
Kostya Shishkov [Sat, 9 Jun 2012 17:19:07 +0000 (19:19 +0200)]
iac: add missing dependency

12 years agoh264: allow cropping to AVCodecContext.width/height
Mans Rullgard [Wed, 30 May 2012 03:04:54 +0000 (04:04 +0100)]
h264: allow cropping to AVCodecContext.width/height

Override the frame size from the SPS with AVCodecContext values
if the latter specify a size smaller by less than one macroblock.
This is required for correct cropping of MOV files from Canon cameras.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agomov: set AVCodecContext.width/height for h264
Mans Rullgard [Wed, 30 May 2012 03:06:00 +0000 (04:06 +0100)]
mov: set AVCodecContext.width/height for h264

This is required for correct cropping of files from Canon
cameras.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoiac: generate codec tables as they are supposed to be
Kostya Shishkov [Fri, 8 Jun 2012 17:34:46 +0000 (19:34 +0200)]
iac: generate codec tables as they are supposed to be

Unlike its predecessor, Indeo Audio codec generates tables depending on
sampling rate. Previously decoder used pre-generated tables for 22050 Hz
which obviously doesn't work with other frequencies.

Many thanks to Maxim Poliakovsky for providing all needed information
for this.

12 years agoindeo4: handle frame type 1 properly
Kostya Shishkov [Wed, 6 Jun 2012 18:13:07 +0000 (20:13 +0200)]
indeo4: handle frame type 1 properly

It turns out that this frame type is actually intra and should be used as
a reference for interframes too.

12 years agolavu: change versioning script to include all av* prefixed symbols
Justin Ruggles [Fri, 8 Jun 2012 19:47:59 +0000 (15:47 -0400)]
lavu: change versioning script to include all av* prefixed symbols

Needed to properly export avpriv_* symbols.

12 years agofloat_dsp: ppc: add a separate header for Altivec function prototypes
Justin Ruggles [Fri, 8 Jun 2012 17:58:03 +0000 (13:58 -0400)]
float_dsp: ppc: add a separate header for Altivec function prototypes

Also include config.h so that HAVE_ALTIVEC will be defined.
Fixes compilation on PPC with Altivec enabled.

12 years agoARM: fix float_dsp breakage from d5a7229
Mans Rullgard [Fri, 8 Jun 2012 18:24:51 +0000 (19:24 +0100)]
ARM: fix float_dsp breakage from d5a7229

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoAdd a float DSP framework to libavutil
Justin Ruggles [Mon, 21 May 2012 16:58:41 +0000 (12:58 -0400)]
Add a float DSP framework to libavutil

Move vector_fmul() from DSPContext to AVFloatDSPContext.

12 years agoPPC: Move types_altivec.h and util_altivec.h from libavcodec to libavutil
Justin Ruggles [Mon, 21 May 2012 20:24:42 +0000 (16:24 -0400)]
PPC: Move types_altivec.h and util_altivec.h from libavcodec to libavutil

This will allow for easier implementation of Altivec functions in libraries
other than libavcodec.

12 years agoARM: Move asm.S from libavcodec to libavutil
Justin Ruggles [Mon, 21 May 2012 19:46:23 +0000 (15:46 -0400)]
ARM: Move asm.S from libavcodec to libavutil

This will allow for easier implementation of ARM-optimized functions in
libraries other than libavcodec.

12 years agovc1dsp: mark put/avg_vc1_mspel_mc() always_inline
Mans Rullgard [Thu, 7 Jun 2012 13:20:44 +0000 (14:20 +0100)]
vc1dsp: mark put/avg_vc1_mspel_mc() always_inline

This ensures that these functions are inlined into the per-position
entry points, allowing constant propagation as needed for proper
optimisation.

18% faster VC1 decoding on Cortex-A9.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agompegts: Remove disabled extension matching probe.
Alex Converse [Tue, 5 Jun 2012 18:16:06 +0000 (11:16 -0700)]
mpegts: Remove disabled extension matching probe.

12 years agofate: avoid freopen(NULL) in videogen/rotozoom
Mans Rullgard [Wed, 6 Jun 2012 16:12:29 +0000 (17:12 +0100)]
fate: avoid freopen(NULL) in videogen/rotozoom

A number of systems do not implement freopen() with a NULL filename
correctly.  This changes these programs to output individual images
if opening a named output argument as a file fails, in this case
assuming it is a directory.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agovorbis: Validate that the floor 1 X values contain no duplicates.
Alex Converse [Tue, 5 Jun 2012 01:27:03 +0000 (18:27 -0700)]
vorbis: Validate that the floor 1 X values contain no duplicates.

Duplicate values in this vector are explicitly banned by the Vorbis I spec
and cause divide-by-zero crashes later on.

12 years agoavprobe: Identify codec probe failures rather than calling them unsupported codecs.
Alex Converse [Tue, 5 Jun 2012 00:35:51 +0000 (17:35 -0700)]
avprobe: Identify codec probe failures rather than calling them unsupported codecs.

12 years agoavformat: Probe codecs at score 0 on buffer exhaustion conditions.
Alex Converse [Mon, 4 Jun 2012 23:58:48 +0000 (16:58 -0700)]
avformat: Probe codecs at score 0 on buffer exhaustion conditions.

12 years agoavformat: Factorize codec probing.
Alex Converse [Mon, 4 Jun 2012 23:07:48 +0000 (16:07 -0700)]
avformat: Factorize codec probing.

12 years agoIndeo Audio decoder
Kostya Shishkov [Sat, 2 Jun 2012 19:07:02 +0000 (21:07 +0200)]
Indeo Audio decoder

12 years agoimc: make IMDCT support stereo output
Kostya Shishkov [Sat, 2 Jun 2012 18:35:41 +0000 (20:35 +0200)]
imc: make IMDCT support stereo output

This will be useful for Indeo Audio decoder which is almost the same
but supports stereo.

12 years agoimc: move channel-specific data into separate context
Kostya Shishkov [Sat, 2 Jun 2012 18:30:23 +0000 (20:30 +0200)]
imc: move channel-specific data into separate context

This will be useful for Indeo Audio decoder which is almost the same
but supports stereo.

12 years agolavfi: remove request/poll and drawing functions from public API on next bump
Anton Khirnov [Wed, 30 May 2012 09:20:32 +0000 (11:20 +0200)]
lavfi: remove request/poll and drawing functions from public API on next bump

They are only useful inside filters and we don't allow user filters for
now.

12 years agolavfi: make avfilter_insert_pad and pals private on next bump.
Anton Khirnov [Wed, 30 May 2012 08:31:48 +0000 (10:31 +0200)]
lavfi: make avfilter_insert_pad and pals private on next bump.

They are only useful inside filters and we don't allow user filters for
now.

12 years agolavfi: make formats API private on next bump.
Anton Khirnov [Wed, 30 May 2012 08:12:55 +0000 (10:12 +0200)]
lavfi: make formats API private on next bump.

It is only useful inside filters and we don't allow user filters for
now.

12 years agoavplay: use buffersrc instead of custom input filter.
Anton Khirnov [Wed, 30 May 2012 06:53:08 +0000 (08:53 +0200)]
avplay: use buffersrc instead of custom input filter.

We do not allow user filters, so avtools shouldn't use them either.

It also allows to reuse buffer management code from avconv, thus
reducing duplication.

12 years agoavtools: move buffer management code from avconv to cmdutils.
Anton Khirnov [Wed, 30 May 2012 05:57:59 +0000 (07:57 +0200)]
avtools: move buffer management code from avconv to cmdutils.

It will be used by avplay.

12 years agoavconv: don't use InputStream in the buffer management code.
Anton Khirnov [Wed, 30 May 2012 05:32:43 +0000 (07:32 +0200)]
avconv: don't use InputStream in the buffer management code.

Use just the pointer to the head of the buffer pool.

This will allow sharing the code with avplay.

12 years agoavconv: fix exiting when max frames is reached.
Anton Khirnov [Mon, 4 Jun 2012 18:01:55 +0000 (20:01 +0200)]
avconv: fix exiting when max frames is reached.

frame number should never be strictly larger than max frames, so the
if() was never triggered.

12 years agompc8: fix maximum bands handling
Kostya Shishkov [Mon, 4 Jun 2012 06:01:34 +0000 (08:01 +0200)]
mpc8: fix maximum bands handling

In Musepack SV8 codec property tell the maximum nonzero band, but every
frame codes maximum band as a limit (i.e. strictly less than given value).
Synthesis also expects maximum nonzero band, so there's a need to convert
frame maximum band limit value.

12 years agoaacdec: Turn PS off when switching to stereo and turn it to implicit when switching...
Alex Converse [Tue, 22 May 2012 21:43:28 +0000 (14:43 -0700)]
aacdec: Turn PS off when switching to stereo and turn it to implicit when switching to mono.