I am working on TDA2X, I am trying to convert YUV422I YUYV image to gray image, and displaying both YUV422I YUYV image and Gray image on display, So can I use Merge link to display both input and output image on single Display.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I am working on TDA2X, I am trying to convert YUV422I YUYV image to gray image, and displaying both YUV422I YUYV image and Gray image on display, So can I use Merge link to display both input and output image on single Display.
You could use two different video pipeline to display them..
But please note that, gray scale format is not supported.
Rgds,
Brijesh
Earlier I was using 2 video pipeline, Dislay_Lcd Display_HDMI, Can I Display both original and Gray Image in single Display using Merge Link
NullSource -> VPE -> Dup -> Alg_ColorToGray (DSP1) -> Merge_alg
Dup -> Merge
Merge -> Display
GrpxSrc -> Display_Grpx
No, that's what i was saying..
Merge cannot merge channels into single buffer..
Merge ink is used t merge channels into single outut Q. So if I Merge channels from Algorithm Link and Dup link into single output Q and sends data to display Link then can I display 2 Images on the screen.
Please refer below usecase configuration.
NullSource -> VPE -> Dup -> Alg_ColorToGray (DSP1) -> Merge
Dup -> Merge
Merge -> Display
GrpxSrc -> Display_Grpx
No, display links displays only from one channel and merge will not merge channels into single buffer/channel..
I am referring Architecture document, where it is given that
•Does not “sync” or “group” multiple CHs, only “forwards” a individual buffer after manipulating CH ID
•Purpose is to “merge” input buffers from multiple producers and “forward” as a single “connection” or Q to next “consumer”
Architecture document is correct, it just merges input queues into single queue, but does not merge channels into single channel.. Display can display only from one channel.
I am not getting why you can't use two display pipelines..
NullSrc->VPE->Dup->Alg_colortogray->Display_1
Dup->Display_2
eariler I was using this usecase, is it correct
Well, usecase is correct, but note that display can only display yuv or rgb data, cannot directly display grey data. this is nothing to do with merge link.
Ok. Can you guide me what different parameters should be there for two display pipelines. are they different from Single display pipeline?
Do I have to set display Width and Height for each display pipeline?
Or Just I have to set posX and posY for each Display pipeline and other will remain same.?
You need to set all parameters for all used pipelines. Please refer to any of the existing usecase and set all parameters.
Can you suggest me usecase which I can refer?
Also what will be Display width and Display Height for both pipelines ? Is it half of the normal display?
You can take any example, and look for display parameter initialization in the usecease. The same needs to be done for both the paths.
Rgds,
Brijesh
Hello Birjesh,
I have taken reference from lvds_vip_multi_cam_view_tda3xx and created usecase.
Thank You.
Hi Vipul,
so does it work fine for you? Please close the thread, if it is.
Rgds,
Brijesh
I am facing one run time error while Running chains_main_bios_misc.c file.
While Running Usecase I am getting error as "Unsupported option" in chains_main_bios_misc.c file inVoid Chains_menuMiscTestRun() function while selecting my Usecase function.
Check this api and see if you are missing 'break' statement in switch-case statements.