Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the channel matrix.
Syntax
HRESULT SetUserChannelMtx(
[in] ChMtxType *userChannelMtx
);
Parameters
[in] userChannelMtx
Pointer to an array of floating-point values that represents a channel conversion matrix.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
Remarks
This method is equivalent to setting the MFPKEY_WMRESAMP_CHANNELMTX property, except that the matrix is represented differently:
- Values are floating point.
- The matrix is transposed.
(float)pow(10.0,((double)Coeff)/(65536.0*20.0))
where Coeff is an integer coefficient.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | wmcodecdsp.h |