WinGui: Initial Work to wire up Encode Process Isolation.

git-svn-id: svn://localhost/HandBrake/trunk@4914 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake
WinGui: General Tidyup of the Services Library API.

git-svn-id: svn://localhost/HandBrake/trunk@4915 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake
WinGui: Fix an Integer overflow in the picture settings panel.

git-svn-id: svn://localhost/HandBrake/trunk@4916 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Fix a second Integer overflow.

git-svn-id: svn://localhost/HandBrake/trunk@4917 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake
Use a more direct workaround for the DTS-ES XCh decoding issue.

The workaround committed in revision 4896 works for now, but if/when we add 6.1 encoding, we'll want to decode that discrete center surround channel. We could special-case it, but the issue would still be present under 64-bit Windows.

Instead, disable the buggy assembly optimizations until they are fixed.



git-svn-id: svn://localhost/HandBrake/trunk@4918 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake
libhb: decomb and deinterlace improvements

Use hb_buffer_t for reference buffers.
This is what eliminates extra buffer copies.

Simplified a lot of the code.
This resulted in some minor speed improvements and easier to read code.

Allow mcdeint+bob. Previously these could not be used together.

Thread the erode-dilate-erode-check steps in decomb3.  More speed improvement.

Speed of default decomb went from 62fps to 76fps.
Speed of fast decomb went from 90fps to 95fps.


git-svn-id: svn://localhost/HandBrake/trunk@4919 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake
WinGui: Strip out the last traces of MEF since it's not going to be used.

git-svn-id: svn://localhost/HandBrake/trunk@4920 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: Add support for a secondary audio language track.
- Patch courtesy of Dennis Frommknecht ... thank you!
- Adds a second language preference in Preferences > Audio
-- If the corresponding language is not available in the source, the group for this language is not added. If neither default nor alternate language is found, the first audio track would be added (as it is already). The alternate language can also be left empty in which case no second group is added.

-- The implementation ensures that the same track is not added twice (if default and alternate language are identical). It is also flexible enough to support an arbitrary number of languages. They just have to be added to array "preferredLanguages" at the beginning of method "addTracksFromPreset" (HBAudioController.m).

The original patch and explanation can be found at https://reviews.handbrake.fr/r/262/

git-svn-id: svn://localhost/HandBrake/trunk@4921 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake
hb_audio_resample: move setters out of hb_audio_resample_update(), to dedicated functions.



git-svn-id: svn://localhost/HandBrake/trunk@4922 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake
Move mixdown-> channel_layout/matrix_encoding translation to hb_audio_resample_init().

Unlike hb_audio_remap, hb_audio_resample will never be used in situations where we don't have a mixdown.



git-svn-id: svn://localhost/HandBrake/trunk@4923 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake
CLI help: generate the list of available audio mixdowns, rather than naving it hardcoded.



git-svn-id: svn://localhost/HandBrake/trunk@4924 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake