Statistics
| Branch: | Revision:

ffmpeg / libavformat / yuv4mpeg.c @ 4dcde00c

History | View | Annotate | Download (12.8 KB)

# Date Author Comment
2912e87a 03/19/2011 01:33 PM Mans Rullgard

Replace FFmpeg with Libav in licence headers

Signed-off-by: Mans Rullgard <>

b7f2fdde 03/17/2011 02:59 AM Anton Khirnov

avio: rename put_flush_packet -> avio_flush

Signed-off-by: Ronald S. Bultje <>

77eb5504 02/21/2011 07:25 PM Anton Khirnov

avio: avio: avio_ prefixes for put_* functions

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 <>

b7effd4e 02/21/2011 04:23 PM Anton Khirnov

avio: avio_ prefixes for get_* functions

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...

ae628ec1 02/20/2011 01:37 PM Anton Khirnov

avio: rename ByteIOContext to AVIOContext.

Signed-off-by: Ronald S. Bultje <>

c6610a21 01/26/2011 10:10 PM Diego Elio Pettenò

Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.

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.

7f8ffc4e 01/02/2011 05:01 AM Daniel Kang

Fix a floating point exception for invalid framerate, fixes issue 2470.

Patch by Daniel Kang, daniel.d.kang at gmail

Originally committed as revision 26188 to svn://svn.ffmpeg.org/ffmpeg/trunk

72415b2a 03/30/2010 11:30 PM Stefano Sabatini

Define AVMediaType enum, and use it instead of enum CodecType, which
is deprecated and will be dropped at the next major bump.

Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk

56bb72dc 05/11/2009 04:35 AM David Conrad

Use chroma_sample_location in reading/writing yuv4mpeg

Originally committed as revision 18796 to svn://svn.ffmpeg.org/ffmpeg/trunk

406792e7 01/19/2009 03:46 PM Diego Biurrun

cosmetics: Remove pointless period after copyright statement non-sentences.

Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk

b250f9c6 01/13/2009 11:44 PM Aurelien Jacobs

Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.

Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk

59729451 08/23/2008 11:43 PM Aurelien Jacobs

convert every muxer/demuxer to write/read sample_aspect_ratio from/to
the corresponding AVStream instead of AVCodecContext

Originally committed as revision 14933 to svn://svn.ffmpeg.org/ffmpeg/trunk

66b32ce8 07/11/2008 07:37 AM Diego Biurrun

Move functions only used for muxing below #ifdef CONFIG_YUV4MPEGPIPE_MUXER,
fixes some warnings when compiling with muxers disabled.

Originally committed as revision 14162 to svn://svn.ffmpeg.org/ffmpeg/trunk

2562ccb3 06/19/2008 10:58 PM Baptiste Coudurier

remove useless close func

Originally committed as revision 13834 to svn://svn.ffmpeg.org/ffmpeg/trunk

bde15e74 06/03/2008 04:20 PM Stefano Sabatini

Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.
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

8b9c4ad2 05/29/2008 03:40 PM Michael Niedermayer

ENOMEM is better, yes ...

Originally committed as revision 13535 to svn://svn.ffmpeg.org/ffmpeg/trunk

884d5385 05/28/2008 01:57 AM Michael Niedermayer

Null pointer check / CID26.

Originally committed as revision 13488 to svn://svn.ffmpeg.org/ffmpeg/trunk

7a7718e3 05/28/2008 01:53 AM Michael Niedermayer

useless

Originally committed as revision 13486 to svn://svn.ffmpeg.org/ffmpeg/trunk

899681cd 11/21/2007 07:41 AM Björn Axelsson

Use dynamically allocated ByteIOContext in AVFormatContext

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

6f3e0b21 07/19/2007 03:23 PM Panagiotis Issaris

Replace all occurrences of AVERROR_IO with AVERROR.

Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk

7cf09995 06/27/2007 06:54 AM Vitor Sessak

remove empty write trailer functions
patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9442 to svn://svn.ffmpeg.org/ffmpeg/trunk

87e87886 04/08/2007 11:34 AM Michael Niedermayer

allocate 32 extra bytes at the end of the probe buffer and remove most probe buf_size checks

Originally committed as revision 8677 to svn://svn.ffmpeg.org/ffmpeg/trunk

b78e7197 10/07/2006 03:30 PM Diego Biurrun

Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk

ff70e601 07/10/2006 09:14 PM Måns Rullgård

allow individual selection of muxers and demuxers

Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk

d2a067d1 07/09/2006 11:40 PM Måns Rullgård

give AVInput/OutputFormat structs consistent names

Originally committed as revision 5697 to svn://svn.ffmpeg.org/ffmpeg/trunk

a97c1e93 06/17/2006 03:53 PM Stefan Huehner

Add (mostly) const to variable and parameter declaration, where a char* was
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...

72fbc509 02/08/2006 03:39 PM Colin Ward

Move CONIG_MUXERS below struct frame_attributes, it's not muxer-specific.
patch by Colin Ward, hitman*at*codehq*dot*org

Originally committed as revision 4962 to svn://svn.ffmpeg.org/ffmpeg/trunk

ad97e414 02/08/2006 11:54 AM Luca Abeni

Correctly set the interlaced_frame and top_field_first fields.
patch by Luca Abeni, lucabe72 =at= email =dot= it

Originally committed as revision 4961 to svn://svn.ffmpeg.org/ffmpeg/trunk

5509bffa 01/12/2006 10:43 PM Diego Biurrun

Update licensing information: The FSF changed postal address.

Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk

bb270c08 12/22/2005 01:10 AM Diego Biurrun

COSMETICS: tabs --> spaces, some prettyprinting

Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk

a9e35095 09/23/2005 12:25 AM Diego Biurrun

Replace CONFIG_ENCODERS/CONFIG_DECODERS with CONFIG_MUXERS/CONFIG_DEMUXERS
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

bf4e3bd2 08/14/2005 03:42 PM Måns Rullgård

kill a bunch of compiler warnings

Originally committed as revision 4522 to svn://svn.ffmpeg.org/ffmpeg/trunk

01f4895c 07/17/2005 10:24 PM Michael Niedermayer

changing AVCodecContext codec -> *codec in AVStream so additions to AVCodecContext dont randomize AVStream and break binary compatibility

Originally committed as revision 4453 to svn://svn.ffmpeg.org/ffmpeg/trunk

2692067a 05/26/2005 08:17 PM Michael Niedermayer

AVPacket.pos

Originally committed as revision 4314 to svn://svn.ffmpeg.org/ffmpeg/trunk

c0df9d75 04/30/2005 09:43 PM Michael Niedermayer

switch to native time bases

Originally committed as revision 4168 to svn://svn.ffmpeg.org/ffmpeg/trunk

8cf71ead 04/26/2005 09:06 AM Roine Gustafsson

Adds read probe to y4m, and changes the extension to .y4m patch by (Roine Gustafsson <roine users sourceforge net)

Originally committed as revision 4164 to svn://svn.ffmpeg.org/ffmpeg/trunk

93b2b333 04/26/2005 08:57 AM Roine Gustafsson

Update yuv4mpeg to use PIX_FMT_NONE patch by (Roine Gustafsson <roine users sourceforge net)

Originally committed as revision 4163 to svn://svn.ffmpeg.org/ffmpeg/trunk

f96b17c5 01/19/2005 12:27 PM Roine Gustafsson

add luma only support to yuv4mpeg patch by (Roine Gustafsson <roine users.sourceforge net>)

Originally committed as revision 3846 to svn://svn.ffmpeg.org/ffmpeg/trunk

2d745414 01/04/2005 01:55 AM Roine Gustafsson

- Writes correct unknown aspect
- Adds read and write support for yuv422p and yuv444p
- New parser will read all well-formed YUV4MPEG2 stream headers
patch by (Roine Gustafsson <roine users.sourceforge net>)

Originally committed as revision 3800 to svn://svn.ffmpeg.org/ffmpeg/trunk

71c32f19 10/01/2004 01:16 PM Michael Niedermayer

do not call (av_)abort()

Originally committed as revision 3544 to svn://svn.ffmpeg.org/ffmpeg/trunk

0bd586c5 06/19/2004 03:59 AM Mike Melanson

sweeping change from -EIO -> AVERROR_IO

Originally committed as revision 3239 to svn://svn.ffmpeg.org/ffmpeg/trunk

e928649b 05/29/2004 02:06 AM Michael Niedermayer

pass AVPacket into av_write_frame()
fixes the random dts/pts during encoding
asf preroll fix
no more initial zero frames for b frame encoding
mpeg-es dts during demuxing fixed
.ffm timestamp scale fixed, ffm is still broken though

Originally committed as revision 3168 to svn://svn.ffmpeg.org/ffmpeg/trunk

d298185c 04/01/2004 11:32 PM Steven M. Schultz

yuv4mpeg output 'C' tag patch by ("Steven M. Schultz" <sms at 2bsd dot com>)

Originally committed as revision 2944 to svn://svn.ffmpeg.org/ffmpeg/trunk

bc874dae 03/03/2004 03:41 PM Michel Bardiaux

av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)

Originally committed as revision 2840 to svn://svn.ffmpeg.org/ffmpeg/trunk

5ff85f1d 10/20/2003 08:23 PM Michael Niedermayer

AVRational
sample_aspect_ratio
aspect ratio in JPEG JFIF is SAR not DAR !
removed nonsense SAR guessing code
various related cleanups
bugs?

Originally committed as revision 2403 to svn://svn.ffmpeg.org/ffmpeg/trunk

9dad924e 10/20/2003 10:33 AM Michael Niedermayer

bottom_field_first -> top_field_first

Originally committed as revision 2402 to svn://svn.ffmpeg.org/ffmpeg/trunk

2744ca9a 10/18/2003 03:19 AM Roman Shaposhnik
  • providing MPEG codecs with a generic fields in AVFrame to use.
    • fixing YUV4MPEG format.
    • fixing a bug in DV codec where coded_frame was not set.

Originally committed as revision 2396 to svn://svn.ffmpeg.org/ffmpeg/trunk

764ef400 10/14/2003 04:15 AM Mike Melanson

disable encoders where appropriate (patch courtesy of BERO
<bero at geocities.co.jp>)

Originally committed as revision 2375 to svn://svn.ffmpeg.org/ffmpeg/trunk

a63d4933 09/25/2003 08:38 AM Steven M. Schultz

yuv4mpeg.c extra space patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)

Originally committed as revision 2301 to svn://svn.ffmpeg.org/ffmpeg/trunk

49057904 09/10/2003 10:37 PM Fabrice Bellard

64 bit pts for writing - more const usage

Originally committed as revision 2255 to svn://svn.ffmpeg.org/ffmpeg/trunk

d9a916e2 08/29/2003 08:51 PM Charles Yates stdin patch by (Charles Yates <charles dot yates at pandora dot be>)
  • removes use of read_key and getchar when input is received on stdin
    (this was corrupting the packet reading)
  • terminates av_encode when a termination signal is received (use of
    ctrl-c issued a term_exit and subsequent uses of q failed)...
2864dfd5 08/05/2003 09:32 AM D Richard Felker III

yuv4mpeg pipe reader for libavformat patch by (D Richard Felker III <dalias at aerifal dot cx>)

Originally committed as revision 2102 to svn://svn.ffmpeg.org/ffmpeg/trunk

590403c7 07/17/2003 10:26 AM Fabrice Bellard

removed warnings

Originally committed as revision 2059 to svn://svn.ffmpeg.org/ffmpeg/trunk

14bea432 03/12/2003 03:16 PM Michael Niedermayer

per context frame_rate_base, this should finally fix frame_rate related av sync issues

Originally committed as revision 1666 to svn://svn.ffmpeg.org/ffmpeg/trunk

0c1a9eda 02/11/2003 04:35 PM Zdenek Kabelac
  • UINTX -> uintx_t INTX -> intx_t

Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk

0b9fb89d 01/11/2003 04:58 AM Fabrice Bellard

extracted yuv4mpeg from img.c (untested)

Originally committed as revision 1437 to svn://svn.ffmpeg.org/ffmpeg/trunk