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.

[DM3730] Problems displaying rotated images

Hi, I am using dmai to do capture and displaying.

I have some issues rotating 270 degrees for the image to display on the lcd screen for the dm3730evm.

pink and black thick lines appear on screen instead of capture image.

In my bootargs, I included omapfb.rotate=3 omapfb.rotate_type=1 omap_vout.vid1_static_vrfb_alloc=y omapfb.vram=0:4M omapfb.mode=dvi:720X480@60

Can someone help me. Thanks.

cAttrs.numBufs = NUM_CAPTURE_BUFS;

cAttrs.colorSpace = ColorSpace_UYUY;

cAttrs.videoStd = videoStd;

cAttrs.videoInput = Capture_Input_COMPOSITE;

dAttrs.numBufs = NUM_DISPLAY_BUFS;

dAttrs.colorSpace = ColorSpace_UYUY;

dAttrs.videoStd = videoStd;

dAttrs.videoOutput = Display_Output_LCD;

dAttrs.rotation=270; // pink and green thick lines appear on screen instead of capture image.

  • Hi Teo,

    Your boot arguments seems correct. Could you describe your environment and what you are doing step by step? I guess that something with color space or buffer dimensions is not correct.

    BR

    Tsvetolin Shulev

  • Hi. I am coding this on Linux platform using dvsdk4.03.

    I am trying to capture input from the camera, encode the frames with h264 and display it on the lcd screen. Apparently, the image that is captured and displayed is having the width and height opposite of the lcd screen. I have to rotate it in the dAttrs but then it results in weird lines.

    If it is without the encoding and the rotation, with just only capturing and displaying the output, it is able to display what the camera is taking in the wrong orientation.

    My code is in http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/537/t/372330.aspx for reference.