]> git.sesse.net Git - ffmpeg/log
ffmpeg
11 years agoPrint full compiler identification, not only version number
Mans Rullgard [Wed, 18 Jul 2012 16:57:57 +0000 (17:57 +0100)]
Print full compiler identification, not only version number

This provides a more precise identification of the compiler used.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agoflacdec: reverse lpc coeff order, simplify filter
Mans Rullgard [Thu, 5 Jul 2012 11:25:40 +0000 (12:25 +0100)]
flacdec: reverse lpc coeff order, simplify filter

Reversing the lpc coefficient order simplifies indexing in
the filter.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agox86: dsputil: drop some unused CPU flag debug code
Diego Biurrun [Wed, 18 Jul 2012 07:46:38 +0000 (09:46 +0200)]
x86: dsputil: drop some unused CPU flag debug code

11 years agoppc: fix build with altivec disabled
Mans Rullgard [Wed, 18 Jul 2012 12:22:46 +0000 (13:22 +0100)]
ppc: fix build with altivec disabled

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agovp3: move idct and loop filter pointers to new vp3dsp context
Mans Rullgard [Tue, 17 Jul 2012 15:47:43 +0000 (16:47 +0100)]
vp3: move idct and loop filter pointers to new vp3dsp context

This moves all VP3-specific function pointers from dsputil to a
new vp3dsp context.  There is no reason to ever use the VP3 IDCT
where an MPEG2 IDCT is expected or vice versa.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agobuild: add CONFIG_VP3DSP, reduce repetition in OBJS lists
Mans Rullgard [Mon, 16 Jul 2012 11:50:14 +0000 (12:50 +0100)]
build: add CONFIG_VP3DSP, reduce repetition in OBJS lists

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agotscc2: do not add/subtract 128 bias during DCT
Kostya Shishkov [Tue, 17 Jul 2012 16:12:41 +0000 (18:12 +0200)]
tscc2: do not add/subtract 128 bias during DCT

It turns out that the reference decoder subtracts 128 from DC during block
decode but adds it back during reordering block with zigzag pattern.
Transforming block with incorrect DC caused heavy visual artifacts for
many quantisers.

11 years agotscc2: fix typo in DCT
Kostya Shishkov [Tue, 17 Jul 2012 15:34:58 +0000 (17:34 +0200)]
tscc2: fix typo in DCT

11 years agoconfigure: clarify external library section of help output
Diego Biurrun [Mon, 16 Jul 2012 16:19:13 +0000 (18:19 +0200)]
configure: clarify external library section of help output

11 years agoconfigure: mark libfdk-aac as nonfree
Diego Biurrun [Mon, 16 Jul 2012 23:32:01 +0000 (01:32 +0200)]
configure: mark libfdk-aac as nonfree

11 years agoconfigure: cosmetics: drop some unnecessary backslashes
Diego Biurrun [Mon, 16 Jul 2012 14:51:33 +0000 (16:51 +0200)]
configure: cosmetics: drop some unnecessary backslashes

11 years agoos_support: K&R formatting cosmetics
Diego Biurrun [Sun, 15 Jul 2012 20:12:30 +0000 (22:12 +0200)]
os_support: K&R formatting cosmetics

11 years agolibopenjpeg: introduce encoding support
Michael Bradshaw [Thu, 17 Nov 2011 23:57:09 +0000 (16:57 -0700)]
libopenjpeg: introduce encoding support

Based on FFmpeg version from
commit 713a7854e06964abc8f7d015b94acbed27769d24

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agolibopenjpeg: rename decoder source file.
Michael Bradshaw [Thu, 17 Nov 2011 14:39:16 +0000 (15:39 +0100)]
libopenjpeg: rename decoder source file.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agoRTMPTS protocol support
Samuel Pitoiset [Tue, 17 Jul 2012 10:02:43 +0000 (12:02 +0200)]
RTMPTS protocol support

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoRTMPS protocol support
Samuel Pitoiset [Tue, 17 Jul 2012 10:02:42 +0000 (12:02 +0200)]
RTMPS protocol support

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoavconv: print an error message when demuxing fails.
Anton Khirnov [Sun, 15 Jul 2012 22:22:05 +0000 (00:22 +0200)]
avconv: print an error message when demuxing fails.

Also exit in such a case if -xerror is used.

Fixes bug 329.

11 years agotscc2: DCT output should not be clipped
Kostya Shishkov [Mon, 16 Jul 2012 18:14:37 +0000 (20:14 +0200)]
tscc2: DCT output should not be clipped

This fixes decoding some TSCC2 files with large quantisers.

11 years agortmp: Rename rtmphttp to ffrtmphttp
Samuel Pitoiset [Mon, 16 Jul 2012 09:56:20 +0000 (11:56 +0200)]
rtmp: Rename rtmphttp to ffrtmphttp

The prefix makes it easier to distinguish the proper end-user
protocols from the internal ones.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agortmp: rtmp_parse_result() add case for video and audio packets to avoid undesired...
Jordi Ortiz [Tue, 3 Jul 2012 18:20:02 +0000 (18:20 +0000)]
rtmp: rtmp_parse_result() add case for video and audio packets to avoid undesired debug output.

Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
11 years agoconfigure: Move the getaddrinfo function check into the network block
Martin Storsjö [Sun, 15 Jul 2012 22:11:18 +0000 (01:11 +0300)]
configure: Move the getaddrinfo function check into the network block

This makes the two checks (general vs winsock) fit in better.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoconfigure: Remove an unused 'have' item
Martin Storsjö [Sun, 15 Jul 2012 22:00:21 +0000 (01:00 +0300)]
configure: Remove an unused 'have' item

This is only used for checking for a certain library, but the code
doesn't need to know whether the function was found.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agompeg: remove disabled code
Diego Biurrun [Fri, 29 Jul 2011 10:01:22 +0000 (12:01 +0200)]
mpeg: remove disabled code

11 years agolibfdk-aac: Check if cutoff value is valid
Mohammad Alsaleh [Sun, 15 Jul 2012 16:41:11 +0000 (19:41 +0300)]
libfdk-aac: Check if cutoff value is valid

Passing a cutoff value < sample_rate/256 will cause a crash.
Also, values >20000 will have no effect and 20000 will be used anyway.

Signed-off-by: Mohammad Alsaleh <msal@tormail.org>
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agonetwork: Always use our version of gai_strerror on windows
Martin Storsjö [Mon, 25 Jun 2012 09:50:13 +0000 (12:50 +0300)]
network: Always use our version of gai_strerror on windows

Even if linking directly to getaddrinfo, use our version of
gai_strerror instead of the system's version. Microsoft explicitly
documents that their version of gai_strerror is thread-unsafe.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agonetwork: Undefine existing gai_strerror definitions
Martin Storsjö [Mon, 18 Jun 2012 20:36:15 +0000 (23:36 +0300)]
network: Undefine existing gai_strerror definitions

This avoids warnings if there already exists a definition.

This is the case on windows, where the getaddrinfo isn't available
and linked to (and we use our fallbacks instead, which actually
try to use the proper getaddrinfo version if found at runtime),
but gai_strerror still exists as a define.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agonetwork: Extend the fallback gai_strerror implementation to handle more error codes
Martin Storsjö [Mon, 25 Jun 2012 09:44:18 +0000 (12:44 +0300)]
network: Extend the fallback gai_strerror implementation to handle more error codes

This is useful if a proper getaddrinfo is loaded dynamically on
windows, while using the fallback implementation of gai_strerror.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoconfigure: Check for CommandLineToArgvW
Ronald S. Bultje [Mon, 25 Jun 2012 05:43:14 +0000 (08:43 +0300)]
configure: Check for CommandLineToArgvW

The actual result of the check isn't used anywhere (since we
use this function unconditionally within #ifdef _WIN32), but it
makes sure we explicitly link to shell32 (which is linked in
implictly on mingw).

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agovc1dec: Do not use random pred_flag if motion vector data is skipped
Mashiat Sarker Shakkhar [Sun, 15 Jul 2012 01:37:10 +0000 (07:37 +0600)]
vc1dec: Do not use random pred_flag if motion vector data is skipped

This fixes SA10143.vc1 from test-suite. Also partially fixes MC-VC1.ts
from videolan streams archive.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agovp8: Enclose pthread function calls in ifdefs
Martin Storsjö [Sat, 14 Jul 2012 21:11:35 +0000 (00:11 +0300)]
vp8: Enclose pthread function calls in ifdefs

This fixes building with threads disabled.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agosnow: refactor code to work around a compiler bug in MSVC.
Ronald S. Bultje [Sat, 7 Jul 2012 16:06:50 +0000 (09:06 -0700)]
snow: refactor code to work around a compiler bug in MSVC.

This fixes the compiler error "cannot convert from 'BlockNode' to
'int16_t'".

11 years agovp8: Include the thread headers before using the pthread types
Martin Storsjö [Sat, 14 Jul 2012 21:19:44 +0000 (00:19 +0300)]
vp8: Include the thread headers before using the pthread types

This was unnoticed on linux, since stdlib.h apparently includes
files declaring the pthread_mutex_t and pthread_cond_t types.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
11 years agoconfigure: Check for getaddrinfo in ws2tcpip.h, too
Ronald S. Bultje [Sun, 24 Jun 2012 19:22:29 +0000 (22:22 +0300)]
configure: Check for getaddrinfo in ws2tcpip.h, too

This function is only available in the headers if unconditionally
targeting a version >= XP. It is not strictly necessary, since we
try loading these functions dynamically at runtime on windows in
the fallback, but this makes things a bit faster and more
straightforward.

On mingw32, this function isn't visible by default, while it is
on mingw64 (on both 32 and 64 bit).

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agovp8: implement sliced threading
Daniel Kang [Thu, 12 Jul 2012 20:07:06 +0000 (13:07 -0700)]
vp8: implement sliced threading

Testing gives 25-30% gain on HD clips with two threads and
up to 50% gain with eight threads.

Sliced threading uses more memory than single or frame threading.

Frame threading and single threading keep the previous memory
layout.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agovp8: move data from VP8Context->VP8Macroblock
Daniel Kang [Wed, 11 Jul 2012 18:34:05 +0000 (11:34 -0700)]
vp8: move data from VP8Context->VP8Macroblock

In preparation for sliced threading.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agovp8: refactor decoding a single mb_row
Daniel Kang [Wed, 11 Jul 2012 18:34:04 +0000 (11:34 -0700)]
vp8: refactor decoding a single mb_row

This is in preperation for sliced threading.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agodoc: update api changes with the right commit hashes
Luca Barbato [Tue, 10 Jul 2012 23:45:26 +0000 (01:45 +0200)]
doc: update api changes with the right commit hashes

11 years agomem: introduce av_malloc_array and av_mallocz_array
Luca Barbato [Mon, 9 Jul 2012 13:29:30 +0000 (15:29 +0200)]
mem: introduce av_malloc_array and av_mallocz_array

Both function ease allocating large arrays implementing the overflow
check inside it.

11 years agoeval: add gt(), gte(), lt() and lte() fate tests
Janne Grunau [Sat, 14 Jul 2012 11:31:14 +0000 (13:31 +0200)]
eval: add gt(), gte(), lt() and lte() fate tests

11 years agoeval: fix swapping of lt() and lte()
Max Lazarov [Sat, 31 Mar 2012 06:56:56 +0000 (23:56 -0700)]
eval: fix swapping of lt() and lte()

CC: libav-stable@libav.org
11 years agoimgconvert: deprecate avcodec_find_best_pix_fmt()
Janne Grunau [Mon, 2 Jul 2012 09:31:26 +0000 (11:31 +0200)]
imgconvert: deprecate avcodec_find_best_pix_fmt()

11 years agoimgconvert: add avcodec_find_best_pix_fmt2()
Janne Grunau [Mon, 2 Jul 2012 09:15:06 +0000 (11:15 +0200)]
imgconvert: add avcodec_find_best_pix_fmt2()

The number of pixel formats outgrew the number of available bits in
the bitmask used in avcodec_find_best_pix_fmt().
avcodec_find_best_pix_fmt2() uses a PIX_FMT_NONE terminated list
of pixel formats instead.

11 years agoimgconvert: avoid undefined left shift in avcodec_find_best_pix_fmt
Janne Grunau [Mon, 2 Jul 2012 08:46:39 +0000 (10:46 +0200)]
imgconvert: avoid undefined left shift in avcodec_find_best_pix_fmt

CC: libav-stable@libav.org
11 years agobuild: Fix APE tag dependencies
Diego Biurrun [Tue, 10 Jul 2012 16:38:46 +0000 (18:38 +0200)]
build: Fix APE tag dependencies

11 years agoMS Expression Encoder Screen decoder
Kostya Shishkov [Sat, 7 Jul 2012 11:21:52 +0000 (13:21 +0200)]
MS Expression Encoder Screen decoder

11 years agolibfdk-aac: Allow setting the encoder bandwidth/cutoff frequency
Martin Storsjö [Thu, 12 Jul 2012 18:19:08 +0000 (21:19 +0300)]
libfdk-aac: Allow setting the encoder bandwidth/cutoff frequency

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agobuild: Fix Ogg demuxer dependencies
Diego Biurrun [Tue, 10 Jul 2012 16:42:56 +0000 (18:42 +0200)]
build: Fix Ogg demuxer dependencies

11 years agobuild: Fix FLAC demuxer dependencies
Diego Biurrun [Tue, 10 Jul 2012 16:42:34 +0000 (18:42 +0200)]
build: Fix FLAC demuxer dependencies

11 years agoflac: Move flac functions shared between libraries to flac common code
Diego Biurrun [Tue, 10 Jul 2012 16:32:41 +0000 (18:32 +0200)]
flac: Move flac functions shared between libraries to flac common code

This fixes a number of flac-related build dependencies.

11 years agobuild: Fix CAF demuxer dependencies
Diego Biurrun [Tue, 10 Jul 2012 16:42:13 +0000 (18:42 +0200)]
build: Fix CAF demuxer dependencies

11 years agobuild: Fix MP2 muxer dependencies
Diego Biurrun [Tue, 10 Jul 2012 16:39:23 +0000 (18:39 +0200)]
build: Fix MP2 muxer dependencies

11 years agobuild: Add missing build rules for the ISMV muxer
Diego Biurrun [Tue, 10 Jul 2012 16:21:45 +0000 (18:21 +0200)]
build: Add missing build rules for the ISMV muxer

11 years agoconfigure: Drop redundant mxf_d10 test dependency declaration
Diego Biurrun [Tue, 10 Jul 2012 20:17:26 +0000 (22:17 +0200)]
configure: Drop redundant mxf_d10 test dependency declaration

The mxf_d10 test depends on avconv, which depends on avfilter, so there
is no need to declare an avfilter dependency for the mxf_d10 test.

11 years agoSupport AAC encoding via the external library fdk-aac
Martin Storsjö [Thu, 28 Jun 2012 13:46:24 +0000 (16:46 +0300)]
Support AAC encoding via the external library fdk-aac

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agolibavcodec: Add more AAC profiles
Martin Storsjö [Fri, 29 Jun 2012 07:52:18 +0000 (10:52 +0300)]
libavcodec: Add more AAC profiles

The numerical values of the profiles are the MPEG4 Audio Object
Type values, minus one.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agodct/fft-test: use a replacement getopt() if the system has none present.
Ronald S. Bultje [Wed, 4 Jul 2012 03:14:09 +0000 (20:14 -0700)]
dct/fft-test: use a replacement getopt() if the system has none present.

This allows compiling and running these tests on systems lacking a built-
in version of getopt(), such as MSVC.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agoconfigure: Check for the math function rint
Ronald S. Bultje [Tue, 26 Jun 2012 12:05:28 +0000 (15:05 +0300)]
configure: Check for the math function rint

Add a fallback implementation if it doesn't exist.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoTechSmith Screen Codec 2 decoder
Kostya Shishkov [Sun, 8 Jul 2012 17:51:08 +0000 (19:51 +0200)]
TechSmith Screen Codec 2 decoder

11 years agortsp: Add listen mode
Jordi Ortiz [Tue, 10 Jul 2012 17:36:11 +0000 (19:36 +0200)]
rtsp: Add listen mode

This makes the RTSP demuxer act as a server, listening for an
incoming connection.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agortsp: Make rtsp_open_transport_ctx() non-static
Jordi Ortiz [Tue, 10 Jul 2012 17:25:04 +0000 (19:25 +0200)]
rtsp: Make rtsp_open_transport_ctx() non-static

This is required for the upcoming RTSP listen mode.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agortsp: Move rtsp_read_close
Jordi Ortiz [Wed, 4 Jul 2012 20:13:40 +0000 (22:13 +0200)]
rtsp: Move rtsp_read_close

This avoids having to add forward declarations in the following
RTSP listen mode commit.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agortsp: Parse the mode=receive/record parameter in transport lines
Jordi Ortiz [Tue, 10 Jul 2012 17:21:58 +0000 (19:21 +0200)]
rtsp: Parse the mode=receive/record parameter in transport lines

We need to support the nonstandard mode=receive, for compatibility
with older libavformat clients.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agomss1: fix decoding masked regions in interframes
Kostya Shishkov [Tue, 10 Jul 2012 11:38:56 +0000 (13:38 +0200)]
mss1: fix decoding masked regions in interframes

Spotted by Alberto Delmás

11 years agomxfdec: fix off by one error.
Michael Niedermayer [Mon, 26 Mar 2012 13:05:02 +0000 (15:05 +0200)]
mxfdec: fix off by one error.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agomxfdec: only parse next partition pack if parsing forward
Tomas Härdin [Tue, 20 Mar 2012 10:03:48 +0000 (11:03 +0100)]
mxfdec: only parse next partition pack if parsing forward

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agomxfdec: let pkt->pts = mxf->current_edit_unit if intra-only
Tomas Härdin [Wed, 7 Mar 2012 09:03:16 +0000 (10:03 +0100)]
mxfdec: let pkt->pts = mxf->current_edit_unit if intra-only

We cannot do this in general since we could be reading
a file with B-frames while lacking an index.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agomxfdec: fix frame height vs field height confusion
Joseph Artsimovich [Tue, 7 Feb 2012 10:48:43 +0000 (10:48 +0000)]
mxfdec: fix frame height vs field height confusion

Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se>
Reveiwed-by: Baptiste Coudurier <baptiste.coudurier@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agomxfdec: Add intra_only flag to MXFTrack
Tomas Härdin [Wed, 7 Mar 2012 09:52:39 +0000 (10:52 +0100)]
mxfdec: Add intra_only flag to MXFTrack

This allows future assumptions to be made without affecting non-intra files.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agomxfdec: fix Avid AirSpeed files being misinterpreted as OP1a
Tomas Härdin [Fri, 2 Mar 2012 10:33:28 +0000 (11:33 +0100)]
mxfdec: fix Avid AirSpeed files being misinterpreted as OP1a

The "ECs != 1 -> OP1a" assumption was wrong. Luckily, the file
that triggered that behavior had two ECs, not zero. Hence
distinguishing between them is simple in this case.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agomxfdec: truncate packets that extend past the next edit unit
Tomas Härdin [Fri, 2 Mar 2012 10:16:10 +0000 (11:16 +0100)]
mxfdec: truncate packets that extend past the next edit unit

This fixes rare cases where OPAtom may be treated
as OP1a, causing all essence to be read into RAM.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agomxfdec: set pixel format for cdci picture formats
Philip de Nier [Tue, 28 Feb 2012 14:16:39 +0000 (14:16 +0000)]
mxfdec: set pixel format for cdci picture formats

The properties of the CDCI Descriptor are insufficient to specify
the pixel format for uncompressed picture data. SMPTE 377-1 and
RP224v10 have defined a set of picture coding labels to indicate what
formatting was used.

This patch uses 2 labels to detect UYVY422 or YUYV422 pixel formats.

It defaults to UYVY422 for 8-bit 4:2:2 pictures to support files
that were created before the coding labels were introduced ~2008

The codec pix_fmt default was changed from 0 (PIX_FMT_YUV420P) to
-1 (PIX_FMT_NONE)

Reviewed-by: Baptiste Coudurier <baptiste.coudurier@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomxfdec: detect uncomp pictures using essence container ul
Philip de Nier [Tue, 28 Feb 2012 14:16:38 +0000 (14:16 +0000)]
mxfdec: detect uncomp pictures using essence container ul

This supports detection of uncompressed picture in files that
didn't include a Picture Coding Label. The lables weren't
available until SMPTE 377-1 and RP224v10

Reviewed-by: Baptiste Coudurier <baptiste.coudurier@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agomxfdec: set track edit rate num/den in expected order
Philip de Nier [Tue, 28 Feb 2012 14:16:36 +0000 (14:16 +0000)]
mxfdec: set track edit rate num/den in expected order

This matches the order used for the index table edit rate.

Reviewed-by: Baptiste Coudurier <baptiste.coudurier@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agox86/cpu: implement get/set_eflags using intrinsics
Ronald S. Bultje [Mon, 9 Jul 2012 00:21:28 +0000 (02:21 +0200)]
x86/cpu: implement get/set_eflags using intrinsics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agox86/cpu: implement support for cpuid through intrinsics
Ronald S. Bultje [Mon, 9 Jul 2012 00:21:27 +0000 (02:21 +0200)]
x86/cpu: implement support for cpuid through intrinsics

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agox86/cpu: implement support for xgetbv through intrinsics
Ronald S. Bultje [Mon, 9 Jul 2012 00:21:26 +0000 (02:21 +0200)]
x86/cpu: implement support for xgetbv through intrinsics

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agolavu: use intrinsics for emms on systems lacking inline asm support
Ronald S. Bultje [Mon, 9 Jul 2012 00:21:25 +0000 (02:21 +0200)]
lavu: use intrinsics for emms on systems lacking inline asm support

Signed-off-by: Diego Biurrun <diego@biurrun.de>
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agomem: Don't abort on av_malloc(0) in debug mode
Martin Storsjö [Wed, 11 Apr 2012 07:33:43 +0000 (10:33 +0300)]
mem: Don't abort on av_malloc(0) in debug mode

This makes the behaviour consistent between debug and release mode.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agomss3: use standard zigzag table
Kostya Shishkov [Mon, 9 Jul 2012 16:15:27 +0000 (18:15 +0200)]
mss3: use standard zigzag table

11 years agomss3: split DSP functions that are used in MTS2(MSS4) into separate file
Kostya Shishkov [Mon, 9 Jul 2012 05:55:12 +0000 (07:55 +0200)]
mss3: split DSP functions that are used in MTS2(MSS4) into separate file

11 years agomotion-test: do not use getopt()
Anton Khirnov [Mon, 9 Jul 2012 06:15:34 +0000 (08:15 +0200)]
motion-test: do not use getopt()

It is not available on all systems and using argc/argv directly actually
makes the code simpler.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agotcp: add initial timeout limit for incoming connections
Jordi Ortiz [Wed, 4 Jul 2012 15:48:10 +0000 (17:48 +0200)]
tcp: add initial timeout limit for incoming connections

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoconfigure: Change the rdtsc check to a linker check
Diego Biurrun [Sun, 8 Jul 2012 23:24:37 +0000 (01:24 +0200)]
configure: Change the rdtsc check to a linker check

A compile-only test could succeed with an implicit function declaration.
Also move the check to the x86 section; rdtsc is x86-only.

11 years agoavconv: propagate fatal errors from lavfi.
Anton Khirnov [Tue, 3 Jul 2012 09:44:46 +0000 (11:44 +0200)]
avconv: propagate fatal errors from lavfi.

11 years agolavfi: add error handling to filter_samples().
Anton Khirnov [Mon, 2 Jul 2012 18:13:40 +0000 (20:13 +0200)]
lavfi: add error handling to filter_samples().

11 years agofate-run: make avconv() properly deal with multiple inputs.
Anton Khirnov [Tue, 29 May 2012 09:41:55 +0000 (11:41 +0200)]
fate-run: make avconv() properly deal with multiple inputs.

11 years agoasplit: don't leak the input buffer.
Anton Khirnov [Tue, 3 Jul 2012 09:26:45 +0000 (11:26 +0200)]
asplit: don't leak the input buffer.

11 years agoaf_resample: fix request_frame() behavior.
Anton Khirnov [Wed, 4 Jul 2012 14:46:17 +0000 (16:46 +0200)]
af_resample: fix request_frame() behavior.

Make sure that an output frame has really been produced before returning
0.

11 years agoaf_asyncts: fix request_frame() behavior.
Anton Khirnov [Wed, 4 Jul 2012 14:46:17 +0000 (16:46 +0200)]
af_asyncts: fix request_frame() behavior.

Make sure that an output frame has really been produced before returning
0.

11 years agolibx264: support aspect ratio switching
JULIAN GARDNER [Sun, 8 Jul 2012 14:33:47 +0000 (17:33 +0300)]
libx264: support aspect ratio switching

Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agomatroskadec: honor error_recognition when encountering unknown elements.
Anton Khirnov [Sat, 7 Jul 2012 15:15:27 +0000 (17:15 +0200)]
matroskadec: honor error_recognition when encountering unknown elements.

11 years agolavr: resampling: add support for s32p, fltp, and dblp internal sample formats
Justin Ruggles [Mon, 28 May 2012 01:44:55 +0000 (21:44 -0400)]
lavr: resampling: add support for s32p, fltp, and dblp internal sample formats

Based partially on implementation by Michael Niedermayer <michaelni@gmx.at> in
libswresample in FFmpeg. See commits:
7f1ae79d38c4edba9dbd31d7bf797e525298ac55
24ab1abfb6d55bf330022df4b10d7aec80b3f116

11 years agolavr: resampling: add filter type and Kaiser window beta to AVOptions
Justin Ruggles [Sat, 26 May 2012 18:50:02 +0000 (14:50 -0400)]
lavr: resampling: add filter type and Kaiser window beta to AVOptions

11 years agolavr: Use AV_SAMPLE_FMT_NONE to auto-select the internal sample format
Justin Ruggles [Fri, 1 Jun 2012 19:19:45 +0000 (15:19 -0400)]
lavr: Use AV_SAMPLE_FMT_NONE to auto-select the internal sample format

Also make this the default value.

11 years agolavr: mix: validate internal sample format in ff_audio_mix_init()
Justin Ruggles [Fri, 1 Jun 2012 19:12:03 +0000 (15:12 -0400)]
lavr: mix: validate internal sample format in ff_audio_mix_init()

11 years agocmutils: include shellapi.h on Win32 (for CommandLineToArgvW).
Ronald S. Bultje [Sat, 7 Jul 2012 20:46:26 +0000 (13:46 -0700)]
cmutils: include shellapi.h on Win32 (for CommandLineToArgvW).

This is required for CommandLineToArgvW. Normally, shellapi.h is included
implicitly by windows.h, but if we define WIN32_LEAN_AND_MEAN (or some of
the other earlier headers have included windows.h with that option),
windows.h doesn't include this one.

Thus explicitly include the headers we really need, for clarity and
compatibility.

11 years agox86/timer: implement an intrinsic-based version for rdtsc (AV_READ_TIME).
Ronald S. Bultje [Sat, 7 Jul 2012 20:30:11 +0000 (13:30 -0700)]
x86/timer: implement an intrinsic-based version for rdtsc (AV_READ_TIME).

11 years agoid3v2: add a mimetype for bmp pictures.
Anton Khirnov [Fri, 6 Jul 2012 20:35:10 +0000 (22:35 +0200)]
id3v2: add a mimetype for bmp pictures.

11 years agoflacdec: be less strict when parsing attached pictures.
Anton Khirnov [Fri, 6 Jul 2012 20:30:17 +0000 (22:30 +0200)]
flacdec: be less strict when parsing attached pictures.

Only return an error if memory allocation fails or error recognition is
set to explode. Otherwise just print an error message and continue
reading the file.

11 years agoflacdec: don't create an attached picture stream until we have all information.
Anton Khirnov [Fri, 6 Jul 2012 20:21:09 +0000 (22:21 +0200)]
flacdec: don't create an attached picture stream until we have all information.

This way we don't end with an invalid stream if parsing the picture
fails.