# Path: skema/omxil12.py
# OMX_CALLBACKTYPE = struct_OMX_CALLBACKTYPE # OMX_Core.h: 290


import os
import threading
from collections import defaultdict
from skema.omxil12 import OMX_CALLBACKTYPE
        self.fd         = file(os.devnull)
        self.quiet      = True

        self.ilevent     = threading.Event()
        self.cbacks      = OMX_CALLBACKTYPE()
        self.base_profile_mgr = None

        # Global Dictionaries
        self.aliases                 = dict() # comp name -> comp alias
        self.cnames                  = dict() # comp alias -> comp name
        self.cnames2                 = dict() # comp handle -> comp name
        self.handles                 = dict() # comp alias -> comp handle
        self.subprocesses            = dict() # command alias -> process pid
        self.cmdevents               = dict() # comp handle -> cmd event
        self.eosevents               = dict() # comp handle -> eos event
        self.settings_changed_events = dict() # comp handle -> eos event
        self.format_detected_events  = dict() # comp handle -> eos event
        self.error_events            = defaultdict(list) # comp handle -> omx error list
        self.ignored_error_events    = defaultdict(list) # comp handle -> omx error list
        self.params                  = dict() # OMX_IndexParam... -> OMX_ param struct
        self.configs                 = dict() # OMX_IndexConfig... -> OMX_ config struct
        self.result                  = dict() # Test result

_config = None

def get_config():
    global _config
    if _config is not None:
        return _config
    _config = SkemaConfig()

# Path: skema/omxil12.py
# OMX_CALLBACKTYPE = struct_OMX_CALLBACKTYPE # OMX_Core.h: 290


# Path: skema/config.py
import os
import threading
from collections import defaultdict
from skema.omxil12 import OMX_CALLBACKTYPE

        self.fd         = file(os.devnull)
        self.quiet      = True

        self.ilevent     = threading.Event()
        self.cbacks      = OMX_CALLBACKTYPE()
        self.base_profile_mgr = None

        # Global Dictionaries
        self.aliases                 = dict() # comp name -> comp alias
        self.cnames                  = dict() # comp alias -> comp name
        self.cnames2                 = dict() # comp handle -> comp name
        self.handles                 = dict() # comp alias -> comp handle
        self.subprocesses            = dict() # command alias -> process pid
        self.cmdevents               = dict() # comp handle -> cmd event
        self.eosevents               = dict() # comp handle -> eos event
        self.settings_changed_events = dict() # comp handle -> eos event
        self.format_detected_events  = dict() # comp handle -> eos event
        self.error_events            = defaultdict(list) # comp handle -> omx error list
        self.ignored_error_events    = defaultdict(list) # comp handle -> omx error list
        self.params                  = dict() # OMX_IndexParam... -> OMX_ param struct
        self.configs                 = dict() # OMX_IndexConfig... -> OMX_ config struct
        self.result                  = dict() # Test result

_config = None

def get_config():
    global _config
    if _config is not None:
        return _config
    _config = SkemaConfig()

    return _config