Luca Barbato
7658295ba3
pixfmt: support more yuva formats
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Luca Barbato
26b5ad2543
swscale: support gray to 9bit and 10bit formats
With the input of Kostya and Ronald.
13 years ago
Mans Rullgard
f454e87923
configure: rewrite print_config() function using awk
This is much faster with slow shells and noticeably faster even
with bash on a fast Linux system.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Anton Khirnov
02e6364259
FATE: fix (AD)PCM test dependencies broken in e519990
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Ronald S. Bultje
95c89da36e
Use ptrdiff_t instead of int for intra pred "stride" function parameter.
This way, SIMD-optimized functions don't have to sign-extend their
stride argument manually to be able to do pointer arithmetic.
13 years ago
Ronald S. Bultje
bad8e33dc9
x86: use PRED4x4/8x8/8x8L/16x16 macros to declare intrapred prototypes.
13 years ago
Ronald S. Bultje
08b028c18d
Remove INIT_AVX from x86inc.asm.
13 years ago
Ronald S. Bultje
c285edd06e
Remove usage of INIT_AVX in h264_intrapred_10bit.asm.
Replace INIT_AVX by INIT_XMM avx. Port the whole file to use cpuflag
based function declarations. Remove (now unused) cputype argument in
function declaration macros. Change function prototypes to have mmx2
instead of mmxext as suffix, since that's required by cpuflags.
13 years ago
Anton Khirnov
ede4cedf47
dv: fix indentation
13 years ago
Anton Khirnov
14f031d7ec
dv: use AVStream.index instead of abusing AVStream.id
13 years ago
Anton Khirnov
20dd41af85
lavfi: add ashowinfo filter
It can be useful for debugging.
Based on a patch by Stefano Sabatini <stefano.sabatini-lala@poste.it>
13 years ago
Martin Storsjö
9b500b8f6c
avcodec: Add a RFC 3389 comfort noise codec
This isn't too useful as a normal codec, but can be used in
voip style applications. The decoder updates the noise
generator parameters when a packet is given to it for decoding,
but if called with an empty packet, it generates more noise
according to the last parameters.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
8b25a20efb
lpc: Add a function for calculating reflection coefficients from samples
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Justin Ruggles
39ef66f530
lpc: Add a function for calculating reflection coefficients from autocorrelation coefficients
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Anton Khirnov
dc5793062e
lavr: document upper bound on number of output samples.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Anton Khirnov
01b760190d
lavr: add general API usage doxy
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Anton Khirnov
bff5e5f8b3
indeo3: remove duplicate capabilities line.
13 years ago
Diego Biurrun
2cbdd7c929
fate: ac3: Add dependencies
13 years ago
Diego Biurrun
381dc1a5ec
fate: ac3: Place E-AC-3 tests and AC-3 tests in different groups
13 years ago
Diego Biurrun
e519990ced
fate: Add shorthands for acodec PCM and ADPCM tests
13 years ago
Diego Biurrun
70478746a9
avconv: Drop unused function argument from do_video_stats()
13 years ago
Diego Biurrun
ab79966475
cmdutils: Conditionally compile libswscale-related bits
This fixes compilation with libswscale disabled.
13 years ago
Diego Biurrun
72c758f1fd
aacenc: Drop some unused function arguments
13 years ago
Martin Storsjö
f21d5c905d
rtsp: Avoid a cast when calling strtol
This gets rid of this warning:
libavformat/rtsp.c: In function ‘rtsp_parse_transport’:
libavformat/rtsp.c:794: warning: cast discards qualifiers from pointer target type
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Luca Barbato
d4bff9f1ab
nut: support textual data
Plain text (utf8 encoded) data can be muxed and demuxed in nut.
13 years ago
Luca Barbato
07585ffa62
nutenc: verbosely report unsupported negative pts
Additionally use the correct error number.
13 years ago
Anton Khirnov
f174fbac3c
lavc: add CODEC_CAP_DR1 to all video decoders missing them
13 years ago
Martin Storsjö
48f01398ba
rtpdec: Cosmetic cleanup
Mainly clean up the RTP statistics code, plus a few other obviously
misindentend lines.
Remove some useless comments, de-doxygenize some comments,
add spacing around operators and fix a typo.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Luca Barbato
424b1e7642
yuv4mpeg: reject unsupported codecs
The muxer already rejects unsupported pixel formats, reject also
unsupported codecs to prevent dangerous misuses.
13 years ago
Luca Barbato
fce4450dec
nutenc: K&R formatting cosmetics
13 years ago
Mans Rullgard
4cbae57cef
assdec: fix qsort() callback signature
This changes the event_cmp() function to the correct signature,
avoiding an ugly cast.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
4cd217c065
configure: detect sparc64 automatically
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
4471a24207
vp8: fix memset() crossing array boundary
Indexing across array boundaries is not allowed by C99.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
c4cccc8d3f
h264: fix invalid pointer arithmetic
Subtracting a (positive) value from the address of an array violates
C99 section 6.5.6:
If both the pointer operand and the result point to elements of the
same array object, or one past the last element of the array object,
the evaluation shall not produce an overflow; otherwise, the
behavior is undefined.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
50be207759
amrwbdec: fix invalid pointer arithmetic
Subtracting a (positive) value from the address of an array violates
C99 section 6.5.6:
If both the pointer operand and the result point to elements of the
same array object, or one past the last element of the array object,
the evaluation shall not produce an overflow; otherwise, the
behavior is undefined.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
4521645b1a
avio: fix pointer type mismatches in avio_enum_protocols()
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
cc64ec570c
avserver: use socklen_t where appropriate
Various socket functions expect a pointer to socklen_t which is not
necessarily int.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
be2efe0c7b
udp: use socklen_t where appropriate
getsockname() takes a pointer to socklen_t which is not necessarily
int.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
9efbfe57e0
network: use HAVE_THREADS instead of local hack
HAVE_THREADS is set in config.h if pthreads or w32threads is
available, which presumably the proper condition here.
Also fixes undefined behaviour in preprocessor directives.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
67a68dcec2
af_channelmap: remove stray enum declaration
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
6b776c61da
buffersink: remove stray semicolon after function definition
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
1aa07aa21c
configure: fix tests for 2-arg math functions
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Diego Biurrun
ca7f59119b
doc: git-howto: Clarify comment about pushing series of commits
13 years ago
Diego Biurrun
87cdd7c694
ivi_common: Drop unused function parameter from decode_band()
13 years ago
Diego Biurrun
707f58f515
cook: Remove some silly Doxygen comments
13 years ago
Diego Biurrun
8a61ba0e81
cook: Remove senseless maybe_reformat_buffer32() function
13 years ago
Diego Biurrun
f23b4a0682
cook: cosmetics: Better names for joint_decode() function parameters
13 years ago
Diego Biurrun
20015379a4
cook: cosmetics: Better name for ccpl COOKSubpacket member
13 years ago
Diego Biurrun
13bbefd57e
doxygen: Add av_alloc_size to list of predefined macros
This avoids Doxygen believing the attribute is the function name.
13 years ago
Diego Biurrun
74e742d6ad
doxygen: Drop some pointless entries from PREDEFINED macros list
13 years ago