Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XVideo for Solaris 8

Status
Not open for further replies.

SoumyaSrinivas

Programmer
Jun 18, 2003
4
IN
My application requires that i get a direct pointer to my drawing surfaces
(overlay surface)
such that i can just write pixel by pixel myself.
If im not wrong, I think XVideo has some APIs like XvWritePixel() to write a
pixel.
Instead I need a pointer to the surface.. say surface->pixels where i can
just write *(surface->pixels)=0xFF000000 .. etc.

This feature is very much required for my application because i will need to
DMA the data (pixels) directly to the hardware memory. For that i need to
pass this memory address of the frame buffer (surface->pixels here) for my
DMA API.

Does XVideo library gives me a pointer to the buffer for direct access?
thereby providing me this kinda low level access? Any idea on this will be
of gr8 help,

Thanx so much again..

Soumya.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top