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

Sergio Ĥlutĉin Sergey.Khlutchin
Sun Sep 17 13:26:33 CEST 2006


Michael Niedermayer wrote:
> 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)
I need parameters, which operates by pixel coordinates, not macroblocs, becase
user may have no information about which macroblocks is used in the video,
but he knows which pixels are visible.

Sergey




More information about the ffmpeg-devel mailing list