summaryrefslogtreecommitdiffstats
path: root/macosx/PictureController.m
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: made the width and height textfield editable in the picture settings ↵ritsuka2014-08-191-4/+20
| | | | | | window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6323 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: added support for NLMeans denoise. Added the HBFilters class to ↵ritsuka2014-08-191-332/+187
| | | | | | | | store the filters settings, previously they were stored directly in the HBPictureController window controller. Removed the filter tab animations for now, they will be added back later. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6319 b64f7644-9d1e-0410-96f1-a4d463321fa5
* macui/cli/libhb: cleanupjstebbins2014-06-181-2/+5
| | | | | | | | | | | | macui: Simplifies code in Controller.m and fixes a few bugs macui: Fixes "Windows 8 Phone" preset aspect ratio problem macui: round up to next mod boundary when limiting to title dimensions - crop libhb: Eliminates hb_fix_aspect and hb_set_size functions. libhb: Makes hb_validate_size a passthru to hb_set_anamorphic_size cli: eliminage use of hb_validate_size git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6215 b64f7644-9d1e-0410-96f1-a4d463321fa5
* macui: fix PcitureController geometry calculationsjstebbins2014-06-101-418/+217
| | | | | | | | simplifies the code and makes it work better also updates preview window size calculations git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6209 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Refactor HBPreviewController. Rename the actual class to ↵ritsuka2013-11-041-9/+22
| | | | | | HBPreviewController, and move the image and video creation code to a separate HBPreviewGenerator class. Update the preview duration list as Rodeo suggested. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5874 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: refactor PictureController. kill a bit of dead code (~500 lines), ↵ritsuka2013-11-021-699/+420
| | | | | | switch some ivars to properties, hide the private methods and rework the deinterlace logic. Plus UI alignment. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5869 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Varius warnings fixes:ritsuka2013-10-251-18/+18
| | | | | | | | | | - NSUInteger and NSInteger instead of int (where the Cocoa 64bit api uses them). - Cast to int when needed because NSInteger on 64bit is defined as long. - NSURL instead of NSString when possible. - Replaced some deprecated methods/functions. - numberWithInteger instead of numberWithInt. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5854 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: fixed a number of leaks/null-deferences/dead-code found by clang ↵ritsuka2013-10-151-7/+0
| | | | | | static analyzer. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5838 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: PictureComntroller reloadStillPreview, remove code that does nothing.Rodeo2013-03-181-6/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5343 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix crash in PictureController.Rodeo2013-03-181-13/+18
| | | | | | | | For some reason, it only crashed in debug builds, but de-referencing fTitle before it's been set (e.g. indirectly from awakeFromNib) is obviously wrong. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5341 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: re enable deinterlaced still preview images when deinterlace is ↵dynaflash2013-02-041-17/+37
| | | | | | | | | | selected. - Also add a deinterlaced preview still image when decomb is selected as libhb does not notice decomb for still previews. Do a quick shell game when decomb is selected only to grab a deinterlaced preview. - As a side note, remove some extremely vestigial code from controller.m as far as a min preview size. - fwiw, lingui already apparently does this. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5239 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: add new "Bob" options in the decomb and deinterlace popup buttons.Rodeo2012-05-021-1/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4627 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: add "Fast" decomb option.Rodeo2011-12-081-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4374 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove unused variables to suppress warnings at compile timedynaflash2011-05-191-1/+0
| | | | | | | - As per https://reviews.handbrake.fr/r/87/ - Patch by blindjimmy ... thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3984 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Disable preview hud controls during new source scans.dynaflash2010-08-051-0/+8
| | | | | | | - Fixes a crash where trying to get a preview image when a new source is being loaded will cause a crash - Mirrors enableUI in the main window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3471 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Preview replace a method that was hastily removed in 3125 when ↵dynaflash2010-02-191-4/+1
| | | | | | removing Full Screen. Fixes broken window scaling. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3126 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Removie Full Screen preview mode as its largely redundant when we ↵dynaflash2010-02-191-23/+4
| | | | | | have 100 percent full screen scaling in windowed mode. Removes a lot of code that is really not needed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3125 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix issue where switching modulus would not properly recalibrate the ↵dynaflash2010-02-121-0/+19
| | | | | | | | | exisiting pic size, only change the stepper increments. - Bug found and fix tested by BradleyS. - Do a dry run of hb_fix_aspect to reset dimensions as per the modulus before running through the rest of the settings. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3117 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Adjustable picture modulus: Base patch by BradleyS, Thanks BradleyS!dynaflash2010-02-111-19/+22
| | | | | | | - Enables setting modulus for all anamorphic modes (including non-anamorphic) except strict. The job variable "anamorphic.modulus" is repurposed for this and is renamed to simply "modulus" - Other changes: Increases minimum output dimensions to 32x32 pixels in libhb (prevents possible crashes, notably in macgui). Better crop value and maximum crop value calculations to prevent crashes. Some code optimization / refactoring. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3113 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix issue where sources would round down 16 pixels from full width ↵dynaflash2010-02-051-6/+5
| | | | | | | | with some presets. - i.e. 720 width would come out at 704. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3096 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove vestigial conditional which did not allow loose anamorphic if ↵dynaflash2009-11-181-13/+0
| | | | | | | | | the ffmpeg video encoder was used. - Patch by Rodeo. Thanks Rodeo! - Addresses http://forum.handbrake.fr/viewtopic.php?f=4&t=13117 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2943 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: rename PictureController.mm tooritsuka2009-08-291-0/+1384
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2790 b64f7644-9d1e-0410-96f1-a4d463321fa5