Stefano Sabatini
44bd69e9b9
lavc/utils: rename ff_init_buffer_info() pic parameter to frame
...
The new name is more expressive, given that the frame is not necessarily
a picture but may be an audio frame.
12 years ago
Stefano Sabatini
b99381e8b5
lavc/utils: generalize ff_init_buffer_info() and use it when seems feasible
...
Extend ff_init_buffer_info() to init audio frames as well as video
frames.
Avoid code duplication.
12 years ago
Stefano Sabatini
39a8275fdf
lavfi: move color filter to testsrc, factorize
12 years ago
Clément Bœsch
e39f6a3a5c
Fix misc swapped dot and carriage returns in av_log calls.
12 years ago
Michael Niedermayer
231ffb9243
flvdec: follow packets backward until a valid last timestamp is found
...
Fixed Ticket981
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
71a5cd7dbc
flvdec: perform duration search just once
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Piotr Bandurski
a2232e696b
cllc: fix typo in the error message
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
bc42682749
lavf/movenc: fix invalid free with timecode meta and tmcd data copy.
...
Fixes ticket 1577.
12 years ago
Diego Biurrun
ca844b7be9
x86: Use consistent 3dnowext function and macro name suffixes
...
Currently there is a wild mix of 3dn2/3dnow2/3dnowext. Switching to
"3dnowext", which is a more common name of the CPU flag, as reported
e.g. by the Linux kernel, unifies this.
12 years ago
Kostya Shishkov
d3e0766fc0
g723_1: scale output as supposed for the case with postfilter disabled
12 years ago
Kostya Shishkov
94bfdfd6f0
g723_1: increase excitation storage by 4
...
Fixed codebook mode in 5300 rate may write up to SUBFRAME_LEN + 4 and
that is considered normal by the reference decoder. Without that additional
padding it might overwrite first elements of LPC history.
12 years ago
Kostya Shishkov
802bcdcb2f
g723_1: fix upper bound parameter from inverse maximum autocorrelation
12 years ago
Kostya Shishkov
8ddadea171
g723_1: make scale_vector() behave like the reference
12 years ago
Kostya Shishkov
8772d2511a
g723_1: fix off-by-one error in normalize_bits()
12 years ago
Kostya Shishkov
7f92db14f9
g723_1: save/restore excitation with offset to store LPC history
...
The same buffer with saved data is used later in LPC reconstruction, so
it should have some head space for LPC history.
12 years ago
Sean McGovern
3680b24351
wmapro: prevent division by zero when sample rate is unspecified
...
This fixes Bugzilla #327 :
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
12 years ago
Michael Niedermayer
31d8261cde
mpegprobe: fix misdetection of mp3
...
Fixes tikcet1524
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas George
752344dada
amerge/astreamsync/pan: fix license boilerplate.
...
The boilerplate states that the files are under LGPL,
but refer the user to the GPL at one place.
These files were (re)implemented specifically for FFmpeg.
12 years ago
Michael Niedermayer
9c6e23f5d2
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
x86: fft: fix imdct_half() for AVX
rtmppkt: Add missing libavcodec/bytestream.h include.
rtmp: add functions for reading AMF values
vc1dec: remove useless #include simple_idct.h
dct-test: always link with aandcttab.o
vp8: pack struct VP8ThreadData more efficiently
x86: remove libmpeg2 mmx(ext) idct functions
eamad: Use dsputils instead of a custom bswap16_buf
Canopus Lossless decoder
Conflicts:
Changelog
LICENSE
libavcodec/avcodec.h
libavcodec/cllc.c
libavcodec/eamad.c
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
03737412a3
x86: proresdsp: improve SIGNEXTEND macro comments
12 years ago
Ronald S. Bultje
9f14cd91b5
fft: port FFT/IMDCT 3dnow functions to yasm, and disable on x86-64.
...
64-bit CPUs always have SSE available, thus there is no need to compile
in the 3dnow functions. This results in smaller binaries.
12 years ago
Derek Buitenhuis
19d40c7912
eamad: Use dsputils instead of its own bswap16_buf
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
f92a99dae5
flacenc: switch to av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
4d38b838f0
flacdec: switch to av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
81905088a1
x86: h264dsp: K&R formatting cosmetics
12 years ago
Derek Buitenhuis
144e4b0997
LICENSE: Document all GPL files
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
12 years ago
Ronald S. Bultje
c728518b3c
x86: fft: fix imdct_half() for AVX
...
Some calculations were changed in b6a3849
to use mmsize, which was not correct
for the AVX version, which uses INIT_YMM and therefore has mmsize == 32.
Fixes Bug 341.
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
12 years ago
Alex Rønne Petersen
150adea6da
rtmppkt: Add missing libavcodec/bytestream.h include.
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
12 years ago
Kifayat ullah
32aeba1275
mpegtsenc: Fix AC3 Sound issue with Blu-ray Players.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas George
93d428953c
assdec: return EOF instead of EIO.
12 years ago
Jordi Ortiz
50468f93e3
rtmp: add functions for reading AMF values
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Mans Rullgard
cfb1091898
vc1dec: remove useless #include simple_idct.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
af500c08bb
dct-test: always link with aandcttab.o
...
This allows building dct-test even if aandcttab.o is not pulled in
by any enabled codec. The DCT with which these tables are used does
not use them directly, so building it without the tables is possible.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
cf5781fad0
vp8: pack struct VP8ThreadData more efficiently
...
Reordering the members in this struct reduces the holes required
to maintain alignment. With this order, the only remaining, and
unavoidable, hole is 3 bytes following left_nnz.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
ec7c501ed5
x86: remove libmpeg2 mmx(ext) idct functions
...
These functions are not faster than other mmx implementations on
any hardware I have been able to test on, and they are horribly
inaccurate. There is thus no reason to ever use them.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Stefano Sabatini
aa5b93fbd8
lavfi/rgbtestsrc: use ff_fill_rgba_map() rather than a local copy
...
Also convert int rgba_map[4] to uint8_t rgba_map[4], as required by
ff_fill_rgba_map().
Simplify.
12 years ago
Stefano Sabatini
3bcde3f06c
lavfi/drawutils: make ff_draw_color() accept a const rgba map
12 years ago
Stefano Sabatini
65520f5933
lavfi/video: remove duplicated function ff_null_start_frame_keep_ref()
...
Semantic for the function ff_null_start_frame() was changed in
07bad27810
, and it has now the same behavior of
ff_null_start_frame_keep_ref(), thus it makes no sense to keep both of
them.
12 years ago
Michael Niedermayer
8cac86e091
vorbisdec: fix heap buffer overflow.
...
Found-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
a6aa7e039a
mpegaudio_tablegen: try to fix hardcoded tables
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
96cb143800
Merge remote-tracking branch 'dwbuiten/master'
...
* dwbuiten/master:
Canopus Lossless decoder
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
571572fcdd
mp3dec: adjust IMDCT scaling to avoid overflows
...
Fixes ticket268
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Derek Buitenhuis
a675d73d57
eamad: Use dsputils instead of a custom bswap16_buf
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
12 years ago
Derek Buitenhuis
45eaac02cb
Canopus Lossless decoder
...
At the moment it only does BGR24, but I plan to add the rest after.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
12 years ago
Derek Buitenhuis
91c86d3cf8
Canopus Lossless decoder
...
At the moment it only does BGR24, but I plan to add the rest after.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
12 years ago
Michael Niedermayer
98a2f4e87b
configure: reduce difference to qatar by 2 lines
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
ec7ecb8811
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
dca: Switch dca_sample_rates to avpriv_ prefix; it is used across libs
ARM: use =const syntax instead of explicit literal pools
ARM: use standard syntax for all LDRD/STRD instructions
fft: port FFT/IMDCT 3dnow functions to yasm, and disable on x86-64.
dct-test: allow to compile without HAVE_INLINE_ASM.
x86/dsputilenc: bury inline asm under HAVE_INLINE_ASM.
dca: Move tables used outside of dcadec.c to a separate file.
dca: Rename dca.c ---> dcadec.c
x86: h264dsp: Remove unused variable ff_pb_3_1
apetag: change a forgotten return to return 0
Conflicts:
libavcodec/Makefile
libavcodec/dca.c
libavcodec/x86/fft_3dn.c
libavcodec/x86/fft_3dn2.c
libavcodec/x86/fft_mmx.asm
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
4c8fc6a2a4
lavfi/testsrc: use AVFILTER_DEFINE_CLASS for defining the filter classes
...
Factorize.
12 years ago
Stefano Sabatini
33474eb1c6
lavfi/testsrc: extend logic in request_frame, support static image output
12 years ago
Stefano Sabatini
20e940e768
lavfi/testsrc: free the context in uninit
...
Keeping stuff in the context can be useful for debugging purposes.
12 years ago