summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* 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.
* Add ff_ to AVHWAccel decodersLuca Barbato2011-01-27
| | | | | | That unbreaks compilation of vaapi and dxva2 Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* VP8: don't overread edges on fourtap MC.Ronald S. Bultje2011-01-26
| | | | | | | Fix C VP8 H+V MC functions which do two-dimensional 4/6-tap filters to not overread beyond their edges if the second filter is 4-tap, since the outer pixels aren't there anymore since 44002d8323023c35f51d523a7d305e45103ba7a1.
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-26
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make ff_cmap_read_palette static to libavcodec/iff.c. Delete iff.h.Diego Elio Pettenò2011-01-26
| | | | | | | | The iff.h header only declared one function that is now static, the libavformat/iff.c source file wasn't using it before. Drop the file entirely. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add ff_ prefix to ac3_common_init().Justin Ruggles2011-01-26
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ac3: Remove ff_ac3_critical_band_size_tab.Justin Ruggles2011-01-26
| | | | | | | It is only used to generate band_start_tab, which about the same size, at runtime, so it's simpler just to always hardcode band_start_tab. Signed-off-by: Mans Rullgard <mans@mansr.com>