ffmpeg/libavcodec
Måns Rullgård dd5f3238c1 imc: fix undefined float to int conversion
Conversion of an out of range float to int is undefined.  Clipping to
the final range first avoids such problems.  This fixes decoding on
MIPS, which handles these conversions differently from many other CPUs.

Originally committed as revision 24838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-19 16:51:26 +00:00
..
alpha
arm Split h264dsp and h264pred in configure. 2010-08-07 23:10:25 +00:00
avr32
bfin
mips
mlib
ppc more credits to D. J. Bernstein for fft 2010-07-18 20:06:42 +00:00
ps2
sh4
sparc
x86 VP5/6/8: ~7% faster arithmetic decoding 2010-08-12 01:11:32 +00:00
4xm.c
8bps.c
8svx.c
Makefile Split h264dsp and h264pred in configure. 2010-08-07 23:10:25 +00:00
aac.h
aac_ac3_parser.c
aac_ac3_parser.h
aac_adtstoasc_bsf.c Split the ADTS header decoder off of the ADTS parser. 2010-07-12 18:52:03 +00:00
aac_parser.c Split the ADTS header decoder off of the ADTS parser. 2010-07-12 18:52:03 +00:00
aac_tablegen.c
aac_tablegen.h
aac_tablegen_decl.h
aacadtsdec.c Split the ADTS header decoder off of the ADTS parser. 2010-07-12 18:52:03 +00:00
aacadtsdec.h Restore mistakenly removed [in]/[out] Doxygen parameter attributes. 2010-07-14 21:22:06 +00:00
aaccoder.c aacenc: TLS: Save maximum values for each swb in a table. 2010-07-24 17:11:51 +00:00
aacdec.c aacdec: Only load and write each predictor variable once. 2010-07-24 02:57:08 +00:00
aacdectab.h
aacenc.c aacenc: Adjust array offsets for the current channel before calling ff_psy_suggest_window(). 2010-07-19 18:22:44 +00:00
aacenc.h
aacps.c
aacps.h
aacps_tablegen.c
aacps_tablegen.h
aacpsdata.c
aacpsy.c aacenc: psy_3gpp_init(): Fix line_to_frequency for short windows. 2010-07-14 04:10:52 +00:00
aacpsy.h
aacsbr.c aacsbr: Eliminate double precision arithmetic. 2010-07-13 00:49:30 +00:00
aacsbr.h
aacsbrdata.h
aactab.c
aactab.h
aandcttab.c
aandcttab.h
aasc.c
ac3.c
ac3.h
ac3_parser.c
ac3_parser.h Restore mistakenly removed [in]/[out] Doxygen parameter attributes. 2010-07-14 21:22:06 +00:00
ac3dec.c
ac3dec.h
ac3dec_data.c
ac3dec_data.h
ac3enc.c Use "const" qualifier for pointers that point to input data of 2010-07-24 13:59:49 +00:00
ac3tab.c
ac3tab.h
acelp_filters.c
acelp_filters.h Fix Doxygen @param command attribute syntax. 2010-07-17 10:43:42 +00:00
acelp_pitch_delay.c
acelp_pitch_delay.h Fix Doxygen @param command attribute syntax. 2010-07-17 10:43:42 +00:00
acelp_vectors.c
acelp_vectors.h Fix Doxygen @param command attribute syntax. 2010-07-17 10:43:42 +00:00
adpcm.c Only 4-bit ADPCM IMA WAV files are supported. 2010-07-25 14:33:16 +00:00
adx.h
adxdec.c
adxenc.c
alac.c
alacenc.c Use "const" qualifier for pointers that point to input data of 2010-07-24 13:59:49 +00:00
allcodecs.c add Chinese AVS encoding via external library libxavs 2010-07-27 07:18:36 +00:00
alsdec.c Fix spelling in comment(s) 2010-08-07 14:11:43 +00:00
amrnbdata.h
amrnbdec.c
anm.c
ansi.c Fix doxy that refers to the wrong variable. 2010-07-27 15:54:26 +00:00
apedec.c
api-example.c
asv1.c
atrac.c
atrac.h
atrac1.c
atrac1data.h
atrac3.c Fix handling of truncated files. Should fix random FATE breakages. 2010-08-09 07:17:01 +00:00
atrac3data.h
audioconvert.c
audioconvert.h
aura.c
avcodec.h Implement av_get_image_linesize() and use it in 2010-08-12 15:05:58 +00:00
avfft.c avfft: remove useless parens 2010-07-13 18:01:50 +00:00
avfft.h
avpacket.c
avs.c
bethsoftvideo.c
bethsoftvideo.h
bfi.c
bgmc.c
bgmc.h
bink.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
binkaudio.c
binkdata.h
binkidct.c
bitstream.c
bitstream_filter.c
bmp.c
bmp.h
bmpenc.c
bytestream.h
c93.c
cabac.c
cabac.h
cavs.c Move cavs dsp functions to their own struct 2010-08-03 20:59:00 +00:00
cavs.h Move cavs dsp functions to their own struct 2010-08-03 20:59:00 +00:00
cavs_parser.c
cavsdata.h
cavsdec.c Move cavs dsp functions to their own struct 2010-08-03 20:59:00 +00:00
cavsdsp.c Move cavs dsp functions to their own struct 2010-08-03 20:59:00 +00:00
cavsdsp.h Move cavs dsp functions to their own struct 2010-08-03 20:59:00 +00:00
cbrt_tablegen.c
cbrt_tablegen.h
cdgraphics.c
celp_filters.c
celp_filters.h Fix Doxygen @param command attribute syntax. 2010-07-17 10:43:42 +00:00
celp_math.c
celp_math.h
cga_data.c Add doxygen @file comment block 2010-07-19 11:50:07 +00:00
cga_data.h Add doxygen @file comment block 2010-07-19 11:50:07 +00:00
chomp_bsf.c
cinepak.c
cljr.c
cook.c
cookdata.h
costablegen.c
cscd.c
cyuv.c
dca.c dca: fix dynrange coefficient in xch 2010-07-31 22:15:59 +00:00
dca.h
dca_parser.c
dcadata.h
dcadsp.c
dcadsp.h
dcahuff.h
dct-test.c
dct.c
dct32.c
dctref.c
dctref.h
dirac.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
dirac.h
dirac_parser.c
dnxhd_parser.c
dnxhddata.c
dnxhddata.h
dnxhddec.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
dnxhdenc.c
dnxhdenc.h
dpcm.c
dpx.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
dsicinav.c
dsputil.c Move cavs dsp functions to their own struct 2010-08-03 20:59:00 +00:00
dsputil.h Move cavs dsp functions to their own struct 2010-08-03 20:59:00 +00:00
dump_extradata_bsf.c
dv.c
dv_tablegen.c
dv_tablegen.h
dv_vlc_data.h
dvbsub.c
dvbsub_parser.c
dvbsubdec.c Pass the composition and ancillary ID for DVB subtitles via extradata instead 2010-07-14 17:28:40 +00:00
dvdata.c
dvdata.h
dvdsub_parser.c
dvdsubdec.c remove useless cast 2010-07-27 21:12:16 +00:00
dvdsubenc.c
dwt.c
dwt.h
dxa.c
dxva2.c
dxva2.h
dxva2_h264.c
dxva2_internal.h
dxva2_mpeg2.c
dxva2_vc1.c
eac3dec.c
eac3dec_data.c
eac3dec_data.h
eacmv.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
eaidct.c
eamad.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
eatgq.c
eatgv.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
eatqi.c
elbg.c
elbg.h
error_resilience.c
escape124.c Remove incomplete Doxygen for static decode_frame functions. 2010-07-14 13:12:24 +00:00
faandct.c
faandct.h
faanidct.c
faanidct.h
faxcompr.c
faxcompr.h
fft-test.c fft-test: format error output more readably 2010-08-16 20:34:06 +00:00
fft.c
fft.h
ffv1.c
flac.c
flac.h
flacdata.c
flacdata.h
flacdec.c
flacenc.c cosmetics: rename output_* to write_* 2010-07-31 21:14:03 +00:00
flashsv.c
flashsvenc.c
flicvideo.c
flv.h
flvdec.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
flvenc.c
fraps.c Remove incomplete Doxygen for static decode_frame functions. 2010-07-14 13:12:24 +00:00
frwu.c
g726.c Use "const" qualifier for pointers that point to input data of 2010-07-24 13:59:49 +00:00
g729.h
g729data.h
g729dec.c
get_bits.h
gif.c
gifdec.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
golomb.c
golomb.h
gsmdec.c Document how the ref_buf is used. 2010-07-27 17:11:13 +00:00
h261.c
h261.h
h261_parser.c
h261data.h
h261dec.c
h261enc.c
h263.c
h263.h
h263_parser.c
h263_parser.h
h263data.h
h263dec.c
h264.c
h264.h
h264_cabac.c
h264_cavlc.c H.264: 8% faster CAVLC zero-run decoding 2010-08-07 12:30:44 +00:00
h264_direct.c
h264_loopfilter.c
h264_mp4toannexb_bsf.c
h264_mvpred.h
h264_parser.c In h264 parser, return immediately if buf_size is 0, avoid printing 2010-07-23 00:34:09 +00:00
h264_parser.h
h264_ps.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
h264_refs.c
h264_sei.c
h264data.h
h264dsp.c
h264dsp.h
h264dspenc.c
h264enc.c
h264idct.c
h264pred.c
h264pred.h
huffman.c
huffman.h
huffyuv.c
idcinvideo.c
iff.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
iff.h
iirfilter.c
iirfilter.h
imc.c imc: fix undefined float to int conversion 2010-08-19 16:51:26 +00:00
imcdata.h
imgconvert.c Deprecate ff_get_plane_bytewidth() in favor of 2010-08-12 15:06:04 +00:00
imgconvert.h Deprecate ff_get_plane_bytewidth() in favor of 2010-08-12 15:06:04 +00:00
imx_dump_header_bsf.c
indeo2.c
indeo2data.h
indeo3.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
indeo3data.h
indeo5.c Fix Doxygen @param command attribute syntax. 2010-07-17 10:43:42 +00:00
indeo5data.h
intelh263dec.c
internal.h
interplayvideo.c
intrax8.c
intrax8.h
intrax8dsp.c
intrax8huf.h
inverse.c Make ff_inverse stay with libavutil, and optional copy it to libavcodec. 2010-07-21 12:37:37 +00:00
ituh263dec.c
ituh263enc.c
ivi_common.c
ivi_common.h Fix Doxygen @param command attribute syntax. 2010-07-17 10:43:42 +00:00
ivi_dsp.c
ivi_dsp.h Fix Doxygen @param command attribute syntax. 2010-07-17 10:43:42 +00:00
jfdctfst.c
jfdctint.c
jpegls.c
jpegls.h
jpeglsdec.c
jpeglsdec.h
jpeglsenc.c
jrevdct.c
kgv1dec.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
kmvc.c
lcl.h
lcldec.c
lclenc.c
libavcodec.v
libdirac.h
libdirac_libschro.c
libdirac_libschro.h
libdiracdec.c Fix the compilation of some libavcodec/lib* files which were not 2010-08-07 01:36:35 +00:00
libdiracenc.c
libfaac.c
libgsm.c
libmp3lame.c
libopencore-amr.c
libopenjpeg.c Fix the compilation of some libavcodec/lib* files which were not 2010-08-07 01:36:35 +00:00
libschroedinger.c
libschroedinger.h
libschroedingerdec.c Fix the compilation of some libavcodec/lib* files which were not 2010-08-07 01:36:35 +00:00
libschroedingerenc.c
libspeexdec.c
libtheoraenc.c
libvorbis.c remove an unneeded av_realloc() 2010-07-20 21:54:46 +00:00
libvpxdec.c libvpxdec: Fix "error: implicit declaration of function ‘av_check_image_size’". 2010-08-06 18:57:14 +00:00
libvpxenc.c Fix doxygen comments. 2010-08-02 07:25:25 +00:00
libx264.c
libxavs.c add Chinese AVS encoding via external library libxavs 2010-07-27 07:18:36 +00:00
libxvid_internal.h
libxvid_rc.c
libxvidff.c Fix doxy that refers to the wrong variable. 2010-07-27 15:54:26 +00:00
ljpegenc.c
loco.c
lpc.c Add AVCodecContext.lpc_type and Add AVCodecContext.lpc_passes fields. 2010-07-11 16:56:20 +00:00
lpc.h Add AVCodecContext.lpc_type and Add AVCodecContext.lpc_passes fields. 2010-07-11 16:56:20 +00:00
lsp.c
lsp.h Fix Doxygen @param command attribute syntax. 2010-07-17 10:43:42 +00:00
lzw.c
lzw.h
lzwenc.c
mace.c
mathops.h
mdct.c
mdct_tablegen.c
mdct_tablegen.h
mdec.c
mimic.c
mjpeg.c
mjpeg.h
mjpeg_parser.c
mjpega_dump_header_bsf.c
mjpegbdec.c
mjpegdec.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
mjpegdec.h
mjpegenc.c
mjpegenc.h
mlp.c
mlp.h
mlp_parser.c
mlp_parser.h
mlpdec.c
mlpdsp.c
mmvideo.c
motion-test.c
motion_est.c
motion_est_template.c
motionpixels.c
motionpixels_tablegen.c
motionpixels_tablegen.h
movsub_bsf.c
mp3_header_compress_bsf.c
mp3_header_decompress_bsf.c
mpc.c
mpc.h
mpc7.c
mpc7data.h
mpc8.c
mpc8data.h
mpc8huff.h
mpcdata.h
mpeg4audio.c
mpeg4audio.h
mpeg4data.h
mpeg4video.c
mpeg4video.h
mpeg4video_parser.c
mpeg4video_parser.h
mpeg4videodec.c
mpeg4videoenc.c
mpeg12.c Fix doxy that refers to the wrong variable. 2010-07-27 15:54:26 +00:00
mpeg12.h
mpeg12data.c
mpeg12data.h
mpeg12decdata.h
mpeg12enc.c
mpegaudio.c
mpegaudio.h
mpegaudio3.h
mpegaudio_parser.c
mpegaudio_tablegen.c
mpegaudio_tablegen.h
mpegaudiodata.c
mpegaudiodata.h
mpegaudiodec.c Show correct bitrate for VBR MP3 files. 2010-07-27 10:08:34 +00:00
mpegaudiodec_float.c Fix memleak when using mp*float decoder. 2010-07-18 19:53:24 +00:00
mpegaudiodecheader.c
mpegaudiodecheader.h
mpegaudiodectab.h
mpegaudioenc.c Use "const" qualifier for pointers that point to input data of 2010-07-24 13:59:49 +00:00
mpegaudiotab.h
mpegvideo.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
mpegvideo.h
mpegvideo_common.h
mpegvideo_enc.c
mpegvideo_parser.c
mpegvideo_xvmc.c
msmpeg4.c
msmpeg4.h
msmpeg4data.c
msmpeg4data.h
msrle.c
msrledec.c
msrledec.h
msvideo1.c
nellymoser.c
nellymoser.h
nellymoserdec.c
nellymoserenc.c nellymoserenc: Declare the supported sample format 2010-07-28 05:19:42 +00:00
noise_bsf.c
nuv.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
opt.c
opt.h
options.c Cosmetics: add missing space to options.c 2010-08-04 00:08:16 +00:00
pamenc.c
parser.c
parser.h
pcm-mpeg.c
pcm.c Use "const" qualifier for pointers that point to input data of 2010-07-24 13:59:49 +00:00
pcm_tablegen.c
pcm_tablegen.h
pcx.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
pcxenc.c
pgssubdec.c Set pix_fmt to the correct value for the format the PGS decoder actually uses. 2010-07-11 07:48:04 +00:00
pictordec.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
png.c
png.h
pngdec.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
pngenc.c
pnm.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
pnm.h
pnm_parser.c
pnmdec.c
pnmenc.c
psymodel.c
psymodel.h
pthread.c
ptx.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
put_bits.h
qcelpdata.h
qcelpdec.c
qdm2.c
qdm2_tablegen.c
qdm2_tablegen.h
qdm2data.h
qdrw.c
qpeg.c
qtrle.c
qtrleenc.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
r210dec.c
ra144.c
ra144.h
ra144dec.c
ra144enc.c Add AVCodecContext.lpc_type and Add AVCodecContext.lpc_passes fields. 2010-07-11 16:56:20 +00:00
ra288.c
ra288.h
rangecoder.c
rangecoder.h
ratecontrol.c
ratecontrol.h
raw.c
raw.h
rawdec.c
rawenc.c
rdft.c
rectangle.h
remove_extradata_bsf.c
resample.c
resample2.c
rl.h
rl2.c Remove incomplete Doxygen for static decode_frame functions. 2010-07-14 13:12:24 +00:00
rle.c
rle.h
roqaudioenc.c Use "const" qualifier for pointers that point to input data of 2010-07-24 13:59:49 +00:00
roqvideo.c
roqvideo.h
roqvideodec.c
roqvideoenc.c
rpza.c
rtjpeg.c
rtjpeg.h
rv10.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
rv10enc.c
rv20enc.c
rv30.c
rv30data.h
rv30dsp.c
rv34.c
rv34.h
rv34data.h
rv34vlc.h
rv40.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
rv40data.h
rv40dsp.c
rv40vlc2.h
s3tc.c
s3tc.h
sbr.h
sgi.h
sgidec.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
sgienc.c
shorten.c
simple_idct.c
simple_idct.h
sipr.c
sipr.h
sipr16k.c
sipr16kdata.h
siprdata.h
smacker.c
smc.c
snow.c
snow.h
sonic.c
sp5x.h
sp5xdec.c
sunrast.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
svq1.c
svq1.h
svq1_cb.h
svq1_vlc.h
svq1dec.c
svq1enc.c
svq1enc_cb.h
svq3.c
synth_filter.c
synth_filter.h
tableprint.c
tableprint.h
targa.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
targaenc.c
tiertexseqv.c
tiff.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
tiff.h
tiffenc.c
tmv.c 8088flex TMV video decoder now uses ff_draw_pc_font() 2010-07-18 07:46:29 +00:00
truemotion1.c
truemotion1data.h
truemotion2.c
truespeech.c Do not try to decode less than one frame of data in TrueSpeech decoder. 2010-07-11 14:50:20 +00:00
truespeech_data.h
tscc.c
tta.c
twinvq.c
twinvq_data.h
txd.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
ulti.c
ulti_cb.h
unary.h
utils.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
v210dec.c
v210enc.c
v210x.c
vaapi.c
vaapi.h
vaapi_h264.c
vaapi_internal.h
vaapi_mpeg2.c
vaapi_mpeg4.c
vaapi_vc1.c
vb.c
vc1.c
vc1.h
vc1_parser.c
vc1acdata.h
vc1data.c
vc1data.h
vc1dec.c vc1: Fix ordering of loop filter for I/B frames 2010-07-11 22:52:51 +00:00
vc1dsp.c
vcr1.c
vdpau.c
vdpau.h
vdpau_internal.h
vmdav.c
vmnc.c
vorbis.c
vorbis.h
vorbis_data.c
vorbis_dec.c vorbis_dec: Change partition_class[] to uint8_t. 2010-08-06 16:10:42 +00:00
vorbis_enc.c Use "const" qualifier for pointers that point to input data of 2010-07-24 13:59:49 +00:00
vorbis_enc_data.h
vp3.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
vp3_parser.c
vp3data.h
vp3dsp.c
vp5.c VP5/6/8: eliminate CABAC dependency 2010-08-04 23:04:05 +00:00
vp5data.h
vp6.c VP5/6/8: eliminate CABAC dependency 2010-08-04 23:04:05 +00:00
vp6data.h
vp6dsp.c
vp8.c Remove some stray +s in VP8 2010-08-13 02:02:07 +00:00
vp8_parser.c
vp8data.h VP8: slightly faster DCT coefficient probability update 2010-08-03 23:21:47 +00:00
vp8dsp.c VP8: much faster DC transform handling 2010-08-02 20:57:03 +00:00
vp8dsp.h VP8: much faster DC transform handling 2010-08-02 20:57:03 +00:00
vp56.c 10l: missed one reindent. 2010-07-28 05:40:38 +00:00
vp56.h VP5/6/8: ~7% faster arithmetic decoding 2010-08-12 01:11:32 +00:00
vp56data.c
vp56data.h
vp56dsp.c
vp56dsp.h
vp56rac.c VP5/6/8: ~7% faster arithmetic decoding 2010-08-12 01:11:32 +00:00
vqavideo.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
w32thread.c
wavpack.c
wma.c
wma.h
wmadata.h
wmadec.c
wmaenc.c Use "const" qualifier for pointers that point to input data of 2010-07-24 13:59:49 +00:00
wmaprodata.h
wmaprodec.c Change a doxy comment to a normal one. 2010-08-02 07:26:27 +00:00
wmavoice.c Fix buffer overrun if idx is negative (it can be down to -23>>4), by prepending 2010-08-09 13:54:59 +00:00
wmavoice_data.h
wmv2.c
wmv2.h
wmv2dec.c
wmv2enc.c
wnv1.c
ws-snd1.c
xan.c
xiph.c
xiph.h
xl.c
xsubdec.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
xsubenc.c
xvmc.h
xvmc_internal.h
yop.c Remove use of the deprecated function avcodec_check_dimensions(), use 2010-08-06 09:37:04 +00:00
zmbv.c
zmbvenc.c