| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 package org.chromium.media; | 5 package org.chromium.media; |
| 6 | 6 |
| 7 import android.annotation.TargetApi; | 7 import android.annotation.TargetApi; |
| 8 import android.content.Context; | 8 import android.content.Context; |
| 9 import android.graphics.SurfaceTexture; | 9 import android.graphics.SurfaceTexture; |
| 10 import android.opengl.GLES20; | 10 import android.opengl.GLES20; |
| (...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 | 374 |
| 375 // Local hook to allow derived classes to fill capture format and modify | 375 // Local hook to allow derived classes to fill capture format and modify |
| 376 // camera parameters as they see fit. | 376 // camera parameters as they see fit. |
| 377 abstract void setCaptureParameters(int width, int height, int frameRate, | 377 abstract void setCaptureParameters(int width, int height, int frameRate, |
| 378 android.hardware.Camera.Parameters cameraParameters); | 378 android.hardware.Camera.Parameters cameraParameters); |
| 379 | 379 |
| 380 // Local method to be overriden with the particular setPreviewCallback to be | 380 // Local method to be overriden with the particular setPreviewCallback to be |
| 381 // used in the implementations. | 381 // used in the implementations. |
| 382 abstract void setPreviewCallback(android.hardware.Camera.PreviewCallback cb)
; | 382 abstract void setPreviewCallback(android.hardware.Camera.PreviewCallback cb)
; |
| 383 } | 383 } |
| OLD | NEW |