Martin Storsjö
f502ff3f61
Add support for AMR-WB encoding via libvo-amrwbenc
...
The wrapper code is based on the libamr wrapper removed in SVN rev 19365.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
d89e738a0c
Add an AAC encoder by using the libvo-aacenc library
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
029f966c3a
g722: Return 8 bits per sample for g722 in av_get_bits_per_sample
...
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>
14 years ago
Alberto Delmás
768c525114
Parse sprite data for WMVP and WVP2, and decode sprites for the latter
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Alexander Strange
cf39b461d3
pthread: validate_thread_parameters() ignored slice-threading being 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>
14 years ago
Reimar Döffinger
f82163cf1c
Use consistent condition for whether to run slice-threading execute function.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Gwenole Beauchesne
da21440d46
vaapi: cope with VA-API 0.32, i.e. fix VC-1 decoding on Sandy Bridge.
...
(cherry picked from commit a18e7b4fb7
)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago
Gwenole Beauchesne
09ce846206
vaapi: filter out DELAYED_PIC_REF flag to determine field.
...
This fixes ticket #23 .
(cherry picked from commit 621f4c98df
)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago
Anton Khirnov
9f5ddd1e46
lavc: add a FF_API_REQUEST_CHANNELS deprecation macro
...
And hide request_channels AVOption under it.
14 years ago
Brad
1f6265e011
Fix parser: mark av_parser_parse() for removal on next major bump
...
Fix the breakage introduced with 9073ca6c6e
14 years ago
Nathan Caldwell
5371803dd5
psymodel: extend API to include PE and bit allocation.
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Alexander Strange
ba9ef8d04e
Remove unnecessary parameter from ff_thread_init() and fix behavior
...
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 ff1efc524c
.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Janne Grunau
d6f66edd65
Revert "aac_latm_dec: use aac context and aac m4ac"
...
This reverts commit 36864ac354
since it
breaks LATM decoding in ffplay.
14 years ago
Mans Rullgard
5f2e6c0fd1
ac3enc: NEON optimised extract_exponents
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
2310ee4b1c
ac3enc: move extract_exponents inner loop to ac3dsp
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Young Han Lee
57cc1ad35f
aacenc: reduce the number of loop index variables
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Justin Ruggles
e05a3ac713
ac3enc: select bandwidth based on bit rate, sample rate, and number of
...
full-bandwidth channels.
This reduces high-frequency artifacts and improves the quality of the lower
frequency audio at low bit rates.
14 years ago
Mans Rullgard
f7653904c8
ARM: NEON fixed-point forward MDCT
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
dba9852935
ARM: NEON fixed-point FFT
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
79997def65
ac3enc: use generic fixed-point mdct
...
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>
14 years ago
Anton Khirnov
4e3945fd28
lavc: deprecate AVCodecContext.antialias_algo
...
It's been unused since mp3float decoder was added.
14 years ago
Anton Khirnov
4a49d2d59c
lavc: mark mb_qmin/mb_qmax for removal on next major bump.
...
They've been unused and deprecated for about five years.
14 years ago
Mans Rullgard
bc154882e1
Fixed-point MDCT with 32-bit unscaled output
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
ed5fcd60b2
lavc: deprecate rate_emu
...
It's not used anywhere and apparrently hasn't been for a very long time.
14 years ago
Anton Khirnov
8ed2ae09a2
lavc: mark hurry_up for removal on next major bump
...
It has been deprecated for about five years, skip_idct/skip_frame should
be used instead.
14 years ago
Anton Khirnov
9073ca6c6e
parser: mark av_parser_parse() for removal on next major bump
...
Fixes build with the bump, since the prototype is already marked for
removal.
14 years ago
Anton Khirnov
6f3d3eacf6
lavc: add missing audioconvert includes
14 years ago
Anton Khirnov
b4b167ecbf
jvdec: don't use deprecated CODEC_TYPE_*/PKT_FLAG_KEY
14 years ago
Mans Rullgard
aa05f2126e
ac3enc: ARM optimised ac3_compute_matissa_size
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
182826c884
ac3: armv6 optimised bit_alloc_calc_bap
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
41327cca61
FFT: simplify fft8()
...
Part of the fft8() function corresponds to the BUTTERFLIES macro,
so use it.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
6efe6028ed
Fixed-point support in fft-test
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
7087ce08c8
Fixed-point FFT and MDCT
14 years ago
Mans Rullgard
7f6e05cdfd
ac3enc: simplify sym_quant()
...
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>
14 years ago
John Stebbins
4b6f097b21
mlp_parse.c: set AVCodecContext channel_layout
...
The channel layout isn't getting set for mlp and truehd audio.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
anatoly
ce02f9becf
Add MxPEG decoder
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
anatoly
e0e3b8b297
Add support for picture_ptr field in MJpegDecodeContext
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
anatoly
f16055eedf
Move MJPEG's input buffer preprocessing in separate public function
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
anatoly
8f0bd2c07d
Support reference picture defined by bitmask in MJPEG's SOS decoder
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Mans Rullgard
52fd16a264
ac3enc: move compute_mantissa_size() to ac3dsp
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
6f718471ea
ac3enc: move mant*_cnt and qmant*_ptr out of AC3EncodeContext
...
These fields are only used in quantize_mantissas() and reset
on each call, no need to store them in the main context.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
d782bca415
ac3enc: NEON optimised float_to_fixed24
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
6d9f52b2cd
ac3: move ff_ac3_bit_alloc_calc_bap to ac3dsp
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Ronald S. Bultje
d38345878c
dfa: protect pointer range checks against overflows.
14 years ago
Alexander Strange
a75529e81e
mimic: implement multithreading.
14 years ago
Justin Ruggles
c4549bd66a
ac3enc: avoid memcpy() of exponents and baps in EXP_REUSE case by using
...
exponent reference blocks.
14 years ago
Kostya Shishkov
42315dabce
Chronomaster DFA decoder
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Justin Ruggles
991f3de1bb
ac3enc: Add codec-specific options for writing AC-3 metadata.
14 years ago
Alexander Strange
1500be13f2
dsputil: allow to skip drawing of top/bottom edges.
14 years ago
Justin Ruggles
be18738801
Get audio_service_type for AC-3 based on bitstream mode in the AC-3 parser
...
and decoder, and vice-versa for the AC-3 encoder.
14 years ago