Diego Biurrun
4d1f69f244
x86: h264_qpel_10bit: port to cpuflags
12 years ago
Justin Ruggles
3a2731cbd3
flacenc: ensure the order is within the min/max range in LPC order search
...
This fixes use of uninitialized values when the FLAC encoder uses the
2-level, 4-level, and 8-level search methods. Fixes failure of the
fate-flac-24-comp-8 test when run using valgrind.
12 years ago
Diego Biurrun
6ca60d4ddd
x86: h264_intrapred: port to cpuflags
12 years ago
James Zern
12776d5d2a
libvpxenc: Allow enabling constrained quality (CQ) mode
...
The CQ mode was introduced in libvpx 0.9.6.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
ad961726dc
libopencore-amr: Check the return value of amr_decode_fix_avctx
...
This allows getting rid of redundant checks later in the codec
specific init functions.
Move the check to before actually initializing the decoder lib,
to simplify error handling.
This fixes a case of returning a value from a void function, present since
d40dab907
.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Justin Ruggles
2e76f34387
flacenc: use RICE2 entropy coding mode for 24-bit
12 years ago
Justin Ruggles
13e1ee6c84
flacenc: add 24-bit encoding
12 years ago
Justin Ruggles
799e232490
flacdsp: move lpc encoding from FLAC encoder to FLACDSPContext
...
Also, templatize the functions for 16-bit and 32-bit sample range. This will
be used for 24-bit FLAC encoding.
12 years ago
Justin Ruggles
5ff998a233
flacenc: use uint64_t for bit counts
...
Needed to avoid integer overflows for 24-bit encoding.
12 years ago
Justin Ruggles
e783316322
flacenc: remove wasted trailing 0 bits
12 years ago
Justin Ruggles
6a744d2619
flacenc: use a separate buffer for byte-swapping for MD5 checksum on big-endian
...
This is much faster than calculating the MD5 one sample at a time.
12 years ago
Diego Biurrun
930e26a3ea
x86: h264qpel: Only define mmxext QPEL functions if H264QPEL is enabled
...
This fixes compilation with --disable-everything and components enabled.
12 years ago
Diego Biurrun
dbb37e7711
x86: PABSW: port to cpuflags
12 years ago
Diego Biurrun
6c104826bd
x86: vc1dsp: port to cpuflags
12 years ago
Diego Biurrun
0a7a94f2e5
x86: Refactor PSWAPD fallback implementations and port to cpuflags
12 years ago
Diego Biurrun
9a07c1332c
parser: Move Doxygen documentation to the header files
12 years ago
John Stebbins
85f67c4865
PGS subtitles: Expose forced flag
...
Useful for detection of subtitles displayed during foreign language
scenes.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Diego Biurrun
26f01bd106
x86: PMINUB: port to cpuflags
12 years ago
Diego Biurrun
9ce02e14f0
x86: ac3dsp: port to cpuflags
12 years ago
Anton Khirnov
0876c28080
lavc: add some AVPacket doxy.
12 years ago
Ilkka Ollakka
6d1270a0f9
decode_audio3: initialize AVFrame
...
Same fix and issue as in a25d912dca
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Justin Ruggles
5459848b14
ws-snd1: set channel layout
12 years ago
Justin Ruggles
f7b8506573
wmavoice: set channel layout
12 years ago
Justin Ruggles
002097a00b
wmapro: use AVCodecContext.channels instead of keeping a private copy
12 years ago
Justin Ruggles
2ed40608e9
wma: do not keep private copies of some AVCodecContext fields
...
channels, sample_rate, bit_rate, and block_align can be used directly from
the AVCodecContext
12 years ago
Justin Ruggles
50a65e7a54
vmdaudio: set channel layout
12 years ago
Justin Ruggles
b5f628e227
twinvq: validate sample rate code
...
A large invalid value could cause undefined behavior when left-shifted
by 8 later in the function.
12 years ago
Justin Ruggles
335826cf5f
twinvq: set channel layout
12 years ago
Justin Ruggles
8cc72ce5a0
twinvq: validate that channels is not <= 0
...
This could occur due to integer overflow when reading the channel count from
the extradata.
12 years ago
Justin Ruggles
cebea00c8a
truespeech: set channel layout
12 years ago
Justin Ruggles
523734eb6a
sipr: set channel layout
12 years ago
Justin Ruggles
4c53f4aed3
shorten: validate that the channel count in the header is not <= 0
12 years ago
Justin Ruggles
4e13e50432
ra288dec: set channel layout
12 years ago
Justin Ruggles
6159f64364
ra144dec: set channel layout
12 years ago
Justin Ruggles
eb38d8fe92
qdm2: remove unneeded checks for channel count
12 years ago
Justin Ruggles
be2ab8b75a
qdm2: make sure channels is not <= 0 and set channel layout
12 years ago
Justin Ruggles
e3d6ab5704
qcelpdec: set channel layout
12 years ago
Justin Ruggles
d26701ce2f
nellymoserdec: set channels to 1
12 years ago
Justin Ruggles
d40dab907a
libopencore-amr: set channel layout for amr-nb or if not set by the user
12 years ago
Justin Ruggles
30f8da29bf
libilbc: set channel layout
12 years ago
Justin Ruggles
0fd1ddf155
dpcm: use AVCodecContext.channels instead of keeping a private copy
12 years ago
Justin Ruggles
1c7a016153
imc: set channels to 1 instead of validating it
12 years ago
Justin Ruggles
32c7769e5c
gsmdec: always set channel layout and sample rate at initialization
...
Only mono 8kHz is supported.
12 years ago
Justin Ruggles
c5b8acad73
libgsmdec: always set channel layout and sample rate at initialization
...
Only mono 8kHz is supported.
12 years ago
Justin Ruggles
a346aaf148
g726dec: do not validate sample rate
...
For decoding it does not really matter what the sample rate is.
12 years ago
Justin Ruggles
e00eb03cd8
g726dec: set channel layout at initialization instead of validating it
12 years ago
Justin Ruggles
99d8686357
flacdec: do not warn on sample rate change
12 years ago
Justin Ruggles
90fcac0e95
flacdec: allow mid-stream channel layout change
...
Although the libFLAC decoder cannot handle such a change, it is allowed by the
spec and could potentially occur with live streams.
12 years ago
Justin Ruggles
268f8ba112
flacdec: use av_samples_* functions for sample buffer allocation
...
Also, return an error on allocation failure.
12 years ago
Justin Ruggles
8ac0f6767b
dcadec: allow the decoder to change the channel layout mid-stream
12 years ago