Michael Niedermayer
63bfee8796
libavcodec/x86/dwt.c: move some missed things under HAVE_YASM
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b84c9cf7f7
dct-test: fix #if for ff_prores_idct_put_10_sse2()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
dfaf2dd956
h264: use externally provided dimensions when they appear to be more correct.
...
This is based on:
commit 30f515091c
Author: Mans Rullgard <mans@mansr.com>
h264: allow cropping to AVCodecContext.width/height
The above commit is not taken as is as its buggy (incorrect handling of
the interlaced case) and didnt apply cleanly.
Fixes ticket156
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
3275981207
libopenjpegdec: make use of FF_ARRAY_ELEMS
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
James Zern
695e85f189
libvpxenc: add VP8E_SET_MAX_INTRA_BITRATE_PCT mapping
...
defines 'max-intra-rate' in line with vpxenc param
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
1ef5561a66
libopenjpeg: YUVA422P and YUVA444P support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
8554e21f79
ffv1enc: add yuva422p to .pix_fmts
...
This was forgotten in 4e4634aa16
.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
J. Bohl
2138bc16fd
remove unreferenced table "dnxhd_1238_ac_index_flag" (empty curly braces did not compile with ICL12.1)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
a474403229
libopenjpegdec: unbreak yuva420p support
...
Regression introduced in b7a928b2d1
.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Mans Rullgard
30f515091c
h264: allow cropping to AVCodecContext.width/height
...
Override the frame size from the SPS with AVCodecContext values
if the latter specify a size smaller by less than one macroblock.
This is required for correct cropping of MOV files from Canon cameras.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
1b7a4c93a9
lavc/bintext: check extradata size
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
c2dd01c16f
binkaudio: prevent extradata overread
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Kostya Shishkov
cac4760bf4
iac: generate codec tables as they are supposed to be
...
Unlike its predecessor, Indeo Audio codec generates tables depending on
sampling rate. Previously decoder used pre-generated tables for 22050 Hz
which obviously doesn't work with other frequencies.
Many thanks to Maxim Poliakovsky for providing all needed information
for this.
13 years ago
Kostya Shishkov
e1a3fa5d3a
indeo4: handle frame type 1 properly
...
It turns out that this frame type is actually intra and should be used as
a reference for interframes too.
13 years ago
Justin Ruggles
d5a7229ba4
Add a float DSP framework to libavutil
...
Move vector_fmul() from DSPContext to AVFloatDSPContext.
13 years ago
Justin Ruggles
98db4e2a4e
PPC: Move types_altivec.h and util_altivec.h from libavcodec to libavutil
...
This will allow for easier implementation of Altivec functions in libraries
other than libavcodec.
13 years ago
Justin Ruggles
94d2b0d2fd
ARM: Move asm.S from libavcodec to libavutil
...
This will allow for easier implementation of ARM-optimized functions in
libraries other than libavcodec.
13 years ago
Michael Niedermayer
718607be28
rv10: change assert() to av_assert()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
134d0f7119
Revert "Fix building libopencore_amrnb decoder without libopencore_amrnb encoder"
...
Reverting "Fix" because it disables amrwb decoder.
This reverts commit e11020a145
.
13 years ago
Carl Eugen Hoyos
37a9cdfc2c
Fix dirac decoder build dependencies.
...
Found, analysed and tested by trac user Jamal.
Fixes part of ticket #1428 .
13 years ago
Carl Eugen Hoyos
b8fe9f08be
Fix amv encoder dependencies.
...
Found, analysed and tested by trac user Jamal.
Fixes part of ticket #1428 .
13 years ago
Paul B Mahol
e11020a145
Fix building libopencore_amrnb decoder without libopencore_amrnb encoder
...
Fixes #1210 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Michael Niedermayer
d5d30d56ed
Revert "sinewin_tablegen: use av_assert"
...
using as_assert() in the table generator would make the generators
have to be linked to libavutil.
This reverts commit c3b6efa4cb
.
13 years ago
Mans Rullgard
bc92214e27
vc1dsp: mark put/avg_vc1_mspel_mc() always_inline
...
This ensures that these functions are inlined into the per-position
entry points, allowing constant propagation as needed for proper
optimisation.
18% faster VC1 decoding on Cortex-A9.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
b4d44367bc
h261enc: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
07732b4f09
h261dec: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
4e3fc46828
h264_mvpred: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3422e7c395
lavc/rectangle: change assert to av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
5ee638fd54
svq1enc: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
eeba7c874b
wmv2enc: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
c3b6efa4cb
sinewin_tablegen: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
62eace231c
put_bits: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
28e4f906fa
golomb: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
317ca0d3f7
mpegvideo: fix out of heap array accesses
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
33775c3507
search_for_quantizers_faac: fix curband
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
bb32124577
Fix maxband limit when decoding mpc8.
...
Fixes yesterday's merge of Kostya's fix for ticket #409 .
13 years ago
Alex Converse
ecf79c4d3e
vorbis: Validate that the floor 1 X values contain no duplicates.
...
Duplicate values in this vector are explicitly banned by the Vorbis I spec
and cause divide-by-zero crashes later on.
13 years ago
Stefano Sabatini
62b39d41cd
lavc: add pkt_duration field to AVFrame
13 years ago
Kostya Shishkov
c6061443f7
Indeo Audio decoder
13 years ago
Kostya Shishkov
34271cabac
imc: make IMDCT support stereo output
...
This will be useful for Indeo Audio decoder which is almost the same
but supports stereo.
13 years ago
Kostya Shishkov
c45e2da617
imc: move channel-specific data into separate context
...
This will be useful for Indeo Audio decoder which is almost the same
but supports stereo.
13 years ago
Carl Eugen Hoyos
a3bc7f916d
Make H264 reorder buffer size message less verbose.
13 years ago
Piotr Bandurski
48fdaa1cff
snowdec: add new line to some error messages
13 years ago
Piotr Bandurski
a489db6cde
isom: add Radius DV YUV FourCCs
13 years ago
Carl Eugen Hoyos
757d5b9bfd
Fix MP2 muxer Makefile dependencies.
...
Found, analysed and tested by trac user Jamal.
Fixes ticket #1411
13 years ago
Kostya Shishkov
b56825c40e
mpc8: fix maximum bands handling
...
In Musepack SV8 codec property tell the maximum nonzero band, but every
frame codes maximum band as a limit (i.e. strictly less than given value).
Synthesis also expects maximum nonzero band, so there's a need to convert
frame maximum band limit value.
13 years ago
Alex Converse
79c8e29a7e
aacdec: Turn PS off when switching to stereo and turn it to implicit when switching to mono.
13 years ago
Carl Eugen Hoyos
6b87f0707d
Do not try to encode DVCPRO HD, it produces broken files.
13 years ago
Carl Eugen Hoyos
0a3e15690f
Allow colour space autodetection when encoding ljpeg.
...
This works as expected if the input stream is not yuv4xxp.
Reviewed-by: Paul B Mahol
13 years ago
Carl Eugen Hoyos
02c2a54bf6
Remove misplaced comment.
13 years ago