1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
FFmpeg/libavformat
Måns Rullgård 5c5b1731b7 Maintain pointer to end of AVFormatContext.packet_buffer list
This changes add_to_pktbuf() to maintain a pointer to the last entry
in the list, avoiding a linear walk-through on each call.  Before this
change, add_to_pktbuf() could take a significant amount of time (10%
of total decoding time), even with input files of several minutes.
After the change, the time spent in this function is barely measurable
with oprofile.

Originally committed as revision 14654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-06 22:17:38 +00:00
..
4xm.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
adtsenc.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
aiff.c cosmetics 2008-06-28 04:54:39 +00:00
allformats.c Add D-Cinema audio muxer 2008-08-04 07:35:07 +00:00
amr.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
apc.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
ape.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
asf-enc.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
asf.c ASF: use dprintf(), allow compilation with -DDEBUG 2008-07-13 19:41:07 +00:00
asf.h typo: begining --> beginning 2007-12-23 21:01:09 +00:00
asfcrypt.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
asfcrypt.h Add missing #includes to fix 'make checkheaders'. 2007-11-24 10:08:02 +00:00
au.c Support 32-bit floating point audio samples in Sun AU demuxer 2008-07-26 07:09:44 +00:00
avc.c Fix misplaced const, avoids a cast-discards-qualifiers warning 2008-02-19 16:18:17 +00:00
avc.h const 2008-02-19 16:08:52 +00:00
avformat.h Maintain pointer to end of AVFormatContext.packet_buffer list 2008-08-06 22:17:38 +00:00
avi.h avi.h does not use anything from avcodec.h. 2008-03-03 22:56:07 +00:00
avidec.c change assert test due to the new reducing of time_base in av_set_pts_info, fix #561 2008-07-30 21:07:54 +00:00
avienc.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
avio.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
avio.h minor typo fixes 2008-03-31 17:31:11 +00:00
aviobuf.c Only reset buffer state if seeking is successful; update seek reg ref. 2008-07-31 19:40:06 +00:00
avisynth.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
avs.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
bethsoftvid.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
bfi.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
c93.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
crcenc.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
cutils.c Do not loop endlessly if converting into dv with timestamps Jan 1st not 2008-05-21 07:05:08 +00:00
daud.c Add D-Cinema audio muxer 2008-08-04 07:35:07 +00:00
dsicin.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
dv.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
dv.h Add FFMPEG_ prefix to all multiple inclusion guards. 2007-10-17 09:37:46 +00:00
dvenc.c cosmetics: Fix two common typos: wont --> will not, lets --> let us. 2008-07-24 17:09:28 +00:00
dxa.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
eacdata.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
electronicarts.c Add Electronic Arts TGV chunk tags to EA demuxer. 2008-08-06 08:34:35 +00:00
ffm.h Recommit r14497 2008-08-01 23:12:10 +00:00
ffmdec.c Improve long names for FFM muxer and demuxer: 2008-07-27 20:59:40 +00:00
ffmenc.c Improve long names for FFM muxer and demuxer: 2008-07-27 20:59:40 +00:00
file.c remove const qualifier, removes warning: 2008-05-27 01:19:19 +00:00
flic.c Make flic probe check a few more things. 2008-07-14 22:55:07 +00:00
flv.h add new h264 and aac flv ids 2008-05-23 22:02:29 +00:00
flvdec.c skip flv video info / command frame packets, fix issue #546 2008-07-31 02:26:40 +00:00
flvenc.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
framecrcenc.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
framehook.c Rename two structures, identifiers starting with _[A-Z] are reserved. 2008-01-06 16:02:55 +00:00
framehook.h Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
gif.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
gxf.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
gxf.h cosmetics: alignment 2007-07-26 13:02:07 +00:00
gxfenc.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
http.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
idcin.c remove useless close funcs 2008-06-19 23:25:04 +00:00
idroq.c remove useless close funcs 2008-06-19 23:25:04 +00:00
iff.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
img2.c Remove useless img_read_close(). 2008-06-06 17:02:06 +00:00
ipmovie.c remove useless close funcs 2008-06-19 23:25:04 +00:00
isom.c add a bunch of new xdcam hd422 fourccs 2008-07-30 01:55:59 +00:00
isom.h Set correct codec type and id for text subtitles. 2008-01-26 20:30:03 +00:00
libnut.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
lmlm4.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
Makefile Add D-Cinema audio muxer 2008-08-04 07:35:07 +00:00
matroska.c matroskadec: remove useless comments in ff_mkv_codec_tags 2008-08-05 00:42:46 +00:00
matroska.h Fix small typo. 2008-08-05 21:46:10 +00:00
matroskadec.c matroskadec: use av_freep(&x) instead of av_free(x);x=NULL 2008-08-06 00:21:10 +00:00
matroskaenc.c misc spelling/grammar fixes 2008-08-05 08:28:57 +00:00
mm.c Remove AVPaletteControl from ALG MM demuxer/decoder 2008-07-08 12:44:08 +00:00
mmf.c Move a function and an #ifdef CONFIG_MUXERS so that functions used only for 2008-07-11 07:39:33 +00:00
mov.c fix if/else case 2008-08-03 21:24:30 +00:00
movenc.c clarify error message about codec tag 2008-06-27 21:29:11 +00:00
mp3.c Move one function that is only used for muxing below #ifdef CONFIG_MUXERS. 2008-07-11 07:41:11 +00:00
mpc8.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
mpc.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
mpeg.c Use CODEC_ID_PROBE when the mpeg-ps demuxer does not know exactly which 2008-07-12 22:17:13 +00:00
mpeg.h Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
mpegenc.c cosmetics: make all references to AC-3 capitalized and hyphenated 2008-08-03 16:42:32 +00:00
mpegts.c Fix misdetection of H.264 in mpegts as mpeg1video in mpegts. 2008-07-27 23:06:22 +00:00
mpegts.h treat stream_type==0x82 as AUDIO_DTS when the program has a REGISTRATION_DESCRIPTOR with the value HDMV; approved by Mans 2008-02-23 10:57:38 +00:00
mpegtsenc.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
mpjpeg.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
msnwc_tcp.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
mtv.c Change mtv_read_packet so it does not break after seeking (displaying a shifted image). 2008-06-28 09:01:16 +00:00
mvi.c Motion Pixels MVI Demuxer. 2008-07-10 03:02:19 +00:00
mxf.c cosmetics: Fix mxf codec long name. 2008-07-16 17:20:21 +00:00
network.h Add FFMPEG_ prefix to all multiple inclusion guards. 2007-10-17 09:37:46 +00:00
nsvdec.c Try to fix FATE after my time_base simplification change. 2008-07-17 14:13:44 +00:00
nut.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
nut.h Revert r14497 2008-08-01 22:29:29 +00:00
nutdec.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
nutenc.c remove a comment which is no longer true 2008-08-03 16:41:52 +00:00
nuv.c Fix handling of old nuv files where an aspect of 1 actually means 4/3 2008-07-25 04:10:32 +00:00
oggdec.c Remove start_time guessing code. 2008-06-26 13:42:26 +00:00
oggdec.h Revert r14497 2008-08-01 22:29:29 +00:00
oggenc.c add ogv extension 2008-07-19 03:29:16 +00:00
oggparseflac.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
oggparseogm.c parse audio in ogm demuxer. 2008-05-26 00:45:02 +00:00
oggparsespeex.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
oggparsetheora.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
oggparsevorbis.c OGG: Add padding at end of Vorbis headers 2008-07-15 23:00:29 +00:00
oma.c Add support for mp3 contained in oma 2008-06-25 19:59:52 +00:00
os_support.c Include poll.h instead of sys/poll.h 2008-02-13 12:51:14 +00:00
os_support.h Revert r14497 2008-08-01 22:29:29 +00:00
psxstr.c simplify 2008-07-11 15:12:44 +00:00
pva.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
qtpalette.h Fix make checkheaders. 2007-12-03 12:46:20 +00:00
raw.c check url_fseek return value 2008-07-31 18:12:37 +00:00
raw.h Revert r14497 2008-08-01 22:29:29 +00:00
riff.c Support muxing of Zork PCM audio into RIFF formats. 2008-08-05 10:38:25 +00:00
riff.h Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
rl2.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
rm.h Revert r14497 2008-08-01 22:29:29 +00:00
rmdec.c Remove unused variable, fixes the warning: 2008-06-23 08:52:44 +00:00
rmenc.c cosmetics: make all references to AC-3 capitalized and hyphenated 2008-08-03 16:42:32 +00:00
rpl.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
rtp_aac.c Allow to set the maximum number of frames per RTP packet (and add support for 2007-10-02 14:48:08 +00:00
rtp_aac.h Revert r14497 2008-08-01 22:29:29 +00:00
rtp_h264.c Fix non-debug build. 2008-05-13 17:43:18 +00:00
rtp_h264.h Revert r14497 2008-08-01 22:29:29 +00:00
rtp_internal.h Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
rtp_mpv.c Fix MPEG video packetization for RTP 2008-07-10 07:40:54 +00:00
rtp_mpv.h Revert r14497 2008-08-01 22:29:29 +00:00
rtp.c Do not set sample_rate = 90000 for mp2 and mp3 audio over RTP 2008-06-24 11:07:04 +00:00
rtp.h Revert r14497 2008-08-01 22:29:29 +00:00
rtpdec.c RTP: use dprintf(), allow compilation with -DDEBUG 2008-07-13 19:41:10 +00:00
rtpenc_h264.c Add some const, fixes warnings: 2008-02-19 22:07:48 +00:00
rtpenc.c RTP: use dprintf(), allow compilation with -DDEBUG 2008-07-13 19:41:10 +00:00
rtpproto.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
rtsp.c Do not free the priv_data field of AVStream on close (it is already 2008-06-27 11:55:25 +00:00
rtsp.h Allow cycling between different protocols (TCP, UDP or multicast) so that if 2008-03-19 14:05:08 +00:00
rtspcodes.h Add FFMPEG_ prefix to all multiple inclusion guards. 2007-10-17 09:37:46 +00:00
sdp.c Fix a typo in sdp_write_header(): change "IPV4", which is not a valid 2008-07-29 10:45:53 +00:00
segafilm.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
sierravmd.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
siff.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
smacker.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
sol.c remove useless close funcs 2008-06-19 23:25:04 +00:00
swf.h Recommit r14497 2008-08-01 23:12:10 +00:00
swfdec.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
swfenc.c update swf video frame number when muxing done, fix #439 2008-07-19 03:25:50 +00:00
tcp.c Set TCP protocol to is_streamed=1 as seeking is not possible. 2008-03-05 15:29:10 +00:00
thp.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
tiertexseq.c Remove inaccurate computation of pts for audio packets and rely on 2008-07-06 10:00:12 +00:00
tta.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
txd.c remove useless close funcs 2008-06-19 23:25:04 +00:00
udp.c Fix type of dest_addr_len to respect return value of udp_set_url. 2008-05-11 10:53:21 +00:00
utils.c Maintain pointer to end of AVFormatContext.packet_buffer list 2008-08-06 22:17:38 +00:00
vc1test.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
vc1testenc.c SMPTE 421M Annex L (aka .rcv) muxer 2008-07-23 17:06:40 +00:00
voc.c license header consistency cosmetics 2007-07-05 10:40:25 +00:00
voc.h Add FFMPEG_ prefix to all multiple inclusion guards. 2007-10-17 09:37:46 +00:00
vocdec.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
vocenc.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
wav.c remove useless close funcs 2008-06-19 23:25:04 +00:00
wc3movie.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
westwood.c remove useless close funcs 2008-06-19 23:25:04 +00:00
wv.c remove useless close func 2008-06-19 22:57:00 +00:00
xa.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
yuv4mpeg.c Move functions only used for muxing below #ifdef CONFIG_YUV4MPEGPIPE_MUXER, 2008-07-11 07:37:22 +00:00