예제 #1
0
     /// <summary>	
     /// <p> </p><p>Retrieves the range of values for an image filter supported by this device.</p>	
     /// </summary>	
     /// <param name="filterSetting"><dd> <p>Filter setting to query. For more information, see DXVA Image Filter Settings.</p> </dd></param>	
     /// <param name="rangeRef"><dd> <p>Pointer to a <strong><see cref="SharpDX.MediaFoundation.DirectX.ValueRange"/></strong> structure that receives the range of values for the setting specified in <em>FilterSetting</em>.</p> </dd></param>	
     /// <returns><p>The method returns an <strong><see cref="SharpDX.Result"/></strong>. Possible values include, but are not limited to, those in the following table.</p><table> <tr><th>Return code</th><th>Description</th></tr> <tr><td> <dl> <dt><strong><see cref="SharpDX.Result.Ok"/></strong></dt> </dl> </td><td> <p>The method succeeded.</p> </td></tr> </table><p>?</p></returns>	
     /// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='IDirectXVideoProcessor::GetFilterPropertyRange']/*"/>	
     /// <msdn-id>ms697209</msdn-id>	
     /// <unmanaged>HRESULT IDirectXVideoProcessor::GetFilterPropertyRange([In] unsigned int FilterSetting,[Out] DXVA2_ValueRange* pRange)</unmanaged>	
     /// <unmanaged-short>IDirectXVideoProcessor::GetFilterPropertyRange</unmanaged-short>	
     public void GetFilterPropertyRange(int filterSetting, out SharpDX.MediaFoundation.DirectX.ValueRange rangeRef) {
         unsafe {
             rangeRef = new SharpDX.MediaFoundation.DirectX.ValueRange();
             SharpDX.Result __result__;
             fixed (void* rangeRef_ = &rangeRef)
                 __result__= 
 				SharpDX.MediaFoundation.LocalInterop.Calliint(_nativePointer, filterSetting, rangeRef_,((void**)(*(void**)_nativePointer))[7]);		
             __result__.CheckError();
         }
     }
예제 #2
0
 /// <summary>	
 /// <p> Retrieves the range of values for an image filter supported by a video processor device. </p>	
 /// </summary>	
 /// <param name="videoProcDeviceGuid"><dd> <p> A <see cref="System.Guid"/> that identifies the video processor device. To get the list of video processor GUIDs, call <strong><see cref="SharpDX.MediaFoundation.DirectX.VideoProcessorService.GetVideoProcessorDeviceGuids"/></strong>.</p> </dd></param>	
 /// <param name="videoDescRef"><dd> <p> A reference to a <strong><see cref="SharpDX.MediaFoundation.DirectX.VideoDesc"/></strong> structure that describes the video content. </p> </dd></param>	
 /// <param name="renderTargetFormat"><dd> <p> The format of the render target surface, specified as a <strong><see cref="SharpDX.Direct3D9.Format"/></strong> value. For more information, see the Direct3D documentation. You can also use a FOURCC code to specify a format that is not defined in the <strong><see cref="SharpDX.Direct3D9.Format"/></strong> enumeration. See Video FOURCCs. </p> </dd></param>	
 /// <param name="filterSetting"><dd> <p>The filter setting to query. See DXVA Image Filter Settings. </p> </dd></param>	
 /// <param name="rangeRef"><dd> <p> A reference to a <strong><see cref="SharpDX.MediaFoundation.DirectX.ValueRange"/></strong> structure that receives range of values for the image filter setting specified in <em>FilterSetting</em>. </p> </dd></param>	
 /// <returns><p>The method returns an <strong><see cref="SharpDX.Result"/></strong>. Possible values include, but are not limited to, those in the following table.</p><table> <tr><th>Return code</th><th>Description</th></tr> <tr><td> <dl> <dt><strong><see cref="SharpDX.Result.Ok"/></strong></dt> </dl> </td><td> <p>The method succeeded.</p> </td></tr> </table><p>?</p></returns>	
 /// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='IDirectXVideoProcessorService::GetFilterPropertyRange']/*"/>	
 /// <msdn-id>ms694173</msdn-id>	
 /// <unmanaged>HRESULT IDirectXVideoProcessorService::GetFilterPropertyRange([In] const GUID&amp; VideoProcDeviceGuid,[In] const DXVA2_VideoDesc* pVideoDesc,[In] D3DFORMAT RenderTargetFormat,[In] unsigned int FilterSetting,[Out] DXVA2_ValueRange* pRange)</unmanaged>	
 /// <unmanaged-short>IDirectXVideoProcessorService::GetFilterPropertyRange</unmanaged-short>	
 public void GetFilterPropertyRange(System.Guid videoProcDeviceGuid, ref SharpDX.MediaFoundation.DirectX.VideoDesc videoDescRef, SharpDX.Direct3D9.Format renderTargetFormat, int filterSetting, out SharpDX.MediaFoundation.DirectX.ValueRange rangeRef) {
     unsafe {
         rangeRef = new SharpDX.MediaFoundation.DirectX.ValueRange();
         SharpDX.Result __result__;
         fixed (void* videoDescRef_ = &videoDescRef)
             fixed (void* rangeRef_ = &rangeRef)
                 __result__= 
 				SharpDX.MediaFoundation.LocalInterop.Calliint(_nativePointer, &videoProcDeviceGuid, videoDescRef_, unchecked((int)renderTargetFormat), filterSetting, rangeRef_,((void**)(*(void**)_nativePointer))[10]);		
         __result__.CheckError();
     }
 }
예제 #3
0
     /// <summary>	
     /// <p> </p><p>Retrieves the range of values for a video processor (ProcAmp) setting on this video processor device.</p>	
     /// </summary>	
     /// <param name="procAmpCap"><dd> <p>The ProcAmp setting to query. See ProcAmp Settings.</p> </dd></param>	
     /// <param name="rangeRef"><dd> <p>Pointer to a <strong><see cref="SharpDX.MediaFoundation.DirectX.ValueRange"/></strong> structure that receives the range of values for the setting specified in <em>ProcAmpCaps</em>.</p> </dd></param>	
     /// <returns><p>If this method succeeds, it returns <strong><see cref="SharpDX.Result.Ok"/></strong>. Otherwise, it returns an <strong><see cref="SharpDX.Result"/></strong> error code.</p></returns>	
     /// <include file='..\..\Documentation\CodeComments.xml' path="/comments/comment[@id='IDirectXVideoProcessor::GetProcAmpRange']/*"/>	
     /// <msdn-id>ms704610</msdn-id>	
     /// <unmanaged>HRESULT IDirectXVideoProcessor::GetProcAmpRange([In] unsigned int ProcAmpCap,[Out] DXVA2_ValueRange* pRange)</unmanaged>	
     /// <unmanaged-short>IDirectXVideoProcessor::GetProcAmpRange</unmanaged-short>	
     public void GetProcAmpRange(int procAmpCap, out SharpDX.MediaFoundation.DirectX.ValueRange rangeRef) {
         unsafe {
             rangeRef = new SharpDX.MediaFoundation.DirectX.ValueRange();
             SharpDX.Result __result__;
             fixed (void* rangeRef_ = &rangeRef)
                 __result__= 
 				SharpDX.MediaFoundation.LocalInterop.Calliint(_nativePointer, procAmpCap, rangeRef_,((void**)(*(void**)_nativePointer))[6]);		
             __result__.CheckError();
         }
     }