Lines Matching refs:rp
631 * OpusRepacketizer *rp;
632 * rp = (OpusRepacketizer*)malloc(opus_repacketizer_get_size());
633 * if (rp != NULL)
634 * opus_repacketizer_init(rp);
653 * err = opus_repacketizer_cat(rp, data, len);
659 * nb_frames = opus_repacketizer_get_nb_frames(rp);
662 * out_len = opus_repacketizer_out_range(rp, i, i+1, out, sizeof(out));
670 * opus_repacketizer_init(rp);
698 * nb_frames += opus_repacketizer_get_nb_frames(rp);
714 * out_len = opus_repacketizer_out(rp, out, sizeof(out));
721 * opus_repacketizer_init(rp);
727 * err = opus_repacketizer_cat(rp, data[nb_packets], len[nb_packets]);
739 * out_len = opus_repacketizer_out(rp, out, sizeof(out));
774 * @param rp <tt>OpusRepacketizer*</tt>: The repacketizer state to
778 OPUS_EXPORT OpusRepacketizer *opus_repacketizer_init(OpusRepacketizer *rp) OPUS_ARG_NONNULL(1);
787 * @param[in] rp <tt>OpusRepacketizer*</tt>: State to be freed.
789 OPUS_EXPORT void opus_repacketizer_destroy(OpusRepacketizer *rp);
817 * @param rp <tt>OpusRepacketizer*</tt>: The repacketizer state to which to
838 OPUS_EXPORT int opus_repacketizer_cat(OpusRepacketizer *rp, const unsigned char *data, opus_int32 len) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(2);
843 * @param rp <tt>OpusRepacketizer*</tt>: The repacketizer state from which to
872 OPUS_EXPORT OPUS_WARN_UNUSED_RESULT opus_int32 opus_repacketizer_out_range(OpusRepacketizer *rp, int begin, int end, unsigned char *data, opus_int32 maxlen) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(4);
879 * @param rp <tt>OpusRepacketizer*</tt>: The repacketizer state containing the
884 OPUS_EXPORT OPUS_WARN_UNUSED_RESULT int opus_repacketizer_get_nb_frames(OpusRepacketizer *rp) OPUS_ARG_NONNULL(1);
892 * opus_repacketizer_out_range(rp, 0, opus_repacketizer_get_nb_frames(rp),
895 * @param rp <tt>OpusRepacketizer*</tt>: The repacketizer state from which to
902 * <code>1277*opus_repacketizer_get_nb_frames(rp)</code>.
904 * <code>1*opus_repacketizer_get_nb_frames(rp)</code>
915 OPUS_EXPORT OPUS_WARN_UNUSED_RESULT opus_int32 opus_repacketizer_out(OpusRepacketizer *rp, unsigned char *data, opus_int32 maxlen) OPUS_ARG_NONNULL(1);