[vlc-devel] Re: VCD OGT subtitles and rescaling

R. Bernstein rocky at panix.com
Tue Dec 23 17:47:28 CET 2003


With respect to the window size: what VLC does on the vout does makes
sense - for an aspect ratio of 4:3, the window for a 480x480 is
480x360 and so the y direction is shrunk. In xine the y direction
seems preserved, but the x direction expanded.

I gather then there's not much already in place for image manipulation
in vlc. So now that I have something minimal working for SVCD
subtitles, I'll make larger changes to the render routine. I don't
however see what's been done so far as being all that specific to OGT
though. Basically there's something that extracts a palette
bitmap. After this is done, the rest is pretty generic. If there were
a simple, lightweight image library for scaling and antialiasing
bitmap fonts, it would be nice to use here.

But if not, scaling an optionally antialiasing it isn't all that
difficult to code. Probably antialiasing will be done before scaling,
but the antialiasing code in either case will come later.

The point about the DVD Rendering was that within the context of DVD
rendering, it looks like the same thing could be accomplished with
less field packing and extraction (i.e. shifting and'ing and or'ing
and therefore simpler and faster) just by using the two bytes in the
16-bit words used more simply. Am I missing something here? 

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list