[DF-964] Moved genral code for Sprites packing and pvr/dxt conversion to framework sources.