QSV: merge from trunk.


git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5554 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: port hb_qsv_info to hb_global_init().


git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5555 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: add undocumented "--qsv-baseline" option for testing workarounds on newer platforms.


git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5556 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: muxmkv: fix writing of SPS/PPS with the QSV encoder.
     muxmp4: uniform writing of SPS/PPS with muxmkv.


git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5557 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: move decavcodec's QSV option parsing to a QSV-specific code block.

Avoids log pollution such as:

"QSV options: Unknown suboption keyint"


git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5558 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: when we don't get the DTS from MediaSDK (versions < 1.6), we use a workaround to generate DTS in enc_qsv instead. But it doesn't seem to work at all.

Instead, error out if the container is MP4, B-frames are enabled (Main/High Profile), and the MediaSDK/driver version is too old.

DTS generation should get fixed eventually.


git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5559 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: Merging missed changes from trunk

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5561 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: Merging Trunk

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5562 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: RB 512/possible decrease of the output bitstream by avoiding AUD and SEI NALs generations

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5576 b64f7644-9d1e-0410-96f1-a4d463321fa5
Improve an error message.


git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5578 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Some QuickSync preset tweaks. 
- Large Filesize
- Switch to ffaac as it performs better than faac and helps reduce the bottleneck for the qsv encoder.
- Up'ed the bitrate to 224 to compensate

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5579 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: update hardcoded CFR code after recent merges.



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5582 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: hb_qsv_info_init, don't set software-only features as available if hardware is available (we only use the software implementation if no hardware implementation is available).



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5597 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: hb_qsv_info refactoring.

Rename hb_qsv_info_t.features to hb_qsv_info_t.capabilities

Group capabilities that are always found together to a single define.

Detect CPU platform earlier to be able to check for hardware-specific capabilities later on.


git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5598 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: hb_cpu_info_init, 0x6 0x46 is Haswell too.



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5599 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: add a capability for B-pyramid.



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5600 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: enc_qsv, generate our own decode time stamps when they aren't available from MediaSDK (API version < 1.6).

This restores B-frame in MP4 support for Sandy Bridge.



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5601 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: enc_qsv, set hb_job_t.areBframes.

Some muxers need this information.



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5602 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: fix stupid bug in SVN commit 5601.



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5603 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: fix another stupid bug.

Sorry.



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5604 b64f7644-9d1e-0410-96f1-a4d463321fa5