
TVExtender
===========
This is intended as an improvement for PlugIt.

Usage:
Option          parameter        description
-h --help
-r --resolution <width>x<height> Sets the resolution of DFB view. Limited to 1280x720. Default is 640x360.
-o --offset     <x>,<y>          Capture window position; Default is 0,0
-s --size       <width>x<height> Capture window size; Default is full screen
-t --title      <string>         Title of the window to capture; If title is set, then -o and -s are ignored.
                                 Application will also bring to the top and set focus to the window
-l --scale      <0-1>            scaling mode: 0=keep 16/9 aspect ration (black bars might appear) (default)
                                 1=stretch captured window to fit TV full screen
-p --period     <ms>             delay period in main loop (frame based loop); It is noted that if this value is too low
                                 application is more probable to stop working (DFB lib can not send receive to TV)
                                 default value is 20

examples:
.\TvExtender -r 854x480 -t "Untitled - Notepad"     // highlights notepad and renders it on TV (keeps aspect ratio)
.\TvExtender -r 1280x720 -s 1280x800 -l 1           // full screen capture of my laptop and squizing it to fit TV screen



Key differences w.r.t PlugIt:
-   No longer dependent on vnc driver.
-   Should work with any Windows version (Win 95 - Windows 7) (not tested with 64 bit versions)
-   Also works for DirectX graphical output (games). Only content rendered in windows "overlay" can not be captured
-   Remote control input is sent from TV to the PC, allowing control of the application in focus



Sources (re)used from 
-   Voodoo plasma sample
-   New code for screen grabbing, bitmap conversions, inserting keys to windows buffer,…
-   Parsing command line options is rewritten code from PlugIt
-   Scaler is code from PlugIt.


Aleksander Ostijic
July 16, 2010
