| 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.content.Context; | 7 import android.content.Context; |
| 8 import android.graphics.ImageFormat; | 8 import android.graphics.ImageFormat; |
| 9 import android.view.Surface; | 9 import android.view.Surface; |
| 10 import android.view.WindowManager; | 10 import android.view.WindowManager; |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 public native void nativeOnFrameAvailable( | 122 public native void nativeOnFrameAvailable( |
| 123 long nativeVideoCaptureDeviceAndroid, byte[] data, int length, int r
otation); | 123 long nativeVideoCaptureDeviceAndroid, byte[] data, int length, int r
otation); |
| 124 | 124 |
| 125 // Method for VideoCapture implementations to signal an asynchronous error. | 125 // Method for VideoCapture implementations to signal an asynchronous error. |
| 126 public native void nativeOnError(long nativeVideoCaptureDeviceAndroid, Strin
g message); | 126 public native void nativeOnError(long nativeVideoCaptureDeviceAndroid, Strin
g message); |
| 127 | 127 |
| 128 // Method for VideoCapture implementations to send Photos back to. | 128 // Method for VideoCapture implementations to send Photos back to. |
| 129 public native void nativeOnPhotoTaken( | 129 public native void nativeOnPhotoTaken( |
| 130 long nativeVideoCaptureDeviceAndroid, long callbackId, byte[] data); | 130 long nativeVideoCaptureDeviceAndroid, long callbackId, byte[] data); |
| 131 } | 131 } |
| OLD | NEW |