Derek Leach
|
RE: Is there any frame buffer concept in QNX Display Driver ?
|
Derek Leach
02/15/2011 8:53 AM
post83173
|
RE: Is there any frame buffer concept in QNX Display Driver ?
Hi Takshi,
I am just hijacking this thread for a minute ... :)
>> Takshi Pandey wrote:
>>> I could run the 2D demo app VSYNC and it is running fine. Although,
I need
>> to slay the Photon app for this VSYNC to run coz it goes and attach
to the
>> same layer that Photon runs on otherwise fails saying layer attach
failed.
>>> I could not see (~/src/video/photon/SDL_ph_video.c ) in my entire
project
>> and thats what is surprising me how the display is working.
You can run vsync on another layer if your devg supports multi-layers:
vsync 0 <- layer 0
vsync 1 <- layer 1
vsync 2 <- layer 2
OR like I mentioned to Raj, you can create a hybrid GF/Photon
application as well,
which means you can run all those GF applications on the same layer as
Photon, in
a Photon window.
Takshi and Raj, I still do not have a clear understanding about what you
want with "video".
Do you just want to play a video file, like a .mpg ... or do you want to
stream it
from a video capture device on your hardware, or do you want to stream a
MPEG stream
from a network connection?
Armin's SDL is great ... I am just trying what to understand what you
are asking for.
-Derek
>>
>> OK ... Photon is available. So download the sources of SDL 1.3 and
>> recompile it and you will get a "frame buffer"
>>
>> --Armin
>>
>>> I am working with OS QNX6.5.
>>>
>>> Regards,
>>>
>>>> Takshi Pandey wrote:
>>>>> Thanks Armin for the reply. The link that you shared seems that
SDL takes
>>>> care of everything as far as playing Audio/Video is concern. But I
somehow
>>>> could not relate this to the devg-xxx.so display driver. I could
not see
>> any
>>>> references to SDL libraries in the display driver.
>>>>> The surprising this is that I could see something on the OMAP2430
LCD
>> panel
>>>> (running a simple demo app) despite not seeing any references to
SDL in my
>>>> display driver.
>>>>> My question are :
>>>>> 1) From where the display driver is rendering the image?
>>>> SDL is using low level calls of the Photon API in order to create
>>>> something like a frame buffer interface.
>>>> (~/src/video/photon/SDL_ph_video.c )
>>>>
>>>> Doesn't the BSP of the OMAP2430 support Photon ?
>>>>
>>>> --Armin
>>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>>
>>> Advanced Graphics
>>> http://community.qnx.com/sf/go/post83135
>>>
>>>
>
>
>
>
>
> _______________________________________________
>
> Advanced Graphics
> http://community.qnx.com/sf/go/post83153
>
>
_______________________________________________
Advanced Graphics
http://community.qnx.com/sf/go/post83157
|
|
|