summaryrefslogtreecommitdiff
path: root/libavformat/yuv4mpeg.c
Commit message (Collapse)AuthorAge
* lavf: Don't explicitly flush after each written packet in muxersClément Bœsch2013-09-16
| | | | | | | | Since 596e5d4783, this is not necessary anymore. It also allows to actually disable the flushing, improving write performance (but possibly giving worse latency in real-time streaming). Signed-off-by: Martin Storsjö <martin@martin.st>
* yuv4mpeg: Correctly round chroma up for odd luma sizesRonald S. Bultje2013-07-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* yuv4mpeg: do not use deprecated functionsLuca Barbato2013-01-09
| | | | Use the libavutil replacement.
* yuv4mpeg: reject unsupported codecsLuca Barbato2012-10-28
| | | | | The muxer already rejects unsupported pixel formats, reject also unsupported codecs to prevent dangerous misuses.
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* yuv4mpeg: return proper error codes.Anton Khirnov2012-10-06
| | | | | | Fixes Bug 373. CC:libav-stable@libav.org
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* avformat: Drop pointless "format" from container long namesDiego Biurrun2012-07-30
|
* cosmetics: Align muxer/demuxer declarationsMartin Storsjö2012-04-06
| | | | | | | 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>
* yuv4mpeg: allow YUV4MPEG2 demuxer to recognize 'C420' colorspace.Mike Melanson2012-01-30
| | | | | | | | | | Current demuxer recognizes several colorspace formats that begin with 'C420' but does not yet recognize plain 'C420'. GStreamer's y4menc component generates .y4m files with a 'C420' colorspace. This new comparison is placed after the other 'C420' checks so that it doesn't interfere with them. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: remove AVFormatParameters from AVFormatContext.read_header signatureAnton Khirnov2012-01-27
|
* yuv4mpeg: cosmetics: pretty-printingChris Berov2011-12-04
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* lavf: make av_set_pts_info private.Anton Khirnov2011-11-30
| | | | It's supposed to be called only from (de)muxers.
* lavf,lavd: replace av_new_stream->avformat_new_stream part I.Anton Khirnov2011-10-19
| | | | | Trivial replacements with sed are done in this commit: sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/'
* lavf: use designated initialisers for all (de)muxers.Anton Khirnov2011-07-17
| | | | It's more readable and less prone to breakage.
* Remove unused variablesMans Rullgard2011-06-02
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avio: rename put_flush_packet -> avio_flushAnton Khirnov2011-03-16
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio: avio_ prefixes for put_* functionsAnton Khirnov2011-02-21
| | | | | | | | | | | | In the name of consistency: put_byte -> avio_w8 put_<type> -> avio_w<type> put_buffer -> avio_write put_nbyte will be made private put_tag will be merged with avio_put_str Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefixes for get_* functionsAnton Khirnov2011-02-21
| | | | | | | | | | | | | | In the name of consistency: get_byte -> avio_r8 get_<type> -> avio_r<type> get_buffer -> avio_read get_partial_buffer will be made private later get_strz is left out becase I want to change it later to return something useful. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: rename ByteIOContext to AVIOContext.Anton Khirnov2011-02-20
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-26
| | | | | 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.
* Fix a floating point exception for invalid framerate, fixes issue 2470.Daniel Kang2011-01-02
| | | | | | Patch by Daniel Kang, daniel.d.kang at gmail Originally committed as revision 26188 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use chroma_sample_location in reading/writing yuv4mpegDavid Conrad2009-05-11
| | | | Originally committed as revision 18796 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-19
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-13
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* convert every muxer/demuxer to write/read sample_aspect_ratio from/toAurelien Jacobs2008-08-23
| | | | | | the corresponding AVStream instead of AVCodecContext Originally committed as revision 14933 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move functions only used for muxing below #ifdef CONFIG_YUV4MPEGPIPE_MUXER,Diego Biurrun2008-07-11
| | | | | | fixes some warnings when compiling with muxers disabled. Originally committed as revision 14162 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless close funcBaptiste Coudurier2008-06-19
| | | | Originally committed as revision 13834 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.Stefano Sabatini2008-06-03
| | | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste.it along with some spelling/consistency fixes for the long names by me Originally committed as revision 13649 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ENOMEM is better, yes ...Michael Niedermayer2008-05-29
| | | | Originally committed as revision 13535 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Null pointer check / CID26.Michael Niedermayer2008-05-28
| | | | Originally committed as revision 13488 to svn://svn.ffmpeg.org/ffmpeg/trunk
* uselessMichael Niedermayer2008-05-28
| | | | Originally committed as revision 13486 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use dynamically allocated ByteIOContext in AVFormatContextBjörn Axelsson2007-11-21
| | | | | | | patch by: Björn Axelsson, bjorn d axelsson a intinor d se thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007 Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all occurrences of AVERROR_IO with AVERROR(EIO).Panagiotis Issaris2007-07-19
| | | | Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove empty write trailer functionsVitor Sessak2007-06-27
| | | | | | patch by Vitor: [vitor1001 gmail com] Originally committed as revision 9442 to svn://svn.ffmpeg.org/ffmpeg/trunk
* allocate 32 extra bytes at the end of the probe buffer and remove most probe ↵Michael Niedermayer2007-04-08
| | | | | | buf_size checks Originally committed as revision 8677 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-07
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* allow individual selection of muxers and demuxersMåns Rullgård2006-07-10
| | | | Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk
* give AVInput/OutputFormat structs consistent namesMåns Rullgård2006-07-09
| | | | Originally committed as revision 5697 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add (mostly) const to variable and parameter declaration, where a char* wasStefan Huehner2006-06-17
| | | | | | | | used and 'const char*' should be, plus make some function declarations static if they aren't used outside their declaring source file. patch by Stefan Huehner stefan%%at%%huehner%%dot%%org Originally committed as revision 5492 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move CONIG_MUXERS below struct frame_attributes, it's not muxer-specific.Colin Ward2006-02-08
| | | | | | patch by Colin Ward, hitman*at*codehq*dot*org Originally committed as revision 4962 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correctly set the interlaced_frame and top_field_first fields.Luca Abeni2006-02-08
| | | | | | patch by Luca Abeni, lucabe72 =at= email =dot= it Originally committed as revision 4961 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update licensing information: The FSF changed postal address.Diego Biurrun2006-01-12
| | | | Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: tabs --> spaces, some prettyprintingDiego Biurrun2005-12-22
| | | | Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: Remove all trailing whitespace.Diego Biurrun2005-12-17
| | | | Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace CONFIG_ENCODERS/CONFIG_DECODERS with CONFIG_MUXERS/CONFIG_DEMUXERSDiego Biurrun2005-09-23
| | | | | | | in libavformat to allow building (de)coders and (de)muxers independently at some point + support for this option in configure. Originally committed as revision 4611 to svn://svn.ffmpeg.org/ffmpeg/trunk
* kill a bunch of compiler warningsMåns Rullgård2005-08-14
| | | | Originally committed as revision 4522 to svn://svn.ffmpeg.org/ffmpeg/trunk
* changing AVCodecContext codec -> *codec in AVStream so additions to ↵Michael Niedermayer2005-07-17
| | | | | | AVCodecContext dont randomize AVStream and break binary compatibility Originally committed as revision 4453 to svn://svn.ffmpeg.org/ffmpeg/trunk