We also use a similar approach on the drivers for our Intel(r) CE Media 
Processors.  Our custom systems driver provides one screen, three encoders 
(HDMI for the HDMI signal, component for the YCBCR signal, and composite for 
both the CBVS and YC signals) and two mixers (0/Pipe A with layer visible 
controls, and 1/Pipe B which always contains the blended visible layers from 
Pipe A so it provides no layer visibility controls).  The HDMI encoder is 
always associated with mixer 0 (primary blended HD/ED/SD output), composite 
encoder is always associated with mixer 1 (secondary SD output) and component 
encoder can be assigned to receive output from either mixer 0 or 1.  Thus Pipe 
B's output (mixer 1) is the downscaled/cloned output of the main Pipe A (mixer 
0).

I would recommend investigating direct usage of the IDirectFBScreen interface.  
For example, as a start determine what the capabilities are using the 
GetDescription, GetEncoderDescriptions and GetMixerDescriptions functions.

Best Regards,
Timothy

--

Timothy Strelchun
CE Software Engineering
Digital Home Group
Intel Corporation

The views expressed above are my own and not those of Intel

________________________________

From: directfb-dev-boun...@directfb.org 
[mailto:directfb-dev-boun...@directfb.org] On Behalf Of Lionel Landwerlin
Sent: Wednesday, January 20, 2010 3:12 AM
To: YD; directfb-dev@directfb.org
Subject: Re: [directfb-dev] question about primary and secondary output 
simultaneously.


I had the same problem with an sh based chip, but I didn't find a way to clone 
the display from one output to another using the DirectFB API.
So I made it myself inside a custom gfxdriver.
The driver exposes only one screen to directfb, but 2 encoders, 2 mixers and 2 
outputs.
This lets the user define the resolution on each output.

Unfortunatly the driver is proprietary, I can provide the source code as an 
example...

--
Lionel


On Wed, Jan 20, 2010 at 11:52 AM, YD <ydg...@gmail.com> wrote:


        Hello,
        
        I am using the DirectFB for TVout.
        This chip(MIPS based) has 1 composite output 1 component output.
        
        I'd like to output both simultaneosly. But I didnot findout how.
        
        only option --dfb:primary-layer=0  ==> HD output
                        --dfb:primary-layer=1 ==> SD output
        
        Is it possible dual output at the same time ?
        please give me the recommendation.
        
        Thanks in advnace.
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to