D | VideoChatTestActivity.java | 263 public void onPreviewFrame(byte[] data, Camera camera) { in onPreviewFrame() argument 268 camera.addCallbackBuffer(data); in onPreviewFrame() 273 private void setupCallback(Camera camera, FrameCatcher catcher, int bufferSize) { in setupCallback() argument 274 camera.setPreviewCallbackWithBuffer(null); in setupCallback() 275 camera.setPreviewCallbackWithBuffer(catcher); in setupCallback() 278 camera.addCallbackBuffer(cameraBuffer); in setupCallback() 283 int cameraId, android.hardware.Camera camera) { in getAutoDisplayOrientation() argument 310 Camera camera; in TestCamera() local 320 camera = Camera.open(whichCamera); in TestCamera() 325 camera.setPreviewTexture(surfaceTextureView.getSurfaceTexture()); in TestCamera() [all …]
|