summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* logging: downgrade recoverable errors to warningsStefan Kost2011-02-08
| | | | | | | | In all 3 cases, the decoding continues and thus a warning would be sufficient. Helps application that catch them with own log handers to handle them accordingly. Signed-off-by: Mans Rullgard <mans@mansr.com>
* h264: define FF_PROFILE_H264_HIGH_444 to the correct valueJanne Grunau2011-02-08
| | | | | It was removed in fe9a3fb since it had the wrong value. Add profile name for it.
* VP8: ARM NEON optimisations for dsp functionsMans Rullgard2011-02-07
| | | | | | | This adds NEON optimised versions of all functions in VP8DSPContext. Based on initial work by Rob Clark. Signed-off-by: Mans Rullgard <mans@mansr.com>
* dvbsubdec: pass correct input buffer sizeJindrich Makovicka2011-02-07
| | | | | | | | | | | In some places, dvbsubdec passes improper input buffer size to bitstream reading functions, not accounting for reading pointer updates. Fixed by using buffer_end - buffer pointer instead of fixed buffer length. Signed-off-by: Jindrich Makovicka <makovick@gmail.com> Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove Xan WC4 cruft from xan.cKostya2011-02-07
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Xan4 decoderKostya Shishkov2011-02-07
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* pass QDMC extradata to the decoderSascha Sommer2011-02-06
| | | | | | | Makes playing QDMC files in MPlayer work when using the libavformat demuxer. Problem was that the extradata was not passed from demuxer to decoder. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Make inter_rvlc and intra_rvlc static tables.Diego Elio Pettenò2011-02-06
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Replace remaining occurrences of deprecated CH_* with AV_CH_*Anton Khirnov2011-02-06
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Set channel_layout for mpegaudioKieran Kunhya2011-02-05
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vp3: Move table allocation code into a new functionAlexander Strange2011-02-05
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vp3: Factor out expressionAlexander Strange2011-02-05
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* VP8: slightly faster loopfilter sharpness logicJason Garrett-Glaser2011-02-04
|
* VP8: faster deblock strength calculationJason Garrett-Glaser2011-02-04
| | | | Convert hev_thresh logic to a LUT, simplify mbedge_lim calculation.
* Remove a few if (p) av_freep(&p) formsClément Bœsch2011-02-04
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* VP8: faster filter_level clipJason Garrett-Glaser2011-02-03
|
* VP8: simplify lf_delta mb mode logicJason Garrett-Glaser2011-02-03
|
* Rename remaining occurrences of SAMPLE_FMT_* to AV_SAMPLE_FMT_*Anton Khirnov2011-02-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace remaining occurrences of CODEC_TYPE_* with AVMEDIA_TYPE*Anton Khirnov2011-02-03
| | | | | | Tested to compile with lavc major bump. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add CODEC_ID_PRORES and bump lavc minor versionTomas Härdin2011-02-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove a few if (p) av_free(p) formsClément Bœsch2011-02-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Set pkt_pts in avcodec_default_reget_buffer()Nicolas George2011-02-03
| | | | | | | This was missed when pkt_pts was first added. Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Mans Rullgard <mans@mansr.com>
* ac3enc: Change EXP_DIFF_THRESHOLD to 500.Justin Ruggles2011-02-02
| | | | | | | | | This patch changes the exponent difference threshold in the exponent strategy decision function of the AC-3 encoder. I tested lowering in increments of 100. From 1000 down to 500 generally increased in quality with each step, but 400 was generally much worse. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: add helper macro for declaring constant dataMans Rullgard2011-02-02
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Separate format conversion DSP functions from DSPContext.Justin Ruggles2011-02-02
| | | | | | | This will be beneficial for use with the audio conversion API without requiring it to depend on all of dsputil. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Fix ff_imdct_calc_sse() on gcc-4.6Alex Converse2011-02-02
| | | | | | | Gcc 4.6 only preserves the first value when using an array with an "m" constraint. Signed-off-by: Mans Rullgard <mans@mansr.com>
* h264: add profile names for the existing definesAnssi Hannula2011-02-01
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* h264: Add Intra and Constrained Baseline profiles to avctx.profileJanne Grunau2011-02-01
|
* dca: avoid C99 declaration in for() expressionGianluigi Tiesi2011-02-01
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* VP8: merge chroma MC callsJason Garrett-Glaser2011-01-31
| | | | | Adds some duplicated code, but avoids duplicate edge checks and similar. ~0.5% faster overall on Parkjoy test sample.
* Implement a SIMD version of emulated_edge_mc() for x86.Ronald S. Bultje2011-01-31
| | | | | From ~550 cycles (C version) to 170 (SSE/x86-64), 206 (MMX/x86-32) and 196 (SSE2/x86-32) cycles.
* cosmetics: indentationJustin Ruggles2011-01-31
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove unneeded add bias from 3 functions.Justin Ruggles2011-01-31
| | | | | | | | DSPContext.vector_fmul_window() DCADSPContext.lfe_fir() SynthFilterContext.synth_filter_float() Signed-off-by: Mans Rullgard <mans@mansr.com>
* Slightly simplify VP8 inter_predictJason Garrett-Glaser2011-01-30
| | | | Merge an if and a switch.
* Replace dprintf with av_dlogLuca Barbato2011-01-29
| | | | dprintf clashes with POSIX.1-2008
* Flush final frames in libfaac encoder.Justin Ruggles2011-01-29
| | | | | | | Gives decoded output identical in length to faac commandline encoder. Fixes Issue 670. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Fix memory leak in ALS decoder in big endian systemsVitor Sessak2011-01-29
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Rearrange MpegEncContext to simplify access from asmMans Rullgard2011-01-29
| | | | | | | | | This moves the fields needed by asm near the top, before any structs or other members which complicate the offset calculation. Modifying other structs will no longer require updating the offsets, and the asm code is slightly simpler due to the smaller offsets. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Fix overread in altivec DSP function sad16Vitor Sessak2011-01-29
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: update MpegEncContext offsetsMans Rullgard2011-01-29
|
* Move ff_emulated_edge_mc() into DSPContext.Ronald S. Bultje2011-01-28
|
* Optimize C version of ff_emulated_edge_mc().Ronald S. Bultje2011-01-28
| | | | | From ~780 cycles to 551 cycles, mostly just by using libc memcpy() instead of manually shuffling individual bytes around.
* aacdec: Convert some loop copies into memcpy()s.Alex Converse2011-01-28
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* In the rawvideo decoder, set pkt_pts in the output frame.Stefano Sabatini2011-01-28
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Fix VP8 aliasing problems.Ronald S. Bultje2011-01-28
| | | | Replace * (uint32_t *) buf accesses with AV_WN32A/AV_COPY32.
* Make ff_float_to_int16*_c() static.Alex Converse2011-01-28
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Hide the now-prefixed decoders, encoders, parsers, bsf, hwaccel objects.Diego Elio Pettenò2011-01-28
| | | | | | | This significantly reduces the size of the symbol table in the generated ELF shared object (as well as the other linked tables). Signed-off-by: Mans Rullgard <mans@mansr.com>
* cosmetics: indentation and spacingJustin Ruggles2011-01-28
|
* Remove the add bias hack for the C version of DSPContext.float_to_int16_*().Justin Ruggles2011-01-28
|
* Add special case for 2nd-order IIR filter.Justin Ruggles2011-01-28
| | | | 40% faster in ff_iir_filter_flt() when c->order == 2.