| Branch: | Revision:

ffmpeg / libavfilter / vf_scale.c @ aad2f2f4

History | View | Annotate | Download (7.31 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 <>

dccdd93e 01/16/2011 08:11 PM Stefano Sabatini

Make config_props() return AVERROR rather than 1 in case of
failed SWScaleContext initialization.

Fix issue2546.

Originally committed as revision 26395 to svn://

3fa77bde 11/28/2010 10:22 AM Stefano Sabatini

In libavfilter, use consistently "Copyright (c)" in the license

Originally committed as revision 25838 to svn://

c10676ac 09/28/2010 02:59 PM Stefano Sabatini

Make init() return sensible error code rather than -1 in case of
invalid values.

Originally committed as revision 25248 to svn://

46daee6e 09/28/2010 02:59 PM Stefano Sabatini

Cosmetics: apply nits.

Originally committed as revision 25247 to svn://

a6881c6a 09/24/2010 08:41 PM Stefano Sabatini

Add missing uses of NULL_IF_CONFIG_SMALL for the filters descriptions.

Originally committed as revision 25182 to svn://

e4cc9f20 08/12/2010 12:33 AM Baptiste Coudurier

100L, fix vf_scale, since copy_ref_props now copy w and h, we must update them

Originally committed as revision 24781 to svn://

cc80caff 08/11/2010 11:06 AM S.N. Hemanth Meenakshisunda...

Separate video specific BufferRef properties into VideoProps.

Define a new struct AVFilterBufferRefVideoProps and add a type field
to AVFilterBufferRef.

Video specific properties in AVFilterBufferRefVideoProps are now
referred to by *video pointer in AVFilterBufferRef....

5d4890d7 08/07/2010 01:15 AM S.N. Hemanth Meenakshisunda...

Rename fields:

AVFilterLink.srcpic -> AVFilterLink.src_buf
AVFilterLink.cur_pic -> AVFilterLink.cur_buf
AVFilterLink.outpic -> AVFilterLink.out_buf

The new names are more generic and more consistent, since the struct
they contain, which was named AVFilterPicRef, has been renamed to...

7fce481a 08/07/2010 01:15 AM S.N. Hemanth Meenakshisunda...

Rename functions and fields:

avfilter_(un)ref_pic -> avfilter_(un)ref_buffer
avfilter_copy_picref_props -> avfilter_copy_buffer_ref_props
AVFilterBufferRef.pic -> AVFilterBufferRef.buffer

They have been renamed to allow sharing with audio.

Patch by S.N. Hemanth Meenakshisundaram $smeenaks$ucsd$edu$....

ecc8dada 08/07/2010 01:15 AM S.N. Hemanth Meenakshisunda...

Rename AVFilterPicRef to AVFilterBufferRef.

The struct is going to be used for storing audio buffer references as
well, and the new name is more generic.

Patch by S.N. Hemanth Meenakshisundaram smeenaks@ucsd@edu.

Originally committed as revision 24730 to svn://

bdab614b 07/22/2010 11:12 AM S.N. Hemanth Meenakshisunda...

Generalize pixel format enum fields to int formats.

This is needed to make the libavfilter framework work with audio

In particular add a type field to AVFilterLink, change the field types:
enum PixelFormat format -> int format in AVFilterBuffer...

922189fe 07/11/2010 02:44 PM VĂ­ctor Paesa

Use avfilter_copy_picref_props() along lavfi.

Originally committed as revision 24196 to svn://

93f7aeb5 06/27/2010 07:03 PM Eli Friedman

Add a const declaration, fixing a warning

Patch by Eli Friedman, eli dot friedman at gmail

Originally committed as revision 23830 to svn://

47f0704e 05/23/2010 07:11 PM Stefano Sabatini

Prefix value for flags with "0x", to make it clear that it is an
hexadecimal value.

Originally committed as revision 23262 to svn://

d760a316 05/07/2010 10:12 PM Stefano Sabatini

Make config_props() show conversion information before to create the
swscale context.

This makes eventual warnings issued in case of swscale context
creation failure to be shown after the conversion information rather
than before, which is slightly less confusing....

38efdb2c 05/07/2010 10:12 PM Stefano Sabatini

Log input size, input format and swscale flags used for conversion in

Useful for debugging.

Originally committed as revision 23055 to svn://

a0aa7354 05/07/2010 01:00 PM Michael Niedermayer

c99 sucks. Replacing scanf("%i") by strtoul()

Originally committed as revision 23053 to svn://

efdc74ef 05/07/2010 10:02 AM Michael Niedermayer

Try to keep track of interlaced and top field first.

Originally committed as revision 23044 to svn://

8155bbc9 05/07/2010 09:20 AM Michael Niedermayer

Support setting flags for sws.

Originally committed as revision 23041 to svn://

ba87f080 04/20/2010 02:45 PM Diego Biurrun

Remove explicit filename from Doxygen @file commands.

Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.

Originally committed as revision 22921 to svn://

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

89fb9ae9 03/13/2010 12:33 PM Stefano Sabatini

Make the scale filter pass the pkt.pos information to the output

Originally committed as revision 22509 to svn://

d2a2b08c 02/01/2010 07:50 PM Stefano Sabatini

Use pixel format descriptors to check if the input format is paletted.

Originally committed as revision 21597 to svn://

b4b66456 01/31/2010 04:33 PM Stefano Sabatini

Avoid usage of avcodec_get_pix_fmt_name() and
avcodec_get_chroma_sub_sample(), directly access
av_pix_fmt_descriptors instead.

Remove some of the dependancies of lavfi on lavc.

Originally committed as revision 21575 to svn://

27d8f6b6 01/08/2010 11:48 PM Stefano Sabatini

Make the scale filter set in the input and output links only the
respective pixel formats effectively supported by libswscale.

Originally committed as revision 21105 to svn://

a13a5437 12/04/2009 11:26 PM Stefano Sabatini

Add a slice_dir parameter to avfilter_draw_slice().

Avoid the need to implement slice direction detection code, thus
reducing code duplication.

See the thread:
"[FFmpeg-devel] [PATCH] Add a slice_dir parameter to avfilter_start_frame()".

Originally committed as revision 20734 to svn://

b37aa4de 11/29/2009 06:02 PM Stefano Sabatini

Use the correct chroma values for the data[] array used in

The chroma values to use are supposed to be those of the input format,
not that of the output format, the latter case was causing crashes and
chroma issues.

Originally committed as revision 20660 to svn://

8aeb3322 11/29/2009 05:40 PM Stefano Sabatini

Use a valid log context for av_log().

Originally committed as revision 20659 to svn://

c3eabb7d 11/11/2009 11:50 PM Stefano Sabatini

Add scale filter.

Originally committed as revision 20519 to svn://