/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/video/ |
D | AvcConfig.java | 32 public final List<byte[]> initializationData; field in AvcConfig 53 List<byte[]> initializationData = new ArrayList<>(); in parse() local 56 initializationData.add(buildNalUnitForChild(data)); in parse() 60 initializationData.add(buildNalUnitForChild(data)); in parse() 67 byte[] sps = initializationData.get(0); in parse() 68 SpsData spsData = NalUnitUtil.parseSpsNalUnit(initializationData.get(0), in parse() 74 return new AvcConfig(initializationData, nalUnitLengthFieldLength, width, height, in parse() 81 private AvcConfig(List<byte[]> initializationData, int nalUnitLengthFieldLength, in AvcConfig() argument 83 this.initializationData = initializationData; in AvcConfig()
|
D | HevcConfig.java | 30 @Nullable public final List<byte[]> initializationData; field in HevcConfig 79 List<byte[]> initializationData = csdLength == 0 ? null : Collections.singletonList(buffer); in parse() local 80 return new HevcConfig(initializationData, lengthSizeMinusOne + 1); in parse() 86 private HevcConfig(@Nullable List<byte[]> initializationData, int nalUnitLengthFieldLength) { in HevcConfig() argument 87 this.initializationData = initializationData; in HevcConfig()
|
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/ |
D | Format.java | 139 @Nullable private List<byte[]> initializationData; field in Format.Builder 211 this.initializationData = format.initializationData; in Builder() 389 public Builder setInitializationData(@Nullable List<byte[]> initializationData) { in setInitializationData() argument 390 this.initializationData = initializationData; in setInitializationData() 606 initializationData, in build() 715 public final List<byte[]> initializationData; field in Format 812 @Nullable List<byte[]> initializationData, in createVideoContainerFormat() argument 826 .setInitializationData(initializationData) in createVideoContainerFormat() 844 @Nullable List<byte[]> initializationData, in createVideoSampleFormat() argument 853 .setInitializationData(initializationData) in createVideoSampleFormat() [all …]
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ogg/ |
D | OpusReader.java | 74 List<byte[]> initializationData = new ArrayList<>(3); in readHeaders() local 75 initializationData.add(metadata); in readHeaders() 76 putNativeOrderLong(initializationData, preskip); in readHeaders() 77 putNativeOrderLong(initializationData, DEFAULT_SEEK_PRE_ROLL_SAMPLES); in readHeaders() 84 .setInitializationData(initializationData) in readHeaders() 95 private void putNativeOrderLong(List<byte[]> initializationData, int samples) { in putNativeOrderLong() argument 98 initializationData.add(array); in putNativeOrderLong()
|
/external/exoplayer/tree/extensions/ffmpeg/src/main/java/com/google/android/exoplayer2/ext/ffmpeg/ |
D | FfmpegAudioDecoder.java | 67 extraData = getExtraData(format.sampleMimeType, format.initializationData); in FfmpegAudioDecoder() 164 private static @Nullable byte[] getExtraData(String mimeType, List<byte[]> initializationData) { in getExtraData() argument 168 return initializationData.get(0); in getExtraData() 170 return getAlacExtraData(initializationData); in getExtraData() 172 return getVorbisExtraData(initializationData); in getExtraData() 179 private static byte[] getAlacExtraData(List<byte[]> initializationData) { in getAlacExtraData() argument 185 byte[] magicCookie = initializationData.get(0); in getAlacExtraData() 195 private static byte[] getVorbisExtraData(List<byte[]> initializationData) { in getVorbisExtraData() argument 196 byte[] header0 = initializationData.get(0); in getVorbisExtraData() 197 byte[] header1 = initializationData.get(1); in getVorbisExtraData()
|
/external/exoplayer/tree/extensions/opus/src/main/java/com/google/android/exoplayer2/ext/opus/ |
D | OpusDecoder.java | 74 List<byte[]> initializationData, in OpusDecoder() argument 85 byte[] headerBytes = initializationData.get(0); in OpusDecoder() 117 if (initializationData.size() == 3) { in OpusDecoder() 118 if (initializationData.get(1).length != 8 || initializationData.get(2).length != 8) { in OpusDecoder() 122 ByteBuffer.wrap(initializationData.get(1)).order(ByteOrder.nativeOrder()).getLong(); in OpusDecoder() 124 ByteBuffer.wrap(initializationData.get(2)).order(ByteOrder.nativeOrder()).getLong(); in OpusDecoder()
|
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/ |
D | CodecSpecificDataUtil.java | 65 public static boolean parseCea708InitializationData(List<byte[]> initializationData) { in parseCea708InitializationData() argument 66 return initializationData.size() == 1 in parseCea708InitializationData() 67 && initializationData.get(0).length == 1 in parseCea708InitializationData() 68 && initializationData.get(0)[0] == 1; in parseCea708InitializationData()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ |
D | SubtitleDecoderFactory.java | 100 return new SsaDecoder(format.initializationData); 108 return new Tx3gDecoder(format.initializationData); 116 return new Cea708Decoder(format.accessibilityChannel, format.initializationData); 118 return new DvbDecoder(format.initializationData);
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/ |
D | TsPayloadReader.java | 104 public final byte[] initializationData; field in TsPayloadReader.DvbSubtitleInfo 111 public DvbSubtitleInfo(String language, int type, byte[] initializationData) { in DvbSubtitleInfo() argument 114 this.initializationData = initializationData; in DvbSubtitleInfo()
|
D | DefaultTsPayloadReaderFactory.java | 258 @Nullable List<byte[]> initializationData = null; in getClosedCaptionFormats() local 262 initializationData = in getClosedCaptionFormats() 271 .setInitializationData(initializationData) in getClosedCaptionFormats()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/ |
D | AtomParsers.java | 844 @Nullable List<byte[]> initializationData = null; in parseTextSampleEntry() local 855 initializationData = Collections.singletonList(sampleDescriptionData); in parseTextSampleEntry() 876 .setInitializationData(initializationData) in parseTextSampleEntry() 918 @Nullable List<byte[]> initializationData = null; in parseVideoSampleEntry() local 939 initializationData = avcConfig.initializationData; in parseVideoSampleEntry() 949 initializationData = hevcConfig.initializationData; in parseVideoSampleEntry() 973 initializationData = Collections.singletonList(initializationDataBytes); in parseVideoSampleEntry() 1022 .setInitializationData(initializationData) in parseVideoSampleEntry() 1173 @Nullable byte[] initializationData = null; in parseAudioSampleEntry() 1186 initializationData = mimeTypeAndInitializationData.second; in parseAudioSampleEntry() [all …]
|
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/ |
D | FormatTest.java | 67 List<byte[]> initializationData = new ArrayList<>(); in createTestFormat() local 68 initializationData.add(initData1); in createTestFormat() 69 initializationData.add(initData2); in createTestFormat() 106 initializationData, in createTestFormat()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/tx3g/ |
D | Tx3gDecoder.java | 81 public Tx3gDecoder(List<byte[]> initializationData) { in Tx3gDecoder() argument 85 if (initializationData != null && initializationData.size() == 1 in Tx3gDecoder() 86 && (initializationData.get(0).length == 48 || initializationData.get(0).length == 53)) { in Tx3gDecoder() 87 byte[] initializationBytes = initializationData.get(0); in Tx3gDecoder()
|
/external/exoplayer/tree/extensions/flac/src/main/java/com/google/android/exoplayer2/ext/flac/ |
D | FlacDecoder.java | 54 List<byte[]> initializationData) in FlacDecoder() argument 57 if (initializationData.size() != 1) { in FlacDecoder() 61 decoderJni.setData(ByteBuffer.wrap(initializationData.get(0))); in FlacDecoder()
|
D | LibflacAudioRenderer.java | 90 if (format.initializationData.isEmpty()) { in supportsFormatInternal() 100 new FlacStreamMetadata(format.initializationData.get(0), streamMetadataOffset); in supportsFormatInternal() 117 new FlacDecoder(NUM_BUFFERS, NUM_BUFFERS, format.maxInputSize, format.initializationData); in createDecoder()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mkv/ |
D | MatroskaExtractor.java | 1942 @Nullable List<byte[]> initializationData = null; in initializeOutput() local 1960 initializationData = in initializeOutput() 1966 initializationData = avcConfig.initializationData; in initializeOutput() 1972 initializationData = hevcConfig.initializationData; in initializeOutput() 1979 initializationData = pair.second; in initializeOutput() 1989 initializationData = parseVorbisCodecPrivate(codecPrivate); in initializeOutput() 1994 initializationData = new ArrayList<>(3); in initializeOutput() 1995 initializationData.add(codecPrivate); in initializeOutput() 1996 initializationData.add( in initializeOutput() 1998 initializationData.add( in initializeOutput() [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/dvb/ |
D | DvbDecoder.java | 33 public DvbDecoder(List<byte[]> initializationData) { in DvbDecoder() argument 35 ParsableByteArray data = new ParsableByteArray(initializationData.get(0)); in DvbDecoder()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ssa/ |
D | SsaDecoder.java | 83 public SsaDecoder(@Nullable List<byte[]> initializationData) { in SsaDecoder() argument 88 if (initializationData != null && !initializationData.isEmpty()) { in SsaDecoder() 90 String formatLine = Util.fromUtf8Bytes(initializationData.get(0)); in SsaDecoder() 94 parseHeader(new ParsableByteArray(initializationData.get(1))); in SsaDecoder()
|
/external/exoplayer/tree/testdata/src/test/assets/mp4/ |
D | sample_fragmented_seekable.mp4.3.dump | 17 initializationData: 150 initializationData:
|
D | sample_mdat_too_long.mp4.3.dump | 19 initializationData: 154 initializationData:
|
D | sample.mp4.3.dump | 19 initializationData: 154 initializationData:
|
/external/exoplayer/tree/testdata/src/test/assets/ogg/ |
D | bear_vorbis.ogg.3.dump | 17 initializationData:
|
D | bear_flac_noseektable.ogg.3.dump | 17 initializationData:
|
D | bear_flac.ogg.3.dump | 17 initializationData:
|
/external/exoplayer/tree/testdata/src/test/assets/flac/ |
D | bear_one_metadata_block_flac.3.dump | 17 initializationData:
|