/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaCodecConstants.h | 24 constexpr int32_t AVCProfileBaseline = 0x01; 25 constexpr int32_t AVCProfileMain = 0x02; 26 constexpr int32_t AVCProfileExtended = 0x04; 27 constexpr int32_t AVCProfileHigh = 0x08; 28 constexpr int32_t AVCProfileHigh10 = 0x10; 29 constexpr int32_t AVCProfileHigh422 = 0x20; 30 constexpr int32_t AVCProfileHigh444 = 0x40; 31 constexpr int32_t AVCProfileConstrainedBaseline = 0x10000; 32 constexpr int32_t AVCProfileConstrainedHigh = 0x80000; 34 inline static const char *asString_AVCProfile(int32_t i, const char *def = "??") { [all …]
|
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/common/include/ |
D | Operations.h | 50 const _Float16* biasData, const Shape& biasShape, int32_t paddingLeft, 51 int32_t paddingRight, int32_t paddingTop, int32_t paddingBottom, 52 int32_t strideWidth, int32_t strideHeight, int32_t dilationWidthFactor, 53 int32_t dilationHeightFactor, int32_t depthMultiplier, int32_t activation, 57 int32_t paddingLeft, int32_t paddingRight, int32_t paddingTop, 58 int32_t paddingBottom, int32_t strideWidth, int32_t strideHeight, 59 int32_t dilationWidthFactor, int32_t dilationHeightFactor, 60 int32_t depthMultiplier, int32_t activation, float* outputData, 64 const int32_t* biasData, const Shape& biasShape, int32_t paddingLeft, 65 int32_t paddingRight, int32_t paddingTop, int32_t paddingBottom, [all …]
|
D | OperationsUtils.h | 51 int32_t offset = 0; 158 bool handleNegativeAxis(int32_t numberOfDimensions, int32_t* axis); 160 inline bool handleNegativeAxis(const Shape& shape, int32_t* axis) { in handleNegativeAxis() 164 inline int32_t computeOutSize(int32_t imageSize, int32_t filterSize, int32_t stride, in computeOutSize() 165 int32_t paddingHead, int32_t paddingTail) { in computeOutSize() 169 inline int32_t computeOutSize(int32_t imageSize, int32_t filterSize, int32_t stride, in computeOutSize() 170 int32_t dilationRate, int32_t paddingHead, int32_t paddingTail) { in computeOutSize() 171 int32_t effectiveFilterSize = ((filterSize - 1) * dilationRate + 1); in computeOutSize() 175 inline int32_t computeOutSizeTransposeConv(int32_t imageSize, int32_t filterSize, int32_t stride, in computeOutSizeTransposeConv() 176 int32_t paddingHead, int32_t paddingTail) { in computeOutSizeTransposeConv() [all …]
|
/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/reader/include/ |
D | EventHub.h | 53 int32_t deviceId; 54 int32_t type; 55 int32_t code; 56 int32_t value; 63 int32_t minValue; // minimum value 64 int32_t maxValue; // maximum value 65 int32_t flat; // center flat position, eg. flat == 8 means center is between -8 and 8 66 int32_t fuzz; // error tolerance, eg. fuzz == 4 means value is +/- 4 due to noise 67 int32_t resolution; // resolution in units per mm or radians per mm 133 extern uint32_t getAbsAxisUsage(int32_t axis, uint32_t deviceClasses); [all …]
|
D | InputReader.h | 65 virtual bool isInputDeviceEnabled(int32_t deviceId) override; 67 virtual int32_t getScanCodeState(int32_t deviceId, uint32_t sourceMask, 68 int32_t scanCode) override; 69 virtual int32_t getKeyCodeState(int32_t deviceId, uint32_t sourceMask, 70 int32_t keyCode) override; 71 virtual int32_t getSwitchState(int32_t deviceId, uint32_t sourceMask, int32_t sw) override; 73 virtual void toggleCapsLockState(int32_t deviceId) override; 75 virtual bool hasKeys(int32_t deviceId, uint32_t sourceMask, size_t numCodes, 76 const int32_t* keyCodes, uint8_t* outFlags) override; 80 virtual void vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize, [all …]
|
D | InputDevice.h | 41 InputDevice(InputReaderContext* context, int32_t id, int32_t generation, 46 inline int32_t getId() const { return mId; } in getId() 47 inline int32_t getControllerNumber() const { return mControllerNumber; } in getControllerNumber() 48 inline int32_t getGeneration() const { return mGeneration; } in getGeneration() 70 void addEventHubDevice(int32_t eventHubId, bool populateMappers = true); 71 void removeEventHubDevice(int32_t eventHubId); 79 int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode); 80 int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode); 81 int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode); 82 bool markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes, const int32_t* keyCodes, [all …]
|
/frameworks/native/include/input/ |
D | KeyCharacterMap.h | 72 int32_t keyCode; 73 int32_t metaState; 91 int32_t getKeyboardType() const; 95 char16_t getDisplayLabel(int32_t keyCode) const; 101 char16_t getNumber(int32_t keyCode) const; 106 char16_t getCharacter(int32_t keyCode, int32_t metaState) const; 112 bool getFallbackAction(int32_t keyCode, int32_t metaState, 119 char16_t getMatch(int32_t keyCode, const char16_t* chars, 120 size_t numChars, int32_t metaState) const; 125 bool getEvents(int32_t deviceId, const char16_t* chars, size_t numChars, [all …]
|
D | Input.h | 80 constexpr int32_t VERIFIED_KEY_EVENT_FLAGS = AKEY_EVENT_FLAG_CANCELED; 86 constexpr int32_t VERIFIED_MOTION_EVENT_FLAGS = 184 const char* inputEventTypeToString(int32_t type); 282 enum class Source : int32_t { 289 int32_t nextId() const; 292 static inline Source getSource(int32_t id) { return static_cast<Source>(SOURCE_MASK & id); } in getSource() 297 static constexpr int32_t SOURCE_MASK = 0x3 << SOURCE_SHIFT; 333 float getAxisValue(int32_t axis) const; 334 status_t setAxisValue(int32_t axis, float value); 373 int32_t id; [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, std::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 …]
|
/frameworks/ml/nn/common/operations/ |
D | GroupedConv2D.cpp | 48 int32_t padding_left, int32_t padding_right, int32_t padding_top, in groupedConvFloat32() 49 int32_t padding_bottom, int32_t stride_width, int32_t stride_height, in groupedConvFloat32() 50 int32_t numGroups, int32_t activation, float* outputData, in groupedConvFloat32() 66 int32_t wInputOrigin = in groupedConvFloat32() 67 static_cast<int32_t>(w) * stride_width - padding_left; in groupedConvFloat32() 68 int32_t hInputOrigin = in groupedConvFloat32() 69 static_cast<int32_t>(h) * stride_height - padding_top; in groupedConvFloat32() 74 int32_t hInput = hInputOrigin + static_cast<int32_t>(i); in groupedConvFloat32() 75 int32_t wInput = wInputOrigin + static_cast<int32_t>(j); in groupedConvFloat32() 77 if (hInput >= 0 && hInput < static_cast<int32_t>(inputHeight) && in groupedConvFloat32() [all …]
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | Entry.h | 56 int32_t id; 57 mutable int32_t refCount; 89 EventEntry(int32_t id, Type type, nsecs_t eventTime, uint32_t policyFlags); 95 explicit ConfigurationChangedEntry(int32_t id, nsecs_t eventTime); 103 int32_t deviceId; 105 DeviceResetEntry(int32_t id, nsecs_t eventTime, int32_t deviceId); 116 FocusEntry(int32_t id, nsecs_t eventTime, sp<IBinder> connectionToken, bool hasFocus); 124 int32_t deviceId; 126 int32_t displayId; 127 int32_t action; [all …]
|
D | InputState.h | 27 static constexpr int32_t INVALID_POINTER_INDEX = -1; 41 bool isHovering(int32_t deviceId, uint32_t source, int32_t displayId) const; 46 bool trackKey(const KeyEntry& entry, int32_t action, int32_t flags); 51 bool trackMotion(const MotionEntry& entry, int32_t action, int32_t flags); 69 int32_t getFallbackKey(int32_t originalKeyCode); 72 void setFallbackKey(int32_t originalKeyCode, int32_t fallbackKeyCode); 75 void removeFallbackKey(int32_t originalKeyCode); 77 inline const KeyedVector<int32_t, int32_t>& getFallbackKeys() const { return mFallbackKeys; } in getFallbackKeys() 81 int32_t deviceId; 83 int32_t displayId; [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 | 505 int32_t AConfiguration_getMcc(AConfiguration* config); 510 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc); 515 int32_t AConfiguration_getMnc(AConfiguration* config); 520 void AConfiguration_setMnc(AConfiguration* config, int32_t mnc); 551 int32_t AConfiguration_getOrientation(AConfiguration* config); 556 void AConfiguration_setOrientation(AConfiguration* config, int32_t orientation); 561 int32_t AConfiguration_getTouchscreen(AConfiguration* config); 566 void AConfiguration_setTouchscreen(AConfiguration* config, int32_t touchscreen); 571 int32_t AConfiguration_getDensity(AConfiguration* config); 576 void AConfiguration_setDensity(AConfiguration* config, int32_t density); [all …]
|
/frameworks/base/cmds/statsd/src/ |
D | FieldValue.h | 30 const int32_t kMaxLogDepth = 2; 31 const int32_t kLastBitMask = 0x80; 32 const int32_t kClearLastBitDeco = 0x7f; 33 const int32_t kClearAllPositionMatcherMask = 0xffff00ff; 37 int32_t getEncodedField(int32_t pos[], int32_t depth, bool includeDepth); 39 int32_t encodeMatcherMask(int32_t mask[], int32_t depth); 42 inline int32_t getSimpleField(size_t field) { in getSimpleField() 43 return ((int32_t)field << 8 * 2); in getSimpleField() 83 int32_t mTag; 84 int32_t mField; [all …]
|
/frameworks/ml/nn/common/ |
D | QuantUtils.cpp | 10 void ApplyLayerNorm(const int16_t* input, const int16_t* layer_norm_weights, const int32_t* bias, in ApplyLayerNorm() 11 int32_t layer_norm_scale_a, int32_t layer_norm_scale_b, int32_t variance_limit, in ApplyLayerNorm() 18 const int32_t index = i * n_input + j; in ApplyLayerNorm() 19 int32_t val = static_cast<int32_t>(input[index]); in ApplyLayerNorm() 23 int32_t mean = static_cast<int32_t>(static_cast<int64_t>(sum) * 1024 / n_input); in ApplyLayerNorm() 25 int32_t temp = kOverflowGuard / n_input; in ApplyLayerNorm() 27 int32_t variance2 = static_cast<int32_t>(variance / kOverflowGuard); in ApplyLayerNorm() 31 int32_t stddev_inverse_a; in ApplyLayerNorm() 37 const int32_t index = i * n_input + j; in ApplyLayerNorm() 38 int32_t val = static_cast<int32_t>(input[index]); in ApplyLayerNorm() [all …]
|
D | QuantUtils.h | 19 inline int32_t MultiplyByQuantizedMultiplier(int32_t x, int32_t quantized_multiplier, int shift) { in MultiplyByQuantizedMultiplier() 30 void MatrixBatchVectorMultiplyAccumulate(const int8_t* input, const int32_t* bias, in MatrixBatchVectorMultiplyAccumulate() 31 const int8_t* input_to_gate_weights, int32_t multiplier, in MatrixBatchVectorMultiplyAccumulate() 32 int32_t shift, int32_t n_batch, int32_t n_input, in MatrixBatchVectorMultiplyAccumulate() 33 int32_t n_output, int32_t output_zp, T* output) { in MatrixBatchVectorMultiplyAccumulate() 38 int32_t acc = bias[row]; in MatrixBatchVectorMultiplyAccumulate() 78 inline bool GetInvSqrtQuantizedMultiplierExp(int32_t input, int reverse_shift, in GetInvSqrtQuantizedMultiplierExp() 79 int32_t* output_inv_sqrt, int* output_shift) { in GetInvSqrtQuantizedMultiplierExp() 87 *output_inv_sqrt = std::numeric_limits<std::int32_t>::max(); in GetInvSqrtQuantizedMultiplierExp() 109 using F3 = FixedPoint<int32_t, 3>; in GetInvSqrtQuantizedMultiplierExp() [all …]
|
/frameworks/base/cmds/statsd/src/guardrail/ |
D | StatsdStats.h | 33 int32_t uid; 35 int32_t creation_time_sec; 36 int32_t deletion_time_sec = 0; 37 int32_t reset_time_sec = 0; 38 int32_t metric_count; 39 int32_t condition_count; 40 int32_t matcher_count; 41 int32_t alert_count; 44 std::list<int32_t> broadcast_sent_time_sec; 47 std::list<int32_t> activation_time_sec; [all …]
|
/frameworks/native/services/inputflinger/include/ |
D | InputListener.h | 33 int32_t id; 38 inline explicit NotifyArgs(int32_t id, nsecs_t eventTime) : id(id), eventTime(eventTime) {} in NotifyArgs() 53 NotifyConfigurationChangedArgs(int32_t id, nsecs_t eventTime); 65 int32_t deviceId; 67 int32_t displayId; 69 int32_t action; 70 int32_t flags; 71 int32_t keyCode; 72 int32_t scanCode; 73 int32_t metaState; [all …]
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | MultiTouchInputMapper.h | 30 inline int32_t getX() const { return mAbsMTPositionX; } in getX() 31 inline int32_t getY() const { return mAbsMTPositionY; } in getY() 32 inline int32_t getTouchMajor() const { return mAbsMTTouchMajor; } in getTouchMajor() 33 inline int32_t getTouchMinor() const { in getTouchMinor() 36 inline int32_t getToolMajor() const { return mAbsMTWidthMajor; } in getToolMajor() 37 inline int32_t getToolMinor() const { in getToolMinor() 40 inline int32_t getOrientation() const { return mAbsMTOrientation; } in getOrientation() 41 inline int32_t getTrackingId() const { return mAbsMTTrackingId; } in getTrackingId() 42 inline int32_t getPressure() const { return mAbsMTPressure; } in getPressure() 43 inline int32_t getDistance() const { return mAbsMTDistance; } in getDistance() [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); 50 int32_t userId, int32_t flags, const std::vector<int32_t>& appIds, 51 const std::vector<std::string>& seInfos, const std::vector<int32_t>& targetSdkVersions, 54 const std::string& packageName, int32_t userId, int32_t flags, int32_t appId, 55 const std::string& seInfo, int32_t targetSdkVersion, int64_t* _aidl_return); 57 const std::string& packageName, int32_t userId, int32_t flags, int32_t appId, 60 const std::string& packageName, int32_t userId, int32_t flags); [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/native/services/surfaceflinger/ |
D | SurfaceInterceptor.h | 70 virtual void saveBufferUpdate(int32_t layerId, uint32_t width, uint32_t height, 75 virtual void saveDisplayDeletion(int32_t sequenceId) = 0; 76 virtual void savePowerModeUpdate(int32_t sequenceId, int32_t mode) = 0; 105 void saveBufferUpdate(int32_t layerId, uint32_t width, uint32_t height, 110 void saveDisplayDeletion(int32_t sequenceId) override; 111 void savePowerModeUpdate(int32_t sequenceId, int32_t mode) override; 126 int32_t getLayerId(const sp<const Layer>& layer) const; 127 int32_t getLayerIdFromWeakRef(const wp<const Layer>& layer) const; 128 int32_t getLayerIdFromHandle(const sp<const IBinder>& weakHandle) const; 133 void addBufferUpdateLocked(Increment* increment, int32_t layerId, uint32_t width, [all …]
|