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.

osd window width set

hi all.i see that default value of  the osd window maxWidth parameter is 320.

dspAlgPrm[0].osdChCreateParams[chId].maxWidth  = EXAMPLE_OSD_WIN_MAX_WIDTH;

but when i change the EXAMPLE_OSD_WIN_MAX_WIDTH  vaule to do some test. i found i just can change it to 720 (max),if over the 720 ,the system will be stop down?so why

  • Hello,

    What is the software release that you are using here?

    BR

    Margarita

  • hi Margarita ,thanks for your answer.i used the RDK 4.0

  • if i change the macro to 1920,it will be following,and had no video 

    [c6xdsp ] IPC_FRAMES_IN:HEAPID:0 USED:304
    [m3vpss ] SWMS:HEAPID:0 USED:224
    [c6xdsp ] 12613: IPC_FRAMES_IN : Create Done !!!
    [m3vpss ] SWMS:HEAPID:1 USED:47296
    [c6xdsp ] 12613: ALG : Create in progress !!!
    [m3vpss ] SWMS:HEAPID:4 USED:16588800
    [m3vpss ] 14281: SWMS: Create Done !!!
    [m3vpss ] 14281: IPC_FRAMES_OUT : Create in progress !!!
    [c6xdsp ] 12623: ALG : Create Done !!!
    [m3vpss ] 14283: IPC_FRAMES_OUT : Create Done !!!
    [m3vpss ] 14297: DISPLAY: Create in progress !!!
    [m3vpss ] 14298: DISPLAY: Create Done !!!
    [m3vpss ] 14299: SWMS : ******* Configuring clock 15 secs...
    [m3vpss ] 14299: SWMS0 : Loading Vertical Co-effs (UPSCALE)x ...
    [m3vpss ] 14299: SWMS0 : Loading Horizontal Co-effs (UPSCALE)x ...
    [m3vpss ] 14299: SWMS : Co-effs Loading ... DONE !!!
    [m3vpss ]
    [m3vpss ] *** [SWMS0] Mosaic Parameters ***
    [m3vpss ]
    [m3vpss ] Output FPS: 60
    [m3vpss ]
    [m3vpss ] Win | Ch | Input | Input | Input | Input | Output | Output | Output | Output | Low Cost | SWMS | Data | Blank |
    [m3vpss ] Num | Num | Start X, Y | Width x Height | Pitch Y / C | Memory Type | Start X, Y | Width x Height | Pitch Y / C | Memory Type | ON / OFF | Inst | Format| Frame |
    [m3vpss ] ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    [m3vpss ] 0 | 0 | 0, 0 | 1920 x 1080 | 1920 / 1920 | NON-TILED | 0, 0 | 1920 x 1080 | 3840 / 0 | NON-TILED | OFF | 0 | 420SP | OFF |
    [m3vpss ]
    [m3vpss ] 14375: DISPLAY: Start in progress !!!
    [m3vpss ] 14433: DISPLAY: Start Done !!!
    [m3vpss ] 14433: DISPLAY: HDDAC(BP0) : 34 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 255 / 0 ) DropCount:0 DispLatency (Min / Max) = ( 7811 / 0 ) !!!
    [m3vpss ] 14433: DISPLAY DRV: HDDAC(BP0) : Q:[2] Display:[2], Repeat:[1], DQ:[0]
    [m3vpss ] 14433: DISPLAY: UNDERFLOW COUNT: HDMI(BP0) 1, HDDAC(BP0) 1, DVO2(BP1) 1, SDDAC(SEC1) 1
    [m3vpss ] 14434: SYSTEM : FREE SPACE : System Heap = 67696 B, Mbx = 10238 msgs)
    [m3vpss ] 14434: SYSTEM : FREE SPACE : SR0 Heap = 8661888 B (8 MB)
    [m3vpss ] 14434: SYSTEM : FREE SPACE : Frame Buffer = 185138048 B (176 MB)
    [m3vpss ] 14434: SYSTEM : FREE SPACE : Bitstream Buffer = 208666496 B (198 MB)
    [m3vpss ] TILER_STATS: CNT :8BIT
    [m3vpss ] 14434: SWMS: Start in Progress !!!
    [m3vpss ] 14434: SWMS: Start Done !!!
    [m3vpss ] TILER_STATS: CNT RESOLUTION: 16384 x 8192
    [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 8188
    [m3vpss ] TILER_STATS: NUM FREE BUCKETS: 1
    [m3vpss ] TILER_STATS: NUM USED BUCKETS: 0
    [m3vpss ] TILER_STATS: TOTAL FREE AREA: 134152192 (99 %)
    [m3vpss ] TILER_STATS: TOTAL USED AREA: 0 (0 %)
    [m3vpss ] TILER_STATS: CNT :16BIT
    [m3vpss ] TILER_STATS: CNT RESOLUTION: 32768 x 3072
    [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 3072
    [m3vpss ] TILER_STATS: NUM FREE BUCKETS: 1
    [m3vpss ] TILER_STATS: NUM USED BUCKETS: 0
    [m3vpss ] TILER_STATS: TOTAL FREE AREA: 100663296 (100 %)
    [m3vpss ] TILER_STATS: TOTAL USED AREA: 0 (0 %)
    [m3vpss ] 14436: SYSTEM : FREE SPACE : Tiler 8-bit = 134152192 B (127 MB) - TILER ON
    [m3vpss ] 14436: SYSTEM : FREE SPACE : Tiler 16-bit = 100663296 B (96 MB) - TILER ON

    [host] IpcBitsInLink_tskMain:Entered

  • SWOSD maxWIdth is set to 720 in

    /dvr_rdk/mcfw/src_bios6/alg/swosd/sw_osd.h

    #define SWOSD_MAX_WIDTH (720)

     

    You can try changing that but I am not sure if it will work. SWOSD requires L2SRAM for blending and you may face memory allocation failure if you try to allocate FHD width