Minor fixups

This commit is contained in:
Robert Schulze 2024-02-21 16:24:22 +00:00
parent 310aff9b6f
commit 3e9a05d1ad
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A
2 changed files with 1 additions and 3 deletions

View File

@ -228,7 +228,7 @@ Int32 HardwareCodecDeflateQpl::doDecompressDataSynchronous(const char * source,
{
_tpause(1, __rdtsc() + 1000);
status = qpl_check_job(job_ptr);
}while (status == QPL_STS_BEING_PROCESSED);
} while (status == QPL_STS_BEING_PROCESSED);
if (status != QPL_STS_OK)
{

View File

@ -65,8 +65,6 @@ class HardwareCodecDeflateQpl
public:
/// RET_ERROR stands for hardware codec fail, needs fallback to software codec.
static constexpr Int32 RET_ERROR = -1;
/// Maximum times to check if hardware job complete, otherwise fallback to software codec.
static constexpr UInt32 MAX_CHECKS = UINT16_MAX;
HardwareCodecDeflateQpl(SoftwareCodecDeflateQpl & sw_codec_);
~HardwareCodecDeflateQpl();