Diego Biurrun
2e6f93a284
x86: Always compile files with functions that are called unconditionally
12 years ago
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.
12 years ago
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.
12 years ago
Brad Smith
d488c3bcba
configure: support Bitrig OS
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
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.
12 years ago
Martin Storsjö
09d5e02ab0
graph2dot: Use the fallback getopt implementation if needed
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
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>
12 years ago
Martin Storsjö
3ad9eac5a0
testprogs: Remove unused includes
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
dd4169ab92
qt-faststart: Use other seek/tell functions on MSVC than on mingw
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
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>
12 years ago
Martin Storsjö
d4bba93f4d
sdp: Use static const char arrays instead of pointers to strings
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Diego Biurrun
bcc45d6348
x86: avcodec: Drop silly "_mmx" suffixes from filenames
12 years ago
Diego Biurrun
efbd04c332
x86: avcodec: Drop silly "_sse" suffixes from filenames
12 years ago
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>
12 years ago
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>
12 years ago
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>
12 years ago
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>
12 years ago
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>
12 years ago
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>
12 years ago
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>
12 years ago
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>
12 years ago
Mans Rullgard
ae43c4c0c0
configure: use HOSTCC_C/O in check_host_cc
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
df0d634138
configure: use AS_O setting in check_as
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
29b64b6827
configure: use LD_O setting in check_ld()
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
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>
12 years ago
Diego Biurrun
3d868fe542
build: Restore dependency of acelp_filters.o on celp_math.o
12 years ago
Diego Biurrun
dafcbfe443
celp_math: Replace duplicate ff_dot_productf() by ff_scalarproduct_c()
12 years ago
Diego Biurrun
5549854335
celp_math: Move ff_cos() to the only place it is used
12 years ago
Diego Biurrun
8f7c26e392
build: Use portable abstraction for linker/hostcc output file syntax
12 years ago
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>
12 years ago
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>
12 years ago
Kostya Shishkov
0de4a563e4
mss1: move code that will be reused by MSS2 decoder into separate file
12 years ago
Kostya Shishkov
49df339f4b
mss1: merge decode_intra() and decode_inter()
...
They have most of their code in common.
12 years ago
Martin Storsjö
b42be2d56a
avprobe: Get rid of ugly casts in the options table
...
This also makes sure the function pointers are stored via the same
union member as they are accessed via.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
b441a4517b
vf_hqdn3d: Remove a duplicate inline declaration
...
Compilation seems to fail on GCC 3.4 due to this duplicate
declaration.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
2bd67175c7
vf_hqdn3d: Don't declare the loop variable within the for loop
...
This C99 feature is generally not used in the libav codebase,
since it breaks building with some fringe compilers (GCC 2.95,
MSVC).
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Luca Barbato
e0f7a9f6e7
huffyuv: update to current coding style
12 years ago
Luca Barbato
f76e47877c
huffman: update to current coding style
12 years ago
Martin Storsjö
125c6c0752
rtsp: Free the rtpdec context properly
...
The condition for calling the rtpdec cleanup was broken in
df8cf076c8
.
This fixes a memory leak.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Diego Biurrun
3f02c533f3
build: fft: x86: Drop unused YASM-OBJS-FFT- variable
12 years ago
Diego Biurrun
d7f9786cbc
audio_frame_queue: Clean up ff_af_queue_log_state debug function
...
The function is debug-only, so only compile it in debug mode.
Make it static as it has no uses outside of the file.
Change av_log() to av_dlog().
12 years ago
Diego Biurrun
1ce5dce454
dwt: Remove unused code.
12 years ago
Mans Rullgard
88386feefd
cavs: convert cavsdata.h to a .c file
...
Defining tables in header files is ugly and prone to duplication.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Diego Biurrun
a6d9f9e60e
cavs: Move inline functions only used in one file out of the header
12 years ago
Diego Biurrun
ef07ac1e12
cavs: Move data tables used in only one place to that file
12 years ago
Jan Ekström
09bd0ea94e
fate: Add a single symbol Ut Video decoder test
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Loren Merritt
7a1944b907
vf_hqdn3d: x86 asm
...
13% faster on penryn, 16% on sandybridge, 15% on bulldozer
Not simd; a compiler should have generated this, but gcc didn't.
12 years ago
Loren Merritt
566858a770
vf_hqdn3d: support 16bit colordepth
12 years ago
Anton Khirnov
44b0b85fe9
avconv: prefer user-forced input framerate when choosing output framerate
12 years ago
Mans Rullgard
db70730291
x86: fft: remove unused fft_dispatch* functions
...
These functions are not used since the yasm conversion.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago