Searched refs:bytes_per_frame (Results 1 – 12 of 12) sorted by relevance
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | payload_splitter.cc | 302 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 …]
|
D | payload_splitter.h | 82 size_t bytes_per_frame,
|
/external/tensorflow/tensorflow/core/lib/wav/ |
D | wav_io.cc | 48 char bytes_per_frame[2]; member 166 const size_t bytes_per_frame = kBytesPerSample * num_channels; in EncodeAudioAsS16LEWav() local 193 core::EncodeFixed16(format_chunk->bytes_per_frame, bytes_per_frame); in EncodeAudioAsS16LEWav()
|
/external/webrtc/webrtc/modules/video_coding/ |
D | media_optimization_unittest.cc | 37 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/adhd/cras/src/alsa_plugin/ |
D | pcm_cras.c | 34 size_t bytes_per_frame; member 142 frame_bytes = pcm_cras->bytes_per_frame; in pcm_cras_process_cb() 263 pcm_cras->bytes_per_frame = in snd_pcm_cras_start()
|
/external/webrtc/webrtc/modules/audio_coding/neteq/mock/ |
D | mock_payload_splitter.h | 34 int(const Packet* packet, size_t bytes_per_frame,
|
/external/python/cpython2/Modules/ |
D | audioop.c | 1100 int bytes_per_frame; in audioop_ratecv() local 1114 bytes_per_frame = size * nchannels; in audioop_ratecv() 1115 if (bytes_per_frame / nchannels != size) { in audioop_ratecv() 1128 if (len % bytes_per_frame != 0) { in audioop_ratecv() 1157 len /= bytes_per_frame; /* # of frames */ in audioop_ratecv() 1205 if (outrate > INT_MAX / q / bytes_per_frame) in audioop_ratecv() 1209 q * outrate * bytes_per_frame); in audioop_ratecv()
|
/external/python/cpython3/Modules/ |
D | audioop.c | 1303 int bytes_per_frame; in audioop_ratecv_impl() local 1319 bytes_per_frame = width * nchannels; in audioop_ratecv_impl() 1326 if (fragment->len % bytes_per_frame != 0) { in audioop_ratecv_impl() 1355 len = fragment->len / bytes_per_frame; /* # of frames */ in audioop_ratecv_impl() 1405 if (outrate > PY_SSIZE_T_MAX / q / bytes_per_frame) in audioop_ratecv_impl() 1409 q * outrate * bytes_per_frame); in audioop_ratecv_impl()
|
/external/libopus/src/ |
D | opus_encoder.c | 955 opus_int32 bytes_per_frame; in encode_multiframe_packet() local 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() 1002 tmp_data+i*bytes_per_frame, bytes_per_frame, lsb_depth, NULL, 0, 0, 0, 0, in encode_multiframe_packet() 1011 ret = opus_repacketizer_cat(rp, tmp_data+i*bytes_per_frame, tmp_len); in encode_multiframe_packet()
|
/external/libavc/test/encoder/ |
D | main.c | 2572 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/ |
D | dev_stream_unittest.cc | 623 const unsigned int bytes_per_frame = bytes_per_sample * num_channels; in TEST_F() local 635 const unsigned int half_offset = nfr / 2 * bytes_per_frame; in TEST_F()
|
/external/python/cpython3/Lib/test/ |
D | pickletester.py | 2161 bytes_per_frame = (len(pickled) / 2163 self.assertGreater(bytes_per_frame, 2165 self.assertLessEqual(bytes_per_frame,
|