Home
last modified time | relevance | path

Searched refs:outputFrame (Results 1 – 3 of 3) sorted by relevance

/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DAltsTsiHandshaker.java39 private ByteBuffer outputFrame; field in AltsTsiHandshaker
65 if (outputFrame == null && isClient) { in processBytesFromPeer()
69 if (outputFrame != null && outputFrame.hasRemaining()) { in processBytesFromPeer()
74 if (outputFrame == null) { in processBytesFromPeer()
76 outputFrame = handshaker.startServerHandshake(bytes); in processBytesFromPeer()
78 outputFrame = handshaker.next(bytes); in processBytesFromPeer()
81 if (handshaker.isFinished() || outputFrame.hasRemaining()) { in processBytesFromPeer()
138 if (outputFrame == null) { // A null outputFrame indicates we haven't started the handshake.
140 outputFrame = handshaker.startClientHandshake();
147 ByteBuffer outputFrameAlias = outputFrame;
[all …]
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DAltsTsiHandshakerTest.java114 ByteBuffer outputFrame = ByteBuffer.allocate(OUT_FRAME_SIZE); in processBytesFromPeerStartServer() local
119 when(mockServer.startServerHandshake(transportBuffer)).thenReturn(outputFrame); in processBytesFromPeerStartServer()
143 ByteBuffer outputFrame = ByteBuffer.allocate(OUT_FRAME_SIZE); in processBytesFromPeerStartServerFinished() local
147 when(mockServer.startServerHandshake(transportBuffer)).thenReturn(outputFrame); in processBytesFromPeerStartServerFinished()
173 ByteBuffer outputFrame = ByteBuffer.allocate(OUT_FRAME_SIZE); in processBytesFromPeerClientNext() local
175 when(mockClient.startClientHandshake()).thenReturn(outputFrame); in processBytesFromPeerClientNext()
176 when(mockClient.next(transportBuffer)).thenReturn(outputFrame); in processBytesFromPeerClientNext()
187 ByteBuffer outputFrame = ByteBuffer.allocate(OUT_FRAME_SIZE); in processBytesFromPeerClientNextFinished() local
189 when(mockClient.startClientHandshake()).thenReturn(outputFrame); in processBytesFromPeerClientNextFinished()
190 when(mockClient.next(transportBuffer)).thenReturn(outputFrame); in processBytesFromPeerClientNextFinished()
[all …]
/external/libxcam/cl_kernel/
Dkernel_tnr.cl6 * outputFrame: image2d_t as write only
15 __write_only image2d_t outputFrame, uint vertical_offset, float gain, float thr_y, float thr_uv)
71 write_imagef(outputFrame, (int2)(2 * x, 2 * y), pixel_outY1);
72 write_imagef(outputFrame, (int2)(2 * x + 1, 2 * y), pixel_outY2);
73 write_imagef(outputFrame, (int2)(2 * x, 2 * y + 1), pixel_outY3);
74 write_imagef(outputFrame, (int2)(2 * x + 1, 2 * y + 1), pixel_outY4);
75 write_imagef(outputFrame, (int2)(2 * x, y + vertical_offset), pixel_outU);
76 write_imagef(outputFrame, (int2)(2 * x + 1, y + vertical_offset), pixel_outV);
82 * outputFrame: image2d_t as write only
89 __write_only image2d_t outputFrame,
[all …]