1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00
FFmpeg/libavcodec
Justin Ruggles 7c29a5de25 Calculate an exact frame size before writing. Now the buffer size requirements
can be known exactly, so larger frame sizes can be safely encoded without buffer
overwrite.

Originally committed as revision 24630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-31 20:32:12 +00:00
..
alpha
arm more credits to D. J. Bernstein for fft 2010-07-18 20:06:42 +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 Remove x86/mmx.h. It is not used anymore and has been deprecated for years. 2010-07-31 16:20:45 +00:00
4xm.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
8bps.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
8svx.c
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_decl.h
aac_tablegen.c
aac_tablegen.h
aac.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_tablegen.c
aacps_tablegen.h
aacps.c
aacps.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_parser.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
ac3_parser.h Restore mistakenly removed [in]/[out] Doxygen parameter attributes. 2010-07-14 21:22:06 +00:00
ac3.c
ac3.h
ac3dec_data.c
ac3dec_data.h
ac3dec.c
ac3dec.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 Add av_ prefix to bswap macros 2010-07-10 22:12:30 +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 Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
atrac1.c
atrac1data.h
atrac3.c Fix memory leak in ATRAC3 decoder 2010-07-20 15:08:54 +00:00
atrac3data.h
atrac.c
atrac.h
audioconvert.c
audioconvert.h
aura.c
avcodec.h Move fill_image_linesize() and fill_image_data_ptr() from 2010-07-29 23:44:57 +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
binkaudio.c
binkdata.h
binkidct.c
bitstream_filter.c
bitstream.c
bmp.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
bmp.h
bmpenc.c
bytestream.h
c93.c
cabac.c
cabac.h
cavs_parser.c
cavs.c
cavs.h
cavsdata.h
cavsdec.c
cavsdsp.c
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 Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
cookdata.h
costablegen.c
cscd.c
cyuv.c
dca_parser.c
dca.c DCA: fix multichannel -> 2 channel downmix. 2010-07-27 21:45:43 +00:00
dca.h
dcadata.h
dcadsp.c
dcadsp.h
dcahuff.h
dct32.c
dct-test.c
dct.c
dctref.c
dctref.h
dirac_parser.c
dirac.c
dirac.h
dnxhd_parser.c
dnxhddata.c
dnxhddata.h
dnxhddec.c
dnxhdenc.c
dnxhdenc.h
dpcm.c
dpx.c
dsicinav.c
dsputil.c Make ff_inverse stay with libavutil, and optional copy it to libavcodec. 2010-07-21 12:37:37 +00:00
dsputil.h
dump_extradata_bsf.c
dv_tablegen.c
dv_tablegen.h
dv_vlc_data.h
dv.c
dvbsub_parser.c
dvbsub.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_h264.c
dxva2_internal.h
dxva2_mpeg2.c
dxva2_vc1.c
dxva2.c
dxva2.h
eac3dec_data.c
eac3dec_data.h
eac3dec.c
eacmv.c
eaidct.c
eamad.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
eatgq.c
eatgv.c
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.c
fft.h
ffv1.c
flac.c
flac.h
flacdata.c
flacdata.h
flacdec.c
flacenc.c Calculate an exact frame size before writing. Now the buffer size requirements 2010-07-31 20:32:12 +00:00
flashsv.c
flashsvenc.c
flicvideo.c
flv.h
flvdec.c
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 Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
gif.c
gifdec.c
golomb.c
golomb.h
gsmdec.c Document how the ref_buf is used. 2010-07-27 17:11:13 +00:00
h261_parser.c
h261.c
h261.h
h261data.h
h261dec.c
h261enc.c
h263_parser.c
h263_parser.h
h263.c
h263.h
h263data.h
h263dec.c
h264_cabac.c
h264_cavlc.c
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
h264_refs.c
h264_sei.c
h264.c
h264.h
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 bswap: change ME to NE in macro names 2010-07-10 22:09:01 +00:00
iff.h
iirfilter.c
iirfilter.h
imc.c Make Intel Music Coder output SAMPLE_FMT_FLT 2010-07-16 16:50:56 +00:00
imcdata.h
imgconvert.c Use av_fill_image_pointers/linesizes in place of ff_fill_pointer/linesize, 2010-07-31 16:46:20 +00:00
imgconvert.h Use av_fill_image_pointers/linesizes in place of ff_fill_pointer/linesize, 2010-07-31 16:46:20 +00:00
imx_dump_header_bsf.c
indeo2.c
indeo2data.h
indeo3.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +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
kmvc.c
lcl.h
lcldec.c
lclenc.c
libavcodec.v
libdirac_libschro.c
libdirac_libschro.h
libdirac.h
libdiracdec.c
libdiracenc.c
libfaac.c
libgsm.c
libmp3lame.c
libopencore-amr.c
libopenjpeg.c
libschroedinger.c
libschroedinger.h
libschroedingerdec.c
libschroedingerenc.c
libspeexdec.c
libtheoraenc.c
libvorbis.c remove an unneeded av_realloc() 2010-07-20 21:54:46 +00:00
libvpxdec.c
libvpxenc.c Map rc_buffer_size to and c_initial_buffer_occupancy to their libvpx 2010-07-28 08:02:35 +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
Makefile add Chinese AVS encoding via external library libxavs 2010-07-27 07:18:36 +00:00
mathops.h
mdct_tablegen.c
mdct_tablegen.h
mdct.c
mdec.c
mimic.c
mjpeg_parser.c
mjpeg.c
mjpeg.h
mjpega_dump_header_bsf.c
mjpegbdec.c
mjpegdec.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
mjpegdec.h
mjpegenc.c
mjpegenc.h
mlp_parser.c
mlp_parser.h
mlp.c
mlp.h
mlpdec.c
mlpdsp.c
mmvideo.c
motion_est_template.c
motion_est.c
motion-test.c
motionpixels_tablegen.c
motionpixels_tablegen.h
motionpixels.c
movsub_bsf.c
mp3_header_compress_bsf.c
mp3_header_decompress_bsf.c
mpc7.c
mpc7data.h
mpc8.c
mpc8data.h
mpc8huff.h
mpc.c
mpc.h
mpcdata.h
mpeg4audio.c
mpeg4audio.h
mpeg4data.h
mpeg4video_parser.c
mpeg4video_parser.h
mpeg4video.c
mpeg4video.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
mpegaudio3.h
mpegaudio_parser.c
mpegaudio_tablegen.c
mpegaudio_tablegen.h
mpegaudio.c
mpegaudio.h
mpegaudiodata.c
mpegaudiodata.h
mpegaudiodec_float.c Fix memleak when using mp*float decoder. 2010-07-18 19:53:24 +00:00
mpegaudiodec.c Show correct bitrate for VBR MP3 files. 2010-07-27 10:08:34 +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_common.h
mpegvideo_enc.c
mpegvideo_parser.c
mpegvideo_xvmc.c
mpegvideo.c
mpegvideo.h
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
opt.c
opt.h
options.c Do not map video quantizer scale (from 1-51 to 0-63) for libvpx anymore. 2010-07-12 21:23:03 +00:00
pamenc.c
parser.c
parser.h
pcm_tablegen.c
pcm_tablegen.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
pcx.c
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
png.c
png.h
pngdec.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
pngenc.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
pnm_parser.c
pnm.c
pnm.h
pnmdec.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
pnmenc.c
psymodel.c
psymodel.h
pthread.c
ptx.c
put_bits.h Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
qcelpdata.h
qcelpdec.c
qdm2_tablegen.c
qdm2_tablegen.h
qdm2.c
qdm2data.h
qdrw.c
qpeg.c
qtrle.c
qtrleenc.c
r210dec.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
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
resample2.c
resample.c
rl2.c Remove incomplete Doxygen for static decode_frame functions. 2010-07-14 13:12:24 +00:00
rl.h
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
rv10enc.c
rv20enc.c
rv30.c
rv30data.h
rv30dsp.c
rv34.c
rv34.h
rv34data.h
rv34vlc.h
rv40.c
rv40data.h
rv40dsp.c
rv40vlc2.h
s3tc.c
s3tc.h
sbr.h
sgi.h
sgidec.c
sgienc.c
shorten.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
simple_idct.c
simple_idct.h
sipr16k.c
sipr16kdata.h
sipr.c
sipr.h
siprdata.h
smacker.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
smc.c
snow.c
snow.h
sonic.c
sp5x.h
sp5xdec.c
sunrast.c
svq1_cb.h
svq1_vlc.h
svq1.c
svq1.h
svq1dec.c
svq1enc_cb.h
svq1enc.c
svq3.c
synth_filter.c
synth_filter.h
tableprint.c
tableprint.h
targa.c
targaenc.c
tiertexseqv.c
tiff.c
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_data.h
truespeech.c Do not try to decode less than one frame of data in TrueSpeech decoder. 2010-07-11 14:50:20 +00:00
tscc.c
tta.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
twinvq_data.h
twinvq.c
txd.c
ulti_cb.h
ulti.c
unary.h
utils.c Use av_fill_image_pointers/linesizes in place of ff_fill_pointer/linesize, 2010-07-31 16:46:20 +00:00
v210dec.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
v210enc.c
v210x.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
vaapi_h264.c
vaapi_internal.h
vaapi_mpeg2.c
vaapi_mpeg4.c
vaapi_vc1.c
vaapi.c
vaapi.h
vb.c
vc1_parser.c
vc1.c Make WMV3 decoder print more errors when decoding beta WMV9 files. 2010-07-10 14:36:53 +00:00
vc1.h
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_internal.h
vdpau.c
vdpau.h
vmdav.c
vmnc.c
vorbis_data.c
vorbis_dec.c
vorbis_enc_data.h
vorbis_enc.c Use "const" qualifier for pointers that point to input data of 2010-07-24 13:59:49 +00:00
vorbis.c
vorbis.h
vp3_parser.c
vp3.c
vp3data.h
vp3dsp.c
vp5.c ff_prefix non static vp56 functions. 2010-07-28 05:36:33 +00:00
vp5data.h
vp6.c Reindent after last commit. 2010-07-28 05:38:30 +00:00
vp6data.h
vp6dsp.c
vp8_parser.c
vp8.c b0rk3d FATE + black helicopters hissing -> rolling back to r24556 and sleeping 2010-07-27 23:09:13 +00:00
vp8data.h VP8: Inline traversing vp8_small_mvtree 2010-07-23 21:46:25 +00:00
vp8dsp.c VP8: optimize DC-only chroma case in the same way as luma. 2010-07-23 06:02:52 +00:00
vp8dsp.h VP8: optimize DC-only chroma case in the same way as luma. 2010-07-23 06:02:52 +00:00
vp56.c 10l: missed one reindent. 2010-07-28 05:40:38 +00:00
vp56.h Reindent after last commit. 2010-07-28 05:38:30 +00:00
vp56data.c
vp56data.h
vp56dsp.c
vp56dsp.h
vqavideo.c
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 Fix doxy that refers to the wrong variable. 2010-07-27 15:54:26 +00:00
wmavoice_data.h
wmavoice.c Rename pow variable to pwr. 2010-07-26 13:52:49 +00:00
wmv2.c
wmv2.h
wmv2dec.c
wmv2enc.c
wnv1.c
ws-snd1.c
xan.c
xiph.c
xiph.h
xl.c
xsubdec.c
xsubenc.c
xvmc_internal.h
xvmc.h
yop.c
zmbv.c
zmbvenc.c