To use an EGLStream in cross-process mode#

  1. Make the following additions and changes to nvm_eglstream.int:

AddressSpace nvm_eglstream_producer
  Filename      nvm_eglstream_as0
  Arguments     -producer 0 -f /nfsmount/welcome_animation.264 -standalone 1
  MemoryPoolSize      32M
  ExtendedMemoryPoolSize    64M
  HeapExtensionReservedSize 64M
  Language      C
  Task        Initial
    StartIt     false
    StackLength   2M
  EndTask
EndAddressSpace
AddressSpace nvm_eglstream_consumer
  Filename      nvm_eglstream_as0
  Arguments     -consumer 0 -d 2 -standalone 2
  MemoryPoolSize      32M
  ExtendedMemoryPoolSize    64M
  HeapExtensionReservedSize 64M
  Language      C
  Task        Initial
    StartIt     false
    StackLength   2M
  EndTask
EndAddressSpace
  1. Rebuild the application.

  2. Load the application binary with the following command:

Load /nfsmount/nvm_eglstream_egldevice
  1. Start the consumer with the following command:

rt nvm_eglstream_consumer Initial
  1. Start the producer with the following command:

rt nvm_eglstream_producer Initial

This procedure enables a video producer and video consumer combination. The same procedure can also be extended for other producer/consumer combinations.