Martin Storsjö
504de2ec8f
rtpdec_xiph: Split packets in the depacketizer
...
The vorbis decoder doesn't handle more than one audio frame packed into
the same AVPacket, so they need to be split in the depacketizer.
Originally committed as revision 24704 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
98fe09df7b
Add file missing in r24702
...
Originally committed as revision 24703 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Eli Friedman
c12d6955e2
H.264: SSE2/SSSE3 weighted prediction asm
...
Patch by Eli Friedman <eli.friedman at gmail dot com>
Originally committed as revision 24702 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
905ef0d064
VP5/6/8: eliminate CABAC dependency
...
Create a custom table for VP5/6/8's renorm to avoid depending on H.264's.
Saves one instruction in the arithmetic decoder as well.
Originally committed as revision 24701 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Zhentan Feng
aaa91aa00e
Move read_mms_packet() code to be inlined in the calling function.
...
Patch by Zhentan Feng <spyfeng gmail com>.
Originally committed as revision 24700 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Zhentan Feng
05fc9a1bcf
Remove is_playing variable.
...
Patch by Zhentan Feng <spyfeng gmail com>.
Originally committed as revision 24699 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Zhentan Feng
b949875bf6
Move send_media_packet_request() and clear_stream_buffers() up.
...
Patch by Zhentan Feng <spyfeng gmail com>.
Originally committed as revision 24698 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
4c3fbd4f93
fate: move some groups of related tests to their own files
...
This moves some groups of tests for single codecs to separate files,
and adds shorthands for running all tests in a group.
Originally committed as revision 24697 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
737b3972b5
rtpdec_xiph: Correct the bitmask for num_pkts
...
Originally committed as revision 24696 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
49d63851cb
fate: add fft tests
...
Originally committed as revision 24695 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
dff1fc51b2
fate-run: add helper to run things on target
...
Originally committed as revision 24694 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
a79e921ee6
fft-test: exit with non-zero status if test failed
...
Originally committed as revision 24693 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
8d370d88e5
Fix VP8 decoder dependencies
...
This reverts rev 24674 - the VP8 decoder actually depends on cabac.o.
vp8.c includes vp56.h, which includes cabac.h, which has inline functions
that reference tables from cabac.c.
This fixes compilation with --disable-everything --enable-decoder=vp8.
Originally committed as revision 24692 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
1e73967950
VP8: partially inline decode_block_coeffs
...
Avoids a function call in the case of empty DCT blocks (most of the time).
Originally committed as revision 24691 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
ffbf0794f9
Fix 100L in r24689
...
Accidentally committed some timing code.
Originally committed as revision 24690 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
afb54a85c3
VP8: simplify decode_block_coeffs to avoid having to track nonzero coeffs
...
Slightly faster.
Originally committed as revision 24689 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
d0c38ea0aa
Cosmetics: add missing space to options.c
...
Originally committed as revision 24688 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
b0d5879513
VP8: slightly faster DCT coefficient probability update
...
Originally committed as revision 24687 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
2eef529195
ARM: update struct offsets
...
Originally committed as revision 24686 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
f079a64aea
Move cavs dsp functions to their own struct
...
Originally committed as revision 24685 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
61ee75bbf8
Silence unused function warnings in vp56.h
...
Originally committed as revision 24684 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
476be414a4
VP8: make another RAC call branchy
...
1-2 clocks faster.
Originally committed as revision 24683 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
8b9b5e085f
VP5/6/8: add one inline missed in r24677
...
Originally committed as revision 24682 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
0908f1b945
VP8: unroll partition type decoding tree
...
~34% faster partition type decoding.
Originally committed as revision 24681 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
c5dec7f137
VP8: unroll splitmv decoding tree
...
Much faster splitmv mode decoding.
Originally committed as revision 24680 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
23117d69c1
VP8: unroll MB mode decoding tree
...
~50% faster MB mode decoding, plus eliminate a costly switch.
Originally committed as revision 24679 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
be665c7da6
Make avfilter_copy_picref_props() copy w and h from src to dst.
...
Originally committed as revision 24678 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
cd2769c142
VP5/6/8: tweak some arithcoder inlining
...
Always inline the arithmetic coder, except in the case of header-parsing stuff,
in which case don't inline it at all to save code size.
Originally committed as revision 24677 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Alex Converse
55aa55f2e1
vorbisdec: Return AVERROR(ENOMEM) on malloc() failure.
...
This is especially important because classifs can be very large.
Originally committed as revision 24676 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Alex Converse
366d919016
vorbisdec: Prevent a potential integer overflow.
...
If sizeof uint_fast8_t > 1 and sizeof size_t <= 4, the expression that mallocs
classifs is susceptible to integer overflow.
Originally committed as revision 24675 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Diego Biurrun
83abdf5ff0
The VP8 decoder does not depend on cabac.o.
...
Originally committed as revision 24674 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Diego Biurrun
efbc455915
The VP8 decoder does not depend on vp56.o and vp56data.o.
...
Originally committed as revision 24673 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Diego Biurrun
2e2ca50655
Remove redundant h264pred.o from VP8 objects list.
...
It is already selected through the H264DSP dependency of VP8.
Originally committed as revision 24672 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
370b622a45
VP8: eliminate a dereference in coefficient decoding
...
Originally committed as revision 24671 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
f311208cf1
VP8: much faster DC transform handling
...
A lot of the time the DC block is empty: don't do the WHT in this case.
A lot of the rest of the time, there's only one coefficient: make a special
DC-only transform for that case.
When the block is empty, don't incorrectly mark luma DCT blocks as having DC
coefficients.
Originally committed as revision 24670 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
c934562c12
vorbisdec: change a uint_fast32_t to 'unsigned', fix llvm-gcc build
...
Originally committed as revision 24669 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
827d43bb9d
VP8: move zeroing of luma DC block into the WHT
...
Lets us do the zeroing in asm instead of C.
Also makes it consistent with the way the regular iDCT code does it.
Originally committed as revision 24668 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
42907c6ab5
lavfi-regression: trim \r line ends from showfiltfmts output
...
This is required when cross-testing on dos-like targets.
Originally committed as revision 24667 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Diego Biurrun
440e3b2f7f
Add -Wno-parentheses to CFLAGS.
...
Without this flag -Wall generates warnings that nobody wants to see fixed or
worked around. Disabling those warnings is thus the best solution.
Originally committed as revision 24666 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
546017fc79
Sort lavfi pixdesc tests.
...
Increase readability and robustness, as the test result is not going
to differ if the order of the pixfmts codes changes.
Originally committed as revision 24665 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Pascal Massimino
d2840fa49c
only store intra prediction modes on the boundary for keyframes, not as a plane.
...
inter-frame behaviour unchanged.
Originally committed as revision 24664 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Benoit Fouet
eea72ee863
Fix doxygen comment.
...
Originally committed as revision 24663 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Benoit Fouet
497d7991b5
Change a doxy comment to a normal one.
...
Originally committed as revision 24662 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Benoit Fouet
1aa15491f2
Fix doxygen comments.
...
/**\u2264 => /**<
Originally committed as revision 24661 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Benoit Fouet
3ea4d9423f
Issue a warning when fed with misformatted one-line doxygen comments.
...
Originally committed as revision 24660 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
10bf2eebbe
VP8: simplify token_prob handling
...
~1.5% faster decode_block_coeffs
Originally committed as revision 24659 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
9c87c03779
lavfi-regression: use different temp file names for each pixfmt test
...
Originally committed as revision 24658 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
213a4cbb39
Add lavfi-pixfmts LE tests.
...
The corresponding lavfi-pixfmts BE tests are not yet added, as there
are some bugs in the scaler (scaling rgba, argb, bgra, abgr, yuva420p)
which result in differences with the LE reference, and I cannot
visually check the generated files on BE.
Originally committed as revision 24657 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Pascal Massimino
c22b4468a6
prevent access to vp8_coeff_band[16]
...
Originally committed as revision 24656 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
043076975f
Reindent.
...
Originally committed as revision 24655 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago