[Ffmpeg-devel] [PATCH] Skip invisible blocks for mjpeg

Michael Niedermayer michaelni
Sun Sep 17 12:57:33 CEST 2006


Hi

On Sun, Sep 17, 2006 at 03:37:44PM +0500, Sergey Khlutchin wrote:
> Hi!
> I make this to use in mplayer.
> This patch is to decode mjpeg for visible box only.
> I add 4 new parameters because is no any applicable in AVCodecContext,
> it is a coordinates of the box.

the skip_bottom and skip_top parameters are applicable and should be used
the other 2 should follow the same design (skip_right, skip_left)

this also avoids the problems with the "default" of (0,0,width,height)

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list