videoSetSharpening(3mms) — Subroutines
Name
videoSetSharpening --- Set current sharpening value
Syntax
#include <mme/mme_api.h>
MMRESULT videoSetSharpening(HVIDEO hVideo,
DWORD dwSharpening);
Arguments
HVIDEO hVideo
Specifies a handle to a video device channel.
DWORD dwSharpening
Specifies the sharpening value. This value ranges from 0 to 10,000.
Description
The videoSetSharpening function sets the current saturation value. This saturation value is applied to the 8-bit X image data returned to the application. This request is not supported for video playback using a single buffer.
Extensions
The videoSetSharpening function is a Digital extension to the Microsoft multimedia API specification.
Return Values
Returns DV_ERR_OK if the function is successful; otherwise, it returns one of the following error codes:
DV_ERR_INVALHANDLE@T{ The specified device handle is invalid. T} DV_ERR_PARAM1@T{ The specified parameter is invalid. T} DV_ERR_NOTSUPPORTED@T{ The function is not supported. T}