Home
last modified time | relevance | path

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

/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DCameraEnumerator.java44 private List<List<CaptureFormat>> cachedSupportedFormats; field in CameraEnumerator
49 if (cachedSupportedFormats == null) { in getSupportedFormats()
50 cachedSupportedFormats = new ArrayList<List<CaptureFormat>>(); in getSupportedFormats()
52 cachedSupportedFormats.add(enumerateFormats(i)); in getSupportedFormats()
56 return cachedSupportedFormats.get(cameraId); in getSupportedFormats()
DCamera2Enumerator.java58 private final Map<Integer, List<CaptureFormat>> cachedSupportedFormats = field in Camera2Enumerator
71 synchronized (cachedSupportedFormats) { in getSupportedFormats()
72 if (cachedSupportedFormats.containsKey(cameraId)) { in getSupportedFormats()
73 return cachedSupportedFormats.get(cameraId); in getSupportedFormats()
115 cachedSupportedFormats.put(cameraId, formatList); in getSupportedFormats()