SoumyaSrinivas
Programmer
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.
(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.