[Penlin] Optimization Intra predicted weights in encoder