Hi~ everyone!
Here we have 3 IVAHDs but I found that there are only two IVAHDS used!
If I have 2 encoders and want to run one on a third IVAHD not just on the same IVAHD !
How should I set or do??
thanks a lots
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.
Hi~ everyone!
Here we have 3 IVAHDs but I found that there are only two IVAHDS used!
If I have 2 encoders and want to run one on a third IVAHD not just on the same IVAHD !
How should I set or do??
thanks a lots
HI~
Here is my question! In "utils_encdec.c" , there is a map for IVAHD !! as below:
static SystemVideo_Ivahd2ChMap_Tbl UtilsEncDec_IvaChMapTbl =
{
.isPopulated = 1,
.ivaMap[0] =
{
.EncNumCh = 10,
.EncChList = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 0, 0, 0 , 0, 0},
.DecNumCh = 0,
.DecChList = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
},
.ivaMap[1] =
{
.EncNumCh = 16,
.EncChList = {16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31},
.DecNumCh = 12,
.DecChList = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 0, 0 , 0, 0},
},
.ivaMap[2] =
{
.EncNumCh = 6,
.EncChList = {10, 11, 12, 13, 14, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
.DecNumCh = 4,
.DecChList = {12, 13, 14, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
},
};
from this map, we can see that the encoders are always run on the .ivaMap[0] if there are more than 2 chains!!!
So I wonder how to set or do so that we can run the encoder on the other IVAHD ".ivaMap[1] " or ".ivaMap[2] "
thanks a lots
best regards
Hi,
The static table "UtilsEncDec_IvaChMapTbl" in "utils_encdec.c" is actually getting over written by app when App sends his own map. What ever in "utils_encdec.c" is just a initialized table during the system start. You can look into any use case files under the MCFW_api to identify how the app is overriding the IVA map table
Regards, shiju