Benoit Fouet
32e543f866
Replace @returns by @return .
...
Originally committed as revision 22729 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
b27758bc02
Fetch timestamp for the first frame of field only if frame_offset and
...
next_frame_offset are not set, because second field has next frame offset set
but not frame_offset, otherwise this wrongly fetch timestamp for the
second field.
Originally committed as revision 19244 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
6645e8ca2f
do not reference remainder packets in the parser, fix timestamps fetching
...
Originally committed as revision 18958 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Schreter
b283ba26ce
Add handling of frame position in the parser.
...
Originally committed as revision 17823 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
7115cbda30
Consider all packets in the parser, not just ones with timestamps,
...
this should greatly simplify handling of packet pos.
Originally committed as revision 17733 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
2cc304215d
Favor container packets that end after the first byte of the access
...
unit in fetch_timestamp(). This should make no difference for valid
streams but may help invalid ones, also its needed for future changes.
Originally committed as revision 17732 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
a4c7a5ea27
Call ff_fetch_timestamp() for mpeg1/2 when a picture start code is found instead
...
of calling it at the end of a frame with a large negative offset.
This significantly reduces the maximal distance in container packets between
the point where the first byte of the "access unit" was stored and where
we call ff_fetch_timestamp() thus reducing the constraints on our parser.
Also change the parser from next_frame_offset to cur, this is needed
because now the reference is from container packet start instead of
frame start. (i previously misinterpreted this as bug)
Originally committed as revision 17731 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Schreter
27ca0a79c9
Add timestamp computation if values are exported by decoder.
...
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17574 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Schreter
b1fa494205
Add convergence_duration to AVCodecParserContext.
...
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17468 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Schreter
6363af44da
Add key_frame to AVCodecParserContext, used in libavformat.
...
Initialized to -1 in parser.c for backward compatibility.
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17442 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
98a8ce4964
add state64 field to ParseContext storing last 8 bytes, to be able to check for longer startcodes
...
Originally committed as revision 15671 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
c8714ea1b3
Use av_freep() in ff_parse_close().
...
Originally committed as revision 15654 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Pettenò
e6df765ed3
Mark list heads static. Patch by Diego Pettenò
...
Originally committed as revision 15548 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
44b79c6022
indent
...
Originally committed as revision 13628 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
e4e3230ea5
Only store timestamps when there are timestamps.
...
Originally committed as revision 13627 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
05d1d160bc
Our MPEG-TS demuxer does not send complete PES packets but sends them
...
piecewise, thus the end values cannot be used for associating timestamps.
Originally committed as revision 13626 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
ebdd73778c
cosmetic
...
Originally committed as revision 13624 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
ec0c5d482e
Allow matching timestamps to be removed by fetch_timestamp().
...
Originally committed as revision 13623 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
21e305891c
Add off argument so that fetch_timestamp can search for timestamps
...
not associated with the first byte of access units.
Originally committed as revision 13622 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
cd6144948a
Factorize fetch_timestamp() into its own function
...
Originally committed as revision 13621 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
4791778579
unused variable
...
Originally committed as revision 13620 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
591569b596
indent
...
Originally committed as revision 13616 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
26f237254d
Rename last_frame_offset to next_frame_offset.
...
(it was and is the next not the last)
Originally committed as revision 13615 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
cb63a4b37c
Simplify parser core.
...
Originally committed as revision 13613 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
87b6ea8458
indent
...
Originally committed as revision 13411 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
99c1c3887d
allow av_parser_close(NULL)
...
fixes issue300
Originally committed as revision 13410 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Andy Gocke
1f96bafb27
Return an error when realloc fails.
...
Patch by Andy Gocke (agocke gmail com)
Originally committed as revision 12581 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
9701840bb5
add FF_ prefix to all (frame)_TYPE usage
...
Originally committed as revision 12399 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
55b9e69a31
av_*_next() API for libavcodec
...
Originally committed as revision 11204 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
1fddeecd1d
remove no more useful includes
...
Originally committed as revision 8943 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
99ff31dc75
move aac and ac3 parsers in their own files
...
Originally committed as revision 8941 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
c53d2d9042
make some parser parameters const to avoid casting const to non-const
...
Originally committed as revision 8921 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
0cb4172803
move mpegaudio_parser in it's own file
...
Originally committed as revision 8899 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
d2e911fac8
move mpeg4video_parser in it's own file
...
Originally committed as revision 8898 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
98d0205145
Move AC3 header parsing code together with the rest of the AC3 parsing code.
...
Originally committed as revision 8739 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Joakim Plate
a74008a4c3
timestamps generation improvement when parsing avi
...
patch by Joakim \ elupus chez ecce dot se /
original thread:
date: 03/19/2007 01:47 AM
subject: [Ffmpeg-devel] [RFC] Improvement for the odd timestamp generation when parser is in use.
Originally committed as revision 8725 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
e42dba481f
typos/grammar
...
Originally committed as revision 8641 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
adcb72b521
set pict_type to I type during init so parsers which dont set it get all i frames, fixes mp3 seeking
...
Originally committed as revision 8528 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
495529f7df
hardcode ff_ac3_frame_sizes table
...
Originally committed as revision 8435 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michel Bardiaux
318c5e0524
Give context to dprintf
...
Originally committed as revision 8338 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
2476139973
move AC-3 header parsing to ac3.c
...
Originally committed as revision 8323 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
050aa8b9bc
remove redundancy in AC-3 parser by using common tables from ac3tab.h
...
Originally committed as revision 8318 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
f7a49547de
fix parsing of RealAudio AC-3/DolbyNet
...
Originally committed as revision 7888 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ian Caulfield
08c8831685
fix indentation, patch by Ian Caulfield % ian P caulfield A gmail P com %
...
Originally committed as revision 7688 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ian Caulfield
44a39bd770
Allows the AC3 parser to read the frame size and codec parameters from E-AC3 streams,
...
allowing them to be correctly demuxed.
Currently it only identifies the primary substream, and will skip over any additional
dependent or independent substreams.
Patch by Ian Caulfield % ian P caulfield A gmail P com %
Original thread:
date: Jan 19, 2007 9:55 AM
subject: Re: [Ffmpeg-devel] [PATCH] Correctly parse headers of E-AC3 streams
Originally committed as revision 7687 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
832a7b631f
minor doc fix
...
Originally committed as revision 7331 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Stefan Gehrer
53aa68b329
move all cavs-parsing to cavs.c
...
This should help building parser without decoder
Originally committed as revision 6993 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Stefan Gehrer
d136d2fcea
make mpeg4video_split public as ff_mpeg4video_split
...
Originally committed as revision 6991 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
4067d81be2
move AVCodecParser prototypes and definitions to parser.h, and move mpegvideo parser to mpeg12.c
...
Originally committed as revision 6914 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago