Home
last modified time | relevance | path

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

12

/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/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_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/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_15dc86382f17a24a3e881e52e31a810c1ea44b49/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_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DVorbisUtil.java159 public static VorbisIdHeader readVorbisIdentificationHeader(ParsableByteArray headerData) in readVorbisIdentificationHeader() argument
162 verifyVorbisHeaderCapturePattern(0x01, headerData, false); in readVorbisIdentificationHeader()
164 int version = headerData.readLittleEndianUnsignedIntToInt(); in readVorbisIdentificationHeader()
165 int channels = headerData.readUnsignedByte(); in readVorbisIdentificationHeader()
166 int sampleRate = headerData.readLittleEndianUnsignedIntToInt(); in readVorbisIdentificationHeader()
167 int bitrateMaximum = headerData.readLittleEndianInt(); in readVorbisIdentificationHeader()
171 int bitrateNominal = headerData.readLittleEndianInt(); in readVorbisIdentificationHeader()
175 int bitrateMinimum = headerData.readLittleEndianInt(); in readVorbisIdentificationHeader()
179 int blockSize = headerData.readUnsignedByte(); in readVorbisIdentificationHeader()
183 boolean framingFlag = (headerData.readUnsignedByte() & 0x01) > 0; in readVorbisIdentificationHeader()
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/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_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/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_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/
DDtsReader.java164 byte[] headerData = headerScratchBytes.getData(); in skipToNextSync()
165 headerData[0] = (byte) ((syncBytes >> 24) & 0xFF); in skipToNextSync()
166 headerData[1] = (byte) ((syncBytes >> 16) & 0xFF); in skipToNextSync()
167 headerData[2] = (byte) ((syncBytes >> 8) & 0xFF); in skipToNextSync()
168 headerData[3] = (byte) (syncBytes & 0xFF); in skipToNextSync()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/
DDtsReader.java164 byte[] headerData = headerScratchBytes.getData(); in skipToNextSync()
165 headerData[0] = (byte) ((syncBytes >> 24) & 0xFF); in skipToNextSync()
166 headerData[1] = (byte) ((syncBytes >> 16) & 0xFF); in skipToNextSync()
167 headerData[2] = (byte) ((syncBytes >> 8) & 0xFF); in skipToNextSync()
168 headerData[3] = (byte) (syncBytes & 0xFF); in skipToNextSync()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp3/
DMp3Extractor.java373 int headerData = scratch.readInt(); in synchronize() local
376 && !headersMatch(headerData, candidateSynchronizedHeaderData)) in synchronize()
377 || (frameSize = MpegAudioUtil.getFrameSize(headerData)) == C.LENGTH_UNSET) { in synchronize()
398 synchronizedHeader.setForHeaderData(headerData); in synchronize()
399 candidateSynchronizedHeaderData = headerData; in synchronize()
553 int headerData = frame.readInt(); in getSeekFrameHeader() local
554 if (headerData == SEEK_HEADER_XING || headerData == SEEK_HEADER_INFO) { in getSeekFrameHeader()
555 return headerData; in getSeekFrameHeader()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ogg/
DOpusReader.java46 protected void reset(boolean headerData) { in reset() argument
47 super.reset(headerData); in reset()
48 if (headerData) { in reset()
DFlacReader.java53 protected void reset(boolean headerData) { in reset() argument
54 super.reset(headerData); in reset()
55 if (headerData) { in reset()
DVorbisReader.java53 protected void reset(boolean headerData) { in reset() argument
54 super.reset(headerData); in reset()
55 if (headerData) { in reset()
DStreamReader.java81 protected void reset(boolean headerData) { in reset() argument
82 if (headerData) { in reset()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp3/
DMp3Extractor.java379 int headerData = scratch.readInt(); in synchronize() local
382 && !headersMatch(headerData, candidateSynchronizedHeaderData)) in synchronize()
383 || (frameSize = MpegAudioUtil.getFrameSize(headerData)) == C.LENGTH_UNSET) { in synchronize()
404 synchronizedHeader.setForHeaderData(headerData); in synchronize()
405 candidateSynchronizedHeaderData = headerData; in synchronize()
559 int headerData = frame.readInt(); in getSeekFrameHeader() local
560 if (headerData == SEEK_HEADER_XING || headerData == SEEK_HEADER_INFO) { in getSeekFrameHeader()
561 return headerData; in getSeekFrameHeader()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ogg/
DFlacReader.java53 protected void reset(boolean headerData) { in reset() argument
54 super.reset(headerData); in reset()
55 if (headerData) { in reset()
DVorbisReader.java55 protected void reset(boolean headerData) { in reset() argument
56 super.reset(headerData); in reset()
57 if (headerData) { in reset()
DStreamReader.java81 protected void reset(boolean headerData) { in reset() argument
82 if (headerData) { in reset()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/extensions/opus/src/main/java/com/google/android/exoplayer2/ext/opus/
DOpusDecoder.java259 byte[] headerData = initializationData.get(0); in getPreSkipSamples()
260 return ((headerData[11] & 0xFF) << 8) | (headerData[10] & 0xFF); in getPreSkipSamples()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/extensions/opus/src/main/java/com/google/android/exoplayer2/ext/opus/
DOpusDecoder.java279 byte[] headerData = initializationData.get(0); in getPreSkipSamples()
280 return ((headerData[11] & 0xFF) << 8) | (headerData[10] & 0xFF); in getPreSkipSamples()
/external/aac/libSBRdec/src/
Dsbrdec_freq_sca.h117 HANDLE_SBR_HEADER_DATA headerData, UINT flags);
/external/deqp-deps/glslang/glslang/Public/
DShaderLang.h596 …IncludeResult(const std::string& headerName, const char* const headerData, const size_t headerLeng… in IncludeResult()
597 … headerName(headerName), headerData(headerData), headerLength(headerLength), userData(userData) { } in IncludeResult()
608 const char* const headerData; member
/external/angle/third_party/vulkan-deps/glslang/src/glslang/Public/
DShaderLang.h596 …IncludeResult(const std::string& headerName, const char* const headerData, const size_t headerLeng… in IncludeResult()
597 … headerName(headerName), headerData(headerData), headerLength(headerLength), userData(userData) { } in IncludeResult()
608 const char* const headerData; member
/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/fonttools/Lib/fontTools/misc/
DmacRes.py87 headerData = self._read(ResourceForkHeaderSize)
88 sstruct.unpack(ResourceForkHeader, headerData, self)

12