[FFmpeg-devel] [PATCH] doc/examples: add scaling_video example

Michael Niedermayer michaelni at gmx.at
Tue Aug 28 03:27:23 CEST 2012


On Mon, Aug 27, 2012 at 11:35:10PM +0200, Stefano Sabatini wrote:
> On date Friday 2012-08-24 16:25:32 +0200, Stefano Sabatini encoded:
> > On date Thursday 2012-08-23 20:30:45 +0200, Michael Niedermayer encoded:
> [...]
> > > iam not sure init+allo+free for every scaleing is a good idea for an
> > > example, it could lead to the wrong impression on what has to be done
> > > per picture
> > 
> > OK.
> > 
> > So it might work this way:
> > - generate synthetic images
> > - convert/rescale them to GRAY8
> > - print to PGM files
> 
> Updated.
> -- 
> FFmpeg = Fanciful and Fantastic Multimedia Picky Elected Gorilla

>  Makefile        |    3 -
>  scaling_video.c |  129 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 131 insertions(+), 1 deletion(-)
> 52a2be59c5376d921ee165c31c08c9ac3063f27f  0007-doc-examples-add-scaling_video-example.patch
> From 55704e29e7ab5b39185b843075983bb8802c7ada Mon Sep 17 00:00:00 2001
> From: Stefano Sabatini <stefasab at gmail.com>
> Date: Tue, 21 Aug 2012 14:43:51 +0200
> Subject: [PATCH] doc/examples: add scaling_video example
> 
> This example should be useful to show the basic functionality of the
> swscale API.
> 
> More advanced features (scaling options etc., colorspace tweaking) may be
> added later.

LGTM

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120828/3066a961/attachment.asc>


More information about the ffmpeg-devel mailing list