Hello
I 'm trying to implement the H264 encoder on evmc6472 platform using CCS4 et BIOS5.
to reduce the encoding time of my project , I tried to add the memory cache using the CSL support.
in the build properties, in the include library file there is these libraries: "liba.lib" "csl_c6472.lib" and "csl_c64xplus_intc.lib".
I wrote in my code these instructions:
#include <csl.h>
#include <csl_dat.h>
#include <csl_cache.h>
void main(){
CACHE_enableCaching(CACHE_EMIFA_CE00);
CACHE_setL1pSize(CACHE_L1_32KCACHE);
CACHE_setL1dSize(CACHE_L1_32KCACHE);
CACHE_setL2Mode(CACHE_L2_NORMAL);
CACHE_setL2Size(CACHE_256KCACHE);
....
func( );
....
}
The problem is that the encoding time was not reduced, as if it did not take into account the caches.
So please could someone tell me where is the problem? why it did not consider caches? I have to add additional instructions?
I 'll be very thankfull.
cordialy
David