[FFmpeg-devel] [PATCH] swscale-example: Implement get_stride() helper function.

Ramiro Polla ramiro.polla
Sat Sep 12 21:36:29 CEST 2009


Attached files NOT FOR REVIEW.


On Sun, Aug 23, 2009 at 6:09 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Sun, Aug 23, 2009 at 05:41:41PM -0300, Ramiro Polla wrote:
>> On Sun, Aug 23, 2009 at 12:33 AM, Michael Niedermayer<michaelni at gmx.at> wrote:
>> As another option I think we should add another code as
>> swscale-example, and turn this one into a regression suite (and not
>> make it depend on lavc). This code does far more than a simple example
>> would need, and far less in terms of options (no flags are explained,
>> etc...). I have a simple swscale example that uses AVFrame and outputs
>> a png (easy to see the result). What do you think?
>
> can i see the code?

It has been rewritten and incremented many times over the past few
weeks and it's no longer simple. I know this could probably be made
with ffmpeg.c and avfilters but in one file it's simpler and easier to
add more stuff. Should I make any effort to get this into FFmpeg svn
or would it be best to just keep it in SoC svn?

> btw, the format we want as output is a raw format with header createable
> with a single printf() for a swscale example

Any suggestion for a simple format to implement? Something in XML? =)

Ramiro Polla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: swscale-test.c
Type: text/x-csrc
Size: 21088 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090912/c7cbb7ad/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: swscale-test.diff
Type: text/x-diff
Size: 283 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090912/c7cbb7ad/attachment.diff>



More information about the ffmpeg-devel mailing list