Home
last modified time | relevance | path

Searched refs:vidCaps (Results 1 – 2 of 2) sorted by relevance

/cts/libs/deviceutil/src/android/cts/util/
DMediaUtils.java562 VideoCapabilities vidCaps = caps.getVideoCapabilities(); in getVideoCapabilities() local
563 if (vidCaps == null) { in getVideoCapabilities()
566 return vidCaps; in getVideoCapabilities()
638 VideoCapabilities vidCaps = in setMaxEncoderFrameAndBitrates() local
640 setMaxEncoderFrameAndBitrates(vidCaps, format, maxFps); in setMaxEncoderFrameAndBitrates()
644 VideoCapabilities vidCaps, MediaFormat format, int maxFps) { in setMaxEncoderFrameAndBitrates() argument
648 int maxWidth = vidCaps.getSupportedWidths().getUpper(); in setMaxEncoderFrameAndBitrates()
649 int maxHeight = vidCaps.getSupportedHeightsFor(maxWidth).getUpper(); in setMaxEncoderFrameAndBitrates()
651 maxFps, vidCaps.getSupportedFrameRatesFor(width, height).getUpper().intValue()); in setMaxEncoderFrameAndBitrates()
654 int bitrate = vidCaps.getBitrateRange().clamp( in setMaxEncoderFrameAndBitrates()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecCapabilitiesTest.java433 VideoCapabilities vidCaps = caps.getVideoCapabilities(); in createReasonableVideoFormat() local
437 int maxWidth = vidCaps.getSupportedWidths().getUpper(); in createReasonableVideoFormat()
438 int maxHeight = vidCaps.getSupportedHeightsFor(width).getUpper(); in createReasonableVideoFormat()
439 int maxRate = vidCaps.getSupportedFrameRatesFor(width, height).getUpper().intValue(); in createReasonableVideoFormat()
440 int bitrate = vidCaps.getBitrateRange().clamp( in createReasonableVideoFormat()
441 (int)(vidCaps.getBitrateRange().getUpper() in createReasonableVideoFormat()