Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > New and alternative video codecs

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 14th March 2009, 04:17   #11  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
gpD3D->GetAdapterCount() returns the number of video adapters in the machine.
gpD3D->GetAdapterIdentifier() fills out a D3DADAPTER_IDENTIFIER9 struct for a specific adapter.
cuD3D9GetDevice checks if a given device supports CUDA.
Basically the code iterates through each video adapter in the system until it finds one that supports CUDA. Then uses the given adapter number as the first parameter when calling gpD3D->CreateDevice instead of D3DADAPTER_DEFAULT.
squid_80 is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:32.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.