• Not Answered

Regarding V4l2 sample(saLoopback) modification

Hi,

I'm using EZSDK - ti-ezsdk_dm816x-evm_5_03_01_15, and I also use PSP linux-04.00.02.14 version on 8168EVM and VC board.

saLoopback sample application is working well with capture resolution 1080i. ( in the test, I use Sony Camcorder. )

My scenario is Capture --> some image processing() --> display.

Question are.

1) Is it possible to change capture resolution? 1080i to 640*480, 1280*720

    1080i resolution is too big to process data, so the processing delay is too high (My application is run only on Arm.)

    So I want to capture small size even if the Camera only support 1080i.

2) With saLoopback application. How can I use OMAX component to process data? What is the best reference code?

3) How can I use C6Accelator libray with saLoopback application?

 

Thanks.

Jongpil

 

2 Replies

  • Hi,

    Capture driver supports 720P, 1080i and 1080P resolution. You can do down scaling on 720P resolution. Scaling is not possible with interlaced capture.  You can feed in 720P and scale it down to VGA and then do image processing.

    Jongpil Won
    How can I use C6Accelator libray with saLoopback application?

    We are developing gstreamer pluggin for doing encode of captured data.

    I am not sure about your second question.

    Regards,

    Hardik Shah

  • In reply to HardikShah:

    Hi Hardik,

    You mentioned, "Capture driver supports 720P, 1080i and 1080P resolution. You can do down scaling on 720P resolution. Scaling is not possible with interlaced capture.  You can feed in 720P and scale it down to VGA and then do image processing.".

    When capture device(e.g. Camera)  only support 1080i not 720P, can capture driver supports 720p?

    1.Capture driver format never changed.

    I set the driver value and get value to check the change like below, 

    VIDIOC_G_FMT --> VIDIOC_S_FMT(with width=1280, height=720) --> VIDIOC_G_FMT

    But Capture driver value is never chagned. Only display driver values are changed.

    The imagesize value of capture is the same with the 1080i settings.
    =============================================================
    Capture Format Format:
    =============================================================
    fmt.type                 = 1
    fmt.width                = 1920
    fmt.height               = 1080
    fmt.pixelFormat          = 1448695129
    fmt.bytesperline         = 3840
    fmt.sizeImage            = 4147200
    fmt.colorSpace           = 3
    =============================================================
    =============================================================
    Display Format Format:
    =============================================================
    fmt.type                 = 2
    fmt.width                = 1280
    fmt.height               = 720
    fmt.pixelFormat          = 1448695129
    fmt.bytesperline         = 2560
    fmt.sizeImage            = 1843200
    fmt.colorSpace           = 2
    =============================================================

    Regards,

    Jongpil