Diego Biurrun
ec36aa6944
x86: Fix linking with some or all of yasm, mmx, optimizations disabled
...
Some optimized template functions reference optimized symbols, so they
must be explicitly disabled when those symbols are unavailable.
2012-08-30 19:37:32 +02:00
Diego Biurrun
50cd43f2cd
configure: Add more fine-grained SSE CPU capabilities flags
2012-08-30 19:29:32 +02:00
Diego Biurrun
cdaec0b240
avfilter: x86: Use more precise compile template names
2012-08-30 18:51:51 +02:00
Diego Biurrun
a886b279a0
x86: cosmetics: Comment some #endifs for better readability
2012-08-30 18:50:33 +02:00
Kostya Shishkov
04fc5c6bde
g723_1: add comfort noise generation
2012-08-30 18:21:12 +02:00
Michael Niedermayer
040405b59e
utvideoenc: Switch to dsputils' median prediction
...
Also, align the mangled RGB planes, which is required for the
SIMD versions of dsputils' median predict.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-08-30 11:59:19 -04:00
Michael Niedermayer
bbefd27e52
utvideoenc: Avoid writing into the input picture
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-08-30 11:59:19 -04:00
Anton Khirnov
11d957fbd8
avtools: remove the distinction between func_arg and func2_arg.
...
func2_arg is the same as func_arg, except it has one additional
parameter. Change all func_arg callbacks to take that parameter (and
ignore it).
2012-08-30 13:56:25 +02:00
Anton Khirnov
bbcedade00
avconv: make the -passlogfile option per-stream.
2012-08-30 13:56:25 +02:00
Anton Khirnov
038c0b1e06
avconv: make the -pass option per-stream.
2012-08-30 13:56:24 +02:00
Anton Khirnov
e2785fa728
cmdutils: make -codecs print lossy/lossless flags.
2012-08-30 13:56:00 +02:00
Anton Khirnov
a2318326f1
lavc: add lossy/lossless codec properties.
2012-08-30 13:55:55 +02:00
Mans Rullgard
8db73c61a7
build: allow non-standard variations of linker -l/-L flags
...
This enables replacing the -l and -L flags used to specify the
just-built libraries when linking the tools and shared libs with
non-standard syntaxes. System library flags are already handled
by the filtering mechanism in configure.
Signed-off-by: Mans Rullgard <mans@mansr.com >
2012-08-29 14:16:54 +01:00
Anton Khirnov
bbabeb56fa
Add reminders to update the codec descriptor list with new codec IDs.
2012-08-29 10:47:59 +02:00
Mans Rullgard
7baa115a33
build: export filtered -lz flag in config.mak
...
This is needed to link tools/cws2fws using a linker with non-standard
command line syntax.
Signed-off-by: Mans Rullgard <mans@mansr.com >
2012-08-28 23:40:30 +01:00
Mans Rullgard
095792f253
build: add separate setting for host linker
...
This adds new HOSTLD and related settings for host linker allowing
it to be different from HOSTCC.
Signed-off-by: Mans Rullgard <mans@mansr.com >
2012-08-28 23:40:30 +01:00
Mans Rullgard
2763587c83
configure: probe_cc: use separate variable for linker output flag
...
Some tools use different command line syntax for specifying output
when compiling and linking. To accomodate these, separate variables
must be used. No currently supported compilers/linkers are affected
by the change.
Signed-off-by: Mans Rullgard <mans@mansr.com >
2012-08-28 23:40:30 +01:00
Diego Biurrun
2e6f93a284
x86: Always compile files with functions that are called unconditionally
2012-08-29 00:27:06 +02:00
Diego Biurrun
2f2aa2e542
x86: mpegvideoenc: fix linking with --disable-mmx
...
The optimized dct_quantize template functions reference optimized
fdct symbols, so these functions must only be enabled if the relevant
optimizations have been enabled by configure.
2012-08-29 00:26:56 +02:00
Diego Biurrun
d39791bf39
x86: mpegvideoenc: Do not abuse HAVE_ variables for template instantiation
...
This avoids trouble if HAVE_ variables are used elsewhere in the file.
2012-08-29 00:14:52 +02:00
Brad Smith
d488c3bcba
configure: support Bitrig OS
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2012-08-29 00:14:52 +02:00
Ronald S. Bultje
b64a72e1b2
yuv2rgb: handle line widths that are not a multiple of 4.
...
This introduces support for width%4==2 in addition to width%4==0. For
odd widths, some more checks are needed, since the current code always
handles two luma items in a row, thus there is a possibility of an
overread by one.
2012-08-28 14:58:52 -07:00
Martin Storsjö
09d5e02ab0
graph2dot: Use the fallback getopt implementation if needed
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-08-29 00:24:39 +03:00
Martin Storsjö
212ec5faf9
tools: Include io.h for open/read/write/close if unistd.h doesn't exist
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-08-29 00:24:07 +03:00
Martin Storsjö
3ad9eac5a0
testprogs: Remove unused includes
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-08-29 00:23:51 +03:00
Martin Storsjö
dd4169ab92
qt-faststart: Use other seek/tell functions on MSVC than on mingw
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-08-29 00:23:34 +03:00
Martin Storsjö
bff714ad4c
ismindex: Include direct.h for _mkdir on windows
...
The Windows SDK in MSVC doesn't have mkdir, only _mkdir, and
MSDN says one should include direct.h to use it.
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-08-29 00:23:18 +03:00
Martin Storsjö
d4bba93f4d
sdp: Use static const char arrays instead of pointers to strings
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-08-28 22:35:17 +03:00
Diego Biurrun
bcc45d6348
x86: avcodec: Drop silly "_mmx" suffixes from filenames
2012-08-28 18:37:34 +02:00
Diego Biurrun
efbd04c332
x86: avcodec: Drop silly "_sse" suffixes from filenames
2012-08-28 18:37:33 +02:00
Martin Storsjö
06b5246c84
sdp: Include profile-level-id for H264
...
This is required for playback with the Stagefright RTSP framework
on Android.
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-08-28 19:32:19 +03:00
Michael Niedermayer
6d35470063
utvideoenc: use ff_huff_gen_len_table
...
Avoid code duplication and provide faster and better compression.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2012-08-28 17:43:25 +02:00
Michael Niedermayer
5a582bd3b5
huffman: add ff_huff_gen_len_table
...
The function will be used by utvideo as well.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2012-08-28 17:43:25 +02:00
Reimar Döffinger
998f92d680
cllc: simplify/fix swapped data buffer allocation.
...
Using the malloc variant avoids pointless memcpy on size
increase and simplifies handling allocation failure.
Also change code to ensure that allocation, bswap and bitstream
reader all use the same size, even when the packet size is odd
for example.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de >
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2012-08-28 11:37:53 -04:00
Samuel Pitoiset
6af2480aa6
rtpdec_h264: Don't set the pixel format
...
There is no need for this depacketizer to set the pixel format,
the decoder can do that just fine.
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-08-28 18:16:00 +03:00
Martin Storsjö
6f5b1a2ba4
h264: Check that the codec isn't null before accessing it
...
This fixes crashes introduced by 2e8f3cbcda
, the codec can be null
when called from parsers.
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-08-28 18:15:38 +03:00
Martin Storsjö
0b58c77ed1
audio_frame_queue: Define af_queue_log_state before using it
...
This fixes building with DEBUG defined after the function was made
static and the prototype removed in d7f9786cbc
.
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-08-28 17:32:17 +03:00
Kostya Shishkov
7627c35a81
vc1: export some functions
...
This is a preparatory step for the MSS2 decoder which needs to use
the WMV9 decoder to decode some kinds of frames.
From the patch by Alberto Delmás <adelmas@gmail.com >
2012-08-28 07:37:06 +02:00
Mans Rullgard
ae43c4c0c0
configure: use HOSTCC_C/O in check_host_cc
...
Signed-off-by: Mans Rullgard <mans@mansr.com >
2012-08-27 23:14:06 +01:00
Mans Rullgard
df0d634138
configure: use AS_O setting in check_as
...
Signed-off-by: Mans Rullgard <mans@mansr.com >
2012-08-27 23:14:06 +01:00
Mans Rullgard
29b64b6827
configure: use LD_O setting in check_ld()
...
Signed-off-by: Mans Rullgard <mans@mansr.com >
2012-08-27 23:14:06 +01:00
Mans Rullgard
dbc9f84ea6
Revert "dsputil: make {add/put/put_signed}_pixels_clamped() non-static."
...
This reverts commit 484a337cd7
.
These functions were used in f8bed30
"VC1: merge idct8x8, coeff
adjustments and put_pixels" which was reverted in 18b6a69
.
Signed-off-by: Mans Rullgard <mans@mansr.com >
2012-08-27 22:24:05 +01:00
Diego Biurrun
3d868fe542
build: Restore dependency of acelp_filters.o on celp_math.o
2012-08-27 21:05:52 +02:00
Diego Biurrun
dafcbfe443
celp_math: Replace duplicate ff_dot_productf() by ff_scalarproduct_c()
2012-08-27 20:37:49 +02:00
Diego Biurrun
5549854335
celp_math: Move ff_cos() to the only place it is used
2012-08-27 20:37:48 +02:00
Diego Biurrun
8f7c26e392
build: Use portable abstraction for linker/hostcc output file syntax
2012-08-27 20:37:48 +02:00
Brad Smith
d5683aba5a
configure: Fix shared library creation for OpenBSD
...
OpenBSD does not expect or require symlinked shared libraries with
just the major version in the name.
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2012-08-27 20:37:47 +02:00
Derek Buitenhuis
5395d882b4
vp56: Don't use DECLARE_ALIGN on a typedef name
...
Instead, use it on the first member, since by definition, if
any member is aligned, the whole struct must be, in order to
maintain that alignment.
Fixes compilation with some finicky compilers.
Idea for fix from Måns Rullgård.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2012-08-27 14:08:17 -04:00
Kostya Shishkov
0de4a563e4
mss1: move code that will be reused by MSS2 decoder into separate file
2012-08-27 18:12:10 +02:00
Kostya Shishkov
49df339f4b
mss1: merge decode_intra() and decode_inter()
...
They have most of their code in common.
2012-08-27 18:11:50 +02:00