Home
last modified time | relevance | path

Searched refs:previewLayer (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/sdk/objc/helpers/
DRTCCameraPreviewView.m54 AVCaptureVideoPreviewLayer *previewLayer = [self previewLayer];
58 previewLayer.session = captureSession;
82 AVCaptureVideoPreviewLayer *previewLayer = [self previewLayer];
85 if (previewLayer.connection.isVideoOrientationSupported) {
88 previewLayer.connection.videoOrientation =
91 previewLayer.connection.videoOrientation =
94 previewLayer.connection.videoOrientation =
97 previewLayer.connection.videoOrientation =
119 - (AVCaptureVideoPreviewLayer *)previewLayer { method in RTCCameraPreviewView
/external/tensorflow/tensorflow/lite/examples/ios/camera/
DCameraExampleViewController.h28 AVCaptureVideoPreviewLayer* previewLayer; variable
DCameraExampleViewController.mm203 previewLayer = [[AVCaptureVideoPreviewLayer alloc] initWithSession:session];
204 [previewLayer setBackgroundColor:[[UIColor blackColor] CGColor]];
205 [previewLayer setVideoGravity:AVLayerVideoGravityResizeAspect];
208 [previewLayer setFrame:[rootLayer bounds]];
209 [rootLayer addSublayer:previewLayer];
227 [previewLayer removeFromSuperlayer];