Hi,
I would like to raise the problem related to DM365 resizer issue.
I want to resize image located in SDRAM and put it back to SDRAM. The resizer works fine as long as input format is IPIPE_UYVY.
But when I am trying to resize image in ColorSpace_YUV420PSEMI format I am getting a very odd output. Output image after resizing contains 2 images one after another squeezed in horizontal direction (refer to image below).
According to section "4.7.15 4:2:0 Input Mode" from Video Processing Front End Users Guide the resizer actually can process 420 image data. Unfortunately, source code provided with DVSDK (dvsdk_2_10_01_18\dmai_1_21_00_10\packages\ti\sdo\dmai\linux\dm365\Resize.c) does not support ColorSpace_YUV420PSEMI directly. Therefore, I have modified the corresponding function in Resize.c by adding IPIPE_420SP_Y input format in order to achieve at least luma-component resizing. But without any success. Could you please tell me where have I made a mistake ?
This problem was previously discussed in Video upscaling on DM365, but no solution was provided.
I can provide sample source code, thought it looks like it is impossible to attach it to the message. Please excuse me for providing links to filehosting services.
This is a resizer source code.
Usage example: ./resizer ./dreamtime720x480.yuv ./test.yuv 1 1