public final class DecoderCountersUtil extends Object
DecoderCounters
.Modifier and Type | Method | Description |
---|---|---|
static void |
assertConsecutiveDroppedBufferLimit(String name,
DecoderCounters counters,
int limit) |
|
static void |
assertDroppedBufferLimit(String name,
DecoderCounters counters,
int limit) |
|
static void |
assertSkippedOutputBufferCount(String name,
DecoderCounters counters,
int expected) |
|
static void |
assertTotalBufferCount(String name,
DecoderCounters counters,
int minCount,
int maxCount) |
|
static void |
assertVideoFrameProcessingOffsetSampleCount(String name,
DecoderCounters counters,
int minCount,
int maxCount) |
|
static int |
getTotalBufferCount(DecoderCounters counters) |
Returns the sum of the skipped, dropped and rendered buffers.
|
public static int getTotalBufferCount(DecoderCounters counters)
counters
- The counters for which the total should be calculated.public static void assertSkippedOutputBufferCount(String name, DecoderCounters counters, int expected)
public static void assertTotalBufferCount(String name, DecoderCounters counters, int minCount, int maxCount)
public static void assertDroppedBufferLimit(String name, DecoderCounters counters, int limit)
public static void assertConsecutiveDroppedBufferLimit(String name, DecoderCounters counters, int limit)
public static void assertVideoFrameProcessingOffsetSampleCount(String name, DecoderCounters counters, int minCount, int maxCount)