Home
last modified time | relevance | path

Searched refs:NAL_START_CODE (Results 1 – 7 of 7) sorted by relevance

/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DCodecSpecificDataUtil.java28 private static final byte[] NAL_START_CODE = new byte[] {0, 0, 0, 1}; field in CodecSpecificDataUtil
95 byte[] nalUnit = new byte[length + NAL_START_CODE.length]; in buildNalUnit()
96 System.arraycopy(NAL_START_CODE, 0, nalUnit, 0, NAL_START_CODE.length); in buildNalUnit()
97 System.arraycopy(data, offset, nalUnit, NAL_START_CODE.length, length); in buildNalUnit()
122 nalUnitIndex = findNalStartCode(data, nalUnitIndex + NAL_START_CODE.length); in splitNalUnits()
143 int endIndex = data.length - NAL_START_CODE.length;
160 if (data.length - index <= NAL_START_CODE.length) {
163 for (int j = 0; j < NAL_START_CODE.length; j++) {
164 if (data[index + j] != NAL_START_CODE[j]) {
DNalUnitUtil.java97 public static final byte[] NAL_START_CODE = new byte[] {0, 0, 0, 1}; field in NalUnitUtil
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/video/
DHevcConfig.java69 System.arraycopy(NalUnitUtil.NAL_START_CODE, 0, buffer, bufferPosition, in parse()
70 NalUnitUtil.NAL_START_CODE.length); in parse()
71 bufferPosition += NalUnitUtil.NAL_START_CODE.length; in parse()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/flv/
DVideoTagPayloadReader.java58 nalStartCode = new ParsableByteArray(NalUnitUtil.NAL_START_CODE); in VideoTagPayloadReader()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/
DMp4Extractor.java142 nalStartCode = new ParsableByteArray(NalUnitUtil.NAL_START_CODE); in Mp4Extractor()
DFragmentedMp4Extractor.java256 nalStartCode = new ParsableByteArray(NalUnitUtil.NAL_START_CODE); in FragmentedMp4Extractor()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mkv/
DMatroskaExtractor.java426 nalStartCode = new ParsableByteArray(NalUnitUtil.NAL_START_CODE); in MatroskaExtractor()