Userspace Resource Manager
Loading...
Searching...
No Matches
SignalInternal.h
Go to the documentation of this file.
1// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
2// SPDX-License-Identifier: BSD-3-Clause
3
7
8#ifndef SIGNAL_INTERNAL_H
9#define SIGNAL_INTERNAL_H
10
11#include <sys/types.h>
12
13#include "ErrCodes.h"
14
25
32
38int64_t acquireSignal(uint32_t sigId,
39 uint32_t sigType,
40 pid_t incomingPID,
41 pid_t incomingTID,
42 int32_t numFilterArgs = 0,
43 uint32_t* filterArgs = nullptr,
44 int32_t numArgs = 0,
45 uint32_t* args = nullptr);
46#endif
ErrCode
Custom Error Codes used by Resource Tuner APIs and Internal Functions.
Definition ErrCodes.h:19
SignalExtraAttrIndex
Named indices into SignalInfo::mExtraAttrs.
@ SIGNAL_EXTRA_ATTR_HEIGHT
Frame height in pixels.
@ SIGNAL_EXTRA_ATTR_WIDTH
Frame width in pixels.
@ SIGNAL_EXTRA_ATTR_SRC_ELEMENT
Multimedia Source.
@ SIGNAL_EXTRA_ATTR_FPS
Frames per second.
@ SIGNAL_EXTRA_ATTRS_COUNT
Total number of extra attributes.
int64_t acquireSignal(uint32_t sigId, uint32_t sigType, pid_t incomingPID, pid_t incomingTID, int32_t numFilterArgs=0, uint32_t *filterArgs=nullptr, int32_t numArgs=0, uint32_t *args=nullptr)
Internal API for Acquiring a Signal.
ErrCode submitSignalRequest(void *clientReq)
Internal API for submitting Signal Requests for Processing.