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.

DM368 resizer & framebuffer display

Hi

     Help me , please.

      I use dm368 in low latency. The dvsdk num is dvsdk_dm368_4_02_00_06.There are two questions.

1. In low latency mode, slice encode and decode  are used. So the resizer  is used in slice mode ,too.

   But the data after resized, the top of line picture that in YUV 4:2:0 format is green. So it is hard to make all slices into a whole picture.  And if you make the whole picture resize,  the top of picture is also green. Do not you meet the problem before?  What can I do?

2. I want to use  video 0 or video 1 window  in framebuffer mode . It is possible ?  I use the demo fbdev_loopback.c In the dvsdk. In the function ”init_vid1_device“, the  "/dev/fb3“ report  error.  The code is below. 

1478 /* Enable the window */
1479 if (ioctl(fd, FBIOBLANK, 0))
1480 {
1481     printf("Error enabling VID1\n");
1482     return FAILURE;
1483 }

It have something wrong with bootargs? How can I set bootargs ?

Now:

1.

root@dm368-evm:/opt# cat /proc/fb
0 dm_osd0_fb
1 dm_vid0_fb
2 dm_osd1_fb
3 dm_vid1_fb

root@dm368-evm:/opt# fbset -fb /dev/fb0

mode "720x576"
geometry 720 576 720 576 16
timings 0 126 0 22 0 0 0
bcast true
laced true
rgba 5/11,6/5,5/0,0/0
endmode

root@dm368-evm:/opt# fbset -fb /dev/fb1

mode "720x576"
geometry 720 576 720 576 16
timings 0 126 0 22 0 0 0
bcast true
laced true
nonstd 1
rgba 0/0,0/0,0/0,0/0
endmode

root@dm368-evm:/opt# fbset -fb /dev/fb2

mode "720x576"
geometry 720 576 720 576 16
timings 0 126 0 22 0 0 0
bcast true
laced true
rgba 5/11,6/5,5/0,0/0
endmode

root@dm368-evm:/opt# fbset -fb /dev/fb3

mode "720x576"
geometry 720 576 720 576 16
timings 0 126 0 22 0 0 0
bcast true
laced true
nonstd 1
rgba 0/0,0/0,0/0,0/0
endmode