Read-only archive of the All About Symbian forum (2001–2013) · About this archive

pass a pointer to the phone's memory buffer

6 replies · 2,456 views · Started 17 September 2003

Hello. 😃

Anyone know how to pass a pointer to the phone's buffer?
Any example source code on it?
I am trying to pass a ponter to phone's buffer to render uploaded graphic.

Thank to all willing to help...... 😊

Which/what particular "the phone's buffer" do you mean, exactly? What's the pointer pointing to?

I.e., would you care to elaborate on what you're really attempting to do?

Perhaps post some code fragment that illustrates it and shows what your're struggling with (I'm struggling with understanding the whole question 😉 ).

The phone�s buffer is memory buffer of the phone.

The project I am trying to do now is try to render a interactive high-end graphic on mobile phone.

At first I need to prepare graphic(compression) and send it into byte stream via GPRS to the phone�s buffer(have to pass a pointer to the phone memory buffer to render the uploaded graphic) .After then v can do the decompression inside the buffer.

Compression (byte stream) -->GPRS Connection --> Pointer to buffer to render uploaded graphic --> Decompression�

I am struggling too. No idea on how to implement this project. As there is not much time left.If u still not very understand thn I will try to explain more abt it.....

ThanK a lot. Ur reply and help is very important for me.

The reason I pass the pointer to the buffer because I want to make the graphic rendering faster without go through buffering but go directly to the phone momory buffer(video buffer). So anyone got idea on how to do it?

Search this forum for 'Direct screen access'. This topic has been discussed many times before.

I would also suggest that you give better descriptions of your problems in the future. You will get more help if the people can understand the question.

I also facing the same problem....can not solve it....

anyone got some example code on how to pass a pointer to the video frame buffer or access the memory address of the frame buffer using the UserSvr::ScreenInfo() function ?

Thanks in advance,

kent

i have read quite a bit of documentation, but none seem to be aimed at the p800....UserSvr::ScreenInfo() returns a valid video memory adress, but when i try to read or write to it, my program crashes...so i guess its not supported on the p800? or is there something i am doing wrong? how can i get this memory availavble to my apps?

thanks.
KLM