Examples of release()


Examples of com.jogamp.opencl.CLCommandQueue.release()

                    case DEVICE_TO_DEVICE:
                        bandwidths[i] += testDeviceToDeviceTransfer(queue, memSizes[i]);
                        break;
                }
            }
            queue.release();
        }

        //print results
        printResultsReadable(memSizes, bandwidths, count, kind, accMode, memMode, count);
    }
View Full Code Here

Examples of com.jogamp.opencl.CLContext.release()

            assertNotNull(currentDevice);
            out.println(currentDevice);
             */
        }finally{
            // destroy cl context, gl context still current
            context.release();
           
            deinitGL();
        }

    }
View Full Code Here

Examples of com.jogamp.opencl.util.CLMultiContext.release()

            for (CLDevice device : devices) {
                out.println(device);
            }

        }finally{
            mc.release();
        }

    }

    private final static String programSource =
View Full Code Here

Examples of com.kurento.kmf.media.Endpoint.release()

    for (final String remoteParticipantName : incomingMedia.keySet()) {

      log.trace("PARTICIPANT {}: Released incoming EP for {}", this.name,
          remoteParticipantName);
      Endpoint ep = this.incomingMedia.get(remoteParticipantName);
      ep.release(new Continuation<Void>() {

        @Override
        public void onSuccess(Void result) throws Exception {
          log.trace(
              "PARTICIPANT {}: Released successfully incoming EP for {}",
View Full Code Here

Examples of com.kurento.kmf.media.HttpEndpoint.release()

        "player.connect() invocation");
    player.connect(http, async.getContinuation());
    async.waitForResult();

    player.play();
    http.release();
    player.release();
  }

  @Test
  public void testConnectByType() throws InterruptedException {
View Full Code Here

Examples of com.kurento.kmf.media.HttpGetEndpoint.release()

      httpclient.execute(new HttpGet(httpEP.getUrl()));
    }

    async.waitForResult();

    httpEP.release();
    player.release();
  }

  /**
   * Test for {@link MediaSessionTerminatedEvent}
View Full Code Here

Examples of com.kurento.kmf.media.MediaPipeline.release()

  @Test
  public void basicPipelineTest() {
    MediaPipeline mediaPipeline = pipelineFactory.create();
    Assert.assertNotNull("Error: MediaPipeline is null", mediaPipeline);
    mediaPipeline.release();
  }

}
View Full Code Here

Examples of com.kurento.kmf.media.PlayerEndpoint.release()

    playerGreen.stop();
    playerBlue.stop();
    recorderEP.release();
    playerRed.release();
    playerGreen.release();
    playerBlue.release();

    // Media Pipeline #2
    PlayerEndpoint playerEP2 = mp.newPlayerEndpoint(
        FILE_SCHEMA + getDefaultFileForRecording()).build();
    HttpGetEndpoint httpEP2 = mp.newHttpGetEndpoint().terminateOnEOS()
View Full Code Here

Examples of com.kurento.kmf.media.RecorderEndpoint.release()

    // Stop and release media elements
    recorderEP.stop();
    playerRed.stop();
    playerGreen.stop();
    playerBlue.stop();
    recorderEP.release();
    playerRed.release();
    playerGreen.release();
    playerBlue.release();

    // Media Pipeline #2
View Full Code Here

Examples of com.kurento.kmf.media.RtpEndpoint.release()

    AsyncResultManager<List<MediaSink>> asyncMediaSinkAudio = new AsyncResultManager<>(
        "rtp.getMediaSinks(AUDIO) invocation");
    rtp.getMediaSinks(AUDIO, asyncMediaSinkAudio.getContinuation());
    asyncMediaSinkAudio.waitForResult();

    rtp.release();
  }

  @Test
  public void testConnect() throws InterruptedException {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.