summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* libvo-amrwbenc: Don't explicitly store bitrate modes in the bitrate tableMartin Storsjö2011-04-13
| | | | | | The bitrate modes are equal to the array indices. Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Remove a useless local variableMartin Storsjö2011-04-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr, libvo-amrwbenc: Make the bitrate/mode mapping array static ↵Martin Storsjö2011-04-13
| | | | | | const Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr, libvo-amrwbenc: Return proper error codes in most placesMartin Storsjö2011-04-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Don't print carriage returns in log messagesMartin Storsjö2011-04-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Remove an old workaround for libamr header weirdnessMartin Storsjö2011-04-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Make the opaque encoder pointer a void*Martin Storsjö2011-04-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Remove unused code fragmentsMartin Storsjö2011-04-13
| | | | | | | This parts are heritage from the encoder part from the old libamr code removed in SVN rev 19365. Signed-off-by: Martin Storsjö <martin@martin.st>
* Check for successful h263 init in msmpeg4 initAlberto Delmas2011-04-12
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* libvo-*: Don't use deprecated sample format names and enum namesMartin Storsjö2011-04-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavcodec: Use "const enum AVSampleFormat[]" in AVCodec initializationMartin Storsjö2011-04-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Fix the conversion of AV_SAMPLE_FMT_FLT and _DBL to AV_SAMPLE_FMT_S32.Alex Converse2011-04-11
| | | | | | | (1<<31) is undefined and seems to be evaluated by gcc to -2^31 when these formulae require 2^31. These conversions still need fate tests.
* Convert some undefined 1<<31 shifts into 1U<<31.Alex Converse2011-04-11
| | | | | | | | | | | According to ISO 9899:1999 S 6.5.7/4: The result of E1 << E2 is E1 left-shifted E2 bit positions; vacated bits are filled with zeros. If E1 has an unsigned type, the value of the result is E1× 2^E2, reduced modulo one more than the maximum value representable in the result type. If E1 has a signed type and nonnegative value, and E1× 2^E2 is representable in the result type, then that is the resulting value; otherwise, the behavior is undefined.
* Add support for AMR-WB encoding via libvo-amrwbencMartin Storsjö2011-04-11
| | | | | | The wrapper code is based on the libamr wrapper removed in SVN rev 19365. Signed-off-by: Martin Storsjö <martin@martin.st>
* Add an AAC encoder by using the libvo-aacenc libraryMartin Storsjö2011-04-11
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* g722: Return 8 bits per sample for g722 in av_get_bits_per_sampleMartin Storsjö2011-04-11
| | | | | | | | This fixes a failing assert in ff_raw_read_header (in fate-g722dec-1), where bits_per_coded_sample is set using this function and is required to have a positive value. Signed-off-by: Martin Storsjö <martin@martin.st>
* Parse sprite data for WMVP and WVP2, and decode sprites for the latterAlberto Delmás2011-04-10
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* pthread: validate_thread_parameters() ignored slice-threading being ↵Alexander Strange2011-04-09
| | | | | | | | | | | | intentionally off The thread_type API allows you to request only FF_THREAD_FRAME (instead of FRAME | SLICE), but it was being ignored. We don't implement both of them at the same time, so there isn't an effect on current codecs, except that you can request no kinds of threading now (a bit useless). Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Use consistent condition for whether to run slice-threading execute function.Reimar Döffinger2011-04-09
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vaapi: cope with VA-API 0.32, i.e. fix VC-1 decoding on Sandy Bridge.Gwenole Beauchesne2011-04-09
| | | | | | (cherry picked from commit a18e7b4fb77d3799cf21110b5e6dda4691a295b3) Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* vaapi: filter out DELAYED_PIC_REF flag to determine field.Gwenole Beauchesne2011-04-09
| | | | | | | | This fixes ticket #23. (cherry picked from commit 621f4c98df4ee9fd604a614f31e09eef9dd7d3ca) Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* lavc: add a FF_API_REQUEST_CHANNELS deprecation macroAnton Khirnov2011-04-07
| | | | And hide request_channels AVOption under it.
* Fix parser: mark av_parser_parse() for removal on next major bumpBrad2011-04-06
| | | | Fix the breakage introduced with 9073ca6c6ebb9e3e9b60d968b7aa16cc8b6d558d
* psymodel: extend API to include PE and bit allocation.Nathan Caldwell2011-04-05
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* Remove unnecessary parameter from ff_thread_init() and fix behaviorAlexander Strange2011-04-05
| | | | | | | | | | | thread_count passed to ff_thread_init() is only used to set AVCodecContext. thread_count, and can be removed. Instead move it to the legacy implementation of avcodec_thread_init(). This also fixes the problem that calling avcodec_thread_init() with pthreads enabled did not set it since ff1efc524cb3c60f2f746e3b4550bb1a86c65316. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* Revert "aac_latm_dec: use aac context and aac m4ac"Janne Grunau2011-04-05
| | | | | This reverts commit 36864ac3540445c513484017aa9927e942fac24a since it breaks LATM decoding in ffplay.
* ac3enc: NEON optimised extract_exponentsMans Rullgard2011-04-05
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ac3enc: move extract_exponents inner loop to ac3dspMans Rullgard2011-04-04
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* aacenc: reduce the number of loop index variablesYoung Han Lee2011-04-04
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* ac3enc: select bandwidth based on bit rate, sample rate, and number ofJustin Ruggles2011-04-03
| | | | | | | full-bandwidth channels. This reduces high-frequency artifacts and improves the quality of the lower frequency audio at low bit rates.
* ARM: NEON fixed-point forward MDCTMans Rullgard2011-04-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: NEON fixed-point FFTMans Rullgard2011-04-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ac3enc: use generic fixed-point mdctMans Rullgard2011-04-03
| | | | | | | | This makes the AC3 encoder use the shared fixed-point MDCT rather than its own implementation. The checksum changes are due to different rounding in the MDCT. Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavc: deprecate AVCodecContext.antialias_algoAnton Khirnov2011-04-03
| | | | It's been unused since mp3float decoder was added.
* lavc: mark mb_qmin/mb_qmax for removal on next major bump.Anton Khirnov2011-04-03
| | | | They've been unused and deprecated for about five years.
* Fixed-point MDCT with 32-bit unscaled outputMans Rullgard2011-04-02
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavc: deprecate rate_emuAnton Khirnov2011-04-02
| | | | It's not used anywhere and apparrently hasn't been for a very long time.
* lavc: mark hurry_up for removal on next major bumpAnton Khirnov2011-04-02
| | | | | It has been deprecated for about five years, skip_idct/skip_frame should be used instead.
* parser: mark av_parser_parse() for removal on next major bumpAnton Khirnov2011-04-02
| | | | | Fixes build with the bump, since the prototype is already marked for removal.
* lavc: add missing audioconvert includesAnton Khirnov2011-04-02
|
* jvdec: don't use deprecated CODEC_TYPE_*/PKT_FLAG_KEYAnton Khirnov2011-04-02
|
* ac3enc: ARM optimised ac3_compute_matissa_sizeMans Rullgard2011-04-01
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ac3: armv6 optimised bit_alloc_calc_bapMans Rullgard2011-04-01
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* FFT: simplify fft8()Mans Rullgard2011-04-01
| | | | | | | Part of the fft8() function corresponds to the BUTTERFLIES macro, so use it. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Fixed-point support in fft-testMans Rullgard2011-04-01
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Fixed-point FFT and MDCTMans Rullgard2011-03-31
|
* ac3enc: simplify sym_quant()Mans Rullgard2011-03-31
| | | | | | | These expressions are equivalent since levels is always odd, and overflow is impossible due to the constraints set by the assert(). Signed-off-by: Mans Rullgard <mans@mansr.com>
* mlp_parse.c: set AVCodecContext channel_layoutJohn Stebbins2011-03-30
| | | | | | The channel layout isn't getting set for mlp and truehd audio. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Add MxPEG decoderanatoly2011-03-30
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Add support for picture_ptr field in MJpegDecodeContextanatoly2011-03-30
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>