(HEVC) Update conditions to execute optimized functions.