Skip to content

TIOVX context singleton

Carlos Rodriguez edited this page Jul 21, 2022 · 2 revisions

GstTIOVXContext

In order to avoid calling the app common init procedure several times, RidgeRun suggested and implemented a singleton which is called by each element in the pipeline, but its initialization would happen only once.

Singleton API

GstTIOVXContext * gst_tiovx_context_new (void)

Creates a new TIOVX context and initializes it if none has been created. Otherwise returns the singleton.

Implementation

The singleton will call the following TIOVX functions:

  • appInit ()
Clone this wiki locally