WinGui: Give the preview window a presence on the picture settings tab. Added some initial code to manage the window size. (Note, this is not complete or DPI aware yet)

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6197 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Minor tidy up of options. Cleanup of some code warnings and some initial DPIAwareness code.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6198 b64f7644-9d1e-0410-96f1-a4d463321fa5
LinGui: layout changes
Reduce height of presets list box.  This allows room for making settings
tabs wider.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6199 b64f7644-9d1e-0410-96f1-a4d463321fa5
LinGui: Improve auto destination file name behavior
Don't change the destination file name when a setting changes that is
not in the auto-name template.  I.e. if quality changes and "{quality}" is
not in the template, leave the destination file name alone.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6200 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Fix QSV preset loading of RF Slider

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6201 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Handle Zero Pointer better in the NativeList. This can happen sometimes during previews.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6202 b64f7644-9d1e-0410-96f1-a4d463321fa5
deccc608sub: fix invalid subtitle position when extreme cropping applied.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6203 b64f7644-9d1e-0410-96f1-a4d463321fa5
deccc608sub: fix positioning once again
after last change, CCs were getting positioned too far into the middle of
the image.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6204 b64f7644-9d1e-0410-96f1-a4d463321fa5
Initial nlmeans port, builds but crashes on encode
Continued progress on nlmeans.
More nlmeans progress. Unsure if it's getting better or worse.
First semi-working nlmeans build.

Output dimensions are correct but image is corrupted by short green lines running diagonal down and to the right. Bad math somewhere, probably copying too many bytes and snagging part of the temporary image border or unknown memory.
Working nlmeans build.

Fixed math causing image corruption; was using wrong image width for integral computation.
Clean up unused nlmeans code.
Fix nlmeans distortion at bottom of image.

Somewhere along the line, lost the line of code that copied the bottom border area, resulting in random memory contents in that area. Only noticeable with chance input and settings that cause nlmeans to actually match on the bad data.
Remove some logging.
More clean up and variable renaming.
More clean up and variable renaming.
Minor comments clean up.
Rename and reorder nlmeans parameters.