Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(836)

Side by Side Diff: device/capture/video/android/java/src/org/chromium/media/VideoCaptureTango.java

Issue 2143903003: [WIP] Move media/capture to device/capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 9
10 import org.chromium.base.Log; 10 import org.chromium.base.Log;
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 } 176 }
177 mFrameBuffer.rewind(); // Important! 177 mFrameBuffer.rewind(); // Important!
178 nativeOnFrameAvailable(mNativeVideoCaptureDeviceAndroid, mFrameB uffer.array(), 178 nativeOnFrameAvailable(mNativeVideoCaptureDeviceAndroid, mFrameB uffer.array(),
179 mFrameBuffer.capacity(), getCameraRotation()); 179 mFrameBuffer.capacity(), getCameraRotation());
180 } 180 }
181 } finally { 181 } finally {
182 mPreviewBufferLock.unlock(); 182 mPreviewBufferLock.unlock();
183 } 183 }
184 } 184 }
185 } 185 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698