To use an EGLStream in cross-process mode#
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
Rebuild the application.
Load the application binary with the following command:
Load /nfsmount/nvm_eglstream_egldevice
Start the consumer with the following command:
rt nvm_eglstream_consumer Initial
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.