QSV: MFX_CODINGOPTION_UNKNOWN means up to runtime/MSDK

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5702 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: message is aligned for already used case

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5706 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: improve PTS save/restore workaround.

It still sucks, but a bit less than before.



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5707 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: interlaced encoding support.

Includes a facility which lets encode request specific aligned width and height (alignment may be higher or lower than that of the input).



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5708 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: added helper timing/debug methods for measuring in [us]

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5712 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: decode speed improvements

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5715 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: add short nmes for options with names tha may be considered "long".

Use the same option name as x264 for options that have the exact same meaning (ref, keyint).



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5716 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: fix some hangs caused by running out of resources.

Be more convervative than before with the full QSV path, and less conservative with encode-only, as it seems to work fine.



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5717 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: disable MBBRC/ExtBRC support for software implementation.

Release notes for the SDK/software mentions that they are "not supported by encoders", and testing with software implementations of API 1.6 and 1.7 shows that regardless of what value is specified for either option (unknown, on or off), MediaSDK always resets them to unknown.



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5718 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: revert broken part of previous commit.



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



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5721 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: RB 558, bump libav up to 9.6

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5723 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: RB 558, bump libav up to 9.6, fix: added new files

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5724 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: adjustments for .ts container processing where SPS/PPS is not at the begin, broken stream

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5725 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: fix possible pointer dereference.

This was causing crashes when canceling an encode partway through.



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5726 b64f7644-9d1e-0410-96f1-a4d463321fa5
QSV: update the condition to reclaim QSV resources when doing point 2 point encoding.

HB_VCODEC_QSV_H264 and the QSV context being non-NULL are both true even when --disable-qsv-decoding is used, so we need to check the presence of the QSV atom (NULL at this point if decoding is done via software).



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