Searched refs:nb_frames (Results 1 – 5 of 5) sorted by relevance
/external/libopus/src/ |
D | repacketizer.c | 44 rp->nb_frames = 0; in opus_repacketizer_init() 67 if (rp->nb_frames == 0) in opus_repacketizer_cat_impl() 80 if ((curr_nb_frames+rp->nb_frames)*rp->framesize > 960) in opus_repacketizer_cat_impl() 85 …_impl(data, len, self_delimited, &tmp_toc, &rp->frames[rp->nb_frames], &rp->len[rp->nb_frames], NU… in opus_repacketizer_cat_impl() 88 rp->nb_frames += curr_nb_frames; in opus_repacketizer_cat_impl() 99 return rp->nb_frames; in opus_repacketizer_get_nb_frames() 111 if (begin<0 || begin>=end || end>rp->nb_frames) in opus_repacketizer_out_range_impl() 237 return opus_repacketizer_out_range_impl(rp, 0, rp->nb_frames, data, maxlen, 0, 0); in opus_repacketizer_out() 256 ret = opus_repacketizer_out_range_impl(&rp, 0, rp.nb_frames, data, new_len, 0, 1); in opus_packet_pad() 273 ret = opus_repacketizer_out_range_impl(&rp, 0, rp.nb_frames, data, len, 0, 0); in opus_packet_unpad() [all …]
|
D | repacketizer_demo.c | 182 int nb_frames = opus_repacketizer_get_nb_frames(rp); in main() local 183 for (i=0;i<nb_frames;i++) in main() 193 if (i==nb_frames-1) in main()
|
D | opus_encoder.c | 941 int nb_frames, in encode_multiframe_packet() argument 964 max_header_bytes = nb_frames == 2 ? 3 : (2+(nb_frames-1)*2); in encode_multiframe_packet() 969 cbr_bytes = 3*st->bitrate_bps/(3*8*st->Fs/(frame_size*nb_frames)); in encode_multiframe_packet() 972 bytes_per_frame = IMIN(1276, 1+(repacketize_len-max_header_bytes)/nb_frames); in encode_multiframe_packet() 974 ALLOC(tmp_data, nb_frames*bytes_per_frame, unsigned char); in encode_multiframe_packet() 992 for (i=0;i<nb_frames;i++) in encode_multiframe_packet() 995 st->nonfinal_frame = i<(nb_frames-1); in encode_multiframe_packet() 998 if (to_celt && i==nb_frames-1) in encode_multiframe_packet() 1020 ret = opus_repacketizer_out_range_impl(rp, 0, nb_frames, data, repacketize_len, 0, !st->use_vbr); in encode_multiframe_packet() 1570 int nb_frames; in opus_encode_native() local [all …]
|
D | opus_private.h | 41 int nb_frames; member
|
D | opus_multistream_encoder.c | 265 int nb_frames = frame_size/freq_size; in surround_analysis() local 266 celt_assert(nb_frames*freq_size == frame_size); in surround_analysis() 284 for (frame=0;frame<nb_frames;frame++) in surround_analysis()
|