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

Baptiste Coudurier baptiste.coudurier
Tue May 11 20:04:48 CEST 2010


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.
If 0,0 is top left then your coordinates go from 0,0 to width,-height.

-- 
Baptiste COUDURIER
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org



More information about the ffmpeg-devel mailing list