shine_encode_frame renamed to shine_encode_buffer