I was playing around with the x264, trying to find out, which functions consume the most CPU and memory.<br><br>I found out, that there are three main functions (without CALVC, CABAC and NAL) that consume lot&#39;s of CPU power:
<br><br>x264_macroblock_cache_load<br>x264_macroblock_cache_save<br>x264_macroblock_analyse<br><br>Reading cache_load, I realized that there is a struct named cache, that stores the cached data.<br>Why not use pointers in this struct, without having to copy the data from one struct to the other ? 
<br>I think we will gain some FPS there.<br><br>Waiting for your opinions!<br>Victor<br><br>