/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 | 73 int32_t deviceId; 74 int32_t type; 75 int32_t code; 76 int32_t value; 83 int32_t minValue; // minimum value 84 int32_t maxValue; // maximum value 85 int32_t flat; // center flat position, eg. flat == 8 means center is between -8 and 8 86 int32_t fuzz; // error tolerance, eg. fuzz == 4 means value is +/- 4 due to noise 87 int32_t resolution; // resolution in units per mm or radians per mm 153 extern uint32_t getAbsAxisUsage(int32_t axis, uint32_t deviceClasses); [all …]
|
D | InputReader.h | 184 SortedVector<int32_t> disabledDevices; 265 virtual sp<PointerControllerInterface> obtainPointerController(int32_t deviceId) = 0; 281 const String8& inputDeviceDescriptor, int32_t surfaceRotation) = 0; 301 virtual bool isInputDeviceEnabled(int32_t deviceId) = 0; 317 virtual int32_t getScanCodeState(int32_t deviceId, uint32_t sourceMask, 318 int32_t scanCode) = 0; 319 virtual int32_t getKeyCodeState(int32_t deviceId, uint32_t sourceMask, 320 int32_t keyCode) = 0; 321 virtual int32_t getSwitchState(int32_t deviceId, uint32_t sourceMask, 322 int32_t sw) = 0; [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/ml/nn/common/include/ |
D | Operations.h | 39 int32_t activation, 43 int32_t activation, 48 int32_t activation, 52 int32_t activation, 66 int32_t padding_left, int32_t padding_right, 67 int32_t padding_top, int32_t padding_bottom, 68 int32_t stride_width, int32_t stride_height, 69 int32_t depth_multiplier, int32_t activation, 73 const int32_t* biasData, const Shape& biasShape, 74 int32_t padding_left, int32_t padding_right, [all …]
|
D | OperationsUtils.h | 53 int32_t offset; 77 int32_t* quantized_multiplier, 78 int32_t* right_shift); 82 int32_t* quantized_multiplier, 92 void CalculateActivationRangeUint8(int32_t activation, 94 int32_t* act_min, 95 int32_t* act_max); 97 int32_t CalculateInputRadius(int input_integer_bits, int input_left_shift); 99 inline void calculateExplicitPadding(int32_t in_size, int32_t stride, in calculateExplicitPadding() 100 int32_t filter_size, int32_t padding_implicit, in calculateExplicitPadding() [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 | 74 int32_t deviceId; 75 int32_t source; 76 int32_t displayId; 77 int32_t action; 78 int32_t flags; 79 int32_t keyCode; 80 int32_t scanCode; 81 int32_t metaState; 82 int32_t repeatCount; 95 int32_t deviceId; [all …]
|
/frameworks/ml/nn/common/operations/ |
D | Pooling.cpp | 35 int32_t padding_left, int32_t padding_right, in averagePoolFloat32() 36 int32_t padding_top, int32_t padding_bottom, in averagePoolFloat32() 37 int32_t stride_width, int32_t stride_height, in averagePoolFloat32() 38 int32_t filter_width, int32_t filter_height, int32_t activation, in averagePoolFloat32() 57 int32_t padding_left, int32_t padding_right, in averagePoolQuant8() 58 int32_t padding_top, int32_t padding_bottom, in averagePoolQuant8() 59 int32_t stride_width, int32_t stride_height, in averagePoolQuant8() 60 int32_t filter_width, int32_t filter_height, int32_t activation, in averagePoolQuant8() 65 int32_t output_activation_min = 0; in averagePoolQuant8() 66 int32_t output_activation_max = 0; in averagePoolQuant8() [all …]
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
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/ml/nn/runtime/test/generated/models/ |
D | mobilenet_224_gender_basic_fixed.model.cpp | 259 int32_t pad0_init[] = {0}; in CreateModel() 260 model->setOperandValue(pad0, pad0_init, sizeof(int32_t) * 1); in CreateModel() 261 int32_t pad1_init[] = {1}; in CreateModel() 262 model->setOperandValue(pad1, pad1_init, sizeof(int32_t) * 1); in CreateModel() 263 int32_t b87_init[] = {1}; in CreateModel() 264 model->setOperandValue(b87, b87_init, sizeof(int32_t) * 1); in CreateModel() 265 int32_t b88_init[] = {2}; in CreateModel() 266 model->setOperandValue(b88, b88_init, sizeof(int32_t) * 1); in CreateModel() 267 int32_t b89_init[] = {2}; in CreateModel() 268 model->setOperandValue(b89, b89_init, sizeof(int32_t) * 1); in CreateModel() [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 | 40 int32_t slot, requestBuffer_cb _hidl_cb) { in requestBuffer() 47 _hidl_cb(static_cast<int32_t>(status), anwBuffer); in requestBuffer() 51 Return<int32_t> TWGraphicBufferProducer::setMaxDequeuedBufferCount( in setMaxDequeuedBufferCount() 52 int32_t maxDequeuedBuffers) { in setMaxDequeuedBufferCount() 53 return static_cast<int32_t>(mBase->setMaxDequeuedBufferCount( in setMaxDequeuedBufferCount() 57 Return<int32_t> TWGraphicBufferProducer::setAsyncMode(bool async) { in setAsyncMode() 58 return static_cast<int32_t>(mBase->setAsyncMode(async)); in setAsyncMode() 79 _hidl_cb(static_cast<int32_t>(status), in dequeueBuffer() 80 static_cast<int32_t>(slot), in dequeueBuffer() 89 _hidl_cb(static_cast<int32_t>(status), in dequeueBuffer() [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/media/libaaudio/src/utility/ |
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/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 …]
|
/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/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.h | 76 int32_t sequenceId); 83 android_pixel_format_t* format, int32_t* outId); 86 HWC2::Layer* createLayer(int32_t displayId); 88 void destroyLayer(int32_t displayId, HWC2::Layer* layer); 93 status_t setClientTarget(int32_t displayId, uint32_t slot, 98 status_t presentAndGetReleaseFences(int32_t displayId); 101 status_t setPowerMode(int32_t displayId, int mode); 104 status_t setActiveConfig(int32_t displayId, size_t configId); 107 status_t setColorTransform(int32_t displayId, const mat4& transform); 110 void disconnectDisplay(int32_t displayId); [all …]
|