Home
last modified time | relevance | path

Searched refs:bytes_per_frame (Results 1 – 12 of 12) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/neteq/
Dpayload_splitter.cc302 size_t bytes_per_frame; in SplitAudio() local
310 bytes_per_frame = 38; in SplitAudio()
314 bytes_per_frame = 50; in SplitAudio()
320 int ret = SplitByFrames(packet, bytes_per_frame, timestamps_per_frame, in SplitAudio()
408 size_t bytes_per_frame, in SplitByFrames() argument
411 if (packet->payload_length % bytes_per_frame != 0) { in SplitByFrames()
416 if (packet->payload_length == bytes_per_frame) { in SplitByFrames()
425 assert(len >= bytes_per_frame); in SplitByFrames()
427 new_packet->payload_length = bytes_per_frame; in SplitByFrames()
432 new_packet->payload = new uint8_t[bytes_per_frame]; in SplitByFrames()
[all …]
Dpayload_splitter.h82 size_t bytes_per_frame,
/external/tensorflow/tensorflow/core/lib/wav/
Dwav_io.cc48 char bytes_per_frame[2]; member
165 const size_t bytes_per_frame = kBytesPerSample * num_channels; in EncodeAudioAsS16LEWav() local
192 core::EncodeFixed16(format_chunk->bytes_per_frame, bytes_per_frame); in EncodeAudioAsS16LEWav()
/external/webrtc/webrtc/modules/video_coding/
Dmedia_optimization_unittest.cc37 size_t bytes_per_frame = bitrate_bps * frame_time_ms_ / (8 * 1000); in AddFrameAndAdvanceTime() local
39 encoded_image._length = bytes_per_frame; in AddFrameAndAdvanceTime()
/external/webrtc/webrtc/modules/audio_coding/neteq/mock/
Dmock_payload_splitter.h34 int(const Packet* packet, size_t bytes_per_frame,
/external/adhd/cras/src/alsa_plugin/
Dpcm_cras.c34 size_t bytes_per_frame; member
142 frame_bytes = pcm_cras->bytes_per_frame; in pcm_cras_process_cb()
285 pcm_cras->bytes_per_frame = in snd_pcm_cras_start()
/external/python/cpython2/Modules/
Daudioop.c1090 int bytes_per_frame; in audioop_ratecv() local
1104 bytes_per_frame = size * nchannels; in audioop_ratecv()
1105 if (bytes_per_frame / nchannels != size) { in audioop_ratecv()
1118 if (len % bytes_per_frame != 0) { in audioop_ratecv()
1147 len /= bytes_per_frame; /* # of frames */ in audioop_ratecv()
1185 if (outrate > INT_MAX / q / bytes_per_frame) in audioop_ratecv()
1189 q * outrate * bytes_per_frame); in audioop_ratecv()
/external/python/cpython3/Modules/
Daudioop.c1297 int bytes_per_frame; in audioop_ratecv_impl() local
1313 bytes_per_frame = width * nchannels; in audioop_ratecv_impl()
1320 if (fragment->len % bytes_per_frame != 0) { in audioop_ratecv_impl()
1349 len = fragment->len / bytes_per_frame; /* # of frames */ in audioop_ratecv_impl()
1387 if (outrate > PY_SSIZE_T_MAX / q / bytes_per_frame) in audioop_ratecv_impl()
1391 q * outrate * bytes_per_frame); in audioop_ratecv_impl()
/external/libopus/src/
Dopus_encoder.c963 opus_int32 bytes_per_frame; in encode_multiframe_packet() local
980 bytes_per_frame = IMIN(1276, 1+(repacketize_len-max_header_bytes)/nb_frames); in encode_multiframe_packet()
982 ALLOC(tmp_data, nb_frames*bytes_per_frame, unsigned char); in encode_multiframe_packet()
1010 tmp_data+i*bytes_per_frame, bytes_per_frame, lsb_depth, NULL, 0, 0, 0, 0, in encode_multiframe_packet()
1019 ret = opus_repacketizer_cat(rp, tmp_data+i*bytes_per_frame, tmp_len); in encode_multiframe_packet()
/external/libavc/test/encoder/
Dmain.c2572 DOUBLE bytes_per_frame; in h264enc_main() local
2578 bytes_per_frame = (s_app_ctxt.u4_total_bytes) / (s_app_ctxt.u4_pics_cnt); in h264enc_main()
2582 bytes_per_frame = 0; in h264enc_main()
2584 bytes_per_second = (bytes_per_frame * s_app_ctxt.u4_tgt_frame_rate); in h264enc_main()
/external/adhd/cras/src/tests/
Ddev_stream_unittest.cc493 const unsigned int bytes_per_frame = bytes_per_sample * num_channels; in TEST_F() local
505 const unsigned int half_offset = nfr / 2 * bytes_per_frame; in TEST_F()
/external/python/cpython3/Lib/test/
Dpickletester.py2069 bytes_per_frame = (len(pickled) /
2071 self.assertGreater(bytes_per_frame,
2073 self.assertLessEqual(bytes_per_frame,