Lines Matching refs:client
108 public void registerClient(FrameClient client) {
111 clientTargets.add(client);
112 mClients.add(client);
113 onRegisterClient(client, context);
116 public void unregisterClient(FrameClient client) {
119 clientTargets.remove(client);
123 mClients.remove(client);
150 protected void onRegisterClient(FrameClient client, EGLContext context) {
256 for (FrameClient client : mClients) {
257 client.onCameraFrameAvailable();
287 /** Map of RenderTargets for client SurfaceTextures */
313 public synchronized void onRegisterClient(FrameClient client, EGLContext context) {
321 // Listen to client-side surface texture updates
344 // Copy from client ST to client tex
607 // Copy camera data to the client YUV texture
724 for (FrameClient client : mClients) {
725 client.onCameraFrameAvailable();
1522 * The frame-client callback interface.
1526 * {@code getLatestFrame()} method must be called from the client thread.
1772 * Registers the frame-client with the camera.
1773 * This MUST be called from the client thread!
1775 public void registerClient(FrameClient client) {
1776 mCameraRunner.getCamFrameHandler().registerClient(client);
1780 * Unregisters the frame-client with the camera.
1781 * This MUST be called from the client thread!
1783 public void unregisterClient(FrameClient client) {
1784 mCameraRunner.getCamFrameHandler().unregisterClient(client);
1788 * Gets the latest camera frame for the client.