Hi!
I'm want to get the YUV4:2:2 data from DM365,the default format is YUV420.
How do I configure SDK?
Let the work flow as follows:
Tvp5150->isif->ddr .
Best regards,
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.
Hi!
I'm want to get the YUV4:2:2 data from DM365,the default format is YUV420.
How do I configure SDK?
Let the work flow as follows:
Tvp5150->isif->ddr .
Best regards,
Hey,
You can capture yuv422 from dm365 VPFE. You can choose to get it from ISIF or IPIPE/RESIZER. You have to provide more details on how you are capturing frames.
Hi Nagabhushana,
Sorry for the late reply. I confirm
I'm found the video jitter in demo test ,So i want to collection the YUV4:2:2 format data from camera,and store it to disk for check the video quality.
Can you tell me how to configure previewer drvier and resizer drvier or SDK parameters to realize the above?
my SDK version is dvsdk_2_10_00_17.
Best regards,
I am not sure about SDK. But, I believe it comes with sample/demo applications to capture yuv422 frames from VPFE.
Else, you can always refer them here -
http://arago-project.org/git/projects/?p=examples-davinci.git;a=tree;f=imp-prev-rsz/dm365;h=ece3d74e5f650a3f429999ccfe04ec1f36dea6d5;hb=ffbe85626735f3773801811a3e58d6f17e17bbe7
Hi Nagabhushana,
My english is very bad,i confirm.
I have seen you said list of code,these code running in DVSDK 4.0,but my dvsdk version is 2.10.
Apps building need some header files of DVSDK 4.0.
For example,demo build in dvsdk 4.0 below is "#include <media/davinci/ccdc_dm365.h>", but it is below in the dvsdk 2.10 is
"#include <media/davinci/dm365_ccdc.h>".
How to do it?
Regards,
Z_Star,
What about demo/sample applications in SDK you are referring to? Generally, SDK comes with sample applications. If applications are running fine, I can assist you in changing them to capture frames(if needed).
Hi Nagabhushana,
Sorry for the late reply.
I want to capture raw data use v4l2 driver. (interlace and YUV422)
I want skip previewer driver and resizer driver,but i don't know how to configure it .Or give me a code examples.
Can you tell me where (previewer or resizer) is the processing two field changing to one frame ?
Best regards,
Z_Star,
z_star
,fy z_star79303 said:Sorry for the late reply.
I want to capture raw data use v4l2 driver. (interlace and YUV422)
When you say 'raw', do you mean bayer format from sensors? You can find sample applications to capture that too. For yuv422 capture, applications are available in the link I provided you. You can just modify them to capture from CCDC without previewer and reszier connected. In bootargs, if dm365_ipipe.oper_mode=0, just set it to 1 if you don't want
resizer and previewer in chained mode.
fy z_star79303 said:Can you tell me where (previewer or resizer) is the processing two field changing to one frame ?
In vpfe_capture.c if you follow ISR implementations, you will get the idea how software combines two fields before user dequeuing the buffer. Also, in dm365_ccdc.h, there is a register setting for interlaced capture. You need to refer that.
Hi ,
Thanks for you reply.
For your reply,i have some question.
1. "oper_mode=0" is equal to on-the-fly mode?if i want lets work in single-shot mode i will set it to 1 ?
2.chained mode is what means?(on-the-fly ?)
best regards,
Z_Star
fy z_star79303 said:1. "oper_mode=0" is equal to on-the-fly mode?if i want lets work in single-shot mode i will set it to 1 ?
Yes, Yes
fy z_star79303 said:2.chained mode is what means?(on-the-fly ?)
Yes
Hi,
Nagabhushana,
I capture the video data from Tvp5150,Can I save it to the memory.
tvp5150->isif->ddr->store
tvp5150->ddr->store
regards,
Z_Star
You can refer to SaveYUVImage() in http://arago-project.org/git/projects/?p=examples-davinci.git;a=blob;f=imp-prev-rsz/dm365/capture_prev_rsz_onthe_fly_bayer_mew.c;h=3a0e36fb10077781083a0d20dfb866d8d2b3aa40;hb=ffbe85626735f3773801811a3e58d6f17e17bbe7
Also, you can use YUV player from here to preview the contents saved in file - http://www.yuvplayer.com/
Nagabhushana,
I have see capture_prev_rsz_onthe_fly_bayer_mew.c demo ,i found it use MT9T031or MT9P031 when i read it ,but i am capture device is ccd camera.
Them are the same?
When i using resizer de-interlacing and change yuv422 to yuv420 on dm365,data is how to deal with?
two field -> one frame (de-interlace) discard one field ?
best regards,
Z_Star,
Hey,
I suggested you to refer the code which stores video frames to file. Thats all.
Can you be more detailed about your yuv422 to yuv420sp requirements?
Hi,
Nagabhushana,
I want to know the detailed data collection process,from ccd camera to ddr.
ccd camera -> tvp5150 ->isif -> ipipe( previewer -> resizer ) -> ddr -> codec engine.
pls tell me the data is how to change,because i found have a litte jitter of the video in my test (DM365).
I am very sorry,if i can say chinese ,i'll tell more detail about of my question.
Codec engine only accept YUV420 format data?
best regards,
Z_Star,
Hi,
Great Nagabhushana,
I get the original data(UYVY and interlace),and using software to transform it into the yuv420 format.
Now,i have another question to ask you,how to change encoding mode to interlaced encode.
inputContentType = IVIDEO_INTERLACED;
And then?