Jan Ekström
01cb4c84f5
utvideodec: Fix single symbol mode decoding
...
Put the zero length check in place of code that was never used
during decoding, as zero-length slices were generally refused
in decode_frame().
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
12 years ago
Nicolas George
de60880543
lavc/dvdsubenc: check the type of rectangles.
...
Avoid a crash if a text rectangle is provided.
Fix the segfault reported in trac ticket #1661 .
12 years ago
Mans Rullgard
081bab5ee3
truespeech: drop useless casts
...
These values already have the correct types.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
0c88e7a255
libavcodec: drop bogus dependencies from mpc[78] and qdm2
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
2e2b8ef8e0
mpegaudio: move ff_mpa_enwindow to a separate file
...
This table is used only by mpegaudiodsp and mpegaudioenc. Separating
it allows dropping some dependencies from mpc[78] and qdm2.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Anton Khirnov
4d7adec8bd
AVOptions: store defaults for INT64 options in int64 union member.
...
Double does not have enough precision to represent all int64 numbers
exactly.
12 years ago
Diego Biurrun
dc40285427
x86: mpegvideo: more sensible names for optimization file and init function
12 years ago
Diego Biurrun
d211547ddd
x86: mpegvideoenc: Split optimizations off into a separate file
12 years ago
Diego Biurrun
26ce9aec03
dnxhdenc: x86: more sensible names for optimization file and init function
12 years ago
Diego Biurrun
f1e06d37c9
svq1/svq3: Move common code out of SVQ1 decoder-specific file
12 years ago
Jordi Ortiz
43da682c87
dirac: add Comments and references to the standard
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Michael Niedermayer
168ddcd331
mjpeg: fix fliping with emu edges.
...
Fixes Ticket121
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Joseph Artsimovich
628e6d0164
Fix partially hidden macroblocks for 10-bit DNxHD.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Georg Lippitsch
15acfa21fc
ffv1: more than 8 bit per RGB channel
...
Add support for GBRP9, GBRP10, GBRP12 and GBRP14 pix formats in ffv1.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
2b3b52d519
lagarith: fix alignment on buffers passed into prediction dsp code.
...
This should fix issues with direct rendering
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
599a4e0771
mpeg4audio: dont take the SBR flag too serious.
...
Fixes Ticket1049
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Justin Ruggles
a0a5fed908
vorbisenc: set AVCodecContext.bit_rate to 0
...
The Vorbis encoder is always VBR.
12 years ago
Justin Ruggles
890fddd0ea
vorbisenc: fix quality parameter
...
This generates output with bitrates similar to libvorbis for a given quality
value.
12 years ago
Justin Ruggles
4b0e0f31bf
lpc: fix alignment of windowed samples for odd maximum LPC order
...
Fixes crash on x86 due to alignment requirements for w_data in
lpc_apply_welch_window_sse2().
12 years ago
Justin Ruggles
f24cc1b2f1
alacenc: use s16p sample format as input
12 years ago
Justin Ruggles
358078d9bb
alacenc: remove unneeded sample_fmt check
12 years ago
Justin Ruggles
ec7a212f9f
alacenc: fix max_frame_size calculation for the final frame
12 years ago
Michael Niedermayer
12ad68b7e2
utvideoenc: use dsp.sub_hfyu_median_prediction
...
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
729b2d02af
utvideoenc: align mangled buffer starts.
...
This is essential for fast SIMD accesses.
The same should be done with the predict output.
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
d79c87a697
utvideoenc: drop step
...
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
ba69eb5221
utvideoenc: avoid writing into the input picture.
...
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
f92f4935ac
utvideoenc: use ff_generate_len()
...
19% faster
smaller files
this may also fix possible integer overflows due to previous 32bit useage
Tested with libutvideo and our utvideo decoder, this patch does not change
decoder output in the test
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Justin Ruggles
5d4ef004bf
adpcm_swf: Use correct sample offsets when using trellis.
...
Fixes invalid reads when encoding mono streams when trellis is used.
12 years ago
Michael Niedermayer
ac33016158
mjpegdec: support AVRn interlaced
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Michael Niedermayer
3f943fe681
huffman/huffyuv: move lorens huffman table generation code to huffman.c/h
...
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
4fced11df7
utvideoenc: optimize and simplify mangle_rgb_planes
...
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
6fa488678f
build: x86: Only compile mpegvideo optimizations when necessary
12 years ago
Diego Biurrun
4264a0dd54
build: Make the E-AC-3 encoder select the AC-3 encoder
...
The E-AC-3 encoder depends on almost all of the code of the AC-3
encoder, so it makes no sense to enable one without the other.
12 years ago
Piotr Bandurski
bc151aee60
avrn: lowercase "name" and expand"long_name"
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Jordi Ortiz
72e8d86b19
dirac: use meaningful return values
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Mans Rullgard
44c56a1617
flacdec: simplify sample buffer handling
...
Pass pointer to sample buffer instead of channel number to various
functions called from decode_subframe(). Also simplify a few
expressions within this function.
12 years ago
Mans Rullgard
ea98507db0
flacdec: simplify loop in decode_residuals()
12 years ago
Michael Niedermayer
786f06e109
h264: fix variable overflow after a few years of video playback
...
Found-by: Joakim Plate <elupus@ecce.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Derek Buitenhuis
18263698ab
utvideoenc: Port to ff_alloc_packet2
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
deb23777f2
build: amrwb: Drop redundant lsp dependency declaration
12 years ago
Wolfram Gloger
a5a0dedf11
Fix duplicate packet init introduced by 7f9aaa4
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Jan Ekström
1ab5a78042
lavc: add Ut Video encoder
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Anton Khirnov
677e763a55
mpegvideo_enc: remove stray duplicate line from 7f9aaa4
12 years ago
Michael Niedermayer
76c3fff2f3
h264: Workaround invalid MPEG-TS broadcasts
...
Fixes seeking to the first keyframe
Fixes Ticket1029
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
9e5f79ed8a
avrndec: add DR1 capability flag
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
b1acf5d7a6
AVRn: fix progressive
...
Fixes Ticket970
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
ba2cf854d0
lavc: move AVRn to a seperate decoder.
...
The special cases in demuxers and decoders are a mess otherwise (and more
would be needed to support it fully)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas George
c28d80f4c9
lavc: avcodec_get_name: return "none" for AV_CODEC_ID_NONE.
12 years ago
Mans Rullgard
4855022aa1
vorbisdec: remove some pointless comments
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Michael Niedermayer
0de4918f32
rawdec: support AVRn 1:1 raw interlaced mode
...
Fixes Ticket971
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago