Hello,
I would like to ask what is the estimate time it takes for IVA codec engine to unload and then load with a new codec? I assume it is the same for encoder and decoder.
Regards,
Ran
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.
The number measured in DVR RDK on 816x under real system load is around 25 - 35 micro seconds.i,e around 7000 - 10,000 M3 cycles with M3 running at 280 Mhz. This is for code and data reload case (Change in codec type as well as codec instance) . Note that this number depends on your instantaneous DDR load . In DVR RDK we use processN APIs where the frames from different channels (same codec type ) are grouped together and submitted to IVA HD. This greatly reduces the overhead of codec switching.
Application should try to minimize context switching by assigning a proper channel to IVA map but this is _not_ something that should be avoided at all costs.Minimizing the number of channel switch is something that the application can easily tune if performance is a bottleneck .There are generally different concerns driving the channel map assignment at application level which are more important than minimizing context switch.For example in hybrid DVR usecases , the requirement is the encode fps should never be affected by decode channels and it is acceptable is decode is not realtime (reduces fps). So encodes and decodes are assigned to different IVA_HDs (2 IVA_HDs to encode and single IVA_HD to all decode channels).