ffmpeg.git
8 years agolavfi/audio: remove unused variable in ff_filter_samples()
Stefano Sabatini [Thu, 21 Jun 2012 09:53:10 +0000 (11:53 +0200)]
lavfi/audio: remove unused variable in ff_filter_samples()

Fix warning:
libavfilter/audio.c: In function ‘ff_filter_samples’:
libavfilter/audio.c:193:13: warning: unused variable ‘size’ [-Wunused-variable]

8 years agolswr/rematrix: specify explicitly the name of the unsupported channel layouts
Stefano Sabatini [Thu, 21 Jun 2012 09:53:50 +0000 (11:53 +0200)]
lswr/rematrix: specify explicitly the name of the unsupported channel layouts

Help debugging.

8 years agoavformat: add 48 fps to the NTSC framerates
Hendrik Leppkes [Mon, 9 Apr 2012 16:56:46 +0000 (18:56 +0200)]
avformat: add 48 fps to the NTSC framerates

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoutvideo: mark interlaced frames as such
Hendrik Leppkes [Tue, 3 Jan 2012 17:17:43 +0000 (18:17 +0100)]
utvideo: mark interlaced frames as such

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolagarith: frame multithreading
Hendrik Leppkes [Mon, 6 Feb 2012 17:04:51 +0000 (18:04 +0100)]
lagarith: frame multithreading

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agowavpack: set bits_per_raw_sample for S32 samples to properly identify 24-bit
Hendrik Leppkes [Fri, 16 Dec 2011 21:43:35 +0000 (22:43 +0100)]
wavpack: set bits_per_raw_sample for S32 samples to properly identify 24-bit

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolavfi/ass: update use of deprecated functions, fix warnings
Stefano Sabatini [Thu, 21 Jun 2012 09:07:35 +0000 (11:07 +0200)]
lavfi/ass: update use of deprecated functions, fix warnings

8 years agolavfi/blackdetect: add logic for handling stream termination
Stefano Sabatini [Wed, 20 Jun 2012 23:15:52 +0000 (01:15 +0200)]
lavfi/blackdetect: add logic for handling stream termination

Add request_frame() which checks the black duration when the end of the
stream is signalled. Allow to detect black video segments at the end of
the stream.

Note that the reported last black video segment duration is not very
accurate, since we still miss the duration information in the video
buffer.

Address trac ticket #1470.

8 years agolavfi/blackdetect: fix pts time debug printing
Stefano Sabatini [Wed, 20 Jun 2012 22:57:53 +0000 (00:57 +0200)]
lavfi/blackdetect: fix pts time debug printing

8 years agoLucasArts SMUSH demuxer
Paul B Mahol [Mon, 19 Mar 2012 02:55:26 +0000 (02:55 +0000)]
LucasArts SMUSH demuxer

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoLucasArts SMUSH video decoder
Paul B Mahol [Mon, 19 Mar 2012 02:54:19 +0000 (02:54 +0000)]
LucasArts SMUSH video decoder

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoLucasArts SMUSH VIMA audio decoder
Paul B Mahol [Mon, 19 Mar 2012 02:52:08 +0000 (02:52 +0000)]
LucasArts SMUSH VIMA audio decoder

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agolibavfilter/transform: fix mirroring.
Michael Niedermayer [Wed, 20 Jun 2012 21:48:26 +0000 (23:48 +0200)]
libavfilter/transform: fix mirroring.

mirror() borrowed from dwt.c, this could be moved to libavutil and made
public API, Ill submit a patch for this

Fixes Ticket1278

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolibavutil: fix author attribution
Michael Niedermayer [Wed, 20 Jun 2012 19:28:03 +0000 (21:28 +0200)]
libavutil: fix author attribution

Libav.org has removed this while moving the code around

For reference, the code was originally added in:
commit 9aeeeb63f7e1ab7b0b7bb839a5f258667a2d2d78
Author: Fabrice Bellard <fabrice@bellard.org>
Date:   Wed Dec 20 00:02:47 2000 +0000

    Initial revision

    Originally committed as revision 2 to svn://svn.ffmpeg.org/ffmpeg/trunk
--
The function name originates from:
commit 949885313226f01ae7ba9a69eff5c45b47b78d57
Author: Fabrice Bellard <fabrice@bellard.org>
Date:   Thu Jul 25 16:01:46 2002 +0000

    more consistent naming

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agocdxl: disable checked bitstream reader
Paul B Mahol [Sun, 17 Jun 2012 11:22:42 +0000 (11:22 +0000)]
cdxl: disable checked bitstream reader

Overreads should not be possible.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agolavfi: remove redundant checks after av_parse_video_rate()
Paul B Mahol [Wed, 20 Jun 2012 17:17:25 +0000 (17:17 +0000)]
lavfi: remove redundant checks after av_parse_video_rate()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 20 Jun 2012 18:47:46 +0000 (20:47 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  MS Screen 1 decoder
  aacdec: Fix popping channel layouts.
  av_gettime: support Win32 without gettimeofday()
  Use av_gettime() in various places
  Move av_gettime() to libavutil
  dct-test: use emms_c() from libavutil instead of duplicating it
  mov: fix operator precedence bug
  mathematics.h: remove a couple of math defines
  Remove unnecessary inclusions of [sys/]time.h
  lavf: remove unnecessary inclusions of unistd.h
  bfin: libswscale: add const where appropriate to fix warnings
  bfin: libswscale: remove unnecessary #includes
  udp: Properly check for invalid sockets
  tcp: Check the return value from getsockopt
  network: Use av_strerror for getting error messages
  udp: Properly print error from getnameinfo
  mmst: Use AVUNERROR() to convert error codes to the right range for strerror
  network: Pass pointers of the right type to get/setsockopt/ioctlsocket on windows
  rtmp: Reduce the number of idle posts sent by sleeping 50ms

Conflicts:
Changelog
configure
libavcodec/aacdec.c
libavcodec/allcodecs.c
libavcodec/avcodec.h
libavcodec/dct-test.c
libavcodec/version.h
libavformat/riff.c
libavformat/udp.c
libavutil/Makefile
libswscale/bfin/yuv2rgb_bfin.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agovf_vflip: fix handling of the last line.
Michael Niedermayer [Wed, 20 Jun 2012 18:14:01 +0000 (20:14 +0200)]
vf_vflip: fix handling of the last line.

Fixes Ticket1271

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agovf_lut: fix handling of odd dimensions
Michael Niedermayer [Wed, 20 Jun 2012 18:13:43 +0000 (20:13 +0200)]
vf_lut: fix handling of odd dimensions

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMS Screen 1 decoder
Kostya Shishkov [Fri, 15 Jun 2012 18:37:37 +0000 (20:37 +0200)]
MS Screen 1 decoder

8 years agoaacdec: Fix popping channel layouts.
Alex Converse [Wed, 20 Jun 2012 02:06:34 +0000 (19:06 -0700)]
aacdec: Fix popping channel layouts.

'channel_layout' not 'channels' from the stored configuration should go
to AVCodecContext's 'channel_layout'.

8 years agomjpegenc: use av_assert
Michael Niedermayer [Wed, 20 Jun 2012 16:20:04 +0000 (18:20 +0200)]
mjpegenc: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agomjpegdec: use av_assert
Michael Niedermayer [Wed, 20 Jun 2012 16:19:53 +0000 (18:19 +0200)]
mjpegdec: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoav_gettime: support Win32 without gettimeofday()
Mans Rullgard [Wed, 20 Jun 2012 12:46:52 +0000 (13:46 +0100)]
av_gettime: support Win32 without gettimeofday()

Based on patch by Ronald S. Bultje.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoUse av_gettime() in various places
Mans Rullgard [Wed, 20 Jun 2012 00:34:38 +0000 (01:34 +0100)]
Use av_gettime() in various places

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoMove av_gettime() to libavutil
Mans Rullgard [Wed, 20 Jun 2012 00:24:39 +0000 (01:24 +0100)]
Move av_gettime() to libavutil

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agolog: flip highlight bit for codec & muxer layer
Michael Niedermayer [Tue, 19 Jun 2012 16:50:05 +0000 (18:50 +0200)]
log: flip highlight bit for codec & muxer layer

This way the encoder/muxer side is bold

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agodct-test: use emms_c() from libavutil instead of duplicating it
Mans Rullgard [Wed, 20 Jun 2012 12:50:45 +0000 (13:50 +0100)]
dct-test: use emms_c() from libavutil instead of duplicating it

8 years agomov: fix operator precedence bug
Ronald S. Bultje [Mon, 18 Jun 2012 19:06:35 +0000 (20:06 +0100)]
mov: fix operator precedence bug

8 years agomathematics.h: remove a couple of math defines
Janne Grunau [Thu, 14 Jun 2012 18:13:00 +0000 (20:13 +0200)]
mathematics.h: remove a couple of math defines

While these defines are not defined by the C standard they are
standardized as X/Open System Interfaces Extension. We use the
appropiate _XOPEN_SOURCE define to make them available. They
seem to be available on all FATE configs since the constants
are used in files where mathematics.h is not included.

8 years agodoc/ffmpeg.texi: use an exising preset file name
Lou Logan [Tue, 19 Jun 2012 18:18:30 +0000 (10:18 -0800)]
doc/ffmpeg.texi: use an exising preset file name

libx264-max.ffpreset is no longer with us.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoRemove unnecessary inclusions of [sys/]time.h
Mans Rullgard [Tue, 19 Jun 2012 21:08:35 +0000 (22:08 +0100)]
Remove unnecessary inclusions of [sys/]time.h

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agolavf: remove unnecessary inclusions of unistd.h
Mans Rullgard [Tue, 19 Jun 2012 14:11:34 +0000 (15:11 +0100)]
lavf: remove unnecessary inclusions of unistd.h

These files do not use anything provided by unistd.h.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agolavfi: add showwaves filter
Stefano Sabatini [Sun, 25 Dec 2011 16:37:53 +0000 (17:37 +0100)]
lavfi: add showwaves filter

8 years agolavfi/asplit: fix memleak
Stefano Sabatini [Fri, 15 Jun 2012 14:40:33 +0000 (16:40 +0200)]
lavfi/asplit: fix memleak

The input samples buffer must be unreferenced after it is propagated to
the output links.

8 years agoavio: av_protocol_next() is gone
Paul B Mahol [Tue, 19 Jun 2012 17:58:56 +0000 (17:58 +0000)]
avio: av_protocol_next() is gone

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agobfin: libswscale: add const where appropriate to fix warnings
Mans Rullgard [Tue, 19 Jun 2012 14:14:33 +0000 (15:14 +0100)]
bfin: libswscale: add const where appropriate to fix warnings

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agobfin: libswscale: remove unnecessary #includes
Mans Rullgard [Tue, 19 Jun 2012 14:12:57 +0000 (15:12 +0100)]
bfin: libswscale: remove unnecessary #includes

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agolibilbc: use designated initializers for AVClass
Paul B Mahol [Tue, 19 Jun 2012 20:43:28 +0000 (20:43 +0000)]
libilbc: use designated initializers for AVClass

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agolavfi/color: fix typo
Paul B Mahol [Tue, 19 Jun 2012 20:04:17 +0000 (20:04 +0000)]
lavfi/color: fix typo

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agowmv2enc: fix rounding flag.
Michael Niedermayer [Tue, 19 Jun 2012 19:35:32 +0000 (21:35 +0200)]
wmv2enc: fix rounding flag.

Fixes Ticket1467

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolavfi/color: use AVOptions
Paul B Mahol [Tue, 19 Jun 2012 13:29:26 +0000 (13:29 +0000)]
lavfi/color: use AVOptions

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 19 Jun 2012 18:52:00 +0000 (20:52 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (24 commits)
  flvdec: remove incomplete, disabled seeking code
  mem: add support for _aligned_malloc() as found on Windows
  lavc: Extend the documentation for avcodec_init_packet
  flvdec: remove incomplete, disabled seeking code
  http: replace atoll() with strtoll()
  mpegts: remove unused/incomplete/broken seeking code
  af_amix: allow float planar sample format as input
  af_amix: use AVFloatDSPContext.vector_fmac_scalar()
  float_dsp: add x86-optimized functions for vector_fmac_scalar()
  float_dsp: Move vector_fmac_scalar() from libavcodec to libavutil
  lavr: Add x86-optimized function for flt to s32 conversion
  lavr: Add x86-optimized function for flt to s16 conversion
  lavr: Add x86-optimized functions for s32 to flt conversion
  lavr: Add x86-optimized functions for s32 to s16 conversion
  lavr: Add x86-optimized functions for s16 to flt conversion
  lavr: Add x86-optimized function for s16 to s32 conversion
  rtpenc: Support packetizing iLBC
  rtpdec: Add a depacketizer for iLBC
  Implement the iLBC storage file format
  mov: Support muxing/demuxing iLBC
  ...

Conflicts:
Changelog
configure
libavcodec/avcodec.h
libavcodec/dsputil.c
libavcodec/version.h
libavformat/movenc.c
libavformat/mpegts.c
libavformat/version.h
libavutil/mem.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoudp: Properly check for invalid sockets
Martin Storsjö [Tue, 19 Jun 2012 14:59:57 +0000 (17:59 +0300)]
udp: Properly check for invalid sockets

If stdin has been closed, 0 is a valid socket descriptor.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agotcp: Check the return value from getsockopt
Martin Storsjö [Tue, 19 Jun 2012 14:50:38 +0000 (17:50 +0300)]
tcp: Check the return value from getsockopt

Make sure we actually have an error code in ret, in case
getsockopt failed.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agonetwork: Use av_strerror for getting error messages
Martin Storsjö [Tue, 19 Jun 2012 12:37:06 +0000 (15:37 +0300)]
network: Use av_strerror for getting error messages

Also use ff_neterrno() instead of errno directly (which doesn't work
on windows), for getting the error code.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agoudp: Properly print error from getnameinfo
Martin Storsjö [Tue, 19 Jun 2012 12:28:48 +0000 (15:28 +0300)]
udp: Properly print error from getnameinfo

getnameinfo doesn't set errno on failure, it returns an error code,
which should be handled by gai_strerror instead of the normal
strerror.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agommst: Use AVUNERROR() to convert error codes to the right range for strerror
Martin Storsjö [Tue, 19 Jun 2012 12:21:43 +0000 (15:21 +0300)]
mmst: Use AVUNERROR() to convert error codes to the right range for strerror

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agonetwork: Pass pointers of the right type to get/setsockopt/ioctlsocket on windows
Martin Storsjö [Mon, 18 Jun 2012 20:39:30 +0000 (23:39 +0300)]
network: Pass pointers of the right type to get/setsockopt/ioctlsocket on windows

This avoids warnings.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agortmp: Reduce the number of idle posts sent by sleeping 50ms
Samuel Pitoiset [Tue, 19 Jun 2012 11:21:09 +0000 (13:21 +0200)]
rtmp: Reduce the number of idle posts sent by sleeping 50ms

Rtmpt is effectively half duplex - the server can't return any
data unless we send a request (to which the server responds). If
we don't have any data to send currently, and the server didn't
return any data either, wait a little before doing the next request.

This avoids busy looping with idle posts with empty replies, while
waiting for more data from the server.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agoavidec: add .category
Paul B Mahol [Tue, 19 Jun 2012 14:54:58 +0000 (14:54 +0000)]
avidec: add .category

While here make .class_name consistent with other AVClass.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agolibavfilter: improve atempo audio quality
Pavel Koshevoy [Sun, 17 Jun 2012 22:45:26 +0000 (16:45 -0600)]
libavfilter: improve atempo audio quality

Reduce audio fragment alignment jitter by penalizing alignment
correction offsets that deviate too much from the target offset.
This is accomplished by multiplying the cross correlation search
window with a quadratic function.

Signed-off-by: Pavel Koshevoy <pavel@homestead.aragog.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolavf: separate muxer/demuxer class category
Michael Niedermayer [Sun, 3 Jun 2012 20:41:05 +0000 (22:41 +0200)]
lavf: separate muxer/demuxer class category

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolavc: seperate encoder/decoder class category
Michael Niedermayer [Sun, 3 Jun 2012 20:40:37 +0000 (22:40 +0200)]
lavc: seperate encoder/decoder class category

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoavutil: add get_category() for the case where one AVClass can have more than 1 category
Michael Niedermayer [Sun, 3 Jun 2012 20:39:54 +0000 (22:39 +0200)]
avutil: add get_category() for the case where one AVClass can have more than 1 category

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolog: swap colors for muxer and codec layer
Michael Niedermayer [Sun, 3 Jun 2012 23:06:52 +0000 (01:06 +0200)]
log: swap colors for muxer and codec layer

This way the filters which are semantically closer to the codec layer
have a (subjectively to me) more similar color.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolavfi/avfilter: use av_assert
Michael Niedermayer [Tue, 19 Jun 2012 14:44:45 +0000 (16:44 +0200)]
lavfi/avfilter: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agorv40dsp: use av_assert
Michael Niedermayer [Tue, 19 Jun 2012 14:44:28 +0000 (16:44 +0200)]
rv40dsp: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolavfi/avcodec: make avfilter_fill_frame_from*() functions use avfilter_copy_buf_props()
Stefano Sabatini [Sun, 10 Jun 2012 16:08:12 +0000 (18:08 +0200)]
lavfi/avcodec: make avfilter_fill_frame_from*() functions use avfilter_copy_buf_props()

The code in avfilter_copy_buf_props() is more generic, allow code
factorization.

8 years agolavfi/avcodec: always use av_frame* accessors in avfilter_copy_buf_props()
Stefano Sabatini [Mon, 18 Jun 2012 23:14:32 +0000 (01:14 +0200)]
lavfi/avcodec: always use av_frame* accessors in avfilter_copy_buf_props()

Use av_frame_* accessors for the newly added fields in AVFrame (for which
we are supposed to use such accessors), and group the istructions
accordingly.

8 years agolavfi/avcodec: copy pos field from AVFilterBuffer to AVFrame pkt_pos
Stefano Sabatini [Sun, 10 Jun 2012 16:20:40 +0000 (18:20 +0200)]
lavfi/avcodec: copy pos field from AVFilterBuffer to AVFrame pkt_pos

8 years agolavc/qtrlenc: return proper error codes from qtrle_encode_init()
Stefano Sabatini [Tue, 19 Jun 2012 11:03:03 +0000 (13:03 +0200)]
lavc/qtrlenc: return proper error codes from qtrle_encode_init()

8 years agolavc/libschroedinger: add missing failure checks in ff_create_schro_frame()
Stefano Sabatini [Tue, 19 Jun 2012 11:01:07 +0000 (13:01 +0200)]
lavc/libschroedinger: add missing failure checks in ff_create_schro_frame()

8 years agox86/intmath: fix type of FASTDIV
Michael Niedermayer [Tue, 19 Jun 2012 14:08:44 +0000 (16:08 +0200)]
x86/intmath: fix type of FASTDIV

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoavidec: use designated initializers for AVClass
Paul B Mahol [Tue, 19 Jun 2012 13:59:17 +0000 (13:59 +0000)]
avidec: use designated initializers for AVClass

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agomov: use designated initializers for AVClass
Paul B Mahol [Tue, 19 Jun 2012 13:57:06 +0000 (13:57 +0000)]
mov: use designated initializers for AVClass

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoFix dependencies for the atempo filter.
Carl Eugen Hoyos [Tue, 19 Jun 2012 10:06:41 +0000 (12:06 +0200)]
Fix dependencies for the atempo filter.

Found, analysed and tested by trac user Jamal.

Fixes ticket #1465.

8 years agoflvdec: remove incomplete, disabled seeking code
Diego Biurrun [Fri, 29 Jul 2011 10:02:54 +0000 (12:02 +0200)]
flvdec: remove incomplete, disabled seeking code

8 years agomem: add support for _aligned_malloc() as found on Windows
Ronald S. Bultje [Mon, 18 Jun 2012 13:37:02 +0000 (14:37 +0100)]
mem: add support for _aligned_malloc() as found on Windows

The check uses check_func_header, since this function is
conditionally available depending on the targeted MSVCRT
version.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agolavc: Extend the documentation for avcodec_init_packet
Simon A. Eugster [Sat, 9 Jun 2012 09:16:12 +0000 (11:16 +0200)]
lavc: Extend the documentation for avcodec_init_packet

Add a note that pkt->data and pkt->size must be initialized.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agoswr: introduce filter_alloc in preparation of SIMD resample optimisations
Michael Niedermayer [Tue, 19 Jun 2012 01:06:40 +0000 (03:06 +0200)]
swr: introduce filter_alloc in preparation of SIMD resample optimisations

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoswr/resample: optimize C code for the most common case
Michael Niedermayer [Mon, 18 Jun 2012 21:02:44 +0000 (23:02 +0200)]
swr/resample: optimize C code for the most common case

15% speedup

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoflvdec: remove incomplete, disabled seeking code
Ronald S. Bultje [Mon, 18 Jun 2012 14:22:15 +0000 (15:22 +0100)]
flvdec: remove incomplete, disabled seeking code

8 years agohttp: replace atoll() with strtoll()
Ronald S. Bultje [Mon, 18 Jun 2012 13:02:43 +0000 (14:02 +0100)]
http: replace atoll() with strtoll()

8 years agompegts: remove unused/incomplete/broken seeking code
Ronald S. Bultje [Mon, 18 Jun 2012 12:57:59 +0000 (13:57 +0100)]
mpegts: remove unused/incomplete/broken seeking code

8 years agolavc/avcodec.h: fix reference to nonexistent function in av_picture_copy() doxy
Stefano Sabatini [Sat, 16 Jun 2012 09:52:24 +0000 (11:52 +0200)]
lavc/avcodec.h: fix reference to nonexistent function in av_picture_copy() doxy

Mention av_image_copy() instead.

8 years agolavc/imgconvert: fix check on av_image_check_size() return code in avpicture_get_size()
Stefano Sabatini [Sat, 16 Jun 2012 09:38:50 +0000 (11:38 +0200)]
lavc/imgconvert: fix check on av_image_check_size() return code in avpicture_get_size()

The documentation states that av_image_check_size() will return a
negative value in case of error, while the check is done on ret != 0.

Also return a proper error code rather than -1 in case the check fails.

8 years agolavc/imgconvert: remove pointless switch block from avpicture_fill()
Stefano Sabatini [Sat, 16 Jun 2012 09:35:38 +0000 (11:35 +0200)]
lavc/imgconvert: remove pointless switch block from avpicture_fill()

8 years agolavc/rawdec: propagate duration from packet to frame
Stefano Sabatini [Sat, 16 Jun 2012 09:01:33 +0000 (11:01 +0200)]
lavc/rawdec: propagate duration from packet to frame

8 years agoaf_amix: allow float planar sample format as input
Justin Ruggles [Sat, 9 Jun 2012 03:59:04 +0000 (23:59 -0400)]
af_amix: allow float planar sample format as input

8 years agoaf_amix: use AVFloatDSPContext.vector_fmac_scalar()
Justin Ruggles [Sat, 9 Jun 2012 02:34:30 +0000 (22:34 -0400)]
af_amix: use AVFloatDSPContext.vector_fmac_scalar()

8 years agofloat_dsp: add x86-optimized functions for vector_fmac_scalar()
Justin Ruggles [Sat, 9 Jun 2012 03:20:59 +0000 (23:20 -0400)]
float_dsp: add x86-optimized functions for vector_fmac_scalar()

8 years agofloat_dsp: Move vector_fmac_scalar() from libavcodec to libavutil
Justin Ruggles [Fri, 8 Jun 2012 17:49:56 +0000 (13:49 -0400)]
float_dsp: Move vector_fmac_scalar() from libavcodec to libavutil

8 years agolavr: Add x86-optimized function for flt to s32 conversion
Justin Ruggles [Fri, 20 Apr 2012 20:09:15 +0000 (16:09 -0400)]
lavr: Add x86-optimized function for flt to s32 conversion

8 years agolavr: Add x86-optimized function for flt to s16 conversion
Justin Ruggles [Tue, 24 Apr 2012 02:22:28 +0000 (22:22 -0400)]
lavr: Add x86-optimized function for flt to s16 conversion

8 years agolavr: Add x86-optimized functions for s32 to flt conversion
Justin Ruggles [Mon, 23 Apr 2012 22:29:58 +0000 (18:29 -0400)]
lavr: Add x86-optimized functions for s32 to flt conversion

8 years agolavr: Add x86-optimized functions for s32 to s16 conversion
Justin Ruggles [Fri, 20 Apr 2012 17:49:53 +0000 (13:49 -0400)]
lavr: Add x86-optimized functions for s32 to s16 conversion

8 years agolavr: Add x86-optimized functions for s16 to flt conversion
Justin Ruggles [Tue, 24 Apr 2012 02:10:26 +0000 (22:10 -0400)]
lavr: Add x86-optimized functions for s16 to flt conversion

8 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

8 years agohuffyuv: switch to av_assert
Michael Niedermayer [Mon, 18 Jun 2012 19:44:48 +0000 (21:44 +0200)]
huffyuv: switch to av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoasv1: switch to av_assert
Michael Niedermayer [Mon, 18 Jun 2012 19:44:22 +0000 (21:44 +0200)]
asv1: switch to av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 years agosnowenc: update selftest code for the new temporary arrays
Michael Niedermayer [Mon, 18 Jun 2012 18:20:14 +0000 (20:20 +0200)]
snowenc: update selftest code for the new temporary arrays

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>