summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* QSV: re-use the encqsvInit MFX session when using the encode-only path.Rodeo2013-09-241-13/+14
| | | | | | | | This seems to work around a weird and obscure issue on some systems. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5801 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem: initial Xcode5 supportkonablend2013-09-2417-42/+1572
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested on MacOSX 10.8.5 w/ Xcode 5.0, 4.6.3 and 4.5.2, various builds, including terminal Xcode, terminal no Xcode and Xcode IDE, and permutations with/without mp4v2 and mkv. - push defs for optional static libraries (OSL) to respective modules - adjust make-driven linking to use OSL - adjust Xcode-driven linking to use OSL via ld -filelist option - add Xcode project group for all OSL - set Xcode project to use clang compiler - add osx 10.8 xcconfig files - add "supplemental" xcconfig file where EXTERNAL_CONFIGURE may be used to specify configure-time options - patch mp4v2 to compile with clang Intructions for custom configure-options within Xcode IDE: 1. edit macosx/xcconfig/supplemental.xcconfig 2. save file (unsure how long it takes IDE to see change but it does) 3. build clean 4. build 5. never commit supplemental.xcconfig to repository - it is meant to exist but not effect the build on a clean checkout, and to be used only as a developer transient developer customization file. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5800 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: fix for VPP if VFRmaxd2013-09-231-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5799 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: make libhb internal character code utf8jstebbins2013-09-2214-31/+277
| | | | | | | | | | This makes libhb expect all strings passed to it to be in utf8 format. The cli converts the converts from the current code page to utf8. libhb converts back to the current code page when necessary for libraries that expect it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5798 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: remove windows ^M line endingsjstebbins2013-09-222-1219/+1219
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5797 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix test.c after merge.sr552013-09-211-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5796 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix typosr552013-09-212-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5795 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Added a new tab in Options to host "Video" related settings ↵sr552013-09-2118-177/+631
| | | | | | including hardware acceleration. Only showing the QuickSync options. DXVA/OpenCl options are hidden for now. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5794 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Tidyup a warning in oclscale.csr552013-09-211-8/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5793 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Merging-in the OpenCL Scaling code from the OpenCL branch to trunk. sr552013-09-2133-81/+6820
| | | | | | | | | | | | | | | | | | | | | | | | Patch originally by the Multicoreware Inc team, followed by improvements and fixes by Micheal Wootton from AMD Inc, OpenCL: This patch implements Bicubic Scaling in OpenCL. Note that HandBrake currently uses Lanczos so the performance difference appears to be much more significant. We may offer an option of BiCubic in software later. Bicubic scaling may appear a bit sharper than the equivalent Lanczos encode and may increase file size a bit. Quality may be better or worse depending on the scaling and content and personal preference towards sharpness. When comparing performance with a custom HandBrake build that runs Software Bicubic to OpenCL Bicubic, performance increase is about 5~7% on average on a modern GPU. Hardware Decode via DXVA: We also have optional DXVA decoding which may come in useful for slower/lower end systems that have a capable GPU. This is only available on input sources that use the libav decode path. Most GPU hardware for decoding is designed for playback, so if you are running on a high end CPU, it will bottleneck the encode process. Requires OpenCL 1.1 or later supporting GPU. Front end changes and testing framework are not included in this patch. This will be resolved later. Patch will be revised further before the UI is implemented. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5792 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Remove now unneeded debug menusr552013-09-219-53/+13
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5791 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix up libhb encode feature.sr552013-09-2110-126/+291
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5790 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Remove the scan service wrapper as it's no longer needed.sr552013-09-2110-231/+12
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5789 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix compil<tion with clang.Rodeo2013-09-201-1/+1
| | | | | | | Implementing a protocol is not enough, we need to actually tell the compiler that we are doing it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5788 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix scanning some dvdsjstebbins2013-09-191-9/+0
| | | | | | | | | | | | | | | | | | | | | e.g. star trek into darkness This reverts part of a patch that was originally written for dvdread access. So we need to watch for regressions. The patch was originally written for dvdread access and my not actually be a bug in dvdnav. So I have reverted it in dvdnav only. I also tried to reproduce the original bug in dvdread, but was unsuccessful. So I'm wondering if the original bug also got "fixed" by subsequent changes. The original bug report is here: https://forum.handbrake.fr/viewtopic.php?f=4&t=9758&start=0 The original fix is here: https://trac.handbrake.fr/changeset/2256 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5787 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Interop: Removed unused structs and constants and added warnings in libhb ↵randomengy2013-09-1924-615/+498
| | | | | | code to update the ones that are used. Broke out types for each struct into their own file. Switched all references to hb_handle_s to IntPtr and deleted that non-working struct. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5786 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Remove the option to disable libhb features as it's now vital to ↵sr552013-09-177-49/+38
| | | | | | have this dll present. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5785 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: adjust trellis logging when B- or P-frames are disabled.Rodeo2013-09-151-3/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5784 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: minor refactoring.Rodeo2013-09-1516-140/+166
| | | | | | | | | | Address the easy issues first. Apologies if I broke HandBrakeInterop. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5783 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Interop: Various fixes/improvementsrandomengy2013-09-1413-178/+211
| | | | | | | | | | | * Exposed container list and changing compatible containers from an enum to an int to allow pulling the container list dynamically. * Removed a few unused and out-of-date functions and structs. * Updated a few structs to better track with the QSV changes. * Added a method to create a pointer to a UTF-8 encoded string. * Dither now is chosen automatically rather than turned off, which helps with FDK AAC. * Fixed unicode custom chapter names. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5782 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Remove the AV_MP4 option so we now only have the AV Format Muxer as ↵sr552013-09-1415-41/+29
| | | | | | "MP4 File". The AV_MKV option will be removed at a later date. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5781 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: use git diff formatting for the QSV/Libav patch.Rodeo2013-09-131-40/+52
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5780 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix the Audio Track selection again.sr552013-09-101-0/+11
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5779 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Remove some unused References sr552013-09-081-5/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5778 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Remove system info from about window.sr552013-09-082-50/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5777 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: unbreak probe_dts_profilejstebbins2013-09-071-1/+1
| | | | | | | When doing codec probes, the title hasn't been set yet. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5776 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Add System Information to the About Window and Log header.sr552013-09-075-1/+97
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5775 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix the Automatic Auto selection when a preset is selected. Honour ↵sr552013-09-071-1/+1
| | | | | | the preset using the primary track, then follow the rules of the automatic selection. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5774 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: add an option to control B-pyramid.Rodeo2013-09-053-33/+156
| | | | | | | | | | Since there is no way to control it directly, output settings need to be adjusted a bit. Disabled by default for improved compatibility. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5768 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: svn rm mcdeint.*jstebbins2013-09-032-0/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5767 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: remove mcdeint deinterlacerjstebbins2013-09-035-348/+12
| | | | | | | | It's slow and it's quality isn't perticularly impressive... and it relies on the snow encoder which no longer exists in libav. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5766 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Change the implementation of the Source Menu Image handling. ↵sr552013-09-034-19/+42
| | | | | | Hopefully this might workaround a crash some people are seeing in the .NET BitmapDecoder object. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5765 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix around logging when the TextWriter is closed and Removed an ↵sr552013-09-012-13/+18
| | | | | | unneeded error handler in Interop library. (libavformat mp4 muxer does not have a large file size option) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5764 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Another small fix around point to point mode setting of start and ↵sr552013-09-011-1/+1
| | | | | | end points. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5763 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix an issue with the Seconds mode (not setting end point correctly)sr552013-09-011-5/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5762 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix an issue with cropping param not being send to the CLI in ↵sr552013-09-012-5/+5
| | | | | | | | AutoMode. This is an issue where scan previewer count >10. Fixed an Auto-Name issue for DVD drives. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5761 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: minor cleanup.Rodeo2013-09-013-69/+26
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5760 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: choose and re-use a "preferred" implementation instead of using ↵Rodeo2013-09-014-25/+65
| | | | | | | | | | MFX_IMPL_AUTO_ANY. This fixes a rare issue where hardware support was detected as available and used in encqsvInit, but MFXInit silently fell back to software in qsv_enc_init (still don't know what that's all about though). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5759 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Possible fix for the main feature detection.sr552013-08-301-2/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5758 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Interop: Add Path to the Title objectsr552013-08-293-2/+9
| | | | | | WinGui: Set the SourceName in the Title object so auto-naming works correctly for folder scans. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5757 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Some more work on the Instant HandBrake prototype. sr552013-08-2710-60/+1142
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5756 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Update the new radio buttons to work with the presets changing.sr552013-08-271-0/+13
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5755 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Show a radio button on the filters tab to select between Deinterlace ↵sr552013-08-273-20/+82
| | | | | | and Decomb mode similar to the Mac/Linux UI's git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5754 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix potential pgs timestamp problemjstebbins2013-08-261-1/+20
| | | | | | | Under rare circumstances, the computed start time would jump backward. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5753 b64f7644-9d1e-0410-96f1-a4d463321fa5
* enc_qsv: fix crash.Rodeo2013-08-261-0/+6
| | | | | | | | This was caused by trying to encode even when encoder initialization failed (qsv_enc_init). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5752 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Print QSV info in all logs in a libhb-friendly manner, via hb_scan (was ↵Rodeo2013-08-262-6/+8
| | | | | | | | | | printed in hb_init). Also, print an error to the log if attempting to print uninitialized QSV info. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5751 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix display size when anamorphic is disabled.Rodeo2013-08-251-4/+14
| | | | | | | | Some interfaces set the PAR width/height to be the same as the input's, even when anamorphic is disabled. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5750 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: don't use AVBR rate control.Rodeo2013-08-252-43/+21
| | | | | | | | User testing shows it's unreliable, and VBR works just as well for that purpose. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5749 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix Quality slider in QSV mode.sr552013-08-251-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5748 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Interop: Fix Scanning due to qsv change to hb_title_ssr552013-08-242-3/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5747 b64f7644-9d1e-0410-96f1-a4d463321fa5