VSFilter process:
1) Get subtitles
2) Create subpicture that is 64x the resolution of the video frame
3) Scale subtitle sizes using some magic numbers
4) Multiply everything by 8
5) Get outlines and composite (note that there is no ClearType going on here)
6) Downscale to video resolution and paint
Note that the combination of 2 and 4 is the reason that VSFilter supports 8th-pel subpixel positioning and sizes.
|