Michael Niedermayer
931187e117
ac3dec: export center & suroundmix levels
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7b382ab6b0
opt_find: fix segfault
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Ronald S. Bultje
b2c087871d
Move x86util.asm from libavcodec/ to libavutil/.
...
This allows using it in swscale also.
13 years ago
Ronald S. Bultje
3a39195b1d
Move x86inc.asm to libavutil/.
...
This allows using it in libswscale/ also.
13 years ago
Michael Niedermayer
9f4d37f450
ac3enc: drop common fixed/float encoder
...
User applications should by now be able to support float encoders.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Reinhard Tartler
69c4bee8fa
libx264: Include hint for possible values for configuring libx264
...
The output of the x264 commandline tool contains the most uptodate
description of the possible values for the -preset, -tune and -profile
options.
13 years ago
Kostya Shishkov
b86ab38137
Add weighted motion compensation for RV40 B-frames
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Kostya Shishkov
e5ec68699e
RV3/4: calculate B-frame motion weights once per frame
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Kostya Shishkov
d241f51e0f
Move RV3/4-specific DSP functions into their own context
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Dustin Brody
21d7037234
mjpeg: propagate decode errors from ff_mjpeg_decode_sos and ff_mjpeg_decode_dqt
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Dustin Brody
bac3ab13ea
h264: notice memory allocation failure
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Michael Niedermayer
961a1a81d8
cavsdec: check run value validity
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Ruggles
c766eb1ce1
ac3enc: add macros for option names to make them more understandable.
13 years ago
Justin Ruggles
9542ca9fb7
ac3enc: fix 'channel_coupling' option to actually allow 'auto'.
...
Use 'auto' as the default value.
13 years ago
Mans Rullgard
4a71da0f3a
cavs: fix some crashes with invalid bitstreams
...
This removes all valgrind-reported invalid writes with one
specific test file.
Fixes http://www.ocert.org/advisories/ocert-2011-002.html
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Justin Ruggles
069083a419
ac3enc: clip coupling coordinates during calculation
...
This is faster than using the clip_coefficients() function. Also,
clipping the coordinates before determining reuse is better since it
will compare coordinates that are closer to their final encoded values.
13 years ago
Justin Ruggles
d271d5b215
Remove incorrect info in documentation of AVCodecContext.bits_per_raw_sample.
...
bits_per_raw_sample is used in video as well, where sample_fmt is not used.
13 years ago
Michael Niedermayer
9f06c1c61e
cavsdec: avoid possible crash with crafted input
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Baptiste Coudurier
1d36fb13b0
lavc: fix parentheses placement in avcodec_open2().
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Clément Bœsch
51fb933dd0
timecode: move dropframe code and doxycomment it.
...
This is based on the original work by Baptiste Coudurier.
13 years ago
Clément Bœsch
5231454560
timecode: introduce timecode and honor it in MPEG-1/2.
...
This is based on the original work by Baptiste Coudurier.
13 years ago
Michael Niedermayer
6481a36010
cavs: fix oCERT #2011-002 FFmpeg/libavcodec insufficient boundary check
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
7221139ba0
lavc: make avcodec_init() static on next bump.
...
It's called from avcodec_register() anyway, so there's no reason for it
to be public.
13 years ago
Justin Ruggles
d1d33e0763
ac3enc: remove unneeded #include
13 years ago
Justin Ruggles
fce33f9ead
ac3enc: restructure coupling coordinate reuse calculation
13 years ago
Justin Ruggles
c3d63262fe
ac3enc: allow new coupling coordinates to be sent independently for each
...
channel.
13 years ago
Justin Ruggles
d55ad59a8a
ac3enc: separate exponent bit counting from exponent grouping.
...
Move bit counting to the bit allocation function. Move exponent grouping to
after bit allocation. This will allow for adjustment of bandwidth parameters
during bit allocation without having to do exponent grouping multiple times.
13 years ago
Michael Niedermayer
0d4ea7b324
lavc: bump minor for Go2Meeting codec ID
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Thierry Foucu
2a41701300
AVCodec: Add Go2Meeting codec ID
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Dustin Brody
12fe759423
h264: propagate error return values for AV_LOG_ERROR-triggering events
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Alex Converse
94d47382e0
aac: Don't attempt to output configure an invalid channel configuration.
13 years ago
Michael Niedermayer
aae1c247b1
ra288: avoid one multiply
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Kostya Shishkov
7351eb1415
Pretty-print RV3/4 decoder source
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Baptiste Coudurier
d5d74cf530
100l: fix parentheses placement when checking for ret < 0
13 years ago
Kostya Shishkov
9791c02733
Saner RV1/2 initialisation and RV2 header parsing.
...
Old version was based on lots of guesswork which had different hacks based on
32-bit version field instead of splitting it into major/minor/micro version.
RV2 picture header parser also had a few places where it deviated from binary
decoder.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Baptiste Coudurier
5caa2de19e
libx264: do not set pic quality if no frame is output
...
Avoids uninitialized reads.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Baptiste Coudurier
07a227b432
libx264: add preset, tune, profile and fastfirstpass private options
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Dustin Brody
b2700a5c7c
lavc: fix misspelling in comment
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Dustin Brody
680b1852ab
aac: propagate error return values for AV_LOG_ERROR-triggering events
13 years ago
Michael Niedermayer
9e63720b4b
mpegvideo.h: remove the 1 line difference to qatar
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Alex Converse
ad62507f32
h263dec: Fix asserts broken by the elimination of FF_COMMON_FRAME.
13 years ago
Diego Biurrun
fed6c90b68
cosmetics: remove some stray comments from AVCodec declarations
13 years ago
Diego Biurrun
933a6fd5a1
cosmetics: fix indentation/alignment in AVCodec declarations
13 years ago
Reimar Döffinger
99c7b51641
Abort if command offset decreases, avoids potential endless loop.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Carl Eugen Hoyos
324b8adca4
Fix a possible miscompilation of cabac with old (broken) compilers.
13 years ago
Carl Eugen Hoyos
eb29649cad
Set bits_per_coded_sample when encoding ADPCM.
13 years ago
Måns Rullgård
9a83adaf34
arm: Avoid using the movw instruction needlessly
...
This fixes building for ARM11 without Thumb2.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
d0a2f0af9d
Move an int64_t down in MpegEncContext
...
This allows using the same arm assembler offsets for both EABI
and the mach-o ABI.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Vitor Sessak
18b131de04
dct32: Add SSE2 ASM optimizations
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Kostya Shishkov
6f7fe4723b
Correct chroma vector calculation for RealVideo 3.
...
Old version divided it wrong, which resulted in chroma drift (visible on FATE
sample too as dirty trails left by clouds).
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago