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.

AM5728: VPS height max size

Part Number: AM5728

processor_sdk_rtos_am57xx_3_01_00_06

Height Max size default to 1920. now customer need to support 2400.

Tried to modify VPS driver Height MAXSIZE to 2400 as below,

(c file)

VPS driver behave abnormal, keep output:

“captdrv/src/vpsdrv_captureApi.c@ Line 267: DEVICE_INUSE: Driver instance already created!! ”

The message comes from VPS driver as below:

Is the VPS hardware limitation or driver limitation, can VPS support 2400x2400? If can, how to modify the driver?

  • Hi Tony,

    According to the AM572x TRM section 1.3.8, it is the VPS hardware limitation, even though the video capture (1.3.9) supports higher resolution :

    1.3.8 Video Processing Subsystem

    The video processing engine (VPE) module provides support for the following memory-to-memory

    operations:

    • Reads of raster or tiled YUV420 coplanar, YUV422 coplanar, or YUV422 interleaved video

    • Deinterlacing up to two 1080i @60fps video streams

    • Scaling up to 1080p (1920x1080 resolution) of the input video

    • Chroma up- and downsampling

    • VC-1 Range Mapping and Range Reduction

    • Color space conversion

    • Writes of the resulting video in YUV420 coplanar (raster or tiled), YUV422 coplanar (raster or tiled),

    YUV422 interleaved (raster or tiled), YUV444 single plane (raster only), or RGB888 (raster only).

    Ming

     

  • Hi Tony,

    I just noticed that they wanted to change the Height from 1080 to 2400. The maximum frame height is 2048 which is less than 2400.

    Just for your information, maximum frame width is 4096

    The AM571x TRM did not specify the maximum width and height, but AM572x TRM does (10.3.9.6.1.5.1.2 Frame Height and 10.3.9.6.1.5.1.1 Frame Width).

    Ming

  • Thanks Ming.

    paste the snapshot for reference.