add missing files
add encoder_release interface in case that some encoders may use it
fix warnings