Initial x265 integration. Patch by Zhang Zhiqiang. Thanks!

Build with --enable-x265 (requires CMake).

Use via HandBrakeCLI with -a none -e x265 -f raw

Only raw HEVC output is supported for now (no audio or subtitles).


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6023 b64f7644-9d1e-0410-96f1-a4d463321fa5
Missing in last commit. Also by Zhang Zhiqiang. Thanks!


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6024 b64f7644-9d1e-0410-96f1-a4d463321fa5
LinGui: fix building with --enable-x265


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6025 b64f7644-9d1e-0410-96f1-a4d463321fa5
encx265: miscellaneous fixes, cleanup and refactoring.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6026 b64f7644-9d1e-0410-96f1-a4d463321fa5
x265: misc. container-related fixes.

CLI users: please use -f x265 instead of -f raw


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6027 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: fix compiler warning.

Was fixed for encx264 in SVN revision 5999.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6028 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: write encoding library's name in the Activity Log.

We lost them for some encoders in SVN revision 5586.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6029 b64f7644-9d1e-0410-96f1-a4d463321fa5
Fix typo in previous commit.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6030 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: make encoder options less x264-centric.

profile/level control and, to a lesser extent,
encoder presets and tunes are becoming more common.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6031 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: Add cpuid inline asm macro

This eliminates our reliance on the private (unexported) libavutil
function ff_cpu_cpuid().


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6032 b64f7644-9d1e-0410-96f1-a4d463321fa5
LinGui: fix missing libdl in link
Seems this gets included automagically on many systems, but not on debian.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6033 b64f7644-9d1e-0410-96f1-a4d463321fa5
LinGui: update russian translation


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6034 b64f7644-9d1e-0410-96f1-a4d463321fa5
LinGui: update Czech translation


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6035 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Initial work to refactor the Audio and Subtitle behavioural based automatic track selections. This is not quite complete yet but close enough for gathering feedback.
- Simplified UI design that's now available on the "Subtitle" and "Audio" tabs rather than the Options screen.
  The settings are no longer part of the app preferences. They are now per-preset. Build in presets default to None.
- Selected Languages can now be set independently for Audio and Video.
- Preferred Language is now part of the Selected Languages list.
- Warning: Import/Export of presets still to be implemented.  Design may yet change.






git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6036 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Show a error message when the user has no destination set.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6037 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Update HandBrakeInterop Library for the latest encoder option changes.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6038 b64f7644-9d1e-0410-96f1-a4d463321fa5
Bump libav to v10_beta1

Remove some patches that have been applied upstream.

Add support for AVDownmixInfo side data (i.e. mix levels).


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6039 b64f7644-9d1e-0410-96f1-a4d463321fa5
LinGui: Audio and subtitle UI rework.

Adds new tabs for audio and subtitle defaults (presets).
"Audio" and "Subtitle" tabs renamed to "Audio List" and "Subtitle List"

New Preset Keys:
    AudioLanguageList - array of strings
        List of languages that will be used to generate the output
        audio tracks for a job.
        Values: preset      -   UI display
            iso639_2 codes  - native_name if not NULL, else eng_name

    SubtitleLanguageList - array of strings
        List of languages that will be used to generate the output
        subtitle tracks for a job.
        Values: preset      -   UI display
            iso639_2 codes  - native_name if not NULL, else eng_name

    AudioTrackSelectionBehavior - string
        Defines how source tracks will be selected when generating
        the audio list for a job.
        Values: preset      -   UI display
            none            -   None
            first           -   First Matching Selected Languages
            all             -   All Matching Selected Languages

    SubtitleTrackSelectionBehavior - string
        Defines how source tracks will be selected when generating
        the subtitle list for a job.
        Values: preset      -   UI display
            none            -   None
            first           -   First Matching Selected Languages
            all             -   All Matching Selected Languages

    SubtitleAddCC - boolean
        Add Closed Caption track to subtitle list if available

    SubtitleAddForeignAudioSearch - boolean
        Add Foreign audio search pass to job if a default subtitle
        language is set (i.e. SubtitleLanguageList is not empty and
        first entry is not "Any") and default audio track language
        matches subtitle preferred language.

    SubtitleAddForeignAudioSubtitle - boolean
        Add preferred language subtitle track if the default subtitle
        language is set (i.e. SubtitleLanguageList is not empty and
        first entry is not "Any") and default audio track language
        does not match the preferred subtitle language.

Removed Preset Keys:
    AudioTrack

    SubtitleList - I think only the LinGui had this key.

Note that the remaining keys in the pre-existing AudioList are reused
and map to the "Audio Encoder Settings" on the "Audio Defaults" tab.
They used to map to the entries in the list on the old "Audio" tab.
The old "Audio" tab is now the "Audio List" tab.  Nothing in the "Audio
List"
tab map to preset values in the new design.  The contents of this tab is
strictly for use in the encode job.  Ditto for "Subtitle Defaults" and
"Subtitle List".

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6040 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: API 1.8 support and related improvements

Optional feature detection now done via MFXVideoENCODE_Query. This should work better with future hardware and encoder implementations.

Optional API 1.8 features are not tested (not supported by the software implementation, and no drivers with API 1.8 support available yet).


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6041 b64f7644-9d1e-0410-96f1-a4d463321fa5
Update some copyright dates to 2014.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6042 b64f7644-9d1e-0410-96f1-a4d463321fa5