optimizing mpeg4_encode_dc