Merge "Inlining and removing encoder_common_init()."