Home
last modified time | relevance | path

Searched refs:getSampleCount (Results 1 – 25 of 46) sorted by relevance

12

/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/test/java/com/google/android/exoplayer2/mediacodec/
DBatchBufferTest.java41 assertThat(batchBuffer.getSampleCount()).isEqualTo(0); in newBatchBuffer_isEmpty()
50 assertThat(batchBuffer.getSampleCount()).isEqualTo(1); in appendSample()
60 assertThat(batchBuffer.getSampleCount()).isEqualTo(0); in appendSample_thenClear_isEmpty()
82 assertThat(batchBuffer.getSampleCount()).isEqualTo(i + 1); in appendSample_succeedsUntilDefaultMaxSampleCountReached_thenFails()
87 assertThat(batchBuffer.getSampleCount()).isEqualTo(DEFAULT_MAX_SAMPLE_COUNT); in appendSample_succeedsUntilDefaultMaxSampleCountReached_thenFails()
98 assertThat(batchBuffer.getSampleCount()).isEqualTo(i + 1); in appendSample_succeedsUntilCustomMaxSampleCountReached_thenFails()
103 assertThat(batchBuffer.getSampleCount()).isEqualTo(customMaxSampleCount); in appendSample_succeedsUntilCustomMaxSampleCountReached_thenFails()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/test/java/com/google/android/exoplayer2/mediacodec/
DBatchBufferTest.java41 assertThat(batchBuffer.getSampleCount()).isEqualTo(0); in newBatchBuffer_isEmpty()
50 assertThat(batchBuffer.getSampleCount()).isEqualTo(1); in appendSample()
60 assertThat(batchBuffer.getSampleCount()).isEqualTo(0); in appendSample_thenClear_isEmpty()
82 assertThat(batchBuffer.getSampleCount()).isEqualTo(i + 1); in appendSample_succeedsUntilDefaultMaxSampleCountReached_thenFails()
87 assertThat(batchBuffer.getSampleCount()).isEqualTo(DEFAULT_MAX_SAMPLE_COUNT); in appendSample_succeedsUntilDefaultMaxSampleCountReached_thenFails()
98 assertThat(batchBuffer.getSampleCount()).isEqualTo(i + 1); in appendSample_succeedsUntilCustomMaxSampleCountReached_thenFails()
103 assertThat(batchBuffer.getSampleCount()).isEqualTo(customMaxSampleCount); in appendSample_succeedsUntilCustomMaxSampleCountReached_thenFails()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/rtsp/src/test/java/com/google/android/exoplayer2/source/rtsp/reader/
DRtpPcmReaderTest.java80 assertThat(trackOutput.getSampleCount()).isEqualTo(2); in consume_twoDualChannelWav8bitPackets()
108 assertThat(trackOutput.getSampleCount()).isEqualTo(2); in consume_twoSingleChannelWav16bitPackets()
135 assertThat(trackOutput.getSampleCount()).isEqualTo(2); in consume_twoDualChannelAlawPackets()
162 assertThat(trackOutput.getSampleCount()).isEqualTo(2); in consume_twoDualChannelMlawPackets()
DRtpAc3ReaderTest.java125 assertThat(trackOutput.getSampleCount()).isEqualTo(2); in consume_allPackets()
155 assertThat(trackOutput.getSampleCount()).isEqualTo(2); in consume_fragmentedFrameMissingFirstFragment()
184 assertThat(trackOutput.getSampleCount()).isEqualTo(2); in consume_fragmentedFrameMissingBoundaryFragment()
/external/swiftshader/src/Vulkan/
DVkImageView.hpp111 int getSampleCount() const in getSampleCount() function in vk::ImageView
113 switch(image->getSampleCount()) in getSampleCount()
118 UNSUPPORTED("Sample count %d", image->getSampleCount()); in getSampleCount()
DVkDescriptorSetLayout.cpp430 sampledImage[i].sampleCount = imageView->getSampleCount(); in WriteDescriptorSet()
500 uint32_t sampleMax = imageView->getSampleCount() - 1; in WriteDescriptorSet()
529 storageImage[i].sampleCount = imageView->getSampleCount(); in WriteDescriptorSet()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DSampleSizeBox.java66 public long getSampleCount() { in getSampleCount() method in SampleSizeBox
119 … return "SampleSizeBox[sampleSize=" + getSampleSize() + ";sampleCount=" + getSampleCount() + "]"; in toString()
DSampleAuxiliaryInformationSizesBox.java128 public int getSampleCount() { in getSampleCount() method in SampleAuxiliaryInformationSizesBox
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/mp4/
DAtomParsersTest.java72 assertThat(box.getSampleCount()).isEqualTo(4); in verifyStz2Parsing()
74 for (int i = 0; i < box.getSampleCount(); i++) { in verifyStz2Parsing()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/mp4/
DAtomParsersTest.java72 assertThat(box.getSampleCount()).isEqualTo(4); in verifyStz2Parsing()
74 for (int i = 0; i < box.getSampleCount(); i++) { in verifyStz2Parsing()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/rtsp/src/test/java/com/google/android/exoplayer2/source/rtsp/reader/
DRtpAc3ReaderTest.java125 assertThat(trackOutput.getSampleCount()).isEqualTo(2); in consume_allPackets()
155 assertThat(trackOutput.getSampleCount()).isEqualTo(2); in consume_fragmentedFrameMissingFirstFragment()
184 assertThat(trackOutput.getSampleCount()).isEqualTo(2); in consume_fragmentedFrameMissingBoundaryFragment()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/samplegrouping/
DSampleToGroupBox.java70 IsoTypeWriter.writeUInt32(byteBuffer, entry.getSampleCount()); in getContent()
98 public long getSampleCount() { in getSampleCount() method in SampleToGroupBox.Entry
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ts/
DPsExtractorSeekTest.java215 int numSampleBeforeSeek = trackOutput.getSampleCount(); in seekToTimeUs()
228 && trackOutput.getSampleCount() == numSampleBeforeSeek) { in seekToTimeUs()
240 } else if (trackOutput.getSampleCount() > numSampleBeforeSeek) { in seekToTimeUs()
329 for (int i = 0; i < expectedTrackOutput.getSampleCount(); i++) { in findOutputFrameInExpectedOutput()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ts/
DPsExtractorSeekTest.java215 int numSampleBeforeSeek = trackOutput.getSampleCount(); in seekToTimeUs()
228 && trackOutput.getSampleCount() == numSampleBeforeSeek) { in seekToTimeUs()
240 } else if (trackOutput.getSampleCount() > numSampleBeforeSeek) { in seekToTimeUs()
329 for (int i = 0; i < expectedTrackOutput.getSampleCount(); i++) { in findOutputFrameInExpectedOutput()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DTestUtil.java398 int numSampleBeforeSeek = trackOutput.getSampleCount(); in seekToTimeUs()
413 && trackOutput.getSampleCount() == numSampleBeforeSeek) { in seekToTimeUs()
425 && trackOutput.getSampleCount() == numSampleBeforeSeek) { in seekToTimeUs()
427 } else if (trackOutput.getSampleCount() > numSampleBeforeSeek) { in seekToTimeUs()
DFakeTrackOutput.java173 public int getSampleCount() { in getSampleCount() method in FakeTrackOutput
214 new DumpableSampleInfo(timeUs, flags, startOffset, endOffset, cryptoData, getSampleCount()); in addSampleInfo()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DTestUtil.java398 int numSampleBeforeSeek = trackOutput.getSampleCount(); in seekToTimeUs()
413 && trackOutput.getSampleCount() == numSampleBeforeSeek) { in seekToTimeUs()
425 && trackOutput.getSampleCount() == numSampleBeforeSeek) { in seekToTimeUs()
427 } else if (trackOutput.getSampleCount() > numSampleBeforeSeek) { in seekToTimeUs()
DFakeTrackOutput.java173 public int getSampleCount() { in getSampleCount() method in FakeTrackOutput
214 new DumpableSampleInfo(timeUs, flags, startOffset, endOffset, cryptoData, getSampleCount()); in addSampleInfo()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/test/java/com/google/android/exoplayer2/text/
DSubtitleExtractorTest.java69 assertThat(trackOutput.getSampleCount()).isEqualTo(6); in extractor_outputsCues()
121 assertThat(trackOutput.getSampleCount()).isEqualTo(4); in extractor_seekAfterExtracting_outputsCues()
166 assertThat(trackOutput.getSampleCount()).isEqualTo(4); in extractor_seekBetweenReads_outputsCues()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/test/java/com/google/android/exoplayer2/text/
DSubtitleExtractorTest.java69 assertThat(trackOutput.getSampleCount()).isEqualTo(6); in extractor_outputsCues()
121 assertThat(trackOutput.getSampleCount()).isEqualTo(4); in extractor_seekAfterExtracting_outputsCues()
166 assertThat(trackOutput.getSampleCount()).isEqualTo(4); in extractor_seekBetweenReads_outputsCues()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/
DSampleList.java49 … chunkOffsets.length > 0 && sampleSizeBox != null && sampleSizeBox.getSampleCount() > 0) { in SampleList()
55 sizes = new long[l2i(sampleSizeBox.getSampleCount())]; in SampleList()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/mediacodec/
DBatchBuffer.java77 public int getSampleCount() { in getSampleCount() method in BatchBuffer
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/mediacodec/
DBatchBuffer.java77 public int getSampleCount() { in getSampleCount() method in BatchBuffer
/external/swiftshader/src/Device/
DSetupProcessor.cpp86 state.multiSampleCount = fragmentOutputInterfaceState.getSampleCount(); in update()
DPixelProcessor.cpp152 state.multiSampleCount = static_cast<unsigned int>(fragmentOutputInterfaceState.getSampleCount()); in update()

12