summaryrefslogtreecommitdiffstats
path: root/libavcodec/parser.c
Commit message (Collapse)AuthorAgeFilesLines
* Fetch timestamp for the first frame of field only if frame_offset andBaptiste Coudurier2009-06-211-1/+2
| | | | | | | | 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
* do not reference remainder packets in the parser, fix timestamps fetchingBaptiste Coudurier2009-05-261-1/+2
| | | | Originally committed as revision 18958 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add handling of frame position in the parser.Ivan Schreter2009-03-051-0/+16
| | | | Originally committed as revision 17823 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Consider all packets in the parser, not just ones with timestamps,Michael Niedermayer2009-03-021-2/+0
| | | | | | this should greatly simplify handling of packet pos. Originally committed as revision 17733 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Favor container packets that end after the first byte of the accessMichael Niedermayer2009-03-021-0/+2
| | | | | | | 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
* Call ff_fetch_timestamp() for mpeg1/2 when a picture start code is found insteadMichael Niedermayer2009-03-021-1/+1
| | | | | | | | | | | | 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
* Add timestamp computation if values are exported by decoder.Ivan Schreter2009-02-241-0/+3
| | | | | | Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17574 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add convergence_duration to AVCodecParserContext.Ivan Schreter2009-02-191-0/+1
| | | | | | Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17468 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add key_frame to AVCodecParserContext, used in libavformat.Ivan Schreter2009-02-181-0/+1
| | | | | | | | 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
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-191-2/+2
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add state64 field to ParseContext storing last 8 bytes, to be able to check ↵Baptiste Coudurier2008-10-231-0/+1
| | | | | | for longer startcodes Originally committed as revision 15671 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use av_freep() in ff_parse_close().Michael Niedermayer2008-10-201-1/+1
| | | | Originally committed as revision 15654 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark list heads static. Patch by Diego PettenòDiego Pettenò2008-10-041-1/+1
| | | | Originally committed as revision 15548 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2008-06-021-6/+6
| | | | Originally committed as revision 13628 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Only store timestamps when there are timestamps.Michael Niedermayer2008-06-021-0/+2
| | | | Originally committed as revision 13627 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Our MPEG-TS demuxer does not send complete PES packets but sends themMichael Niedermayer2008-06-021-1/+2
| | | | | | piecewise, thus the end values cannot be used for associating timestamps. Originally committed as revision 13626 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmeticMichael Niedermayer2008-06-021-1/+2
| | | | Originally committed as revision 13624 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow matching timestamps to be removed by fetch_timestamp().Michael Niedermayer2008-06-021-2/+4
| | | | Originally committed as revision 13623 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add off argument so that fetch_timestamp can search for timestampsMichael Niedermayer2008-06-021-4/+4
| | | | | | not associated with the first byte of access units. Originally committed as revision 13622 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize fetch_timestamp() into its own functionMichael Niedermayer2008-06-021-11/+16
| | | | Originally committed as revision 13621 to svn://svn.ffmpeg.org/ffmpeg/trunk
* unused variableMichael Niedermayer2008-06-021-7/+7
| | | | Originally committed as revision 13620 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2008-06-021-3/+3
| | | | Originally committed as revision 13616 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename last_frame_offset to next_frame_offset.Michael Niedermayer2008-06-021-5/+5
| | | | | | (it was and is the next not the last) Originally committed as revision 13615 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify parser core.Michael Niedermayer2008-06-021-30/+14
| | | | Originally committed as revision 13613 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2008-05-261-4/+4
| | | | Originally committed as revision 13411 to svn://svn.ffmpeg.org/ffmpeg/trunk
* allow av_parser_close(NULL)Michael Niedermayer2008-05-261-0/+2
| | | | | | fixes issue300 Originally committed as revision 13410 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Return an error when realloc fails.Andy Gocke2008-03-251-3/+9
| | | | | | Patch by Andy Gocke (agocke gmail com) Originally committed as revision 12581 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add FF_ prefix to all (frame)_TYPE usageAurelien Jacobs2008-03-091-1/+1
| | | | Originally committed as revision 12399 to svn://svn.ffmpeg.org/ffmpeg/trunk
* av_*_next() API for libavcodecMichael Niedermayer2007-12-121-0/+5
| | | | Originally committed as revision 11204 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove no more useful includesAurelien Jacobs2007-05-081-3/+1
| | | | Originally committed as revision 8943 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move aac and ac3 parsers in their own filesAurelien Jacobs2007-05-081-298/+0
| | | | Originally committed as revision 8941 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make some parser parameters const to avoid casting const to non-constAurelien Jacobs2007-05-071-3/+3
| | | | Originally committed as revision 8921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move mpegaudio_parser in it's own fileAurelien Jacobs2007-05-051-197/+0
| | | | Originally committed as revision 8899 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move mpeg4video_parser in it's own fileAurelien Jacobs2007-05-051-78/+0
| | | | Originally committed as revision 8898 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move AC3 header parsing code together with the rest of the AC3 parsing code.Diego Biurrun2007-04-151-1/+50
| | | | Originally committed as revision 8739 to svn://svn.ffmpeg.org/ffmpeg/trunk
* timestamps generation improvement when parsing aviJoakim Plate2007-04-131-0/+3
| | | | | | | | | 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
* typos/grammarDiego Biurrun2007-04-071-1/+1
| | | | Originally committed as revision 8641 to svn://svn.ffmpeg.org/ffmpeg/trunk
* set pict_type to I type during init so parsers which dont set it get all i ↵Michael Niedermayer2007-03-261-0/+1
| | | | | | frames, fixes mp3 seeking Originally committed as revision 8528 to svn://svn.ffmpeg.org/ffmpeg/trunk
* hardcode ff_ac3_frame_sizes tableJustin Ruggles2007-03-181-1/+0
| | | | Originally committed as revision 8435 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Give context to dprintfMichel Bardiaux2007-03-121-2/+2
| | | | Originally committed as revision 8338 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move AC-3 header parsing to ac3.cJustin Ruggles2007-03-111-29/+12
| | | | Originally committed as revision 8323 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove redundancy in AC-3 parser by using common tables from ac3tab.hJustin Ruggles2007-03-111-62/+10
| | | | Originally committed as revision 8318 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix parsing of RealAudio AC-3/DolbyNetJustin Ruggles2007-02-091-5/+6
| | | | Originally committed as revision 7888 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix indentation, patch by Ian Caulfield % ian P caulfield A gmail P com %Ian Caulfield2007-01-241-22/+22
| | | | Originally committed as revision 7688 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allows the AC3 parser to read the frame size and codec parameters from E-AC3 ↵Ian Caulfield2007-01-241-5/+46
| | | | | | | | | | | | | | 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
* minor doc fixMichael Niedermayer2006-12-181-1/+2
| | | | Originally committed as revision 7331 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move all cavs-parsing to cavs.cStefan Gehrer2006-11-121-36/+0
| | | | | | This should help building parser without decoder Originally committed as revision 6993 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make mpeg4video_split public as ff_mpeg4video_splitStefan Gehrer2006-11-121-3/+3
| | | | Originally committed as revision 6991 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move AVCodecParser prototypes and definitions to parser.h, and move ↵Baptiste Coudurier2006-11-061-192/+4
| | | | | | mpegvideo parser to mpeg12.c Originally committed as revision 6914 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use AVRational and ff_frame_rate_tab for frame_rateBaptiste Coudurier2006-11-051-30/+8
| | | | Originally committed as revision 6905 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud