Home
last modified time | relevance | path

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

12

/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.cpp120 H_MDCT mdctPers, const INT frameLength, in FDKaacEnc_Transform_Real() argument
134 numMdctLines = frameLength >> 3; in FDKaacEnc_Transform_Real()
137 numMdctLines = frameLength; in FDKaacEnc_Transform_Real()
140 offset = (windowShape == LOL_WINDOW) ? ((frameLength * 3) >> 2) : 0; in FDKaacEnc_Transform_Real()
144 fr = frameLength - offset; in FDKaacEnc_Transform_Real()
148 fr = frameLength >> 3; in FDKaacEnc_Transform_Real()
155 mdct_block(mdctPers, timeData, frameLength, mdctData, numSpec, numMdctLines, in FDKaacEnc_Transform_Real()
175 INT *prevWindowShape, const INT frameLength, in FDKaacEnc_Transform_Real_Eld() argument
188 int N = frameLength; in FDKaacEnc_Transform_Real_Eld()
189 int L = frameLength; in FDKaacEnc_Transform_Real_Eld()
[all …]
Dbandwidth.cpp164 static INT GetBandwidthEntry(const INT frameLength, const INT sampleRate, in GetBandwidthEntry() argument
170 switch (frameLength) { in GetBandwidthEntry()
222 switch (frameLength) { in GetBandwidthEntry()
263 const INT frameLength, const CHANNEL_MAPPING *const cm, in FDKaacEnc_DetermineBandWidth() argument
336 GetBandwidthEntry(frameLength, sampleRate, chanBitRate, entryNo); in FDKaacEnc_DetermineBandWidth()
339 switch (frameLength) { in FDKaacEnc_DetermineBandWidth()
Dtransform.h134 H_MDCT mdctPers, const INT frameLength,
159 INT* prevWindowShape, const INT frameLength,
Daacenc.h277 INT FDKaacEnc_CalcBitsPerFrame(const INT bitRate, const INT frameLength,
290 INT FDKaacEnc_CalcBitrate(const INT bitsPerFrame, const INT frameLength,
312 INT coreSamplingRate, INT frameLength, INT nChannels,
Daacenc.cpp124 INT FDKaacEnc_CalcBitsPerFrame(const INT bitRate, const INT frameLength, in FDKaacEnc_CalcBitsPerFrame() argument
127 while ((frameLength & ~((1 << (shift + 1)) - 1)) == frameLength && in FDKaacEnc_CalcBitsPerFrame()
132 return (bitRate * (frameLength >> shift)) / (samplingRate >> shift); in FDKaacEnc_CalcBitsPerFrame()
135 INT FDKaacEnc_CalcBitrate(const INT bitsPerFrame, const INT frameLength, in FDKaacEnc_CalcBitrate() argument
138 while ((frameLength & ~((1 << (shift + 1)) - 1)) == frameLength && in FDKaacEnc_CalcBitrate()
143 return (bitsPerFrame * (samplingRate >> shift)) / (frameLength >> shift); in FDKaacEnc_CalcBitrate()
151 INT coreSamplingRate, INT frameLength, INT nChannels, in FDKaacEnc_LimitBitrate() argument
164 FDKaacEnc_CalcBitsPerFrame(bitRate, frameLength, coreSamplingRate) / in FDKaacEnc_LimitBitrate()
181 frameLength, coreSamplingRate))); in FDKaacEnc_LimitBitrate()
186 frameLength, coreSamplingRate)); in FDKaacEnc_LimitBitrate()
Dbandwidth.h111 const INT frameLength, const CHANNEL_MAPPING *const cm,
Dmetadata_main.h166 const INT metadataMode, const INT audioDelay, const UINT frameLength,
Daacenc_lib.cpp729 const INT frameLength, const INT nChannels, in aacEncoder_LimitBitrate() argument
749 bitRate = FDKaacEnc_LimitBitrate(hTpEnc, aot, coreSamplingRate, frameLength, in aacEncoder_LimitBitrate()
1263 INT frameLength = hAacConfig->framelength; in aacEncInit() local
1272 frameLength = hAacConfig->framelength; /* adapt temporal framelength */ in aacEncInit()
1337 &frameLength, hAacConfig->audioObjectType, &hAacEncoder->nDelay, in aacEncInit()
1375 frameLength, /* for dual rate sbr this value is in aacEncInit()
1441 frameLength, config->userSamplerate, in aacEncInit()
1470 hAacEncoder->nSamplesToRead = frameLength * config->nChannels; in aacEncInit()
2537 pInfo->frameLength = in aacEncInfo()
Dmetadata_main.cpp450 const INT metadataMode, const INT audioDelay, const UINT frameLength, in FDK_MetadataEnc_Init() argument
462 for (nFrames = 0, delay = audioDelay - (INT)frameLength; delay > 0; in FDK_MetadataEnc_Init()
463 delay -= (INT)frameLength, nFrames++) in FDK_MetadataEnc_Init()
581 frameLength, sampleRate, channelMode, in FDK_MetadataEnc_Init()
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DAltsFraming.java166 int frameLength = buffer.position() + getFrameSuffixLength(); in flush() local
175 int dataLength = frameLength - FRAME_LENGTH_HEADER_SIZE; in flush()
289 int frameLength = dataLength + FRAME_LENGTH_HEADER_SIZE; in readBytes() local
290 if (buffer.capacity() < frameLength) { in readBytes()
291 buffer = ByteBuffer.allocate(frameLength); in readBytes()
295 buffer.limit(frameLength); in readBytes()
/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.h111 const int frameLength);
/external/libxaac/test/
Dixheaacd_fileifc.h30 unsigned int frameLength; member
Dixheaacd_fileifc.c131 transport->avail_buffer += transport->frameCtxt.frameLength; in FileWrapper_Read()
/external/aac/libSACdec/src/
Dsac_dec_lib.cpp928 SACDEC_ERROR checkTimeSlots(int frameLength, int qmfBands, int timeSlots) { in checkTimeSlots() argument
934 switch (frameLength) { in checkTimeSlots()
952 switch (frameLength) { in checkTimeSlots()
970 switch (frameLength) { in checkTimeSlots()
991 len = frameLength; in checkTimeSlots()
997 len += frameLength; in checkTimeSlots()
1024 int frameLength, int sampleRate) { in sscCheckInBand() argument
1042 if (checkTimeSlots(frameLength, qmfBands, pSsc->nTimeSlots) != MPS_OK) { in sscCheckInBand()
Dsac_dec.h361 int frameLength; /* number of output waveform samples/channel/frame */ member
/external/sonivox/arm-wt-22k/lib_src/
Deas_data.h74 EAS_U32 frameLength; member
Deas_public.c277 pStream->frameLength = AUDIO_FRAME_LENGTH; in EAS_InitStream()
791 …Num], pEASData->streams[streamNum].time + pEASData->streams[streamNum].frameLength, eParserModePla… in EAS_Render()
1017 pStream->time += pStream->frameLength; in EAS_ParseEvents()
/external/webrtc/modules/audio_coding/codecs/isac/fix/source/
Disacfix.c962 size_t* frameLength) in WebRtcIsacfix_ReadFrameLen() argument
977 err = WebRtcIsacfix_DecodeFrameLen(&streamdata, frameLength); in WebRtcIsacfix_ReadFrameLen()
1016 size_t frameLength; in WebRtcIsacfix_ReadBwIndex() local
1017 err = WebRtcIsacfix_DecodeFrameLen(&streamdata, &frameLength); in WebRtcIsacfix_ReadBwIndex()
/external/webrtc/modules/audio_coding/codecs/isac/fix/include/
Disacfix.h225 size_t* frameLength);
/external/aac/libAACenc/include/
Daacenc_lib.h1077 UINT frameLength; /*!< Amount of input audio samples consumed each frame per member
/external/webrtc/modules/audio_coding/codecs/isac/main/include/
Disac.h257 int16_t* frameLength);
/external/aac/libSBRenc/include/
Dsbr_encoder.h363 UINT *downSampleFactor, INT *frameLength,
/external/aac/libSACenc/src/
Dsacenc_bitstream.cpp622 const INT frameLength) { in writeFramingInfo() argument
638 while ((1 << bitsParamSlot) < (frameLength + 1)) bitsParamSlot++; in writeFramingInfo()

12