[Penlin] update fr curve and intra predict in encoder
[Penlin] merge!