summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* Optimization of AMR NB and WB decoders for MIPSNedeljko Babic2012-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | AMR NB and WB decoders are optimized for MIPS architecture. Appropriate Makefiles are changed accordingly. Cnfigure script is changed in order to support optimizations. Optimizations are enabled by default when compiling is done for mips architecture. Appropriate cflags are automatically set. Support for several mips CPUs is added in configure script. New ffmpeg options are added for disabling optimizations. The FFMPEG option --disable-mipsfpu disables MIPS floating point optimizations. The FFMPEG option --disable-mips32r2 disables MIPS32R2 optimizations. The FFMPEG option --disable-mipsdspr1 disables MIPS DSP ASE R1 optimizations. The FFMPEG option --disable-mipsdspr2 disables MIPS DSP ASE R2 optimizations. Signed-off-by: Nedeljko Babic <nbabic@mips.com> Reviewed-by: Vitor Sessak <vitor1001@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Remove eightsvx_raw decoder linePaul B Mahol2012-06-11
| | | | | | Decoder have been renamed to pcm_s8_planar long ago. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* rv20enc: use av_assertMichael Niedermayer2012-06-11
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Make png-in-mov QuickTime-compatible for more colour-spaces.Carl Eugen Hoyos2012-06-11
| | | | | | Reported and tested by ami_stuff. See ticket #1191.
* libvpxenc: add support for forced key framesJames Zern2012-06-11
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* rangecoder: use av_assertMichael Niedermayer2012-06-10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* amrnbdec: use av_assertMichael Niedermayer2012-06-10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* j2k: remove unreachable assert()Michael Niedermayer2012-06-10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-06-10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: libmp3lame: add missing layout terminator avconv: multithreaded demuxing. Bump lavu minor and add an APIChanges entry for audioconvert functions. audioconvert: add a function for extracting the channel with the given index audioconvert: add a function for getting the name of a single channel. audioconvert: add a function for getting channel's index in layout audioconvert: use av_popcount64 in av_get_channel_layout_nb_channels vf_libopencv: add missing headers. iac: add missing dependency Conflicts: configure doc/APIchanges ffmpeg.c libavcodec/libmp3lame.c libavutil/avutil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libmp3lame: add missing layout terminatorMichael Niedermayer2012-06-10
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | dct-test: fix alignment in ff_prores_idct_put_10_sse2()Michael Niedermayer2012-06-10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tiffenc: use av_assert()Michael Niedermayer2012-06-10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavcodec/x86/rv40dsp_init.c: add missing HAVE_YASMMichael Niedermayer2012-06-10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavcodec/x86/h264dsp_mmx.c: add forgotten HAVE_YASMMichael Niedermayer2012-06-10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavcodec/x86/dwt.c: move some missed things under HAVE_YASMMichael Niedermayer2012-06-10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dct-test: fix #if for ff_prores_idct_put_10_sse2()Michael Niedermayer2012-06-10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | h264: use externally provided dimensions when they appear to be more correct.Michael Niedermayer2012-06-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is based on: commit 30f515091c323da59c0f1b533703dedca2f4b95d Author: Mans Rullgard <mans@mansr.com> h264: allow cropping to AVCodecContext.width/height The above commit is not taken as is as its buggy (incorrect handling of the interlaced case) and didnt apply cleanly. Fixes ticket156 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libopenjpegdec: make use of FF_ARRAY_ELEMSPaul B Mahol2012-06-09
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | libvpxenc: add VP8E_SET_MAX_INTRA_BITRATE_PCT mappingJames Zern2012-06-10
| | | | | | | | | | | | defines 'max-intra-rate' in line with vpxenc param Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libopenjpeg: YUVA422P and YUVA444P supportPaul B Mahol2012-06-09
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-06-09
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: h264: allow cropping to AVCodecContext.width/height mov: set AVCodecContext.width/height for h264 iac: generate codec tables as they are supposed to be indeo4: handle frame type 1 properly lavu: change versioning script to include all av* prefixed symbols Conflicts: libavcodec/h264.c libavutil/libavutil.v Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * h264: allow cropping to AVCodecContext.width/heightMans Rullgard2012-06-09
| | | | | | | | | | | | | | | | Override the frame size from the SPS with AVCodecContext values if the latter specify a size smaller by less than one macroblock. This is required for correct cropping of MOV files from Canon cameras. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * iac: generate codec tables as they are supposed to beKostya Shishkov2012-06-09
| | | | | | | | | | | | | | | | | | Unlike its predecessor, Indeo Audio codec generates tables depending on sampling rate. Previously decoder used pre-generated tables for 22050 Hz which obviously doesn't work with other frequencies. Many thanks to Maxim Poliakovsky for providing all needed information for this.
| * indeo4: handle frame type 1 properlyKostya Shishkov2012-06-09
| | | | | | | | | | It turns out that this frame type is actually intra and should be used as a reference for interframes too.
* | ffv1enc: add yuva422p to .pix_fmtsPaul B Mahol2012-06-09
| | | | | | | | | | | | This was forgotten in 4e4634aa160ad0e27bee5e7809edbfcace08eba6. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | remove unreferenced table "dnxhd_1238_ac_index_flag" (empty curly braces did ↵J. Bohl2012-06-09
| | | | | | | | | | | | not compile with ICL12.1) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libopenjpegdec: unbreak yuva420p supportPaul B Mahol2012-06-09
| | | | | | | | | | | | Regression introduced in b7a928b2d1563575a8d9ec5aa606f735620b38ab. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavc/bintext: check extradata sizeMichael Niedermayer2012-06-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | binkaudio: prevent extradata overreadPaul B Mahol2012-06-09
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-06-08
|\| | | | | | | | | | | | | | | | | | | | | | | * qatar/master: float_dsp: ppc: add a separate header for Altivec function prototypes ARM: fix float_dsp breakage from d5a7229 Add a float DSP framework to libavutil PPC: Move types_altivec.h and util_altivec.h from libavcodec to libavutil ARM: Move asm.S from libavcodec to libavutil vc1dsp: mark put/avg_vc1_mspel_mc() always_inline Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Add a float DSP framework to libavutilJustin Ruggles2012-06-08
| | | | | | | | Move vector_fmul() from DSPContext to AVFloatDSPContext.
| * PPC: Move types_altivec.h and util_altivec.h from libavcodec to libavutilJustin Ruggles2012-06-08
| | | | | | | | | | This will allow for easier implementation of Altivec functions in libraries other than libavcodec.
| * ARM: Move asm.S from libavcodec to libavutilJustin Ruggles2012-06-08
| | | | | | | | | | This will allow for easier implementation of ARM-optimized functions in libraries other than libavcodec.
| * vc1dsp: mark put/avg_vc1_mspel_mc() always_inlineMans Rullgard2012-06-08
| | | | | | | | | | | | | | | | | | | | This ensures that these functions are inlined into the per-position entry points, allowing constant propagation as needed for proper optimisation. 18% faster VC1 decoding on Cortex-A9. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | rv10: change assert() to av_assert()Michael Niedermayer2012-06-08
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Revert "Fix building libopencore_amrnb decoder without libopencore_amrnb ↵Paul B Mahol2012-06-08
| | | | | | | | | | | | | | | | encoder" Reverting "Fix" because it disables amrwb decoder. This reverts commit e11020a1459de122834055be93a70566ce064bcc.
* | Fix dirac decoder build dependencies.Carl Eugen Hoyos2012-06-08
| | | | | | | | | | | | Found, analysed and tested by trac user Jamal. Fixes part of ticket #1428.
* | Fix amv encoder dependencies.Carl Eugen Hoyos2012-06-08
| | | | | | | | | | | | Found, analysed and tested by trac user Jamal. Fixes part of ticket #1428.
* | Fix building libopencore_amrnb decoder without libopencore_amrnb encoderPaul B Mahol2012-06-08
| | | | | | | | | | | | Fixes #1210. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Revert "sinewin_tablegen: use av_assert"Michael Niedermayer2012-06-08
| | | | | | | | | | | | | | using as_assert() in the table generator would make the generators have to be linked to libavutil. This reverts commit c3b6efa4cb25400d7ff8853ee6ebd95c29b744a6.
* | h261enc: use av_assertMichael Niedermayer2012-06-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | h261dec: use av_assertMichael Niedermayer2012-06-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | h264_mvpred: use av_assertMichael Niedermayer2012-06-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc/rectangle: change assert to av_assertMichael Niedermayer2012-06-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | svq1enc: use av_assertMichael Niedermayer2012-06-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | wmv2enc: use av_assertMichael Niedermayer2012-06-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sinewin_tablegen: use av_assertMichael Niedermayer2012-06-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | put_bits: use av_assertMichael Niedermayer2012-06-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | golomb: use av_assertMichael Niedermayer2012-06-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpegvideo: fix out of heap array accessesMichael Niedermayer2012-06-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>