summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* libhb: add new function for retrieving previewsjstebbins2014-07-297-55/+200
| | | | | | | | | | | | | | | | This new function has a couple advantages over the old one (which we should phase out). It does not require hb_job_t as a parameter, instead it uses hb_ui_geometry_t which is a smaller and simpler struct. The entire job struct is overkill as input to this function. It returns an hb_image_t that fully describes the returned image instead of just a uint8_t array. The caller does not have to make assumptions about image size, line stide, or pixel format since hb_image_t specifies these things. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6242 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Implemented a configuration panel similar to the win/lin gui one for ↵ritsuka2014-07-2913-949/+1584
| | | | | | | | | | the subtitles defaults, and added some more options from the other guis (add all, remove all). The SubtitleAddForeignAudioSubtitle setting will be added later after the automatic audio selection is done. Fixed a bug where HandBrake used 50% of cpu time if the subtitles table view was selected. Refactored a big part of HBSubtitlesController to make it works with the new automatic options and to cleaned the table view data source. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6241 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: always keep display aspect unless using custom anamorphic modejstebbins2014-07-281-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6240 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui/CLI/libhb: add nlmeans denoise filter to linguijstebbins2014-07-2110-356/+535
| | | | | | | Move nlmeans preset&tune parsing from cli to libhb git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6239 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Used a different api in HBDVDDetector to avoid DiskArbitration crashes.ritsuka2014-07-191-19/+7
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6238 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: removed an unneeded __bridge in HBDVDDetector. Might fix a crash in ↵ritsuka2014-07-171-1/+1
| | | | | | the nightly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6237 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: allow user cli options to override defaults for fallback audio encoderjstebbins2014-07-163-18/+66
| | | | | | | Solves: https://forum.handbrake.fr/viewtopic.php?f=10&t=28074&sid=68d8c5bfffd7081625bcd56fb7c4dad1 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6236 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: Improve handling of streams with broken video timestampsjstebbins2014-07-161-4/+11
| | | | | | | Addresses https://forum.handbrake.fr/viewtopic.php?f=12&t=30307&p=140045#p139847 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6235 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: Simplify output geometry calculationjstebbins2014-07-162-217/+80
| | | | | | | | Fix bug where non-anamorphic mode ignores modulus Change default modulus to 2 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6234 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Replaced some deprecated functions in HBDVDDetector and ignored the ↵ritsuka2014-07-163-70/+81
| | | | | | QTKit deprecations warnings for now. Grouped some files in the Xcode project. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6233 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: moved two methods used by the whole app to HBUtilities.m:ritsuka2014-07-167-114/+111
| | | | | | | - appSupportPath: - writeToActivityLog: git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6232 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Refactored the controller code for the ↵ritsuka2014-07-1523-19907/+5488
| | | | | | | | | | video/audio/subtitles/chapters view: Added a xib file and a NSViewController subclass for each tab of the main HandBrake window. Each view controller now to responds to the HBContainerChangedNotification and HBTitleChangedNotification notifications instead of using a custom way to notify changes. Converted the modified .xibs to the Xcode 5.1 format. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6231 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: work around bug in GtkScaleButtonjstebbins2014-07-151-42/+54
| | | | | | | | | When the button value is updated programatically, the update event is not sent and therefore the label is not updated. So update the label manually instead of relying on the event to trigger the update. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6230 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: work around libav decoder error durint p-to-p encodingjstebbins2014-07-143-23/+65
| | | | | | | | | In some cases, initial data when in p-to-p mode causes libav decoder initialization to fail. This only happens when multi-threaded encoding is enabled. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6229 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Expanded the auto name feature to make it as powerful as the WinGUI ↵ritsuka2014-07-116-950/+1494
| | | | | | counterpart. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6228 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Adding support for Nlmeans to the front-end. Plist keys still tbd.sr552014-07-0517-63/+496
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6227 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix typo in flag definitionjstebbins2014-07-011-1/+1
| | | | | | | NO_IDR and SCAN_COMPLETE values overlapped git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6226 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libav: fix decoding of multi-object PGSjstebbins2014-06-301-0/+671
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6225 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: Improve nlmeans edgeboost prefilter.bradleys2014-06-281-11/+53
| | | | | | | | | Fixes a typo (1/27 instead of 1/127) that caused edgeboost to match on nearly everything, and tweaks this number slightly. Adds a post-processing step to handle marked pixels having too few marked neighboring pixels as false positives. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6224 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: Add median prefilter to nlmeans.bradleys2014-06-271-5/+118
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6223 b64f7644-9d1e-0410-96f1-a4d463321fa5
* manicure: Allow manicure to be included in other scripts.bradleys2014-06-251-13/+18
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6222 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bd: fix long delays caused by updated libblurayjstebbins2014-06-251-4/+4
| | | | | | | | bd_seek and the new m2ts_filter in libbluray have a bad interaction. So use bd_seek_time instead. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6221 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: cleanupjstebbins2014-06-244-272/+199
| | | | | | | | use hb_set_anamorphic_size2 instead of hb_set_anamorphic_size simplify preview generation code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6220 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: unbreak interop job structurejstebbins2014-06-242-4/+0
| | | | | | | I broke it here https://trac.handbrake.fr/changeset/6215 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6219 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Remove unnecessary include in last commit.bradleys2014-06-221-1/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6218 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Improve nlmeans-tune logging and error handling.bradleys2014-06-221-11/+22
| | | | | | | | The latter fixes a compiler issue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6217 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: New denoiser, nlmeans.bradleys2014-06-195-0/+953
| | | | | | | | Non-local means averages multiple patches of similar pixels together, preserving similarities and attenuating variance (usually noise). This is typically more effective than lowpass and more faithfully restores the appearance of structure and detail found in the original source, especially in the high frequency range. Parameters for origin patch weight tuning and pre-filtering further improve on the original algorithm. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6216 b64f7644-9d1e-0410-96f1-a4d463321fa5
* macui/cli/libhb: cleanupjstebbins2014-06-189-394/+129
| | | | | | | | | | | | 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
* WinGui: One more missing change.sr552014-06-141-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6214 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Missing file from last checkin.sr552014-06-141-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6213 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Minor interop update.sr552014-06-141-141/+149
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6212 b64f7644-9d1e-0410-96f1-a4d463321fa5
* decpgssub: partial fix for "multi-object" PGS subsjstebbins2014-06-131-24/+50
| | | | | | | | | | | We were packaging multiple subtitle packets with the same pts and passing down to rendersub which would then throw away all but the last sub with a given pts. So put all AVSubtitleRects into the same hb_buffer_t. A patch to libav is also required to fix the multi-object problem. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6211 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Interop: Fixed a bug that was causing crashes on AAC passthrough. We were ↵randomengy2014-06-117-20/+55
| | | | | | clobbering the private data section with zeroes. Also added support for passing through a track if it's possible. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6210 b64f7644-9d1e-0410-96f1-a4d463321fa5
* macui: fix PcitureController geometry calculationsjstebbins2014-06-105-629/+543
| | | | | | | | 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
* WinGui: Fix bad tooltip stylesr552014-06-071-10/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6208 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: Fix decoding avi with palettejstebbins2014-05-294-7/+46
| | | | | | | | | ... and probably other formats that use a palette. The palette is stored in AVPacket side data which we did not read. So read the side data and stash it in hb_buffer_t so that it can be used later by the decoder. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6207 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix overwriting of source pathjstebbins2014-05-273-8/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6206 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Don't grab previews when the preview window hasn't been opened. ↵sr552014-05-243-1/+13
| | | | | | (Note, there is still a crash that sometimes happens for some resolutions that needs fixed, but the UI shouldn't crash anymore if the window hasn't been opened) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6205 b64f7644-9d1e-0410-96f1-a4d463321fa5
* deccc608sub: fix positioning once againjstebbins2014-05-231-3/+4
| | | | | | | | 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
* deccc608sub: fix invalid subtitle position when extreme cropping applied.jstebbins2014-05-221-5/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6203 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Handle Zero Pointer better in the NativeList. This can happen ↵sr552014-05-221-2/+4
| | | | | | sometimes during previews. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6202 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix QSV preset loading of RF Slidersr552014-05-211-1/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6201 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Improve auto destination file name behaviorjstebbins2014-05-211-5/+25
| | | | | | | | | 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
* LinGui: layout changesjstebbins2014-05-209-2953/+2420
| | | | | | | | 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
* WinGui: Minor tidy up of options. Cleanup of some code warnings and some ↵sr552014-05-1821-62/+152
| | | | | | initial DPIAwareness code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6198 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Give the preview window a presence on the picture settings tab. ↵sr552014-05-1711-23/+216
| | | | | | 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
* LinGui: fix some glib warning messages in logjstebbins2014-05-163-5/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6196 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make the StackSwitcher fill the available widthjstebbins2014-05-152-2/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6195 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: work around bonehead Gtk developer decisionjstebbins2014-05-151-0/+17
| | | | | | | | The width of radio buttons in GtkStackSwitcher are hard coded to 100. Parse the container to get the buttons and fix this idiocy. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6194 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: change main page GtkNotebook to GtkStackjstebbins2014-05-154-288/+50
| | | | | | | GtkStack's allow animation effects. So now pages slide-in/slide-out :D git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6193 b64f7644-9d1e-0410-96f1-a4d463321fa5