160 lines
4.1 KiB
Smali
160 lines
4.1 KiB
Smali
.class public Lorg/webrtc/Camera1Capturer;
|
|
.super Lorg/webrtc/CameraCapturer;
|
|
.source "Camera1Capturer.java"
|
|
|
|
|
|
# instance fields
|
|
.field private final captureToTexture:Z
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/String;Lorg/webrtc/CameraVideoCapturer$CameraEventsHandler;Z)V
|
|
.locals 1
|
|
|
|
new-instance v0, Lorg/webrtc/Camera1Enumerator;
|
|
|
|
invoke-direct {v0, p3}, Lorg/webrtc/Camera1Enumerator;-><init>(Z)V
|
|
|
|
invoke-direct {p0, p1, p2, v0}, Lorg/webrtc/CameraCapturer;-><init>(Ljava/lang/String;Lorg/webrtc/CameraVideoCapturer$CameraEventsHandler;Lorg/webrtc/CameraEnumerator;)V
|
|
|
|
iput-boolean p3, p0, Lorg/webrtc/Camera1Capturer;->captureToTexture:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic addMediaRecorderToCamera(Landroid/media/MediaRecorder;Lorg/webrtc/CameraVideoCapturer$MediaRecorderHandler;)V
|
|
.locals 0
|
|
|
|
invoke-super {p0, p1, p2}, Lorg/webrtc/CameraCapturer;->addMediaRecorderToCamera(Landroid/media/MediaRecorder;Lorg/webrtc/CameraVideoCapturer$MediaRecorderHandler;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public bridge synthetic changeCaptureFormat(III)V
|
|
.locals 0
|
|
|
|
invoke-super {p0, p1, p2, p3}, Lorg/webrtc/CameraCapturer;->changeCaptureFormat(III)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method protected createCameraSession(Lorg/webrtc/CameraSession$CreateSessionCallback;Lorg/webrtc/CameraSession$Events;Landroid/content/Context;Lorg/webrtc/SurfaceTextureHelper;Landroid/media/MediaRecorder;Ljava/lang/String;III)V
|
|
.locals 12
|
|
|
|
move-object v0, p0
|
|
|
|
iget-boolean v1, v0, Lorg/webrtc/Camera1Capturer;->captureToTexture:Z
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
if-eqz p5, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 v1, 0x1
|
|
|
|
const/4 v4, 0x1
|
|
|
|
:goto_1
|
|
invoke-static/range {p6 .. p6}, Lorg/webrtc/Camera1Enumerator;->getCameraIndex(Ljava/lang/String;)I
|
|
|
|
move-result v8
|
|
|
|
move-object v2, p1
|
|
|
|
move-object v3, p2
|
|
|
|
move-object v5, p3
|
|
|
|
move-object/from16 v6, p4
|
|
|
|
move-object/from16 v7, p5
|
|
|
|
move/from16 v9, p7
|
|
|
|
move/from16 v10, p8
|
|
|
|
move/from16 v11, p9
|
|
|
|
invoke-static/range {v2 .. v11}, Lorg/webrtc/Camera1Session;->create(Lorg/webrtc/CameraSession$CreateSessionCallback;Lorg/webrtc/CameraSession$Events;ZLandroid/content/Context;Lorg/webrtc/SurfaceTextureHelper;Landroid/media/MediaRecorder;IIII)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public bridge synthetic dispose()V
|
|
.locals 0
|
|
|
|
invoke-super {p0}, Lorg/webrtc/CameraCapturer;->dispose()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public bridge synthetic initialize(Lorg/webrtc/SurfaceTextureHelper;Landroid/content/Context;Lorg/webrtc/VideoCapturer$CapturerObserver;)V
|
|
.locals 0
|
|
|
|
invoke-super {p0, p1, p2, p3}, Lorg/webrtc/CameraCapturer;->initialize(Lorg/webrtc/SurfaceTextureHelper;Landroid/content/Context;Lorg/webrtc/VideoCapturer$CapturerObserver;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public bridge synthetic isScreencast()Z
|
|
.locals 1
|
|
|
|
invoke-super {p0}, Lorg/webrtc/CameraCapturer;->isScreencast()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public bridge synthetic printStackTrace()V
|
|
.locals 0
|
|
|
|
invoke-super {p0}, Lorg/webrtc/CameraCapturer;->printStackTrace()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public bridge synthetic removeMediaRecorderFromCamera(Lorg/webrtc/CameraVideoCapturer$MediaRecorderHandler;)V
|
|
.locals 0
|
|
|
|
invoke-super {p0, p1}, Lorg/webrtc/CameraCapturer;->removeMediaRecorderFromCamera(Lorg/webrtc/CameraVideoCapturer$MediaRecorderHandler;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public bridge synthetic startCapture(III)V
|
|
.locals 0
|
|
|
|
invoke-super {p0, p1, p2, p3}, Lorg/webrtc/CameraCapturer;->startCapture(III)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public bridge synthetic stopCapture()V
|
|
.locals 0
|
|
|
|
invoke-super {p0}, Lorg/webrtc/CameraCapturer;->stopCapture()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public bridge synthetic switchCamera(Lorg/webrtc/CameraVideoCapturer$CameraSwitchHandler;)V
|
|
.locals 0
|
|
|
|
invoke-super {p0, p1}, Lorg/webrtc/CameraCapturer;->switchCamera(Lorg/webrtc/CameraVideoCapturer$CameraSwitchHandler;)V
|
|
|
|
return-void
|
|
.end method
|