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.

Application issue in saLoopBack

Other Parts Discussed in Thread: TVP5150, TVP7002

Hi,

I am using the DM8168 processor with Silicon revision 2.1. The EZSDK version is 5_05_02_00 and my Linux version linux-2.6.37-psp04.04.00.01. I am using TVP5150 chip and OV7725 CMOS camera for streaming. I am using saLoopBack application to capture the same.

I have modified the application source as per my input devices. When I am trying run the application, I can able to see my streaming display in the HDMI with the resolution of 720x480 and 720x576 as well.

But I want to display my streaming in HDMI with 1080p, 720p resolution and to display the same in  my LCD also (800x480).

Please let me know in which I have to change in the source code (Application / driver) to make it work for the above requirement.

Thanks in advance.

Regards,
Salih

  • Hello,

    I would recommend you to check here:
    processors.wiki.ti.com/.../TI81XX_PSP_VIDEO_CAPTURE_Driver_User_Guide

    The saLoopBackFbdev and saLoopBackScale.

    BR
    Margarita
  • Hi Margarita,

    Thanks for your input. Here actually I am capturing the data from Camera as YUV and trying to display as RGB in the LCD. But I couldn't able to get the proper streaming display. But I can able to see the proper streaming display in my HDMI display.

    I am capturing the Camera data at 640x480 and trying to display at 800x480. But I couldn't able to get the proper streaming display. If I set the same resolution at both the side, I can able to the get the proper display only HDMI and not able to see in LCD.

    Please suggest me on how to solve this issue?

    Thanks in advance.

    Regards,
    Salih

  • Hello,

    You shall scale it up to the 800x480.

    Also the device name shall be /dev/video2.

     You could try to use gstreamer.

    You could check also:

    saLoopBackFbdev

    This application demonstrates simple loop back from capture to fbdev display driver. Application takes input through TVP7002 decoder on VPSS VIP port. Captured buffers are displayed using FBDEV driver. Sample application uses user pointer buffer mechanism for capture driver, and mmapped buffers for fbdev. FBDEV buffers are used as userpointer buffer for V4L2 capture. Capture driver takes YUV422 as input, converts it to RGB888 using color space converter of VIP port. Capture driver detects incoming resolution and configures capture and display driver for same resolution. For e.g. for 720P60 input resolution, Application sets the buffer size to 1280*720*3 for capture, and set the fbdev driver for RGB888 display. Application changes the display resolution to 720P60 using the sysfs entry.



    BR
    Margarita

  • Hi,

    Thanks for your input. I have tried with G-streamer, since we are using TVP5150 chip, there is a lot of changes need to be done in driver. So, I will go with application only.

    Are you sure, the device node will /dev/video2 for LCD (DVO2). I have changed the same and tried.

    But still I am getting the same issue. I have gone through the display driver (ti81xxvid_main.c). They are setting 16 bits per pixel for V4L2_PIX_FMT_YUYV pixel format. In my application, even if I set the bpp either as 16/24/32, I can able get the proper display in HDMI irrespective of this bits per pixel. But in case of LCD, I am not at all getting proper display even if I set bpp as 16/24/32.

    Please suggest me any solution on which settings should I do it with my application and driver.

    Thanks in advance.

    Regards,
    Salih

  • Hello,

    I would recommend you to check this guide as well:
    processors.wiki.ti.com/.../TI81XX_PSP_VPSS_Video_Driver_User_Guide

    BR
    Margarita