IltmmCapture::get_DVDecoderResolution Example for C
// This function will change the small resolution
// into the second highest resolution
void SetupDV(IltmmCapture *pCapture)
{
ltmmDVResolution res;
IltmmCapture__get_DVDecoderResolution(pCapture, &res);
if(res == ltmmDVResolution_DC)
IltmmCapture__put_DVDecoderResolution(pCapture, ltmmDVResolution_Quarter);
if(res == ltmmDVResolution_Quarter)
IltmmCapture__put_DVDecoderResolution (pCapture, ltmmDVResolution_Half);
if(res == ltmmDVResolution_Half)
IltmmCapture__put_DVDecoderResolution (pCapture, ltmmDVResolution_Full);
}
This function will change the small resolution into the second highest resolution.
L_MULTIMEDIATEX_API void IltmmCapture_get_DVDecoderResolution_Example (IltmmCapture* pCapture) { ltmmDVResolution res; IltmmCapture_get_DVDecoderResolution(pCapture, &res); if(res == ltmmDVResolution_DC) IltmmCapture_put_DVDecoderResolution(pCapture, ltmmDVResolution_Quarter); if(res == ltmmDVResolution_Quarter) IltmmCapture_put_DVDecoderResolution (pCapture, ltmmDVResolution_Half); if(res == ltmmDVResolution_Half) IltmmCapture_put_DVDecoderResolution (pCapture, ltmmDVResolution_Full); }