summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* Get audio_service_type for AC-3 based on bitstream mode in the AC-3 parserJustin Ruggles2011-03-25
| | | | and decoder, and vice-versa for the AC-3 encoder.
* Add audio_service_type field to AVCodecContext for encoding and reportingJustin Ruggles2011-03-25
| | | | of the service type in the audio bitstream.
* aacenc: indentationYoung Han Lee2011-03-24
|
* aacenc: fix the side calculation in search_for_msYoung Han Lee2011-03-24
|
* vp8.c: rename EDGE_* to VP8_EDGE_*.Alexander Strange2011-03-24
|
* ARM: fix ff_apply_window_int16_neon() prototypeMans Rullgard2011-03-24
| | | | | | The length argument should be unsigned. No change in code. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: NEON optimised apply_window_int16()Mans Rullgard2011-03-24
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ac3enc: NEON optimised shift functionsMans Rullgard2011-03-24
|
* ac3enc: NEON optimised ac3_max_msb_abs_int16 and ac3_exponent_minMans Rullgard2011-03-24
|
* mpeg12.c: fix slice threading for mpeg2 field picture mode.Ronald S. Bultje2011-03-24
| | | | Fixes "make THREADS=2 fate-mpeg2-field-enc".
* lavc: move the version macros to a new installed header.Anton Khirnov2011-03-22
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Add apply_window_int16() to DSPContext with x86-optimized versions and use itJustin Ruggles2011-03-22
| | | | in the ac3_fixed encoder.
* Fix an infinite loop when RoQ encoded generated a frame with a size greater ↵Vitor Sessak2011-03-22
| | | | | | than the maximum valid size. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Add kbdwin.o to AC3 decoderKieran Kunhya2011-03-22
| | | | | | Fixes --disable-everything --enable-decoder=ac3 Signed-off-by: Mans Rullgard <mans@mansr.com>
* Detect byte-swapped AC-3 and support decoding it directly.Reimar Döffinger2011-03-22
| | | | | | | This allows the AC-3 decoder to be used directly with RealMedia decoders that unlike the libavformat one do not byte-swap automatically. Since the new code is only used in case we would fail directly otherwise there should be no risk for regressions.
* cosmetics: indentationJustin Ruggles2011-03-22
|
* Always copy input data for AC3 decoder.Justin Ruggles2011-03-22
| | | | | | | Depending on error_recognition is not correct, low values do certainly not mean it is ok to crash. Based on a patch by Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* ac3enc: make sym_quant() branch-freeJustin Ruggles2011-03-22
|
* vc1: make P-frame deblock filter bit-exact.Ronald S. Bultje2011-03-21
|
* vc1: slice support.Ronald S. Bultje2011-03-21
| | | | Also reset coded_block at each new slice, fixes problems in slice playback.
* vc1: fix up memleaks in the error codepath.Ronald S. Bultje2011-03-21
| | | | | Introduce end: and err: labels at the end of vc1_decode_frame(), which will clean up allocated memory consistently.
* vc1: warn for unimplemented pan-scan feature.Ronald S. Bultje2011-03-21
|
* ffv1: allocate correct size for sample bufferMans Rullgard2011-03-20
| | | | | | | This fixes a typo in the size calculation for the sample buffer introduced in cbabccc367424. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Move ff_dct_init_mmx declaration to dct.hMans Rullgard2011-03-20
| | | | | | This was missed in 0aded94. Signed-off-by: Mans Rullgard <mans@mansr.com>
* dct: remove superflous #includeMans Rullgard2011-03-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Move dct and rdft definitions to separate filesMans Rullgard2011-03-20
| | | | | | | This leaves fft.h with only the core FFT and MDCT definitions thus making it more managable. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Move sine windows to a separate fileMans Rullgard2011-03-20
| | | | | | | These windows do not really belong in fft/mdct files and were easily confused with the similarly named tables used by rdft. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Move ff_kbd_window_init() to a separate fileMans Rullgard2011-03-19
| | | | | | | This function is not tightly coupled to mdct, and it's in the way of making a fixed-point mdct implementation. Signed-off-by: Mans Rullgard <mans@mansr.com>
* fft: remove inline wrappers for function pointersMans Rullgard2011-03-19
| | | | | | | This removes the rather pointless wrappers (one not even inline) for calling the fft_calc and related function pointers. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove Sonic experimental audio codecMans Rullgard2011-03-19
| | | | | | | | Since initially committed in 2004, this codec has only been touched for maintenanance. Functionally, it contains no novel ideas and its intended audience is better served by existing mature codecs. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* aacenc: 10l, missed a reference when refactoring the psymodel.Nathan Caldwell2011-03-17
|
* ac3enc: add float_to_fixed24() with x86-optimized versions to AC3DSPContextJustin Ruggles2011-03-17
| | | | and use in scale_coefficients() for the floating-point AC-3 encoder.
* aacenc: cosmetics, indentation, and comment clarificationNathan Caldwell2011-03-16
| | | | | Correct bad indentation in aaccoder Clarify and correct comments in 3GPP psymodel, other cosmetics.
* aacenc: Refactor the parts of the AAC psymodel.Nathan Caldwell2011-03-16
| | | | | | | | | | | 3GPP: Remove ffac from and move min_snr out of AacPsyBand. Rearrange AacPsyCoeffs to make it easier to implement energy spreading. Rename the band[] array to bands[] Copy energies and thresholds at the end of analysis. LAME: Use a loop instead of an if chain in LAME windowing.
* aaccoder: Change FFMAX for allzero flag to OR bit operationYoung Han Lee2011-03-16
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Remove occurrences of my old email addressRamiro Polla2011-03-16
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dsputil: add bswap16_buf()Mans Rullgard2011-03-16
| | | | | | | | There are several places where a buffer is byte-swapped in 16-bit units. This allows them to share code which can be optimised for various architectures. Signed-off-by: Mans Rullgard <mans@mansr.com>
* use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*Janne Grunau2011-03-16
|
* replace FFMPEG with LIBAV in FFMPEG_CONFIGURATIONJanne Grunau2011-03-16
| | | | also update the multiple inclusion guards in config.h|mak
* mathops: fix MULL() when the compiler does not inline the function.Justin Ruggles2011-03-15
| | | | | | | If the function is not inlined, an immmediate cannot be used for the shift parameter, so the %cl register must be used instead in that case. This fixes compilation for x86-32 using gcc with --disable-optimizations.
* mathops: change "g" constraint to "rm" in x86-32 version of MUL64().Justin Ruggles2011-03-15
| | | | | The 1-arg imul instruction cannot take an immediate argument, only a register or memory argument.
* mathops: convert MULL/MULH/MUL64 to inline functions rather than macros.Justin Ruggles2011-03-15
| | | | | | This fixes unexpected name collisions that were occurring with variables declared within the macros. It also fixes the fate-acodec-ac3_fixed regression test on x86-32.
* h264_mp4toannexb_bsf: Fix spurious warning when stream has SPS and PPS units.Philip Langdale2011-03-15
| | | | | Signed-off-by: Philip Langdale <philipl@overt.org> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* ac3enc: add SIMD-optimized shifting functions for use with the fixed-point ↵Justin Ruggles2011-03-14
| | | | AC3 encoder.
* ac3enc: do not right-shift fixed-point coefficients in the final MDCT stage.Justin2011-03-14
| | | | | | | | | This increases the accuracy of coefficients, leading to improved quality. Rescaling of the coefficients to full 25-bit accuracy is done rather than offsetting the exponent values. This requires coefficient scaling to be done before determining the rematrixing strategy. Also, the rematrixing strategy calculation must use 64-bit math to prevent overflow due to the higher precision coefficients.
* mm decoder: move buffer allocation from decode_init() to decode_frame()Peter Ross2011-03-14
| | | | | | This permits playback in ffplay when libavfilter is enabled. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Bitmap Brothers JV video decoderPeter Ross2011-03-14
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Update the url to the site website and change ffmpeg-devel to libav-develJohan Andersson2011-03-13
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* VP8: fix other function declarationJason Garrett-Glaser2011-03-12
| | | | Was missed in 3efbe137.