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.

systemVid_encDecIvaChMapTbl configure

i see every usecase the systemVid_encDecIvaChMapTbl configure is different .just like usecase vcap_venc_vdec_vdis is following .

now my app has max 2 channel 1920*1080 enc and max 16 channel CIF,i want to know how to configure the MapTbl

thank you very much!

static SystemVideo_Ivahd2ChMap_Tbl systemVid_encDecIvaChMapTbl =
{
    .isPopulated = 1,
    .ivaMap[0] =
    {
        .EncNumCh  = 17,
        .EncChList = {0, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 31, 33, 36, 39, 42, 45 },
        .DecNumCh  = 5,
        .DecChList = {0, 3, 6, 9, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
    },
    .ivaMap[1] =
    {
        .EncNumCh  = 16,
        .EncChList = {1, 4, 7, 10, 13, 16, 19, 22, 25, 28, 34, 37, 40, 43, 46, 47 },
        .DecNumCh  = 5,
        .DecChList = {1, 4, 7, 10, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
    },
    .ivaMap[2] =
    {
        .EncNumCh  = 15,
        .EncChList = {2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41, 44 },
        .DecNumCh  = 6,
        .DecChList = {2, 5, 8, 11, 14, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
    },
};

  • The IVA map table is used to distribute the load across 3 HDVICP present in 8168.

    Each HDVICP can do 1 channel 1080P60 encode or decoder (2 channel 1080P30).

    In your case you can distribute the load as ;

    HDVICP0 - 1 ch 1080P30

    HDVICP1 - 1ch 1080P30

    HDVICP2 - 16 ch CIF