[RCD] QP-encoding and decoding within a plugin