Searched refs:vidCaps (Results 1 – 2 of 2) sorted by relevance
562 VideoCapabilities vidCaps = caps.getVideoCapabilities(); in getVideoCapabilities() local563 if (vidCaps == null) { in getVideoCapabilities()566 return vidCaps; in getVideoCapabilities()638 VideoCapabilities vidCaps = in setMaxEncoderFrameAndBitrates() local640 setMaxEncoderFrameAndBitrates(vidCaps, format, maxFps); in setMaxEncoderFrameAndBitrates()644 VideoCapabilities vidCaps, MediaFormat format, int maxFps) { in setMaxEncoderFrameAndBitrates() argument648 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 …]
433 VideoCapabilities vidCaps = caps.getVideoCapabilities(); in createReasonableVideoFormat() local437 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()