[MPlayer-cvslog] CVS: main/libmpcodecs vf_scale.c,1.62,1.63

Diego Biurrun diego at biurrun.de
Fri Feb 24 16:51:27 CET 2006


On Fri, Feb 24, 2006 at 04:02:03PM +0200, Oded Shimon wrote:
> On Fri, Feb 24, 2006 at 02:56:21PM +0100, Diego Biurrun wrote:
> > On Wed, Feb 22, 2006 at 06:40:20PM +0200, Oded Shimon wrote:
> > > On Wed, Feb 22, 2006 at 12:44:34PM +0100, Diego Biurrun wrote:
> > > > 
> > > >   <noup>
> > > >     Disallow upscaling past the original dimensions.
> > > >       0: off (default)
> > > >       1: on
> > > 
> > > You should probably mention that it downscales dimentions seprately, and I 
> > > think, this can even break aspect ratio... For prescaled mpeg video etc.
> > 
> > Elaborate..
> 
> Original:  480x480
> Prescaled: 640x480 (aspect ratio)
> 
> scale=512:-2:noup=1
> 
> scale:     512x384
> ...noup:   480x384
> 
> Break of aspect ratio...
> 
> Also an intentional break of aspect ratio will give a different "break" 
> than intended:
> 
> original:   640x480
> 
> scale=1280:240:noup=1 (intentional break aspect ratio by a factor of 4)
> 
> after noup: 640x240   (aspect ratio only broken by factor of 2...)

next try:

  <noup>
    Disallow upscaling past the original x and y dimensions. This may break
    aspect ratio if the value for one dimension is above and the other
    below the original values.
      0: off (default)
      1: on

Diego




More information about the MPlayer-cvslog mailing list