Home
last modified time | relevance | path

Searched refs:nb_frames (Results 1 – 6 of 6) sorted by relevance

/external/libopus/src/
Drepacketizer.c44 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()
235 return opus_repacketizer_out_range_impl(rp, 0, rp->nb_frames, data, maxlen, 0, 0); in opus_repacketizer_out()
252 ret = opus_repacketizer_out_range_impl(&rp, 0, rp.nb_frames, data, new_len, 0, 1); in opus_packet_pad()
269 ret = opus_repacketizer_out_range_impl(&rp, 0, rp.nb_frames, data, len, 0, 0); in opus_packet_unpad()
[all …]
Drepacketizer_demo.c182 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()
Dopus_private.h38 int nb_frames; member
Dopus_encoder.c1336 int nb_frames; in opus_encode_native() local
1350 nb_frames = frame_size > st->Fs/25 ? 3 : 2; in opus_encode_native()
1351 bytes_per_frame = IMIN(1276,(out_data_bytes-3)/nb_frames); in opus_encode_native()
1353 ALLOC(tmp_data, nb_frames*bytes_per_frame, unsigned char); in opus_encode_native()
1371 for (i=0;i<nb_frames;i++) in opus_encode_native()
1376 if (to_celt && i==nb_frames-1) in opus_encode_native()
1396 repacketize_len = IMIN(3*st->bitrate_bps/(3*8*50/nb_frames), out_data_bytes); in opus_encode_native()
1397 … ret = opus_repacketizer_out_range_impl(rp, 0, nb_frames, data, repacketize_len, 0, !st->use_vbr); in opus_encode_native()
/external/opencv3/modules/videoio/src/
Dcap_ffmpeg_impl.hpp670 if( ic->streams[video_stream]->nb_frames > 0 && in grabFrame()
671 frame_number > ic->streams[video_stream]->nb_frames ) in grabFrame()
876 int64_t nbf = ic->streams[video_stream]->nb_frames; in get_total_frames()
/external/opencv3/3rdparty/include/ffmpeg_/libavformat/
Davformat.h714 int64_t nb_frames; ///< number of frames in this stream if known or 0 member