Hi,
I am working on DM365 custom hardware. Using the DVSDK 4.02 with kernel 2.6.32.17.
I have the following requirement:
1. I have a camera connected to dm365 (YUV422 data). I need 2 resize outputs.
2. I want one resizer to only color convert from YUV422 to NV12 so that I can feed it to the encoder.
3. There is an LCD connected to the dm365. I want the other resizer to resize the camera output to required size and display it on the LCD.
To check the working of both resizers, I have written an application using the capture_prev_rsz_ss_raw_yuv.c (present in DVSDK under the psp/linux-driver-examples).
This application does the following:
capture ----> RSZA --> VID0
|--> RSZB --> VID1
I have enabled both the resizers.
rsz_ss_config.output1.pix_fmt = IPIPE_UYVY;
rsz_ss_config.output1.enable = 1;
rsz_ss_config.output1.width = OUT0_WIDTH;
rsz_ss_config.output1.height = OUT0_HEIGHT;
rsz_ss_config.output2.enable = 1;
rsz_ss_config.output2.width = OUT1_WIDTH;
rsz_ss_config.output2.height = OUT1_HEIGHT;
rsz_ss_config.output2.pix_fmt = IPIPE_UYVY;
I am running the application for 500 frames.
The problem is that the application gets stuck sometimes.
It completes 500 frames very rarely.
I am not having such problems when only one resizer(i.e. RSZA) is enabled.
Any kind of help would be appreciated. Thanks in advance.
Regards,
Vibha