← Back to team overview

me-tv-development team mailing list archive

Re: [Question #60873]: Optional streching of me-tv output to best fit resolution ignoring aspect-ratio?

 

Question #60873 on Me TV changed:
https://answers.launchpad.net/me-tv/+question/60873

CypherDelic gave more information on the question:
eg 1:1 broadcast

broadcast-x: 576
broadcast-y: 576

desktop-resolution-x: 1680
desktop-resolution-y: 1050

Since all available pc-monitors have a higher width than high it is
unneccesary to determine with value is lower for choosing which one
needs to be upscaled. In 99,9% video-output-x has to be upscaled.

video-output-x: ?

function full stretch: (broadcast-y/desktop-resolution-y)*desktop-resolution=video-output-x
current example: (576/1050)*1680=920

function half stretch: ((broadcast-y/desktop-resolution-y)*desktop-resolution)-(((broadcast-y/desktop-resolution-y)*desktop-resolution)-broadcast-x)/2)=video-output-x
current example: ((576/1050)*1680)-(((576/1050)*1680)-576)/2=748

Hope it helps a bit.

-- 
You received this question notification because you are a member of Me
TV Development, which is an answer contact for Me TV.