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.

TDA3MV: How to set VXLIB_scaleImageBilinear_i8u_o8u

Part Number: TDA3MV

Hello

I want to scale up 640*480 to 1280*1024.

I used VXLIB.

I set it as below and DSP died.

what is the problem..?

    /* scaleImage */
    VXLIB_bufParams2D_t src_addr;
    VXLIB_bufParams2D_t dst_addr;

    src_addr.data_type = VXLIB_UINT8;
    src_addr.dim_x = 640;
    src_addr.dim_y = 480;
    src_addr.stride_y = 640;

    dst_addr.data_type = VXLIB_UINT8;
    dst_addr.dim_x = 1280;
    dst_addr.dim_y = 1024;
    dst_addr.stride_y = 1280;

    //VXLIB_STATUS status;
    VXLIB_F32 xScale = (float)src_addr.dim_x/(float)dst_addr.dim_x;
    VXLIB_F32 yScale = (float)src_addr.dim_y/(float)dst_addr.dim_y;

    VXLIB_scaleImageBilinear_i8u_o8u(
    (uint8_t*)inPtr[0],
    &src_addr,
    (uint8_t*)resizeBuffer,
    &dst_addr,
    xScale,
    yScale,
    0,
    0,
    0,
    0
    );