Home
last modified time | relevance | path

Searched refs:frameLength (Results 1 – 21 of 21) sorted by relevance

/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/
DWebSocketReader.java72 private long frameLength; field in WebSocketReader
138 frameLength = b1 & B1_MASK_LENGTH; in readHeader()
139 if (frameLength == PAYLOAD_SHORT) { in readHeader()
140 frameLength = source.readShort() & 0xffffL; // Value is unsigned. in readHeader()
141 } else if (frameLength == PAYLOAD_LONG) { in readHeader()
142 frameLength = source.readLong(); in readHeader()
143 if (frameLength < 0) { in readHeader()
145 "Frame length 0x" + Long.toHexString(frameLength) + " > 0x7FFFFFFFFFFFFFFF"); in readHeader()
150 if (isControlFrame && frameLength > PAYLOAD_BYTE_MAX) { in readHeader()
162 if (frameBytesRead < frameLength) { in readControlFrame()
[all …]
/external/aac/libAACenc/src/
Dtransform.cpp107 const INT frameLength, in FDKaacEnc_Transform_Real() argument
134 tl = frameLength; in FDKaacEnc_Transform_Real()
140 int offset = (windowShape == LOL_WINDOW) ? ((frameLength * 3)>>2) : 0; in FDKaacEnc_Transform_Real()
141 fl = frameLength - offset; in FDKaacEnc_Transform_Real()
142 fr = frameLength - offset; in FDKaacEnc_Transform_Real()
146 fl = frameLength >> 3; in FDKaacEnc_Transform_Real()
147 fr = frameLength; in FDKaacEnc_Transform_Real()
150 fl = frameLength; in FDKaacEnc_Transform_Real()
151 fr = frameLength >> 3; in FDKaacEnc_Transform_Real()
154 fl = fr = frameLength >> 3; in FDKaacEnc_Transform_Real()
[all …]
Dbandwidth.cpp197 const INT frameLength, in GetBandwidthEntry() argument
206 switch (frameLength) { in GetBandwidthEntry()
254 switch (frameLength) { in GetBandwidthEntry()
290 INT frameLength, in FDKaacEnc_DetermineBandWidth() argument
361 frameLength, in FDKaacEnc_DetermineBandWidth()
Daacenc.cpp112 const INT frameLength, in FDKaacEnc_CalcBitsPerFrame() argument
117 while ((frameLength & ~((1 << (shift + 1)) - 1)) == frameLength in FDKaacEnc_CalcBitsPerFrame()
123 return (bitRate*(frameLength>>shift)) / (samplingRate>>shift); in FDKaacEnc_CalcBitsPerFrame()
128 const INT frameLength, in FDKaacEnc_CalcBitrate() argument
133 while ((frameLength & ~((1 << (shift + 1)) - 1)) == frameLength in FDKaacEnc_CalcBitrate()
139 return (bitsPerFrame * (samplingRate>>shift)) / ( frameLength>>shift) ; in FDKaacEnc_CalcBitrate()
152 INT frameLength, in FDKaacEnc_LimitBitrate() argument
164 while ( (frameLength & ~((1<<(shift+1))-1)) == frameLength in FDKaacEnc_LimitBitrate()
172 averageBitsPerFrame = (bitRate*(frameLength>>shift)) / (coreSamplingRate>>shift) / nSubFrames; in FDKaacEnc_LimitBitrate()
185 …Rate = FDKmax(bitRate, ((((40 * nChannels) + transportBits) * (coreSamplingRate)) / frameLength) ); in FDKaacEnc_LimitBitrate()
[all …]
Daacenc.h243 const INT frameLength,
258 const INT frameLength,
279 INT frameLength,
Dbandwidth.h102 INT frameLength,
Dtransform.h118 const INT frameLength,
Dmetadata_main.h155 const UINT frameLength,
Dmetadata_main.cpp406 const UINT frameLength, in FDK_MetadataEnc_Init() argument
422 for (nFrames=0, delay=audioDelay-frameLength; delay>0; delay-=frameLength, nFrames++); in FDK_MetadataEnc_Init()
469 frameLength, in FDK_MetadataEnc_Init()
Daacenc_lib.cpp621 const INT frameLength, in aacEncoder_LimitBitrate() argument
658 frameLength, in aacEncoder_LimitBitrate()
1021 INT frameLength = hAacConfig->framelength; in aacEncInit() local
1031 frameLength = hAacConfig->framelength; /* adapt temporal framelength */ in aacEncInit()
1091 &frameLength, in aacEncInit()
1180 frameLength, in aacEncInit()
1199 hAacEncoder->nSamplesToRead = frameLength * config->nChannels; in aacEncInit()
2128 pInfo->frameLength = hAacEncoder->nSamplesToRead/hAacEncoder->extParam.nChannels; in aacEncInfo()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DTypesLengths.java116 private static int frameLength; field in TypesLengths
183 return frameLength; in getTypeLength()
278 frameLength = typeLength; in setTypeLength()
/external/aac/libAACdec/src/
Dldfiltbank.h105 const int frameLength
/external/sonivox/arm-wt-22k/lib_src/
Deas_data.h74 EAS_U32 frameLength; member
Deas_public.c326 pStream->frameLength = AUDIO_FRAME_LENGTH; in EAS_InitStream()
942 …Num], pEASData->streams[streamNum].time + pEASData->streams[streamNum].frameLength, eParserModePla… in EAS_Render()
1188 pStream->frameLength = (AUDIO_FRAME_LENGTH * (rate >> 8)) >> 20; in EAS_SetPlaybackRate()
1268 pStream->time += pStream->frameLength; in EAS_ParseEvents()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Disacfix.c1272 size_t* frameLength) in WebRtcIsacfix_ReadFrameLen() argument
1287 err = WebRtcIsacfix_DecodeFrameLen(&streamdata, frameLength); in WebRtcIsacfix_ReadFrameLen()
1326 size_t frameLength; in WebRtcIsacfix_ReadBwIndex() local
1327 err = WebRtcIsacfix_DecodeFrameLen(&streamdata, &frameLength); in WebRtcIsacfix_ReadBwIndex()
/external/aac/libAACenc/include/
Daacenc_lib.h774 …UINT frameLength; /*!< Amount of input audio samples consumed each frame pe… member
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/include/
Disacfix.h355 size_t* frameLength);
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/include/
Disac.h318 int16_t* frameLength);
/external/aac/libSBRenc/include/
Dsbr_encoder.h346 INT *frameLength,
/external/aac/libSBRenc/src/
Dsbr_encoder.cpp1908 INT *frameLength, in sbrEncoder_Init() argument
1922 int coreFrameLength = *frameLength; in sbrEncoder_Init()
2282 *frameLength = coreFrameLength * *downSampleFactor; in sbrEncoder_Init()
2294 *frameLength = coreFrameLength; in sbrEncoder_Init()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Disac.c1765 int16_t* frameLength) { in WebRtcIsac_ReadFrameLen() argument
1785 err = WebRtcIsac_DecodeFrameLen(&streamdata, frameLength); in WebRtcIsac_ReadFrameLen()
1795 *frameLength <<= 1; in WebRtcIsac_ReadFrameLen()