aboutsummaryrefslogtreecommitdiff
path: root/libavformat/rawdec.c
AgeCommit message (Collapse)Author
2012-08-07Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov
2012-07-29lavf: deprecate r_frame_rate.Anton Khirnov
According to its description, it is supposed to be the LCM of all the frame durations. The usability of such a thing is vanishingly small, especially since we cannot determine it with any amount of reliability. Therefore get rid of it after the next bump. Replace it with the average framerate where it makes sense. FATE results for the wtv and xmv demux tests change. In the wtv case this is caused by the file being corrupted (or possibly badly cut) and containing invalid timestamps. This results in lavf estimating the framerate wrong and making up wrong frame durations. In the xmv case the file contains pts jumps, so again the estimated framerate is far from anything sane and lavf again makes up different frame durations. In some other tests lavf starts making up frame durations from different frame.
2012-04-06cosmetics: Align muxer/demuxer declarationsMartin Storsjö
Also add missing trailing commas, break long codec_tag lines and add spaces in codec_tag declarations. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-02-26rawdec: set timebase to 1/fps.Anton Khirnov
2012-01-31lavf: rename AVInputFormat.value to raw_codec_id.Anton Khirnov
It's only used by raw demuxers for storing the codec id.
2012-01-27lavf: remove AVFormatParameters from AVFormatContext.read_header signatureAnton Khirnov
2012-01-01rawdec: Set start_time to 0 for raw audio files.Reimar Döffinger
None of the raw audio files have timestamps, thus setting start_time to 0 should be reasonable. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-12-10rawdec: don't set codec timebase.Anton Khirnov
It's not supposed to be set outside of lavc. Set r_frame_rate and avg_frame_rate instead.
2011-11-30lavf: make av_set_pts_info private.Anton Khirnov
It's supposed to be called only from (de)muxers.
2011-11-02Create separate functions for the raw GSM demuxer.Justin Ruggles
Put the new raw GSM demuxer in its own file. Fixes raw GSM demuxing.
2011-10-19lavf,lavd: replace av_new_stream->avformat_new_stream part I.Anton Khirnov
Trivial replacements with sed are done in this commit: sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/'
2011-10-13shn: do not allow seeking in the raw shn demuxer.Justin Ruggles
The demuxer does not read the seektable, a parser is not possible without a full decode, and no shorten decoder can handle random seeking because it needs side info from the seektable.
2011-10-12AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*Anton Khirnov
2011-09-22Add LATM demuxerJanne Grunau
This is a raw demuxer for the AAC LATM decoder and thus limited to single stream LOAS.
2011-09-17rawdec: refactor private option for raw video demuxersAnton Khirnov
pixel_format/video_size only apply to 'rawvideo' (==uncompressed) demuxer and make no sense for the other raw (== containerless) demuxers. Keep only the framerate option for those. Also use unique classes for all raw video demuxers
2011-09-17pcmdec: use unique classes for all pcm demuxers.Anton Khirnov
2011-09-17rawdec: g722 is always 1 channel/16kHzAnton Khirnov
2011-08-15lavf,lavd: remove all usage of AVFormatParameters from demuxers.Anton Khirnov
AVFormatParameters are converted into corresponding private options in av_open_input_file/stream() compat wrappers, so accessing them from demuxers is redundant.
2011-07-17lavf: use designated initialisers for all (de)muxers.Anton Khirnov
It's more readable and less prone to breakage.
2011-06-05lavf,lavc: free avoptions in a generic way.Anton Khirnov
It's simpler and less error-prone. Fixes some memleaks along the way.
2011-06-04rawdec: add framerate private option.Anton Khirnov
2011-06-03rawdec: initialize return value to 0.Anton Khirnov
2011-06-03rawdec: don't leak option strings.Anton Khirnov
2011-05-27rawdec: add a pixel_format private option.Anton Khirnov
2011-05-27rawdec: factor video demuxer definitions into a macro.Anton Khirnov
2011-05-27rawdec: add video_size private option.Anton Khirnov
2011-05-25lavf: deprecate AVFormatParameters.{channels,sample_rate}.Anton Khirnov
2011-05-25rawdec: add sample_rate/channels private options.Anton Khirnov
2011-03-19Replace FFmpeg with Libav in licence headersMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-04avio: add avio_tell macro as a replacement for url_ftellAnton Khirnov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-21avio: make get_partial_buffer internal.Anton Khirnov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-01-26Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò
This also lists the objects from those two libraries as internal (by adding the ff_ prefix) so that they can then be hidden via linker scripts.
2010-09-09Add a muxer and demuxer for raw G.722Martin Storsjö
Originally committed as revision 25087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-30split raw.c into rawdec.c and rawenc.cAurelien Jacobs
Originally committed as revision 24997 to svn://svn.ffmpeg.org/ffmpeg/trunk