Hi:
i want to speed up systerm's start time, I find capture link create time is 400-500ms ,encode link create time is 500ms,how can I reduce this time。
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:
i want to speed up systerm's start time, I find capture link create time is 400-500ms ,encode link create time is 500ms,how can I reduce this time。
Hi,
Can you call Utils_memClearOnAlloc(false) before creating encoder link and again call Utils_memClearOnAlloc(true) after link creation.
Basically this api will set a flag as false which will avoid memset of the buffer.
After setting the flag as true it will do memset.
Regards,
Anuj
Hi,
You have asked for encoder link and the solution for that has been provided.
For capture link you can try the same and check.
And if you do not have any specific requirement of allocated buffer to set as zero then at the beginning of the usecase call Utils_memClearOnAlloc(false) and do not call it again with true.
Regards,
Anuj
it can reduce its time. when not clear the memory,memory status is no fixed,can it will affect the link work not steady or other influence。
Hi,
It may affect some link where it assumes the allocated buffer to be set as all 0.
That is why by default we enable this option.
But if anyone is disabling this then its their responsibility to take care of that.
Regards,
Anuj
about memory,I has do the test in the link, when i
copy the data from 4 camera,i copy the data to sr3 addr 0xa9000000 in ipu2, it will happen fail,the channel data from 4 change to 2. but when set copy addr from sr2 ,it will not fail. now I want to know is it happen because only sr2 on catch memory.
2, when the memory data is in sr2 and in dsp data memory ,which is quickly more run alg.
Hi,
All video buffer needs to be allocated from sr1 as it is cached and its a larger chunk of data.
Regards,
Anuj