Need Help Urgent!!! Stereo movie Play... Log Out | Topics | Search
Moderators | Register | Edit Profile

stereo3d.com webboard » 3D Movies & Video » Need Help Urgent!!! Stereo movie Player enabling Nvidia Driver. Please do reply!! « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Prama Anand (Prama)
New member
Username: Prama

Post Number: 1
Registered: 2-2010

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 09, 2010 - 11:12 pm:   Edit PostDelete PostView Post/Check IPPrint Post

Hi,

I am trying to implement a Stereo Movieplayer using nvidia drivers(HW page flip). I downloaded the NVAPI.h and enabled the driver.(don't know if that really helped)and using directx , i created two surfaces.left and right. Stretched the video surface into the back buffer.locked em and use the stereo signature. This works for images. It's horribly slow though. However,I want to do it for 2 videos.I have the right and left ones.
I need advice as to how I should load the videos on the surface(direct show? DirectDraw?) use the drivers to perform HW page flip?

Any help would be greatly appreciated.
Thank u!
Top of pagePrevious messageNext messageBottom of page Link to this message

Prama Anand (Prama)
New member
Username: Prama

Post Number: 2
Registered: 2-2010

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, February 09, 2010 - 11:30 pm:   Edit PostDelete PostView Post/Check IPPrint Post

The way i do it is

gImageSrc->LockRect(&lr,NULL,0);
LPNVSTEREOIMAGEHEADER pSIH =
(LPNVSTEREOIMAGEHEADER)(((unsigned char *) lr.pBits) + (lr.Pitch * (gImageHeight)));


pSIH->dwSignature = NVSTEREO_IMAGE_SIGNATURE;
pSIH->dwBPP = 32;
pSIH->dwFlags = SIH_SWAP_EYES;
pSIH->dwWidth = gImageWidth*2;
pSIH->dwHeight = gImageHeight;

gImageSrc->UnlockRect();

I need to do it for videos. Please help!! This works but it damn slow.

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image

Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | User List | Help/Instructions | Program Credits Administration