Mans Rullgard
3a2e80ecbc
mpegaudio: remove CONFIG_AUDIO_NONSHORT
...
This fake option cannot be enabled by normal means, and the
floating-point decoder should provide the higher quality this
option presumably was intended for.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Nathan Caldwell
b58e298572
psymodel: Remove wrapper functions.
...
Instead use the function pointers directly.
14 years ago
Nathan Caldwell
5b29af624f
aacenc: Replace loop counters in aac_encode_frame() with more descriptive 'ch' and 'w'.
14 years ago
Alex Converse
869303bebd
wmavoice: Use proper size in memeset().
...
sizeof(array_functrion_argument) gives the size of the pointer type not
the size of the array to which it points.
14 years ago
Diego Biurrun
61165a1bba
Fix standalone compilation of WTV demuxer.
14 years ago
Diego Biurrun
091018e0dd
Fix standalone compilation of MXPEG decoder.
14 years ago
Diego Biurrun
35e376b0d2
flashsv: K&R cosmetics
14 years ago
Ronald S. Bultje
7d2e03afc8
vc1: make overlap filter for I-frames bit-exact.
14 years ago
Ronald S. Bultje
5c9f147e05
vc1dec: use s->start/end_mb_y instead of passing them as function args.
14 years ago
Ronald S. Bultje
18b6a69ce9
Revert "VC1: merge idct8x8, coeff adjustments and put_pixels."
...
This reverts commit f8bed30d8b
. The reason
for this is that the overlap filter, which runs after IDCT, should run
on unclamped values, and thus IDCT and put_pixels() cannot be merged if
we want to attempt to be bitexact.
14 years ago
Alex Converse
1a5e4fd8c5
Replace strncpy() with av_strlcpy().
14 years ago
Alex Converse
aab6374bbe
indeo3: Eliminate use of long.
14 years ago
Alex Converse
47bc52f821
get_bits: make cache unsigned to eliminate undefined signed overflow.
14 years ago
Ronald S. Bultje
d969e93a72
mpegvideo: reindent.
14 years ago
Ronald S. Bultje
fb22c23715
mpegvideo: don't av_malloc(0).
14 years ago
Ronald S. Bultje
4773d90421
vp8: frame-multithreading.
...
Tested on a Mac Pro, 2 CPUs, 2 cores each, OSX 10.6.6:
time ./ffmpeg -v 0 -vsync 0 -threads [1234] -i \
~/Downloads/sintel_trailer_1080p_vp8_vorbis.webm \
-f null -vcodec rawvideo -an -
1: 0m14.630s (89.9 fps)
2: 0m8.056s (163.2 fps)
3: 0m5.882s (223.6 fps)
4: 0m4.952s (265.6 fps)
time ./ffmpeg -v 0 -vsync 0 -threads [1234] -i \
~/Downloads/Elephants_Dream-720p-Stereo.webm \
-f null -vcodec rawvideo -an -
1: 1m12.962s (215.1 fps)
2: 0m44.682s (351.2 fps)
3: 0m31.183s (503.2 fps)
4: 0m25.284s (620.6 fps)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Stefano Sabatini
975a1447f7
Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Stefano Sabatini
6209669de4
Replace deprecated av_get_pict_type_char() with av_get_picture_type_char().
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Kostya Shishkov
b178cd76b2
dpx: Do not use DPX encoder for decoding.
...
10l to the one who hasn't checked this.
14 years ago
Diego Biurrun
ad1862d64a
ALPHA: Replace sized int_fast integer types with plain int/unsigned.
...
int/unsigned is the natural memory access type for CPUs, using sized types
for temporary variables, counters and similar just increases code size and
can possibly cause a slowdown.
14 years ago
Peter Ross
e27ce0eea3
DPX image encoder
14 years ago
Peter Ross
406629150c
DPX decoder: read sample aspect ratio
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Reimar Döffinger
3777ea13fb
DPX decoder: add buffer size checks.
14 years ago
Justin Ruggles
63b1866ae1
ac3enc: clip large coefficient values and negative exponents rather than using
...
av_assert2().
14 years ago
Justin Ruggles
177fed4e9b
ac3enc: do not store a bandwidth code for each channel.
...
Although AC-3 allows it, it's not very useful. The encoder uses the same code
for all full-bandwidth channels.
14 years ago
Justin Ruggles
a1d0f511fc
ac3enc: remove bandwidth reduction as fallback for bit allocation failure.
...
It was only needed at low bitrates, which now already use a low bandwidth, so
the bandwidth reduction is no longer needed.
14 years ago
Justin Ruggles
ba6bce5140
ac3enc: merge compute_exp_strategy_ch() into compute_exp_strategy()
14 years ago
Justin Ruggles
4142487d1c
ac3enc: return error if frame+exponent bits are too large instead of using
...
av_assert2().
This can occur in some very rare cases with low bitrates.
14 years ago
Justin Ruggles
987fe2dc55
ac3enc: differentiate between current block and reference block in bit_alloc()
14 years ago
Justin Ruggles
6b2636bba6
ac3enc: simplify exponent_init() by calculating exponent_group_tab[] based
...
on exponent group sizes.
14 years ago
Justin Ruggles
e0b33d479c
ac3enc: simplify stereo rematrixing decision options
14 years ago
Michael Niedermayer
7089265756
AMV: disable DR1 and don't override EMU_EDGE
...
This works around a possibly exploitable crash.
Appearently, vlc can be exploited with a malicous file. This should get
reverted as soon as a proper fix is found.
Reported-at: Thu, 21 Apr 2011 14:38:25 +0000
Reported-by: Dominic Chell <Dominic.Chell@ngssecure.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 89f903b3d5
)
(cherry picked from commit 9b919571e5
)
14 years ago
Diego Biurrun
cf3ac54339
vorbis: Replace sized int_fast integer types with plain int/unsigned.
...
int/unsigned is the natural memory access type for CPUs, using sized types
for temporary variables, counters and similar just increases code size and
can possibly cause a slowdown.
14 years ago
Diego Biurrun
a734fa575f
Remove disabled non-optimized code variants.
14 years ago
Diego Biurrun
2e15305b70
Remove some disabled printf debug cruft.
14 years ago
Diego Biurrun
09cbf60f8e
Replace more disabled printf() calls by av_dlog().
14 years ago
Diego Biurrun
045dd4b928
Replace some commented-out debug printf() / av_log() messages with av_dlog().
14 years ago
Diego Biurrun
d1be646e90
vorbisdec: Replace some sizeof(type) by sizeof(*variable).
14 years ago
Stefano Sabatini
62d33dbc17
mpeg12: terminate mpeg2_video_profiles arrays
...
Make av_get_profile_name() return NULL if no profile is detected.
Fix trac issue #130 , fix crash reading file tek3.m2v.
(cherry picked from commit e5d80c7b2d
)
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Peter Ross
87e45ae13d
rawvideo codec: support PIX_FMT_BGR48LE and PIX_FMT_BGR48BE
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Diego Biurrun
b239526873
vorbisdec: Rename silly "class_" variable to plain "class".
14 years ago
Diego Biurrun
81afa5a274
simple_idct_alpha: Drop some useless casts.
14 years ago
Diego Biurrun
3fd3632ffe
Simplify av_log_missing_feature().
...
Do not print the results of the conditional call to av_log_ask_for_sample()
into the same line as the main output, separate the already long text.
14 years ago
Justin Ruggles
8745e9c458
ac3enc: remove check for mismatching channels and channel_layout
14 years ago
Justin Ruggles
688b09fa59
If AVCodecContext.channels is 0 and AVCodecContext.channel_layout is
...
non-zero, set channels based on channel_layout.
This allows the user to set only channel_layout and not channels.
14 years ago
Justin Ruggles
168f9e8c40
If AVCodecContext.channel_layout and AVCodecContext.channels are both
...
non-zero, check to make sure they do not contradict eachother.
14 years ago
Justin Ruggles
3dfc3e70c0
cosmetics: indentation
14 years ago
Justin Ruggles
8b00ab0113
Check AVCodec.supported_samplerates and AVCodec.channel_layouts in
...
avcodec_open().
If the encoder has a channel_layouts list and AVCodecContext.channel_layout
is 0, then only print a warning and let the encoder decide how to handle it.
14 years ago
Alex Converse
767848d761
aacdec: remove sf_scale and sf_offset.
...
Instead, scalefactors are adjusted by the offset amount, removing the need
for sf_scale, and the MDCT scales are adjusted to compensate for the higher
scalefactors. Floating-point output will be handled by modifying the MDCT
scales.
14 years ago
Justin Ruggles
6271794041
aacdec: use a scale of 2 in the LTP MDCT rather than doubling the coefficient
...
table values from the spec.
14 years ago