Home
last modified time | relevance | path

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

/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/audio/
DMpegAudioUtil.java52 public boolean setForHeaderData(int headerData) { in setForHeaderData() argument
53 if (!isMagicPresent(headerData)) { in setForHeaderData()
57 int version = (headerData >>> 19) & 3; in setForHeaderData()
62 int layer = (headerData >>> 17) & 3; in setForHeaderData()
67 int bitrateIndex = (headerData >>> 12) & 15; in setForHeaderData()
73 int samplingRateIndex = (headerData >>> 10) & 3; in setForHeaderData()
88 int padding = (headerData >>> 9) & 1; in setForHeaderData()
106 channels = ((headerData >> 6) & 3) == 3 ? 1 : 2; in setForHeaderData()
115 public static int getFrameSize(int headerData) { in getFrameSize() argument
116 if (!isMagicPresent(headerData)) { in getFrameSize()
[all …]
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DVorbisUtil.java150 public static VorbisIdHeader readVorbisIdentificationHeader(ParsableByteArray headerData) in readVorbisIdentificationHeader() argument
153 verifyVorbisHeaderCapturePattern(0x01, headerData, false); in readVorbisIdentificationHeader()
155 int version = headerData.readLittleEndianUnsignedIntToInt(); in readVorbisIdentificationHeader()
156 int channels = headerData.readUnsignedByte(); in readVorbisIdentificationHeader()
157 int sampleRate = headerData.readLittleEndianUnsignedIntToInt(); in readVorbisIdentificationHeader()
158 int bitrateMaximum = headerData.readLittleEndianInt(); in readVorbisIdentificationHeader()
162 int bitrateNominal = headerData.readLittleEndianInt(); in readVorbisIdentificationHeader()
166 int bitrateMinimum = headerData.readLittleEndianInt(); in readVorbisIdentificationHeader()
170 int blockSize = headerData.readUnsignedByte(); in readVorbisIdentificationHeader()
174 boolean framingFlag = (headerData.readUnsignedByte() & 0x01) > 0; in readVorbisIdentificationHeader()
[all …]
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/
DVorbisUtilTest.java54 ParsableByteArray headerData = new ParsableByteArray(data, data.length); in readIdHeader() local
56 VorbisUtil.readVorbisIdentificationHeader(headerData); in readIdHeader()
74 ParsableByteArray headerData = new ParsableByteArray(data, data.length); in readCommentHeader() local
75 VorbisUtil.CommentHeader commentHeader = VorbisUtil.readVorbisCommentHeader(headerData); in readCommentHeader()
89 ParsableByteArray headerData = new ParsableByteArray(data, data.length); in readVorbisModes() local
90 VorbisUtil.Mode[] modes = VorbisUtil.readVorbisModes(headerData, 2); in readVorbisModes()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp3/
DMp3Extractor.java361 int headerData = scratch.readInt(); in synchronize() local
364 && !headersMatch(headerData, candidateSynchronizedHeaderData)) in synchronize()
365 || (frameSize = MpegAudioUtil.getFrameSize(headerData)) == C.LENGTH_UNSET) { in synchronize()
385 synchronizedHeader.setForHeaderData(headerData); in synchronize()
386 candidateSynchronizedHeaderData = headerData; in synchronize()
535 int headerData = frame.readInt(); in getSeekFrameHeader() local
536 if (headerData == SEEK_HEADER_XING || headerData == SEEK_HEADER_INFO) { in getSeekFrameHeader()
537 return headerData; in getSeekFrameHeader()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ogg/
DOpusReader.java55 protected void reset(boolean headerData) { in reset() argument
56 super.reset(headerData); in reset()
57 if (headerData) { in reset()
DFlacReader.java50 protected void reset(boolean headerData) { in reset() argument
51 super.reset(headerData); in reset()
52 if (headerData) { in reset()
DVorbisReader.java50 protected void reset(boolean headerData) { in reset() argument
51 super.reset(headerData); in reset()
52 if (headerData) { in reset()
DStreamReader.java76 protected void reset(boolean headerData) { in reset() argument
77 if (headerData) { in reset()
/external/aac/libSBRdec/src/
Dsbrdec_freq_sca.h117 HANDLE_SBR_HEADER_DATA headerData, UINT flags);
Denv_extr.h396 sbrGetHeaderData(HANDLE_SBR_HEADER_DATA headerData,
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Deventhistory.h27 QVariant headerData(int section, Qt::Orientation orientation,
Deventhistory.cpp47 QVariant EventListModel::headerData(int section, Qt::Orientation orientation, in headerData() function in EventListModel
/external/angle/third_party/vulkan-deps/glslang/src/glslang/Public/
DShaderLang.h582 …IncludeResult(const std::string& headerName, const char* const headerData, const size_t headerLeng… in IncludeResult()
583 … headerName(headerName), headerData(headerData), headerLength(headerLength), userData(userData) { } in IncludeResult()
594 const char* const headerData; member
/external/deqp-deps/glslang/glslang/Public/
DShaderLang.h561 …IncludeResult(const std::string& headerName, const char* const headerData, const size_t headerLeng… in IncludeResult()
562 … headerName(headerName), headerData(headerData), headerLength(headerLength), userData(userData) { } in IncludeResult()
573 const char* const headerData; member
/external/fonttools/Lib/fontTools/misc/
DmacRes.py87 headerData = self._read(ResourceForkHeaderSize)
88 sstruct.unpack(ResourceForkHeader, headerData, self)
/external/deqp-deps/glslang/glslang/CInterface/
Dglslang_c_interface.cpp86 …CallbackIncludeResult(const std::string& headerName, const char* const headerData, const size_t he… in CallbackIncludeResult() argument
88 … : glslang::TShader::Includer::IncludeResult(headerName, headerData, headerLength, userData), in CallbackIncludeResult()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/CInterface/
Dglslang_c_interface.cpp86 …CallbackIncludeResult(const std::string& headerName, const char* const headerData, const size_t he… in CallbackIncludeResult() argument
88 … : glslang::TShader::Includer::IncludeResult(headerName, headerData, headerLength, userData), in CallbackIncludeResult()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/preprocessor/
DPp.cpp677 if (res->headerData != nullptr && res->headerLength > 0) { in CPPinclude()
683 epilogue << (res->headerData[res->headerLength - 1] == '\n'? "" : "\n") << in CPPinclude()
686 …parseContext.intermediate.addIncludeText(res->headerName.c_str(), res->headerData, res->headerLeng… in CPPinclude()
696 res != nullptr ? std::string(res->headerData, res->headerLength) in CPPinclude()
DPpContext.h608 strings[1] = includedFile_->headerData; in TokenizableIncludeFile()
/external/deqp-deps/glslang/glslang/MachineIndependent/preprocessor/
DPp.cpp677 if (res->headerData != nullptr && res->headerLength > 0) { in CPPinclude()
683 epilogue << (res->headerData[res->headerLength - 1] == '\n'? "" : "\n") << in CPPinclude()
686 …parseContext.intermediate.addIncludeText(res->headerName.c_str(), res->headerData, res->headerLeng… in CPPinclude()
696 res != nullptr ? std::string(res->headerData, res->headerLength) in CPPinclude()
DPpContext.h608 strings[1] = includedFile_->headerData; in TokenizableIncludeFile()