[FFmpeg-devel] [PATCH] adjust y in pad filter

Reimar Döffinger Reimar.Doeffinger
Tue May 11 22:55:22 CEST 2010

On Tue, May 11, 2010 at 12:38:29PM -0700, Baptiste Coudurier wrote:
> On 05/11/2010 12:32 PM, Reimar D?ffinger wrote:
> >On Tue, May 11, 2010 at 11:04:48AM -0700, Baptiste Coudurier wrote:
> >>On 05/11/2010 10:55 AM, Baptiste Coudurier wrote:
> >>>On 05/11/2010 10:50 AM, Reimar D?ffinger wrote:
> >>>>On Tue, May 11, 2010 at 10:33:51AM -0700, Baptiste Coudurier wrote:
> >>>>>I believe that it is simpler and obvious for everybody that
> >>>>>0,0 coordinates are bottom left corner and not top left corner.
> >>>>
> >>>>Not to me, I've never understood why it should be, does anyone
> >>>>number line numbers on a page from bottom to top?
> >>>>Why the should pixels suddenly be counted that way?
> >>>
> >>>What about maths ?
> >>>
> >>
> >>To elaborate, it is about geometry.
> >>In geometry, 0,0 is bottom left.
> >
> >No, 0,0 is just the distinguished point, there's no "left", "bottom" or
> >whatever in geometry, even if it is usually drawn like that.
> Just stop here. That's what I'm talking about, "usually drawn", you
> just agreed with me, and I bet 90% of the _users_ of the filter.

Hard for me to imagine that 90% of users would expect the pad filter to
take geometric coordinates the way they were illustrated in their maths
books but using pixels as units and only accepting integer values instead
of assuming it would use pixel indexes just like their photo editing

More information about the ffmpeg-devel mailing list