/frameworks/av/media/libeffects/testlibs/ |
D | EffectsMath.h | 61 (((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 …]
|
/frameworks/native/services/inputflinger/ |
D | EventHub.h | 74 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 154 extern uint32_t getAbsAxisUsage(int32_t axis, uint32_t deviceClasses); [all …]
|
D | InputReader.h | 256 virtual sp<PointerControllerInterface> obtainPointerController(int32_t deviceId) = 0; 272 const String8& inputDeviceDescriptor, int32_t surfaceRotation) = 0; 305 virtual int32_t getScanCodeState(int32_t deviceId, uint32_t sourceMask, 306 int32_t scanCode) = 0; 307 virtual int32_t getKeyCodeState(int32_t deviceId, uint32_t sourceMask, 308 int32_t keyCode) = 0; 309 virtual int32_t getSwitchState(int32_t deviceId, uint32_t sourceMask, 310 int32_t sw) = 0; 313 virtual void toggleCapsLockState(int32_t deviceId) = 0; 316 virtual bool hasKeys(int32_t deviceId, uint32_t sourceMask, [all …]
|
D | InputDispatcher.h | 154 int32_t flags; 260 virtual void pokeUserActivity(nsecs_t eventTime, int32_t eventType) = 0; 269 int32_t injectorPid, int32_t injectorUid) = 0; 303 virtual int32_t injectInputEvent(const InputEvent* event, int32_t displayId, 304 int32_t injectorPid, int32_t injectorUid, int32_t syncMode, int32_t timeoutMillis, 387 virtual int32_t injectInputEvent(const InputEvent* event, int32_t displayId, 388 int32_t injectorPid, int32_t injectorUid, int32_t syncMode, int32_t timeoutMillis, 414 mutable int32_t refCount; 416 int32_t injectorPid; 417 int32_t injectorUid; [all …]
|
D | InputListener.h | 56 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/ |
D | KeyCharacterMap.h | 70 int32_t keyCode; 71 int32_t metaState; 89 int32_t getKeyboardType() const; 93 char16_t getDisplayLabel(int32_t keyCode) const; 99 char16_t getNumber(int32_t keyCode) const; 104 char16_t getCharacter(int32_t keyCode, int32_t metaState) const; 110 bool getFallbackAction(int32_t keyCode, int32_t metaState, 117 char16_t getMatch(int32_t keyCode, const char16_t* chars, 118 size_t numChars, int32_t metaState) const; 123 bool getEvents(int32_t deviceId, const char16_t* chars, size_t numChars, [all …]
|
D | Input.h | 237 float getAxisValue(int32_t axis) const; 238 status_t setAxisValue(int32_t axis, float value); 272 int32_t id; 275 int32_t toolType; 297 virtual int32_t getType() const = 0; 299 inline int32_t getDeviceId() const { return mDeviceId; } in getDeviceId() 301 inline int32_t getSource() const { return mSource; } in getSource() 303 inline void setSource(int32_t source) { mSource = source; } in setSource() 306 void initialize(int32_t deviceId, int32_t source); 309 int32_t mDeviceId; [all …]
|
D | KeyLayoutMap.h | 43 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 …]
|
D | InputTransport.h | 66 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/media/libstagefright/include/ |
D | YUVImage.h | 56 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 …]
|
/frameworks/av/media/libaaudio/tests/ |
D | test_block_adapter.cpp | 38 void fillSequence(int32_t *indexBuffer, int32_t frameCount) { in fillSequence() 45 int checkSequence(const int32_t *indexBuffer, int32_t frameCount) { in checkSequence() 48 int32_t expected = mTestIndex++; in checkSequence() 49 int32_t actual = indexBuffer[i]; in checkSequence() 58 int32_t mTestBuffer[TEST_BUFFER_SIZE]; 59 int32_t mTestIndex; 60 int32_t mLastIndex; 67 mFixedBlockWriter.open(sizeof(int32_t) * FIXED_BLOCK_SIZE); in TestBlockWriter() 74 int32_t onProcessFixedBlock(uint8_t *buffer, int32_t numBytes) override { in onProcessFixedBlock() 75 int32_t frameCount = numBytes / sizeof(int32_t); in onProcessFixedBlock() [all …]
|
/frameworks/native/include/android/ |
D | configuration.h | 501 int32_t AConfiguration_getMcc(AConfiguration* config); 506 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc); 511 int32_t AConfiguration_getMnc(AConfiguration* config); 516 void AConfiguration_setMnc(AConfiguration* config, int32_t mnc); 547 int32_t AConfiguration_getOrientation(AConfiguration* config); 552 void AConfiguration_setOrientation(AConfiguration* config, int32_t orientation); 557 int32_t AConfiguration_getTouchscreen(AConfiguration* config); 562 void AConfiguration_setTouchscreen(AConfiguration* config, int32_t touchscreen); 567 int32_t AConfiguration_getDensity(AConfiguration* config); 572 void AConfiguration_setDensity(AConfiguration* config, int32_t density); [all …]
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
D | WifiDisplaySource.h | 92 int32_t mSessionID; 93 int32_t mCSeq; 103 int32_t sessionID, const sp<ParsedMessage> &msg); 128 int32_t mSessionID; 133 int32_t mChosenRTPPort; // extracted from "wfd_client_rtp_ports" 146 int32_t mClientSessionID; 151 int32_t mLocalPort; 152 int32_t mPlaybackSessionID; 159 int32_t mNextCSeq; 166 int32_t mHDCPPort; [all …]
|
/frameworks/av/media/libstagefright/filters/ |
D | ColorConvert.cpp | 29 int32_t y, int32_t u, int32_t v, in YUVToRGB() 30 int32_t* r, int32_t* g, int32_t* b) { in YUVToRGB() 49 uint8_t *pY, uint8_t *pUV, int32_t width, int32_t height, in convertYUV420spToARGB() 51 const int32_t bytes_per_pixel = 2; in convertYUV420spToARGB() 53 for (int32_t i = 0; i < height; i++) { in convertYUV420spToARGB() 54 for (int32_t j = 0; j < width; j++) { in convertYUV420spToARGB() 55 int32_t y = *(pY + i * width + j); in convertYUV420spToARGB() 56 int32_t u = *(pUV + (i/2) * width + bytes_per_pixel * (j/2)); in convertYUV420spToARGB() 57 int32_t v = *(pUV + (i/2) * width + bytes_per_pixel * (j/2) + 1); in convertYUV420spToARGB() 59 int32_t r, g, b; in convertYUV420spToARGB() [all …]
|
/frameworks/av/media/libstagefright/omx/1.0/ |
D | WGraphicBufferProducer.cpp | 39 int32_t slot, requestBuffer_cb _hidl_cb) { in requestBuffer() 44 _hidl_cb(static_cast<int32_t>(status), anwBuffer); in requestBuffer() 48 Return<int32_t> TWGraphicBufferProducer::setMaxDequeuedBufferCount( in setMaxDequeuedBufferCount() 49 int32_t maxDequeuedBuffers) { in setMaxDequeuedBufferCount() 50 return static_cast<int32_t>(mBase->setMaxDequeuedBufferCount( in setMaxDequeuedBufferCount() 54 Return<int32_t> TWGraphicBufferProducer::setAsyncMode(bool async) { in setAsyncMode() 55 return static_cast<int32_t>(mBase->setAsyncMode(async)); in setAsyncMode() 77 _hidl_cb(static_cast<int32_t>(status), in dequeueBuffer() 78 static_cast<int32_t>(slot), in dequeueBuffer() 87 _hidl_cb(static_cast<int32_t>(status), in dequeueBuffer() [all …]
|
/frameworks/av/media/libaaudio/src/utility/ |
D | AAudioUtilities.h | 48 int32_t numSamples, 66 int32_t numFrames, 67 int32_t samplesPerFrame, 90 int32_t numSamples, 108 int32_t numFrames, 109 int32_t samplesPerFrame, 128 int32_t numFrames, 129 int32_t samplesPerFrame, 148 int32_t numFrames, 149 int32_t samplesPerFrame, [all …]
|
D | AAudioUtilities.cpp | 38 int32_t AAudioConvert_formatToSizeInBytes(aaudio_format_t format) { in AAudioConvert_formatToSizeInBytes() 39 int32_t size = AAUDIO_ERROR_ILLEGAL_ARGUMENT; in AAudioConvert_formatToSizeInBytes() 62 static const int32_t limneg = (0x10f << 22) /*zero*/ - 32768; /* 0x43bf8000 */ in clamp16_from_float() 63 static const int32_t limpos = (0x10f << 22) /*zero*/ + 32767; /* 0x43c07fff */ in clamp16_from_float() 67 int32_t i; in clamp16_from_float() 87 int32_t i; in floatToInt16() 105 int32_t numSamples, in AAudioConvert_floatToPcm16() 116 int32_t numFrames, in AAudioConvert_floatToPcm16() 117 int32_t samplesPerFrame, in AAudioConvert_floatToPcm16() 136 int32_t numSamples, in AAudioConvert_pcm16ToFloat() [all …]
|
/frameworks/av/media/libaaudio/src/binding/ |
D | RingBufferParcelable.h | 35 void setupMemory(int32_t sharedMemoryIndex, 36 int32_t dataMemoryOffset, 37 int32_t dataSizeInBytes, 38 int32_t readCounterOffset, 39 int32_t writeCounterOffset, 40 int32_t counterSizeBytes); 42 void setupMemory(int32_t sharedMemoryIndex, 43 int32_t dataMemoryOffset, 44 int32_t dataSizeInBytes); 46 int32_t getBytesPerFrame(); [all …]
|
/frameworks/base/native/android/ |
D | configuration.cpp | 44 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/services/camera/libcameraservice/api2/ |
D | CameraDeviceClient.h | 94 int32_t* newStreamId = NULL) override; 99 int32_t* newStreamId = NULL) override; 126 virtual binder::Status prepare(int32_t streamId) override; 129 virtual binder::Status tearDown(int32_t streamId) override; 132 virtual binder::Status prepare2(int32_t maxCount, int32_t streamId) override; 135 virtual binder::Status finalizeOutputConfigurations(int32_t streamId, 163 virtual void notifyError(int32_t errorCode, 179 status_t getRotationTransformLocked(/*out*/int32_t* transform); 192 StreamSurfaceId(int32_t streamId, int32_t surfaceId) { in StreamSurfaceId() 196 int32_t streamId() const { in streamId() [all …]
|
/frameworks/av/media/libaudioprocessing/ |
D | AudioResamplerFirOps.h | 59 int32_t mulRL(int left, int32_t in, uint32_t vRL) 62 int32_t out; 77 return static_cast<int32_t>((static_cast<int64_t>(in) * v) >> 16); 82 int32_t mulAdd(int16_t in, int16_t v, int32_t a) 85 int32_t out; 97 int32_t mulAdd(int16_t in, int32_t v, int32_t a) 100 int32_t out; 107 return a + static_cast<int32_t>((static_cast<int64_t>(v) * in) >> 16); 112 int32_t mulAdd(int32_t in, int32_t v, int32_t a) 115 int32_t out; [all …]
|
D | AudioMixerOps.h | 63 inline int32_t MixMul<int32_t, int16_t, int16_t>(int16_t value, int16_t volume) { 68 inline int32_t MixMul<int32_t, int32_t, int16_t>(int32_t value, int16_t volume) { 73 inline int32_t MixMul<int32_t, int16_t, int32_t>(int16_t value, int32_t volume) { 78 inline int32_t MixMul<int32_t, int32_t, int32_t>(int32_t value, int32_t volume) { 89 inline float MixMul<float, float, int32_t>(float value, int32_t volume) { 100 inline int16_t MixMul<int16_t, float, int32_t>(float value, int32_t volume) { 101 return clamp16_from_float(MixMul<float, float, int32_t>(value, volume)); 111 inline float MixMul<float, int16_t, int32_t>(int16_t value, int32_t volume) { 118 return clamp16(MixMul<int32_t, int16_t, int16_t>(value, volume) >> 12); 122 inline int16_t MixMul<int16_t, int32_t, int16_t>(int32_t value, int16_t volume) { [all …]
|
/frameworks/native/cmds/installd/ |
D | InstalldNativeService.h | 43 binder::Status createUserData(const std::unique_ptr<std::string>& uuid, int32_t userId, 44 int32_t userSerial, int32_t flags); 45 binder::Status destroyUserData(const std::unique_ptr<std::string>& uuid, int32_t userId, 46 int32_t flags); 49 const std::string& packageName, int32_t userId, int32_t flags, int32_t appId, 50 const std::string& seInfo, int32_t targetSdkVersion, int64_t* _aidl_return); 52 const std::string& packageName, int32_t userId, int32_t flags, int32_t appId, 55 const std::string& packageName, int32_t userId, int32_t flags); 57 const std::string& packageName, int32_t userId, int32_t flags, int64_t ceDataInode); 59 const std::string& packageName, int32_t userId, int32_t flags, int64_t ceDataInode); [all …]
|
/frameworks/native/libs/nativewindow/include/android/ |
D | native_window.h | 88 int32_t width; 91 int32_t height; 95 int32_t stride; 98 int32_t format; 123 int32_t ANativeWindow_getWidth(ANativeWindow* window); 130 int32_t ANativeWindow_getHeight(ANativeWindow* window); 137 int32_t ANativeWindow_getFormat(ANativeWindow* window); 156 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, 157 int32_t width, int32_t height, int32_t format); 169 int32_t ANativeWindow_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, [all …]
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.h | 101 int32_t mVideoWidth, mVideoHeight; 102 int32_t mFrameRate; 103 int32_t mVideoBitRate; 104 int32_t mAudioBitRate; 105 int32_t mAudioChannels; 106 int32_t mSampleRate; 107 int32_t mInterleaveDurationUs; 108 int32_t mIFramesIntervalSec; 109 int32_t mCameraId; 110 int32_t mVideoEncoderProfile; [all …]
|