[FFmpeg-soc] expand filter (alternative to pad syntax)

Ryo Hirafuji psi at science.mi.to
Sat May 17 15:36:38 CEST 2008


Hi.
I simplified the source.
"sscanf" works very well, thanks. ^^

I have some questions.

> there is always a way :)
> Code duplication is not acceptable in ffmpeg and always means patch rejection
> so if there is no way to access the information from pix_fmt_info then
> solution would be to add a way ...

So... you mean that I should post ffmpeg-dev with a patch of libavcodec?

>> > as with vmrsss, unconditional copying is not ok
>> Other filters are also drawing images in the same way, aren't they?
>> (For example,vf_drawbox.)
>
> there is no memcpy() in vf_drawbox

Yes, but "vf_drawbox" also draws images into the memory directly.
(please see "draw_box()")

...Oh,sorry.I think I don't understand the probrem very well.
Which is the probrem, src or dst of memcpy?

--
Ryo Hirafuji
blog http://ledyba.ddo.jp/
dojin http://ledyba.ddo.jp/Pegasus/
web http://ledyba.hp.infoseek.co.jp/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vf_expand.c
Type: application/octet-stream
Size: 11616 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-soc/attachments/20080517/b0998e46/attachment.obj>


More information about the FFmpeg-soc mailing list