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
Michael Niedermayer
a21f65b55e
elbg: switch to av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
9018f8c328
elbg: fix assert
...
It seems the condition was flipped from what was intended
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Uoti Urpala
e70730045a
h264: vdpau: fix crash with unsupported colorspace
...
The h264_vdpau decoder crashed if output colorspace was not 8-bit 420.
Add a check to error out instead (current hardware does not support
other colorspaces, so successful decoding is not possible).
Check implemented at a different place by michael, thus blame for bugs goes to michael
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Mans Rullgard
11434c9b13
pthread: add const to AVCodec pointers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Nicolas George
9467f4eb5d
lavc/tscc: use reget_buffer.
...
The previous code would release the buffer and get it
immediately after, assuming the contents is the same.
12 years ago
Anton Khirnov
7f9aaa499b
mpegvideo_enc: don't use deprecated avcodec_encode_video().
12 years ago
Anton Khirnov
91e59fea30
lavc: add avcodec_descriptor_get_by_name().
12 years ago
Anton Khirnov
0a0f19b577
lavc: add const to AVCodec* function parameters.
12 years ago
Michael Niedermayer
b5abebe164
acelp_filters: switch to avassert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
ceb8773e16
libvpxenc: Fix CQ encoding without a specified bitrate
...
Also print a warning if neither quality nor bitrate is specified
and use the libvpx default bitrate in this case.
The idea of using the default bitrate is from Luca Barbato
Reviewed-by: James Zern <jzern@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
1ee7a2955f
libvpxenc: only force CBR if a bitrate is set
...
Reviewed-by: James Zern <jzern@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Uoti Urpala
2e8f3cbcda
h264: vdpau: fix crash with unsupported colorspace
...
The h264_vdpau decoder crashed if output colorspace was not 8-bit 420.
Add a check to error out instead (current hardware does not support
other colorspaces, so successful decoding is not possible).
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
ca00a7e809
amrwbdec: Decode the fr_quality bit properly
...
The way this bit is decoded was accidentally flipped in b70feb405
,
leading to warnings "Encountered a bad or corrupted frame" for each
decoded frame.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Luca Barbato
4aa3d7b3f2
libvpxenc: use the default bitrate if not set
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Jan Ekström
77f47e3288
utvideo: Rename utvideo.c to utvideodec.c
...
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
12 years ago
Michael Niedermayer
7e5a622525
escape124: Fix long == 64 assumtation.
...
Found-by: Nicolas
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
3a1ca240d9
ccitt fax: fix some group3 1d files without EOL
...
Fixes Ticket832
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Luca Barbato
0f64cd1e81
mjpegdec: more meaningful return values
12 years ago
Michael Niedermayer
3d7817048c
escape124: fix integer overflow leading to excessive memory allocation
...
Fixes Ticket1629
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
e71df841ee
fft-test: switch to new cpu flags API
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
bb46b9a36f
vc1dsp_mmx: remove libavutil/internal.h include
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
9bfeaf6f10
simple_idct_mmx: remove libavutil/internal.h include
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
64b23d7dec
x86/motion_est_mmx: remove libavutil/internal.h include
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
191ffc7fe7
x86/mlpdsp: remove libavutil/internal.h include
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
501b681d95
lpc_mmx: remove libavutil/internal.h include
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
7cb9f1a8d0
idct_sse2_xvid: remove libavutil/internal.h include
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
75cd9a62f4
libvpxenc: check for odd RC parameter combinations that could crash
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
d472453efd
libvpxenc: fix division by zero
...
Reported-by: thresh
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Martin Storsjö
7ebe3962f3
Add missing includes for code relying on external libraries
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago