Searched refs:vidCaps (Results 1 – 2 of 2) sorted by relevance
453 VideoCapabilities vidCaps = caps.getVideoCapabilities(); in createReasonableVideoFormat() local457 int maxWidth = vidCaps.getSupportedWidths().getUpper(); in createReasonableVideoFormat()458 int maxHeight = vidCaps.getSupportedHeightsFor(width).getUpper(); in createReasonableVideoFormat()459 int maxRate = vidCaps.getSupportedFrameRatesFor(width, height).getUpper().intValue(); in createReasonableVideoFormat()460 int bitrate = vidCaps.getBitrateRange().clamp( in createReasonableVideoFormat()461 (int)(vidCaps.getBitrateRange().getUpper() in createReasonableVideoFormat()502 VideoCapabilities vidCaps = caps.getVideoCapabilities(); in createVideoFormatForBitrateMode() local506 int maxWidth = vidCaps.getSupportedWidths().getUpper(); in createVideoFormatForBitrateMode()507 int maxHeight = vidCaps.getSupportedHeightsFor(width).getUpper(); in createVideoFormatForBitrateMode()508 int maxRate = vidCaps.getSupportedFrameRatesFor(width, height).getUpper().intValue(); in createVideoFormatForBitrateMode()[all …]
602 VideoCapabilities vidCaps = caps.getVideoCapabilities(); in getVideoCapabilities() local603 if (vidCaps == null) { in getVideoCapabilities()606 return vidCaps; in getVideoCapabilities()690 VideoCapabilities vidCaps = in setMaxEncoderFrameAndBitrates() local692 setMaxEncoderFrameAndBitrates(vidCaps, format, maxFps); in setMaxEncoderFrameAndBitrates()696 VideoCapabilities vidCaps, MediaFormat format, int maxFps) { in setMaxEncoderFrameAndBitrates() argument700 int maxWidth = vidCaps.getSupportedWidths().getUpper(); in setMaxEncoderFrameAndBitrates()701 int maxHeight = vidCaps.getSupportedHeightsFor(maxWidth).getUpper(); in setMaxEncoderFrameAndBitrates()703 maxFps, vidCaps.getSupportedFrameRatesFor(width, height).getUpper().intValue()); in setMaxEncoderFrameAndBitrates()706 int bitrate = vidCaps.getBitrateRange().clamp( in setMaxEncoderFrameAndBitrates()[all …]