]> git.sesse.net Git - ffmpeg/log
ffmpeg
12 years agolavfi: change AVFilterLink.sample_rate from int64_t to int on next bump
Anton Khirnov [Wed, 9 May 2012 06:43:07 +0000 (08:43 +0200)]
lavfi: change AVFilterLink.sample_rate from int64_t to int on next bump

There is no real reason for it to be 64bit, it's just a plain int in the
rest of Libav.

12 years agolavfi: change AVFilterBufferRefAudioProps.sample_rate from uint32_t to int
Anton Khirnov [Sun, 6 May 2012 08:40:11 +0000 (10:40 +0200)]
lavfi: change AVFilterBufferRefAudioProps.sample_rate from uint32_t to int

There's no reason for it to be explicitly 32 bits. It's declared as a
plain int in all other places in Libav.

This breaks audio filtering API and ABI in theory, but since it's
unusable right now this shouldn't be a problem.

12 years agolavfi: simplify signature for avfilter_get_audio_buffer() and friends
Stefano Sabatini [Tue, 30 Aug 2011 21:22:29 +0000 (23:22 +0200)]
lavfi: simplify signature for avfilter_get_audio_buffer() and friends

The additional parameters are just complicating the function interface.

Assume that a requested samples buffer will *always* have the format
specified in the requested link.

This breaks audio filtering API and ABI in theory, but since it's
unusable right now this shouldn't be a problem.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years agolavfi: use avfilter_get_audio_buffer_ref_from_arrays() in avfilter_default_get_audio_...
Stefano Sabatini [Sat, 15 Jan 2011 17:48:37 +0000 (18:48 +0100)]
lavfi: use avfilter_get_audio_buffer_ref_from_arrays() in avfilter_default_get_audio_buffer

12 years agolavfi: cleanup avfilter_get_audio_buffer() and pals.
Stefano Sabatini [Tue, 1 Feb 2011 11:34:23 +0000 (12:34 +0100)]
lavfi: cleanup avfilter_get_audio_buffer() and pals.

Remove AVFilterBufferRefAudioProps.size, and use nb_samples in its place
everywhere.
This is required as the size in the audio buffer may be aligned, so it
may not contain a well defined number of samples.

Also remove the useless planar parameter, which can be deduced from the
sample format.

This is technically an API and ABI break, but since the audio part of
lavfi is not usable now, this should not be a problem in practice.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years agolibxvid: Give more suitable names to libxvid-related files.
Diego Biurrun [Wed, 9 May 2012 15:20:36 +0000 (17:20 +0200)]
libxvid: Give more suitable names to libxvid-related files.

12 years agolibxvid: Separate libxvid encoder from libxvid rate control code.
Diego Biurrun [Tue, 10 Apr 2012 23:11:08 +0000 (01:11 +0200)]
libxvid: Separate libxvid encoder from libxvid rate control code.

This allows compiling the Xvid rate control code without the encoder.

12 years agojpeglsdec: Remove write-only variable in ff_jpegls_decode_lse().
Diego Biurrun [Thu, 19 Apr 2012 12:55:49 +0000 (14:55 +0200)]
jpeglsdec: Remove write-only variable in ff_jpegls_decode_lse().

libavcodec/jpeglsdec.c:54:9: warning: variable ‘len’ set but not used

12 years agofate: cosmetics: lowercase some comments
Diego Biurrun [Thu, 26 Apr 2012 13:04:20 +0000 (15:04 +0200)]
fate: cosmetics: lowercase some comments

12 years agofate: Give more consistent names to some RealVideo/RealAudio tests.
Diego Biurrun [Thu, 26 Apr 2012 12:55:37 +0000 (14:55 +0200)]
fate: Give more consistent names to some RealVideo/RealAudio tests.

12 years agolavfi: add avfilter_get_audio_buffer_ref_from_arrays().
Stefano Sabatini [Sun, 30 Jan 2011 23:07:41 +0000 (00:07 +0100)]
lavfi: add avfilter_get_audio_buffer_ref_from_arrays().

Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years agolavfi: add extended_data to AVFilterBuffer.
Anton Khirnov [Mon, 16 Apr 2012 12:01:26 +0000 (14:01 +0200)]
lavfi: add extended_data to AVFilterBuffer.

This is similar to what has previously been done in AVFrame to allow
dealing with more than 8 channels.

12 years agolavc: check that extended_data is properly set in avcodec_encode_audio2().
Anton Khirnov [Mon, 7 May 2012 14:56:20 +0000 (16:56 +0200)]
lavc: check that extended_data is properly set in avcodec_encode_audio2().

12 years agolavc: pad last audio frame with silence when needed.
Anton Khirnov [Mon, 7 May 2012 11:55:03 +0000 (13:55 +0200)]
lavc: pad last audio frame with silence when needed.

12 years agosamplefmt: add a function for filling a buffer with silence.
Anton Khirnov [Tue, 8 May 2012 11:56:37 +0000 (13:56 +0200)]
samplefmt: add a function for filling a buffer with silence.

12 years agosamplefmt: add a function for copying audio samples.
Anton Khirnov [Sun, 6 May 2012 12:10:38 +0000 (14:10 +0200)]
samplefmt: add a function for copying audio samples.

12 years agolavr: do not try to copy to uninitialized output audio data.
Anton Khirnov [Wed, 9 May 2012 04:36:29 +0000 (06:36 +0200)]
lavr: do not try to copy to uninitialized output audio data.

This would happen at least when lavr is used as a fifo with no
conversion.

12 years agolavr: make avresample_read() with NULL output discard samples.
Anton Khirnov [Wed, 9 May 2012 04:35:13 +0000 (06:35 +0200)]
lavr: make avresample_read() with NULL output discard samples.

12 years agofate: split idroq audio and video into separate tests
Mans Rullgard [Tue, 8 May 2012 23:59:40 +0000 (00:59 +0100)]
fate: split idroq audio and video into separate tests

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agofate: improve dependencies
Mans Rullgard [Tue, 8 May 2012 21:07:26 +0000 (22:07 +0100)]
fate: improve dependencies

This makes only tests actually using avconv depend on it.
The remaining tests already depend on what they need.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agofate: add convenient shorthands for ea-vp6, libavcodec, libavutil tests
Diego Biurrun [Thu, 26 Apr 2012 12:05:57 +0000 (12:05 +0000)]
fate: add convenient shorthands for ea-vp6, libavcodec, libavutil tests

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agofate: split some combined tests into separate audio and video tests
Diego Biurrun [Fri, 27 Apr 2012 14:17:42 +0000 (14:17 +0000)]
fate: split some combined tests into separate audio and video tests

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agofate: fix dependencies for probe tests
Mans Rullgard [Tue, 8 May 2012 10:29:09 +0000 (11:29 +0100)]
fate: fix dependencies for probe tests

Only the probe tests should depend on avprobe and these should
be enabled only if avprobe is configured.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agomips: intreadwrite: fix inline asm for gcc 4.8
Mans Rullgard [Sat, 5 May 2012 22:38:15 +0000 (23:38 +0100)]
mips: intreadwrite: fix inline asm for gcc 4.8

Just like gcc 4.6 and later on ARM, gcc 4.8 on MIPS generates
inefficient code when a known-unaligned location is used as a
memory input operand.  This applies the same fix as has been
previously done to the ARM version of the code.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agomips: intreadwrite: remove unnecessary inline asm
Mans Rullgard [Sat, 5 May 2012 22:24:51 +0000 (23:24 +0100)]
mips: intreadwrite: remove unnecessary inline asm

GCC actually handles unaligned accesses correctly in all cases
except, absurdly, 32-bit loads on mips64.  The remaining asm is
thus not needed, and removing it results in better code.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agolavfi: add video buffer sink, and use it in avtools
Anton Khirnov [Fri, 27 Apr 2012 04:56:56 +0000 (06:56 +0200)]
lavfi: add video buffer sink, and use it in avtools

Also add the public interface libavfilter/buffersink.h.

Based on a commit by Stefano Sabatini.

12 years agolavfi: add a function for copying properties from AVFilterBufferRef->AVFrame
Anton Khirnov [Fri, 27 Apr 2012 15:27:40 +0000 (17:27 +0200)]
lavfi: add a function for copying properties from AVFilterBufferRef->AVFrame

Based on a commit by Stefano Sabatini <stefano.sabatini-lala@poste.it>

12 years agosctp: Initial tcp-alike sctp support with streams
Luca Barbato [Sat, 21 Apr 2012 12:03:05 +0000 (14:03 +0200)]
sctp: Initial tcp-alike sctp support with streams

Signed-off-by: Jordi Ortiz <nenjordi@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years agolibschroedingerdec: Change AVPicture to AVFrame and use SchroTag to store pts
Jordi Ortiz [Tue, 8 May 2012 17:20:32 +0000 (19:20 +0200)]
libschroedingerdec: Change AVPicture to AVFrame and use SchroTag to store pts

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years agooptions_table: Add some missing #includes to fix "make checkheaders".
Alex Converse [Mon, 7 May 2012 23:25:12 +0000 (16:25 -0700)]
options_table: Add some missing #includes to fix "make checkheaders".

Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years agodoc: Replace a stray reference to the old '-intra' flag.
Alex Converse [Mon, 7 May 2012 18:57:11 +0000 (11:57 -0700)]
doc: Replace a stray reference to the old '-intra' flag.

12 years agortsp: Add content-type message header parsing
Jordi Ortiz [Fri, 4 May 2012 15:50:31 +0000 (17:50 +0200)]
rtsp: Add content-type message header parsing

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years agortmp: Support 'rtmp_live', an option which specifies if the media is a live stream.
Samuel Pitoiset [Sat, 5 May 2012 17:33:26 +0000 (19:33 +0200)]
rtmp: Support 'rtmp_live', an option which specifies if the media is a live stream.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoav_samples_fill_array: Mark unmodified function argument as const.
Diego Biurrun [Wed, 11 Apr 2012 12:51:57 +0000 (14:51 +0200)]
av_samples_fill_array: Mark unmodified function argument as const.

libavcodec/utils.c:274: warning: passing argument 3 of ‘av_samples_fill_arrays’ discards qualifiers from pointer target type
./libavutil/samplefmt.h:151: note: expected ‘uint8_t *’ but argument is of type ‘const uint8_t *’

12 years agolagarith: add YUY2 decoding support
Kostya Shishkov [Mon, 7 May 2012 17:43:52 +0000 (19:43 +0200)]
lagarith: add YUY2 decoding support

Unlike other variants, for YUY2 we need to use different prediction:
* on line 0 for luma we should left predict starting from the second pixel
* on line 1 we should left predict first 4 pixels for luma and 2 for chroma
* median prediction employed here is taken directly from HuffYUV

12 years agoSupport decoding unaligned rgb24 lagarith.
Carl Eugen Hoyos [Tue, 8 May 2012 04:25:53 +0000 (22:25 -0600)]
Support decoding unaligned rgb24 lagarith.

Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
12 years agodv: Split profile handling code into a separate file.
Diego Biurrun [Wed, 18 Apr 2012 15:55:49 +0000 (17:55 +0200)]
dv: Split profile handling code into a separate file.

12 years agoflvenc: use AVFormatContext, not AVCodecContext for logging.
Anton Khirnov [Mon, 7 May 2012 14:09:30 +0000 (16:09 +0200)]
flvenc: use AVFormatContext, not AVCodecContext for logging.

Encoder tag being used for muxer messages is confusing.

12 years agomov: Remove write-only variable in mov_read_chan().
Diego Biurrun [Thu, 19 Apr 2012 12:53:23 +0000 (14:53 +0200)]
mov: Remove write-only variable in mov_read_chan().

libavformat/mov.c:597:25: warning: variable ‘cflags’ set but not used

12 years agofate: Change the probe-format refs to match the final text format committed.
Alex Converse [Mon, 7 May 2012 18:01:38 +0000 (11:01 -0700)]
fate: Change the probe-format refs to match the final text format committed.

12 years agofate: Add avprobe as a make dependency
Alex Converse [Mon, 7 May 2012 18:00:54 +0000 (11:00 -0700)]
fate: Add avprobe as a make dependency

12 years agoAdd probe fate tests to test for regressions in detecting media types.
Ronald S. Bultje [Thu, 3 May 2012 18:01:00 +0000 (11:01 -0700)]
Add probe fate tests to test for regressions in detecting media types.

Signed-off-by: Alex Converse <alex.converse@gmail.com>
12 years agofate: Add oneline comparison method
Mans Rullgard [Thu, 3 May 2012 22:43:11 +0000 (15:43 -0700)]
fate: Add oneline comparison method

Signed-off-by: Alex Converse <alex.converse@gmail.com>
12 years agoqdm2: clip array indices returned by qdm2_get_vlc().
Ronald S. Bultje [Wed, 2 May 2012 16:12:46 +0000 (16:12 +0000)]
qdm2: clip array indices returned by qdm2_get_vlc().

Prevents subsequent overreads when these numbers are used as indices
in arrays.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
12 years agoavplay: properly close/reopen AVAudioResampleContext on channel layout change
Justin Ruggles [Thu, 3 May 2012 22:57:02 +0000 (18:57 -0400)]
avplay: properly close/reopen AVAudioResampleContext on channel layout change

fixes Bug#280

12 years agoavcodec: do not needlessly set packet size to 0 in avcodec_encode_audio2()
Justin Ruggles [Wed, 21 Mar 2012 19:49:25 +0000 (15:49 -0400)]
avcodec: do not needlessly set packet size to 0 in avcodec_encode_audio2()

It is already set to 0 by av_free_packet()

12 years agoavcodec: for audio encoding, reset output packet when it is not valid
Justin Ruggles [Wed, 21 Mar 2012 19:47:12 +0000 (15:47 -0400)]
avcodec: for audio encoding, reset output packet when it is not valid

12 years agoavcodec: refactor avcodec_encode_audio2() to merge common branches
Justin Ruggles [Wed, 21 Mar 2012 19:36:25 +0000 (15:36 -0400)]
avcodec: refactor avcodec_encode_audio2() to merge common branches

12 years agoavcodec: remove fallbacks for AVCodec.encode() in avcodec_encode_audio2()
Justin Ruggles [Wed, 21 Mar 2012 19:28:00 +0000 (15:28 -0400)]
avcodec: remove fallbacks for AVCodec.encode() in avcodec_encode_audio2()

We no longer have any audio encoders using AVCodec.encode().

12 years agolibschroedinger: Switch to function names more in line with Libav style.
Diego Biurrun [Sat, 14 Apr 2012 13:39:22 +0000 (15:39 +0200)]
libschroedinger: Switch to function names more in line with Libav style.

12 years agoMove code shared between libdirac and libschroedinger to libschroedinger.
Diego Biurrun [Sat, 14 Apr 2012 13:24:57 +0000 (15:24 +0200)]
Move code shared between libdirac and libschroedinger to libschroedinger.

This also involves making some function static and changing the name
prefixes of some functions and structures.

12 years agolavfi: uninline avfilter_copy_buffer_ref_props().
Anton Khirnov [Mon, 7 May 2012 05:15:06 +0000 (07:15 +0200)]
lavfi: uninline avfilter_copy_buffer_ref_props().

A nontrivial public function such as this should most certainly NOT be
inline.

12 years agolavf: add missing '*' in a doxy.
Anton Khirnov [Mon, 7 May 2012 10:21:19 +0000 (12:21 +0200)]
lavf: add missing '*' in a doxy.

12 years agoh264: Remove a commented-out function pointer typedef.
Diego Biurrun [Mon, 7 May 2012 11:45:13 +0000 (13:45 +0200)]
h264: Remove a commented-out function pointer typedef.

12 years agotxd: Remove write-only variable in txd_decode_frame().
Diego Biurrun [Thu, 19 Apr 2012 12:55:06 +0000 (14:55 +0200)]
txd: Remove write-only variable in txd_decode_frame().

libavcodec/txd.c:49:60: warning: variable ‘mipmap_count’ set but not used

12 years agommvideo.c: Remove unused variable in mm_decode_pal().
Diego Biurrun [Thu, 19 Apr 2012 12:49:51 +0000 (14:49 +0200)]
mmvideo.c: Remove unused variable in mm_decode_pal().

libavcodec/mmvideo.c:87:9: warning: variable ‘i’ set but not used

12 years agobuild: cosmetics: Add missing end-of-line backslashes to item lists.
Diego Biurrun [Mon, 7 May 2012 10:08:58 +0000 (12:08 +0200)]
build: cosmetics: Add missing end-of-line backslashes to item lists.

12 years agobuild: cosmetics: Split HEADERS/OBJS/PROGS lists into one entry per line.
Diego Biurrun [Sat, 14 Apr 2012 11:05:08 +0000 (13:05 +0200)]
build: cosmetics: Split HEADERS/OBJS/PROGS lists into one entry per line.

12 years agolibschroedinger: Move a function to avoid a forward declaration.
Diego Biurrun [Sat, 14 Apr 2012 13:40:58 +0000 (15:40 +0200)]
libschroedinger: Move a function to avoid a forward declaration.

12 years agopthread: warn on high thread counts
Sean McGovern [Mon, 19 Mar 2012 05:08:14 +0000 (01:08 -0400)]
pthread: warn on high thread counts

Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years agovf_yadif: fix missing error handling for avfilter_poll_frame()
Robert Nagy [Sun, 15 Apr 2012 13:46:37 +0000 (15:46 +0200)]
vf_yadif: fix missing error handling for avfilter_poll_frame()

12 years agoavprobe: allow showing only one container/stream property.
Ronald S. Bultje [Thu, 3 May 2012 18:23:01 +0000 (20:23 +0200)]
avprobe: allow showing only one container/stream property.

This is useful for writing unit tests.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years agolavfi: support audio in avfilter_copy_frame_props().
Anton Khirnov [Sat, 5 May 2012 11:11:53 +0000 (13:11 +0200)]
lavfi: support audio in avfilter_copy_frame_props().

12 years agolavfi: avfilter_merge_formats: handle case where inputs are same
Mina Nagy Zaki [Wed, 8 Jun 2011 16:24:25 +0000 (19:24 +0300)]
lavfi: avfilter_merge_formats: handle case where inputs are same

This fixes a double-free crash if lists are the same due to the two
merge_ref() calls at the end of the (useless) merging that happens.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years agolavc: add sample rate and channel layout to AVFrame.
Anton Khirnov [Fri, 4 May 2012 17:12:31 +0000 (19:12 +0200)]
lavc: add sample rate and channel layout to AVFrame.

Rationale is the same as for video width/height etc.

12 years agozerocodec: check if the previous frame is missing
Paul B Mahol [Fri, 4 May 2012 16:32:43 +0000 (12:32 -0400)]
zerocodec: check if the previous frame is missing

ZeroCodec relies on the keyframe flag being set in the container, and
prev is the previously decoded frame. A keyframe flags incorrectly set
will lead to this condition.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years agodoc: clarify check for NULL pointer style
Luca Barbato [Fri, 4 May 2012 17:03:42 +0000 (10:03 -0700)]
doc: clarify check for NULL pointer style

Our code should be terse and clear.

12 years agodfa: use more meaningful return codes
Kostya Shishkov [Sun, 6 May 2012 07:46:19 +0000 (09:46 +0200)]
dfa: use more meaningful return codes

12 years agoeatgv: check vector_bits
Michael Niedermayer [Sun, 15 Apr 2012 11:29:50 +0000 (13:29 +0200)]
eatgv: check vector_bits

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
12 years agoeatgv: check motion vectors
Kostya Shishkov [Sat, 5 May 2012 12:27:35 +0000 (14:27 +0200)]
eatgv: check motion vectors

12 years agoMark a number of variables only used in av_dlog() calls as av_unused.
Diego Biurrun [Thu, 19 Apr 2012 12:48:16 +0000 (14:48 +0200)]
Mark a number of variables only used in av_dlog() calls as av_unused.

This fixes a number of unused-but-set gcc warnings.

12 years agodvdec: drop const qualifier from variable to eliminate a warning
Diego Biurrun [Mon, 16 Apr 2012 09:38:02 +0000 (11:38 +0200)]
dvdec: drop const qualifier from variable to eliminate a warning

libavcodec/dvdec.c:344:12: warning: assignment discards ‘const’ qualifier from pointer target type

12 years agoavcodec: Improve comment for thread_safe_callbacks to avoid misinterpretation.
Robert Nagy [Sat, 14 Apr 2012 18:31:45 +0000 (20:31 +0200)]
avcodec: Improve comment for thread_safe_callbacks to avoid misinterpretation.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years agotests/utils: don't ignore the return value of fwrite()
Sean McGovern [Thu, 26 Apr 2012 18:56:24 +0000 (14:56 -0400)]
tests/utils: don't ignore the return value of fwrite()

Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years agolavfi/formats: use sizeof(var) instead of sizeof(type).
Anton Khirnov [Fri, 4 May 2012 07:49:28 +0000 (09:49 +0200)]
lavfi/formats: use sizeof(var) instead of sizeof(type).

12 years agolavfi: remove avfilter_default_config_input_link() declaration
Stefano Sabatini [Sat, 6 Aug 2011 10:11:12 +0000 (12:11 +0200)]
lavfi: remove avfilter_default_config_input_link() declaration

The function is not implemented (and possibly useless).

12 years agolavfi: always enable the scale filter and depend on sws.
Anton Khirnov [Sat, 5 May 2012 08:22:55 +0000 (10:22 +0200)]
lavfi: always enable the scale filter and depend on sws.

The scale filter is used for internal colorspace conversions, so it must
always be present.

12 years agovf_split: support user-specifiable number of outputs.
Anton Khirnov [Fri, 27 Apr 2012 05:41:32 +0000 (07:41 +0200)]
vf_split: support user-specifiable number of outputs.

12 years agoavconv: remove stray useless comment.
Anton Khirnov [Sat, 5 May 2012 12:17:19 +0000 (14:17 +0200)]
avconv: remove stray useless comment.

12 years agompegmux: add stuffing to avoid incomplete PCM frames
Janne Grunau [Tue, 13 Mar 2012 17:12:06 +0000 (18:12 +0100)]
mpegmux: add stuffing to avoid incomplete PCM frames

Fixes https://bugzilla.libav.org/show_bug.cgi?id=244

12 years agortsp: avoid const warnings from strtol() call
Mans Rullgard [Wed, 25 Apr 2012 22:37:29 +0000 (23:37 +0100)]
rtsp: avoid const warnings from strtol() call

The strtol() interface makes it difficult to use with
const-qualified pointers.  With this change, although
the const is still lost, the compiler does not warn
about it.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoavserver: check return value of ftruncate()
Mans Rullgard [Sat, 21 Apr 2012 16:01:35 +0000 (17:01 +0100)]
avserver: check return value of ftruncate()

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agolagarith: make offset array type unsigned
Kostya Shishkov [Sat, 5 May 2012 11:45:03 +0000 (13:45 +0200)]
lagarith: make offset array type unsigned

This is logical and also fixes checking for the fourth plane offset.

12 years agodfa: add some checks to ensure that decoder won't write past frame end
Kostya Shishkov [Thu, 3 May 2012 18:10:36 +0000 (20:10 +0200)]
dfa: add some checks to ensure that decoder won't write past frame end

12 years agoaacps: NEON optimisations
Mans Rullgard [Tue, 13 Mar 2012 13:20:29 +0000 (13:20 +0000)]
aacps: NEON optimisations

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoaacps: align some arrays
Mans Rullgard [Fri, 27 Jan 2012 01:24:55 +0000 (01:24 +0000)]
aacps: align some arrays

This is required for SIMD optimisations.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoaacps: move some loops to function pointers
Mans Rullgard [Fri, 27 Jan 2012 01:22:55 +0000 (01:22 +0000)]
aacps: move some loops to function pointers

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agortpdec_h264: Add missing newlines to av_log calls
Martin Storsjö [Sat, 5 May 2012 17:48:08 +0000 (20:48 +0300)]
rtpdec_h264: Add missing newlines to av_log calls

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agortpdec_h264: Free old extradata before clearing the pointer
Martin Storsjö [Sat, 5 May 2012 13:55:20 +0000 (16:55 +0300)]
rtpdec_h264: Free old extradata before clearing the pointer

This avoids memory leaks if there actually was some extradata
set before.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agortpdec_h264: Reorder code blocks
Martin Storsjö [Fri, 4 May 2012 21:38:05 +0000 (00:38 +0300)]
rtpdec_h264: Reorder code blocks

This removes one level of indentation.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agortpdec_h264: Make start_sequence a static const array
Martin Storsjö [Fri, 4 May 2012 21:33:39 +0000 (00:33 +0300)]
rtpdec_h264: Make start_sequence a static const array

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agortpdec_h264: Cleanup debug packet type counting
Martin Storsjö [Fri, 4 May 2012 21:28:25 +0000 (00:28 +0300)]
rtpdec_h264: Cleanup debug packet type counting

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agortpdec_h264: Cosmetic cleanup
Martin Storsjö [Sat, 5 May 2012 14:42:15 +0000 (16:42 +0200)]
rtpdec_h264: Cosmetic cleanup

Add/fix spacing, split long lines, align assignments where suitable.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agortpdec_h264: Clean up comments
Martin Storsjö [Fri, 4 May 2012 21:05:52 +0000 (00:05 +0300)]
rtpdec_h264: Clean up comments

Split long comments, move long comments at the end of lines to
separate lines above, fix vertical alignment, fix up comment style
(unify trailing dots - comments had a mix of 2, 3 or 4 dots, where
it would be just as good without them at all).

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agortpdec_h264: Convert commented out code into setting an unused variable
Martin Storsjö [Fri, 4 May 2012 21:02:15 +0000 (00:02 +0300)]
rtpdec_h264: Convert commented out code into setting an unused variable

It is worth keeping instead of removing, in case reading this
bit becomes necessary at some later point.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agotests: Refactor rotozoom/videogen common code into a separate file.
Diego Biurrun [Mon, 30 Apr 2012 14:44:31 +0000 (16:44 +0200)]
tests: Refactor rotozoom/videogen common code into a separate file.

12 years agotests: Mark some file-internal symbols as static.
Diego Biurrun [Mon, 30 Apr 2012 14:29:26 +0000 (16:29 +0200)]
tests: Mark some file-internal symbols as static.

12 years agobuild: Drop leftover .exp pattern from LIBSUFFIXES list.
Diego Biurrun [Mon, 30 Apr 2012 08:33:49 +0000 (10:33 +0200)]
build: Drop leftover .exp pattern from LIBSUFFIXES list.

12 years agovsrc_buffer: return EAGAIN if no frame is available.
Nicolas George [Tue, 17 Apr 2012 16:31:25 +0000 (18:31 +0200)]
vsrc_buffer: return EAGAIN if no frame is available.

This is not an erroneous condition, do not print a warning.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years agoWMAL: Shift output samples by the specified number of padding zeroes.
Jakub Stachowski [Thu, 3 May 2012 17:36:48 +0000 (19:36 +0200)]
WMAL: Shift output samples by the specified number of padding zeroes.

Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>