| 58 | } |
| 59 | |
| 60 | bool CCodec_Block_4x4::SetParameter(const CMP_CHAR* pszParamName, CMP_CHAR* sValue) |
| 61 | { |
| 62 | if (strcmp(pszParamName, "UseSSE2") == 0) |
| 63 | m_bUseSSE2 = (std::stoi(sValue) > 0) ? SupportsSSE2() : false; |
| 64 | else if (strcmp(pszParamName, "UseSSE") == 0) |
| 65 | m_bUseSSE2 = (std::stoi(sValue) > 0) ? SupportsSSE() : false; |
| 66 | else |
| 67 | return CCodec_Block::SetParameter(pszParamName, sValue); |
| 68 | return true; |
| 69 | } |
| 70 | |
| 71 | bool CCodec_Block_4x4::SetParameter(const CMP_CHAR* pszParamName, CMP_DWORD dwValue) |
| 72 | { |
nothing calls this directly
no test coverage detected