summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreviewController.mm
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: preview changes to coincide with rev 2376dynaflash2009-05-041-178/+65
| | | | | | | | - as per the LinGui changes to hb_get_preview (thanks jstebbins) - also restores the gray crop border color - consolidates some macgui preview code git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2377 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Custom Anamorphic initial implementation (experimental) and pic ↵dynaflash2009-05-011-45/+145
| | | | | | | | | | | | | | | | | | | | | settings and preview changes. - Custom Anamorphic mode allows more customization of pixel and display dimensions. -- NOTE: The layout and even functionality are considered very experimental and not ready for prime time yet. -- Change to hb_get_preview allowing a preview size > title->width and height courtesy of jbjake. -- Allows setting the modulus to 16 (default), 8, 4, 2, or 1. -- Adds display height, pixel width and pixel height fields. - Picture Inspector: -- Changes shape and size according to the size/filter tab and anamorphic and filter settings. - Picture Preview: -- Now crops the gray borders from around the image returned from hb_get_preview and recreates cropping and resizing itself. -- Add size and scale information to the preview window title bar so you can see it without activating the hud controls. -- Attempt to fix the intermittent aliasing problem with the hud control overlay by making sure the hud origin is a whole int (fix courtesy of KonaB1end). - Known Issues: -- Scale to Screen mode is currently borked. The actual image does not scale yet. -- Depending on how far you upscale the display dimensions in custom anamorphic, the preview image can get a bit wonky. Returning to one of the standard modes clears it up. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2362 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: setUsesThreadedAnimation to false for the progress indicators in the ↵dynaflash2009-03-131-0/+4
| | | | | | | | main window for 32 bit as well as 64 bit. also for fMovieCreationProgressIndicator in th preview window. - For live preview this fixes an issue where the qtmovieview controller was not in focus. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2259 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Preview Window postioning fixesdynaflash2009-03-061-0/+20
| | | | | | | - Make sure the preview window stays within the parameters of the screen as it resizes, even on multiple monitor systems. - Among other things fixes an issue where preview window being opened up at launch would push part of it off screen as it resized to a new source. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2232 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Replaced a quicktime call with a 64bit compatible one.ritsuka2009-02-281-8/+7
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2178 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Picture Preview - fix full screen mode on multi-display systems.dynaflash2009-02-131-9/+25
| | | | | | - Full Screen mode now applies to whichever screen the preview window is on in windowed mode on multi-display systems. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2156 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix crash when trying to quit with preview in full screen mode.dynaflash2009-02-131-5/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2155 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Video Filter and Picture Settingsdynaflash2009-02-061-6/+9
| | | | | | | | | | | - Changed picture settings and video filter display in the main window to three text fields (removed 24 outlets and text fields). Its a hoky layout right now, but I have a feeling the video tab will be changing. - Show actual cropping values in the main window as well as Auto/Custom - Show custom filter settings if used. - Removed redundant anamorphic calculation code. Its now accessed from each controller that needs it from preview controller - Fixed an issue where decomb from a previous preset would linger in a preset that did not have decomb specified. - Updated the queue display to show custom filter info if present. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2125 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Live Preview Fixesdynaflash2009-01-281-0/+1
| | | | | | | | - Fixes and Issue where using chapter markers on ffmpeg input sources caused a crash and or no encode and a gray screen. - Fixes an issue where not manually selecting a still preview caused the live preview encode to crash. - Many thanks to refulgentis for troubleshooting this for me. :) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2104 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remember window postion and open/close state of the Picture Filter ↵dynaflash2009-01-271-3/+13
| | | | | | and Picture sizing inspectors and restore them at the next launch. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2101 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Picture Filters separate hud inspector initial implementationdynaflash2009-01-261-7/+17
| | | | | | | | - Separates the filters out from the picture settings inspector into their own inspector in preparation for more advanced filters - Gingerbread is shaky but wanted to get the functionality into the svn due the the number of files modified or added. - Adds a toggle action to Picture Settings, Picture Filters and the activity window git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2099 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Organizes anamorphic parameters in a struct, requiring some minor search and ↵jbrjake2009-01-261-6/+6
| | | | | | replace changes in the interfaces. Folds the logic for strict anamorphic mode into hb_set_anamorphic_size() and also stakes out a new, more customizable mode 3. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2097 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Preview Window scale to screen initial implementationdynaflash2009-01-211-155/+244
| | | | | | | | - Allows scaling the preview to fit the screen when in full screen mode. - Also hopefully fixes a bug where multiple cycles of windowed and full screen cause the hud overlay to not appear. - hud overlay delay timer changed from 20 to 10 seconds git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2091 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Picture Preview and Settings window interaction fixesdynaflash2009-01-141-2/+7
| | | | | | | - Putting the Preview Window into full screen mode no longer automatically opens up the Picture Settings inspector - Fixed the Picture Settings inspector so that it isn't on top of every f'ing window on your screen. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2086 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Preview Window dynaflash2009-01-121-17/+97
| | | | | | | - Add a 20 second no mouse movement delay then fade out the hud overlay controls so that the controls are not always visible as long as the cursor is inside the preview area. - Note: the 20 seconds might make a nice setting in preferences. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2078 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Separate Picture Settings and Preview Window Initial Implementationdynaflash2009-01-121-0/+1148
- Picture Settings is now a hud style inspector panel: -- Allows more room to be displayed along with Main Window. -- Has button (though ugly ... for now) to open the preview window. - Separate Preview Window: -- Preview Window can now show the entire preview content via a hud style overlay controller (ala iTunes, DvdPlayer controls) activated by mouse movement. -- Has button to allow opening the Picture Settings inspector. -- Full Screen Mode (ala iTunes, DvdPlayer) which should help for max preview size for HD sources. - Note: all hud style controls in this implementation are created only using core animation filters, I decided against a third party hud control framework, though one can certainly be implemented at any time. - Known Issues: -- WARNING: Quitting HB while in full screen mode will crash the macgui. -- The hud overlay controls in the Preview Window will align kind of wonky when the resolution is scaled way below the source. -- Ideally, after moving the mouse within the preview area then stopping, after a certain amount of time the hud overlay control box should disappear. -- Hud style controls still need alot of development to fit within the HIG. -- Need a keboard shortcut for the Preview Window. -- As usual with initial implementations there are likely many more Bugs/Issues. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2076 b64f7644-9d1e-0410-96f1-a4d463321fa5