Searched refs:opus_packet_get_nb_frames (Results 1 - 6 of 6) sorted by relevance

/external/libopus/include/
H A Dopus.h572 OPUS_EXPORT OPUS_WARN_UNUSED_RESULT int opus_packet_get_nb_frames(const unsigned char packet[], opus_int32 len) OPUS_ARG_NONNULL(1);
692 * nb_frames = opus_packet_get_nb_frames(data[nb_packets], len[nb_packets]);
707 * // guaranteed by the call to opus_packet_get_nb_frames() above, so the
/external/libopus/src/
H A Drepacketizer.c76 curr_nb_frames = opus_packet_get_nb_frames(data, len);
H A Dopus_decoder.c944 int opus_packet_get_nb_frames(const unsigned char packet[], opus_int32 len) function
964 int count = opus_packet_get_nb_frames(packet, len);
H A Dopus_demo.c701 nb_encoded = opus_packet_get_samples_per_frame(data[toggle], sampling_rate)*opus_packet_get_nb_frames(data[toggle], len[toggle]);
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
H A Dopus_interface.c412 frames = opus_packet_get_nb_frames(payload, (opus_int32)payload_length_bytes);
/external/libopus/tests/
H A Dtest_opus_api.c264 if(OPUS_BAD_ARG!=opus_packet_get_nb_frames(packet,0))test_failed();
268 if(l1res[packet[0]&3]!=opus_packet_get_nb_frames(packet,1))test_failed();
272 if(((packet[0]&3)!=3?l1res[packet[0]&3]:packet[1]&63)!=opus_packet_get_nb_frames(packet,2))test_failed();
276 fprintf(stdout," opus_packet_get_nb_frames() .................. OK.\n");
331 if(opus_packet_get_nb_frames(NULL,1) !=OPUS_BAD_ARG)test_failed();

Completed in 461 milliseconds