rename some Transcode's funct into encode and decode
finished mixsegment.cpp/h and modify some funct for adapt to mixsegment
add example.sh && modify some demo funct