Home
last modified time | relevance | path

Searched refs:int32_t (Results 1 – 25 of 782) sorted by relevance

12345678910>>...32

/frameworks/av/media/libeffects/testlibs/
DEffectsMath.h61 (((int32_t)(a) * (int32_t)(b)) >> 15)
66 (((int32_t)(a) * (int32_t)(b) ) << 1)
71 (((int32_t)(a) * (int32_t)(b) ) >> 1)
76 (((int32_t)((a) << 7) * (int32_t)(b)) >> 15)
108 #define PHASE_ONE (int32_t) (0x1L << NUM_PHASE_FRAC_BITS)
117 (int32_t)( \
119 ((int32_t)(audio)) * ((int32_t)(coef)) \
130 #define WET_DRY_ONE (int32_t) ((0x1L << NUM_WET_DRY_FRAC_BITS))
131 #define WET_DRY_MINUS_ONE (int32_t) (~WET_DRY_ONE)
132 #define WET_DRY_FULL_SCALE (int32_t) (WET_DRY_ONE - 1)
[all …]
DEffectsMath.c48 int32_t Effects_log2(uint32_t x) { in Effects_log2()
49 int32_t exp = 31 - __builtin_clz(x); in Effects_log2()
52 int32_t log = (int32_t)gLogTab[i]; in Effects_log2()
53 int32_t logEnd = (int32_t)gLogTab[i+1]; in Effects_log2()
81 uint32_t Effects_exp2(int32_t x) { in Effects_exp2()
82 int32_t i = x >> 15; in Effects_exp2()
85 int32_t j = x >> 9; in Effects_exp2()
94 int16_t Effects_MillibelsToLinear16 (int32_t nGain) in Effects_MillibelsToLinear16()
105 int16_t Effects_Linear16ToMillibels (int32_t nGain) in Effects_Linear16ToMillibels()
111 int32_t Effects_Sqrt(int32_t in) in Effects_Sqrt()
[all …]
/frameworks/native/services/inputflinger/
DEventHub.h74 int32_t deviceId;
75 int32_t type;
76 int32_t code;
77 int32_t value;
84 int32_t minValue; // minimum value
85 int32_t maxValue; // maximum value
86 int32_t flat; // center flat position, eg. flat == 8 means center is between -8 and 8
87 int32_t fuzz; // error tolerance, eg. fuzz == 4 means value is +/- 4 due to noise
88 int32_t resolution; // resolution in units per mm or radians per mm
145 extern uint32_t getAbsAxisUsage(int32_t axis, uint32_t deviceClasses);
[all …]
DInputReader.h56 int32_t displayId; // -1 if invalid
57 int32_t orientation;
58 int32_t logicalLeft;
59 int32_t logicalTop;
60 int32_t logicalRight;
61 int32_t logicalBottom;
62 int32_t physicalLeft;
63 int32_t physicalTop;
64 int32_t physicalRight;
65 int32_t physicalBottom;
[all …]
DInputDispatcher.h148 int32_t flags;
254 virtual void pokeUserActivity(nsecs_t eventTime, int32_t eventType) = 0;
263 int32_t injectorPid, int32_t injectorUid) = 0;
297 virtual int32_t injectInputEvent(const InputEvent* event, int32_t displayId,
298 int32_t injectorPid, int32_t injectorUid, int32_t syncMode, int32_t timeoutMillis,
381 virtual int32_t injectInputEvent(const InputEvent* event, int32_t displayId,
382 int32_t injectorPid, int32_t injectorUid, int32_t syncMode, int32_t timeoutMillis,
408 mutable int32_t refCount;
410 int32_t injectorPid;
411 int32_t injectorUid;
[all …]
DInputListener.h56 int32_t deviceId;
59 int32_t action;
60 int32_t flags;
61 int32_t keyCode;
62 int32_t scanCode;
63 int32_t metaState;
68 NotifyKeyArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags,
69 int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode,
70 int32_t metaState, nsecs_t downTime);
83 int32_t deviceId;
[all …]
/frameworks/native/include/input/
DKeyCharacterMap.h67 int32_t keyCode;
68 int32_t metaState;
86 int32_t getKeyboardType() const;
90 char16_t getDisplayLabel(int32_t keyCode) const;
96 char16_t getNumber(int32_t keyCode) const;
101 char16_t getCharacter(int32_t keyCode, int32_t metaState) const;
107 bool getFallbackAction(int32_t keyCode, int32_t metaState,
114 char16_t getMatch(int32_t keyCode, const char16_t* chars,
115 size_t numChars, int32_t metaState) const;
120 bool getEvents(int32_t deviceId, const char16_t* chars, size_t numChars,
[all …]
DInput.h206 float getAxisValue(int32_t axis) const;
207 status_t setAxisValue(int32_t axis, float value);
241 int32_t id;
244 int32_t toolType;
266 virtual int32_t getType() const = 0;
268 inline int32_t getDeviceId() const { return mDeviceId; } in getDeviceId()
270 inline int32_t getSource() const { return mSource; } in getSource()
272 inline void setSource(int32_t source) { mSource = source; } in setSource()
275 void initialize(int32_t deviceId, int32_t source);
278 int32_t mDeviceId;
[all …]
DKeyLayoutMap.h43 int32_t axis;
46 int32_t highAxis;
49 int32_t splitValue;
52 int32_t flatOverride;
67 status_t mapKey(int32_t scanCode, int32_t usageCode,
68 int32_t* outKeyCode, uint32_t* outFlags) const;
69 status_t findScanCodesForKey(int32_t keyCode, Vector<int32_t>* outScanCodes) const;
70 status_t findScanCodeForLed(int32_t ledCode, int32_t* outScanCode) const;
71 status_t findUsageCodeForLed(int32_t ledCode, int32_t* outUsageCode) const;
73 status_t mapAxis(int32_t scanCode, AxisInfo* outAxisInfo) const;
[all …]
DInputTransport.h66 int32_t deviceId;
67 int32_t source;
68 int32_t action;
69 int32_t flags;
70 int32_t keyCode;
71 int32_t scanCode;
72 int32_t metaState;
73 int32_t repeatCount;
84 int32_t deviceId;
85 int32_t source;
[all …]
/frameworks/av/include/media/stagefright/
DYUVImage.h56 YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height);
60 YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height, uint8_t *buffer);
68 static size_t bufferSize(YUVFormat yuvFormat, int32_t width, int32_t height);
70 int32_t width() const {return mWidth;} in width()
71 int32_t height() const {return mHeight;} in height()
75 bool validPixel(int32_t x, int32_t y) const;
80 bool getPixelValue(int32_t x, int32_t y,
86 bool setPixelValue(int32_t x, int32_t y,
92 int32_t destStartX, int32_t destStartY,
98 int32_t destStartX, int32_t destStartY,
[all …]
DCameraSource.h80 int32_t cameraId,
84 int32_t frameRate,
128 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
147 int32_t mCameraFlags;
149 int32_t mNumInputBuffers;
150 int32_t mVideoFrameRate;
151 int32_t mColorFormat;
161 int32_t mNumFramesReceived;
164 int32_t mNumFramesEncoded;
170 int32_t cameraId, const String16& clientName, uid_t clientUid,
[all …]
/frameworks/native/include/android/
Dconfiguration.h147 int32_t AConfiguration_getMcc(AConfiguration* config);
152 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc);
157 int32_t AConfiguration_getMnc(AConfiguration* config);
162 void AConfiguration_setMnc(AConfiguration* config, int32_t mnc);
193 int32_t AConfiguration_getOrientation(AConfiguration* config);
198 void AConfiguration_setOrientation(AConfiguration* config, int32_t orientation);
203 int32_t AConfiguration_getTouchscreen(AConfiguration* config);
208 void AConfiguration_setTouchscreen(AConfiguration* config, int32_t touchscreen);
213 int32_t AConfiguration_getDensity(AConfiguration* config);
218 void AConfiguration_setDensity(AConfiguration* config, int32_t density);
[all …]
Dnative_window.h40 int32_t width;
43 int32_t height;
47 int32_t stride;
50 int32_t format;
74 int32_t ANativeWindow_getWidth(ANativeWindow* window);
80 int32_t ANativeWindow_getHeight(ANativeWindow* window);
86 int32_t ANativeWindow_getFormat(ANativeWindow* window);
102 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window,
103 int32_t width, int32_t height, int32_t format);
113 int32_t ANativeWindow_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer,
[all …]
/frameworks/av/media/libstagefright/wifi-display/source/
DWifiDisplaySource.h88 int32_t mSessionID;
89 int32_t mCSeq;
99 int32_t sessionID, const sp<ParsedMessage> &msg);
122 int32_t mSessionID;
127 int32_t mChosenRTPPort; // extracted from "wfd_client_rtp_ports"
140 int32_t mClientSessionID;
145 int32_t mLocalPort;
146 int32_t mPlaybackSessionID;
153 int32_t mNextCSeq;
160 int32_t mHDCPPort;
[all …]
/frameworks/av/media/libstagefright/yuv/
DYUVImage.cpp26 YUVImage::YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height) { in YUVImage()
39 YUVImage::YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height, uint8_t *buffer) { in YUVImage()
50 size_t YUVImage::bufferSize(YUVFormat yuvFormat, int32_t width, int32_t height) { in bufferSize()
51 int32_t numberOfPixels = width*height; in bufferSize()
63 int32_t numberOfPixels = mWidth * mHeight; in initializeYUVPointers()
87 bool YUVImage::getOffsets(int32_t x, int32_t y, in getOffsets()
88 int32_t *yOffset, int32_t *uOffset, int32_t *vOffset) const { in getOffsets()
91 int32_t uvOffset = (y >> 1) * (mWidth >> 1) + (x >> 1); in getOffsets()
109 int32_t *yDataOffsetIncrement, in getOffsetIncrementsPerDataRow()
110 int32_t *uDataOffsetIncrement, in getOffsetIncrementsPerDataRow()
[all …]
DYUVCanvas.cpp35 for (int32_t y = 0; y < mYUVImage.height(); ++y) { in FillYUV()
36 for (int32_t x = 0; x < mYUVImage.width(); ++x) { in FillYUV()
44 for (int32_t y = rect.top; y < rect.bottom; ++y) { in FillYUVRectangle()
45 for (int32_t x = rect.left; x < rect.right; ++x) { in FillYUVRectangle()
53 int32_t destStartX, int32_t destStartY, in CopyImageRect()
64 int32_t srcStartX = srcRect.left; in CopyImageRect()
65 int32_t srcStartY = srcRect.top; in CopyImageRect()
66 for (int32_t offsetY = 0; offsetY < srcRect.height(); ++offsetY) { in CopyImageRect()
67 for (int32_t offsetX = 0; offsetX < srcRect.width(); ++offsetX) { in CopyImageRect()
68 int32_t srcX = srcStartX + offsetX; in CopyImageRect()
[all …]
/frameworks/rs/driver/runtime/
Drs_core.c37 extern int32_t __attribute__((overloadable)) rsAtomicCas(volatile int32_t *ptr, int32_t expectedVal… in rsAtomicCas()
45 extern int32_t __attribute__((overloadable)) rsAtomicInc(volatile int32_t *ptr) { in rsAtomicInc()
49 extern int32_t __attribute__((overloadable)) rsAtomicInc(volatile uint32_t *ptr) { in rsAtomicInc()
53 extern int32_t __attribute__((overloadable)) rsAtomicDec(volatile int32_t *ptr) { in rsAtomicDec()
57 extern int32_t __attribute__((overloadable)) rsAtomicDec(volatile uint32_t *ptr) { in rsAtomicDec()
61 extern int32_t __attribute__((overloadable)) rsAtomicAdd(volatile int32_t *ptr, int32_t value) { in rsAtomicAdd()
65 extern int32_t __attribute__((overloadable)) rsAtomicAdd(volatile uint32_t *ptr, uint32_t value) { in rsAtomicAdd()
69 extern int32_t __attribute__((overloadable)) rsAtomicSub(volatile int32_t *ptr, int32_t value) { in rsAtomicSub()
73 extern int32_t __attribute__((overloadable)) rsAtomicSub(volatile uint32_t *ptr, uint32_t value) { in rsAtomicSub()
77 extern int32_t __attribute__((overloadable)) rsAtomicAnd(volatile int32_t *ptr, int32_t value) { in rsAtomicAnd()
[all …]
/frameworks/av/services/audioflinger/
DAudioResamplerFirProcessNeon.h53 inline void ProcessL<1, 16>(int32_t* const out,
59 const int32_t* const volumeLR)
105 inline void ProcessL<2, 16>(int32_t* const out,
111 const int32_t* const volumeLR)
163 inline void Process<1, 16>(int32_t* const out,
172 const int32_t* const volumeLR)
233 inline void Process<2, 16>(int32_t* const out,
242 const int32_t* const volumeLR)
309 inline void ProcessL<1, 16>(int32_t* const out,
311 const int32_t* coefsP,
[all …]
DAudioResamplerFirOps.h48 int32_t mulRL(int left, int32_t in, uint32_t vRL)
51 int32_t out;
66 return static_cast<int32_t>((static_cast<int64_t>(in) * v) >> 16);
71 int32_t mulAdd(int16_t in, int16_t v, int32_t a)
74 int32_t out;
86 int32_t mulAdd(int16_t in, int32_t v, int32_t a)
89 int32_t out;
96 return a + static_cast<int32_t>((static_cast<int64_t>(v) * in) >> 16);
101 int32_t mulAdd(int32_t in, int32_t v, int32_t a)
104 int32_t out;
[all …]
DAudioMixerOps.h66 inline int32_t MixMul<int32_t, int16_t, int16_t>(int16_t value, int16_t volume) {
71 inline int32_t MixMul<int32_t, int32_t, int16_t>(int32_t value, int16_t volume) {
76 inline int32_t MixMul<int32_t, int16_t, int32_t>(int16_t value, int32_t volume) {
81 inline int32_t MixMul<int32_t, int32_t, int32_t>(int32_t value, int32_t volume) {
92 inline float MixMul<float, float, int32_t>(float value, int32_t volume) {
103 inline int16_t MixMul<int16_t, float, int32_t>(float value, int32_t volume) {
104 return clamp16_from_float(MixMul<float, float, int32_t>(value, volume));
114 inline float MixMul<float, int16_t, int32_t>(int16_t value, int32_t volume) {
121 return clamp16(MixMul<int32_t, int16_t, int16_t>(value, volume) >> 12);
125 inline int16_t MixMul<int16_t, int32_t, int16_t>(int32_t value, int16_t volume) {
[all …]
/frameworks/base/native/android/
Dconfiguration.cpp44 int32_t AConfiguration_getMcc(AConfiguration* config) { in AConfiguration_getMcc()
48 int32_t AConfiguration_getMnc(AConfiguration* config) { in AConfiguration_getMnc()
62 int32_t AConfiguration_getOrientation(AConfiguration* config) { in AConfiguration_getOrientation()
66 int32_t AConfiguration_getTouchscreen(AConfiguration* config) { in AConfiguration_getTouchscreen()
70 int32_t AConfiguration_getDensity(AConfiguration* config) { in AConfiguration_getDensity()
74 int32_t AConfiguration_getKeyboard(AConfiguration* config) { in AConfiguration_getKeyboard()
78 int32_t AConfiguration_getNavigation(AConfiguration* config) { in AConfiguration_getNavigation()
82 int32_t AConfiguration_getKeysHidden(AConfiguration* config) { in AConfiguration_getKeysHidden()
86 int32_t AConfiguration_getNavHidden(AConfiguration* config) { in AConfiguration_getNavHidden()
91 int32_t AConfiguration_getSdkVersion(AConfiguration* config) { in AConfiguration_getSdkVersion()
[all …]
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.h89 int32_t mVideoWidth, mVideoHeight;
90 int32_t mFrameRate;
91 int32_t mVideoBitRate;
92 int32_t mAudioBitRate;
93 int32_t mAudioChannels;
94 int32_t mSampleRate;
95 int32_t mInterleaveDurationUs;
96 int32_t mIFramesIntervalSec;
97 int32_t mCameraId;
98 int32_t mVideoEncoderProfile;
[all …]
/frameworks/native/include/gui/
DSensor.h61 int32_t getHandle() const;
62 int32_t getType() const;
67 int32_t getMinDelay() const;
69 int32_t getVersion() const;
70 int32_t getFifoReservedEventCount() const;
71 int32_t getFifoMaxEventCount() const;
74 int32_t getMaxDelay() const;
75 int32_t getFlags() const;
77 int32_t getReportingMode() const;
88 int32_t mHandle;
[all …]
/frameworks/base/include/storage/
DIMountService.h41 virtual int32_t mountVolume(const String16& mountPoint) = 0;
42 virtual int32_t unmountVolume(
44 virtual int32_t formatVolume(const String16& mountPoint) = 0;
45 virtual int32_t
46 getStorageUsers(const String16& mountPoint, int32_t** users) = 0;
47 virtual int32_t getVolumeState(const String16& mountPoint) = 0;
48 virtual int32_t createSecureContainer(const String16& id,
49 const int32_t sizeMb, const String16& fstype, const String16& key,
50 const int32_t ownerUid) = 0;
51 virtual int32_t finalizeSecureContainer(const String16& id) = 0;
[all …]

12345678910>>...32