/external/webrtc/src/common_audio/vad/ |
webrtc_vad.c | 137 WebRtc_Word16 frame_length) 160 if ((frame_length != 320) && (frame_length != 640) && (frame_length != 960)) 164 vad = WebRtcVad_CalcVad32khz((VadInstT*)vad_inst, speech_frame, frame_length); 168 if ((frame_length != 160) && (frame_length != 320) && (frame_length != 480)) 172 vad = WebRtcVad_CalcVad16khz((VadInstT*)vad_inst, speech_frame, frame_length); 176 if ((frame_length != 80) && (frame_length != 160) && (frame_length != 240) [all...] |
vad_core.h | 99 * - frame_length : Number of input samples 109 int frame_length); 111 int frame_length); 113 int frame_length); 126 * - frame_length : Number of input samples 133 WebRtc_Word16 total_power, int frame_length);
|
vad_unittest.cc | 40 bool ValidRatesAndFrameLengths(int16_t rate, int16_t frame_length) { 42 if (frame_length == 80 || frame_length == 160 || frame_length == 240) { 47 if (frame_length == 160 || frame_length == 320 || frame_length == 480) { 53 if (frame_length == 320 || frame_length == 640 || frame_length == 960) [all...] |
/external/chromium_org/third_party/opus/src/silk/ |
decoder_set_fs.c | 41 opus_int frame_length, ret = 0; local 48 frame_length = silk_SMULBB( psDec->nb_subfr, psDec->subfr_length ); 58 if( psDec->fs_kHz != fs_kHz || frame_length != psDec->frame_length ) { 100 psDec->frame_length = frame_length; 104 silk_assert( psDec->frame_length > 0 && psDec->frame_length <= MAX_FRAME_LENGTH );
|
decode_frame.c | 53 L = psDec->frame_length; 74 psDec->indices.quantOffsetType, psDec->frame_length ); 105 silk_assert( psDec->ltp_mem_length >= psDec->frame_length ); 106 mv_len = psDec->ltp_mem_length - psDec->frame_length; 107 silk_memmove( psDec->outBuf, &psDec->outBuf[ psDec->frame_length ], mv_len * sizeof(opus_int16) ); 108 silk_memcpy( &psDec->outBuf[ mv_len ], pOut, psDec->frame_length * sizeof( opus_int16 ) );
|
decode_pulses.c | 42 const opus_int frame_length /* I Frame length */ 57 iter = silk_RSHIFT( frame_length, LOG2_SHELL_CODEC_FRAME_LENGTH ); 58 if( iter * SHELL_CODEC_FRAME_LENGTH < frame_length ) { 59 silk_assert( frame_length == 12 * 10 ); /* Make sure only happens for 10 ms @ 12 kHz */ 114 silk_decode_signs( psRangeDec, pulses, frame_length, signalType, quantOffsetType, sum_pulses );
|
stereo_LR_to_MS.c | 47 opus_int frame_length /* I Number of samples */ 61 ALLOC( side, frame_length + 2, opus_int16 ); 63 for( n = 0; n < frame_length + 2; n++ ) { 73 silk_memcpy( state->sMid, &mid[ frame_length ], 2 * sizeof( opus_int16 ) ); 74 silk_memcpy( state->sSide, &side[ frame_length ], 2 * sizeof( opus_int16 ) ); 77 ALLOC( LP_mid, frame_length, opus_int16 ); 78 ALLOC( HP_mid, frame_length, opus_int16 ); 79 for( n = 0; n < frame_length; n++ ) { 86 ALLOC( LP_side, frame_length, opus_int16 ); 87 ALLOC( HP_side, frame_length, opus_int16 ) [all...] |
stereo_MS_to_LR.c | 41 opus_int frame_length /* I Number of samples */ 50 silk_memcpy( state->sMid, &x1[ frame_length ], 2 * sizeof( opus_int16 ) ); 51 silk_memcpy( state->sSide, &x2[ frame_length ], 2 * sizeof( opus_int16 ) ); 69 for( n = STEREO_INTERP_LEN_MS * fs_kHz; n < frame_length; n++ ) { 79 for( n = 0; n < frame_length; n++ ) {
|
encode_pulses.c | 65 const opus_int frame_length /* I Frame length */ 87 iter = silk_RSHIFT( frame_length, LOG2_SHELL_CODEC_FRAME_LENGTH ); 88 if( iter * SHELL_CODEC_FRAME_LENGTH < frame_length ) { 89 silk_assert( frame_length == 12 * 10 ); /* Make sure only happens for 10 ms @ 12 kHz */ 91 silk_memset( &pulses[ frame_length ], 0, SHELL_CODEC_FRAME_LENGTH * sizeof(opus_int8)); 204 silk_encode_signs( psRangeEnc, pulses, frame_length, signalType, quantOffsetType, sum_pulses );
|
VAD.c | 102 silk_assert( MAX_FRAME_LENGTH >= psEncC->frame_length ); 103 silk_assert( psEncC->frame_length <= 512 ); 104 silk_assert( psEncC->frame_length == 8 * silk_RSHIFT( psEncC->frame_length, 3 ) ); 109 decimated_framelength1 = silk_RSHIFT( psEncC->frame_length, 1 ); 110 decimated_framelength2 = silk_RSHIFT( psEncC->frame_length, 2 ); 111 decimated_framelength = silk_RSHIFT( psEncC->frame_length, 3 ); 119 They're arranged to allow the minimal ( frame_length / 4 ) extra 129 X, &X[ X_offset[ 3 ] ], psEncC->frame_length ); 156 decimated_framelength = silk_RSHIFT( psEncC->frame_length, silk_min_int( VAD_N_BANDS - b, VAD_N_BANDS - 1 ) ) [all...] |
main.h | 53 opus_int frame_length /* I Number of samples */ 63 opus_int frame_length /* I Number of samples */ 153 const opus_int frame_length /* I Frame length */ 285 const opus_int frame_length /* I Frame length */ 405 const opus_int frame_length /* I Frame length */
|
/external/webrtc/test/testsupport/metrics/ |
video_metrics.cc | 108 const int frame_length = 3 * width * height >> 1; local 109 uint8_t* ref = new uint8_t[frame_length]; 110 uint8_t* test = new uint8_t[frame_length]; 112 int ref_bytes = fread(ref, 1, frame_length, ref_fp); 113 int test_bytes = fread(test, 1, frame_length, test_fp); 114 while (ref_bytes == frame_length && test_bytes == frame_length) { 134 ref_bytes = fread(ref, 1, frame_length, ref_fp); 135 test_bytes = fread(test, 1, frame_length, test_fp);
|
/external/aac/libMpegTPEnc/src/ |
tpenc_adts.h | 114 USHORT frame_length; member in struct:__anon2589 163 int frame_length
|
/external/aac/libAACdec/src/ |
channel.h | 142 const UINT frame_length,
|
pulsedata.h | 126 const SHORT frame_length
|
pulsedata.cpp | 102 const SHORT frame_length 131 if (k >= frame_length) {
|
/external/chromium/net/websockets/ |
websocket_frame_handler_unittest.cc | 58 EXPECT_EQ(kHelloWorldFrameLen, frames[0].frame_length); 63 EXPECT_EQ(2, frames[1].frame_length); 88 EXPECT_EQ(kHelloWorldFrameLen, frames[0].frame_length); 93 EXPECT_EQ(kLengthFrameLen, frames[1].frame_length); 99 EXPECT_EQ(kHelloWorldFrameLen, frames[2].frame_length); 120 EXPECT_EQ(kHelloWorldFrameLen, frames[0].frame_length);
|
websocket_frame_handler.h | 25 int frame_length; member in struct:net::WebSocketFrameHandler::FrameInfo
|
/external/webrtc/src/common_audio/vad/include/ |
webrtc_vad.h | 141 * - frame_length : Length of speech frame buffer in number of samples 153 WebRtc_Word16 frame_length);
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
bandwidth_estimator.c | 137 const WebRtc_Word32 frame_length, 160 if ( frame_length != bwest_str->prev_frame_length ) 163 1000.0f / (float)frame_length; /* bits/s */ 168 rec_rtp_rate = ((float)pksize * 8.0f * 1000.0f / (float)frame_length) + 181 bwest_str->prev_frame_length = frame_length; 205 if (send_ts_diff <= (16 * frame_length)*2) 219 (float)frame_length); 268 if ( frame_length != bwest_str->prev_frame_length ) 272 1000.0f / (float)frame_length; /* bits/s */ 287 late_diff = arr_ts_diff - (float)(16 * frame_length); [all...] |
/external/aac/libMpegTPDec/src/ |
tpdec_adts.cpp | 203 bs.frame_length = FDKreadBits(hBs, Adts_Length_FrameLength); 223 pAdts->rawDataBlockDist[bs.num_raw_blocks] = bs.frame_length - 7 - bs.num_raw_blocks*2 - 2 ; 255 FDKpushFor(hBs, bs.frame_length * 8); // try again one frame later 265 FDKpushFor(hBs, bs.frame_length * 8); // try again one frame later 271 cmp_buffer_fullness = bs.frame_length*8 + bs.adts_fullness*32*getNumberOfEffectiveChannels(bs.channel_config); 344 FDKpushFor(hBs, (bs.frame_length<<3) - adtsHeaderLength - 3); 369 length = (pAdts->bs.frame_length - 7) << 3; /* aac_frame_length subtracted by the header size (7 bytes). */
|
/bionic/libc/kernel/common/media/ |
ov5650.h | 64 __u32 frame_length; member in struct:ov5650_mode
|
/external/kernel-headers/original/media/ |
ov5650.h | 64 __u32 frame_length; member in struct:ov5650_mode
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
pvamrwbdecoder.h | 125 int16 * frame_length, /* output: lenght of the frame */
|
/external/chromium/net/tools/spdyshark/ |
packet-spdy.c | 499 guint32 frame_length; local 512 frame_length = tvb_get_ntoh24(tvb, offset+5); 516 stream_id, flags, frame_length); 519 stream_id, frame_length); 523 stream_id, frame_length); 532 proto_tree_add_uint(spdy_tree, hf_spdy_length, tvb, offset+5, 3, frame_length); 535 if (datalen > frame_length) 536 datalen = frame_length; 539 if (reported_datalen > frame_length) 540 reported_datalen = frame_length; 934 guint32 frame_length; local [all...] |