/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/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/ml/nn/common/include/ |
D | Operations.h | 51 const _Float16* biasData, const Shape& biasShape, int32_t paddingLeft, 52 int32_t paddingRight, int32_t paddingTop, int32_t paddingBottom, 53 int32_t strideWidth, int32_t strideHeight, int32_t dilationWidthFactor, 54 int32_t dilationHeightFactor, int32_t depthMultiplier, int32_t activation, 58 int32_t paddingLeft, int32_t paddingRight, int32_t paddingTop, 59 int32_t paddingBottom, int32_t strideWidth, int32_t strideHeight, 60 int32_t dilationWidthFactor, int32_t dilationHeightFactor, 61 int32_t depthMultiplier, int32_t activation, float* outputData, 65 const int32_t* biasData, const Shape& biasShape, int32_t paddingLeft, 66 int32_t paddingRight, int32_t paddingTop, int32_t paddingBottom, [all …]
|
D | OperationsUtils.h | 49 int32_t offset; 157 bool handleNegativeAxis(int32_t numberOfDimensions, int32_t* axis); 159 inline bool handleNegativeAxis(const Shape& shape, int32_t* axis) { in handleNegativeAxis() 163 inline int32_t computeOutSize(int32_t imageSize, int32_t filterSize, int32_t stride, in computeOutSize() 164 int32_t paddingHead, int32_t paddingTail) { in computeOutSize() 168 inline int32_t computeOutSize(int32_t imageSize, int32_t filterSize, int32_t stride, in computeOutSize() 169 int32_t dilationRate, int32_t paddingHead, int32_t paddingTail) { in computeOutSize() 170 int32_t effectiveFilterSize = ((filterSize - 1) * dilationRate + 1); in computeOutSize() 174 inline int32_t computeOutSizeTransposeConv(int32_t imageSize, int32_t filterSize, int32_t stride, in computeOutSizeTransposeConv() 175 int32_t paddingHead, int32_t paddingTail) { in computeOutSizeTransposeConv() [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 | 270 float getAxisValue(int32_t axis) const; 271 status_t setAxisValue(int32_t axis, float value); 310 int32_t id; 313 int32_t toolType; 335 virtual int32_t getType() const = 0; 337 inline int32_t getDeviceId() const { return mDeviceId; } in getDeviceId() 339 inline int32_t getSource() const { return mSource; } in getSource() 341 inline void setSource(int32_t source) { mSource = source; } in setSource() 343 inline int32_t getDisplayId() const { return mDisplayId; } in getDisplayId() 345 inline void setDisplayId(int32_t displayId) { mDisplayId = displayId; } in setDisplayId() [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/native/services/inputflinger/ |
D | EventHub.h | 54 int32_t deviceId; 55 int32_t type; 56 int32_t code; 57 int32_t value; 64 int32_t minValue; // minimum value 65 int32_t maxValue; // maximum value 66 int32_t flat; // center flat position, eg. flat == 8 means center is between -8 and 8 67 int32_t fuzz; // error tolerance, eg. fuzz == 4 means value is +/- 4 due to noise 68 int32_t resolution; // resolution in units per mm or radians per mm 134 extern uint32_t getAbsAxisUsage(int32_t axis, uint32_t deviceClasses); [all …]
|
D | InputReader.h | 55 int32_t toolType; 82 virtual int32_t getGlobalMetaState() = 0; 86 InputDevice* device, int32_t keyCode, int32_t scanCode) = 0; 91 virtual int32_t bumpGeneration() = 0; 129 virtual bool isInputDeviceEnabled(int32_t deviceId); 131 virtual int32_t getScanCodeState(int32_t deviceId, uint32_t sourceMask, 132 int32_t scanCode); 133 virtual int32_t getKeyCodeState(int32_t deviceId, uint32_t sourceMask, 134 int32_t keyCode); 135 virtual int32_t getSwitchState(int32_t deviceId, uint32_t sourceMask, [all …]
|
/frameworks/ml/nn/runtime/test/generated/models/ |
D | depthwise_conv2d_per_channel.model.cpp | 25 static int32_t op3_init[] = {0, 0}; in CreateModel_same() 26 model->setOperandValue(op3, op3_init, sizeof(int32_t) * 2); in CreateModel_same() 27 static int32_t param_init[] = {0}; in CreateModel_same() 28 model->setOperandValue(param, param_init, sizeof(int32_t) * 1); in CreateModel_same() 29 static int32_t param1_init[] = {0}; in CreateModel_same() 30 model->setOperandValue(param1, param1_init, sizeof(int32_t) * 1); in CreateModel_same() 31 static int32_t param2_init[] = {0}; in CreateModel_same() 32 model->setOperandValue(param2, param2_init, sizeof(int32_t) * 1); in CreateModel_same() 33 static int32_t param3_init[] = {0}; in CreateModel_same() 34 model->setOperandValue(param3, param3_init, sizeof(int32_t) * 1); in CreateModel_same() [all …]
|
D | depthwise_conv2d_dilation.model.cpp | 30 static int32_t param_init[] = {0}; in CreateModel_nhwc() 31 model->setOperandValue(param, param_init, sizeof(int32_t) * 1); in CreateModel_nhwc() 32 static int32_t param1_init[] = {0}; in CreateModel_nhwc() 33 model->setOperandValue(param1, param1_init, sizeof(int32_t) * 1); in CreateModel_nhwc() 34 static int32_t param2_init[] = {0}; in CreateModel_nhwc() 35 model->setOperandValue(param2, param2_init, sizeof(int32_t) * 1); in CreateModel_nhwc() 36 static int32_t param3_init[] = {0}; in CreateModel_nhwc() 37 model->setOperandValue(param3, param3_init, sizeof(int32_t) * 1); in CreateModel_nhwc() 38 static int32_t param4_init[] = {1}; in CreateModel_nhwc() 39 model->setOperandValue(param4, param4_init, sizeof(int32_t) * 1); in CreateModel_nhwc() [all …]
|
D | grouped_conv2d.model.cpp | 29 static int32_t param_init[] = {0}; in CreateModel_nhwc_none() 30 model->setOperandValue(param, param_init, sizeof(int32_t) * 1); in CreateModel_nhwc_none() 31 static int32_t param1_init[] = {0}; in CreateModel_nhwc_none() 32 model->setOperandValue(param1, param1_init, sizeof(int32_t) * 1); in CreateModel_nhwc_none() 33 static int32_t param2_init[] = {0}; in CreateModel_nhwc_none() 34 model->setOperandValue(param2, param2_init, sizeof(int32_t) * 1); in CreateModel_nhwc_none() 35 static int32_t param3_init[] = {0}; in CreateModel_nhwc_none() 36 model->setOperandValue(param3, param3_init, sizeof(int32_t) * 1); in CreateModel_nhwc_none() 37 static int32_t param4_init[] = {1}; in CreateModel_nhwc_none() 38 model->setOperandValue(param4, param4_init, sizeof(int32_t) * 1); in CreateModel_nhwc_none() [all …]
|
D | avg_pool_v1_2.model.cpp | 21 static int32_t param_init[] = {0}; in CreateModel_nhwc() 22 model->setOperandValue(param, param_init, sizeof(int32_t) * 1); in CreateModel_nhwc() 23 static int32_t param1_init[] = {0}; in CreateModel_nhwc() 24 model->setOperandValue(param1, param1_init, sizeof(int32_t) * 1); in CreateModel_nhwc() 25 static int32_t param2_init[] = {0}; in CreateModel_nhwc() 26 model->setOperandValue(param2, param2_init, sizeof(int32_t) * 1); in CreateModel_nhwc() 27 static int32_t param3_init[] = {0}; in CreateModel_nhwc() 28 model->setOperandValue(param3, param3_init, sizeof(int32_t) * 1); in CreateModel_nhwc() 29 static int32_t param4_init[] = {1}; in CreateModel_nhwc() 30 model->setOperandValue(param4, param4_init, sizeof(int32_t) * 1); in CreateModel_nhwc() [all …]
|
D | depthwise_conv2d_v1_2.model.cpp | 28 static int32_t param_init[] = {0}; in CreateModel_nhwc() 29 model->setOperandValue(param, param_init, sizeof(int32_t) * 1); in CreateModel_nhwc() 30 static int32_t param1_init[] = {0}; in CreateModel_nhwc() 31 model->setOperandValue(param1, param1_init, sizeof(int32_t) * 1); in CreateModel_nhwc() 32 static int32_t param2_init[] = {0}; in CreateModel_nhwc() 33 model->setOperandValue(param2, param2_init, sizeof(int32_t) * 1); in CreateModel_nhwc() 34 static int32_t param3_init[] = {0}; in CreateModel_nhwc() 35 model->setOperandValue(param3, param3_init, sizeof(int32_t) * 1); in CreateModel_nhwc() 36 static int32_t param4_init[] = {1}; in CreateModel_nhwc() 37 model->setOperandValue(param4, param4_init, sizeof(int32_t) * 1); in CreateModel_nhwc() [all …]
|
D | l2_pool_v1_2.model.cpp | 21 static int32_t param_init[] = {0}; in CreateModel_nhwc() 22 model->setOperandValue(param, param_init, sizeof(int32_t) * 1); in CreateModel_nhwc() 23 static int32_t param1_init[] = {0}; in CreateModel_nhwc() 24 model->setOperandValue(param1, param1_init, sizeof(int32_t) * 1); in CreateModel_nhwc() 25 static int32_t param2_init[] = {0}; in CreateModel_nhwc() 26 model->setOperandValue(param2, param2_init, sizeof(int32_t) * 1); in CreateModel_nhwc() 27 static int32_t param3_init[] = {0}; in CreateModel_nhwc() 28 model->setOperandValue(param3, param3_init, sizeof(int32_t) * 1); in CreateModel_nhwc() 29 static int32_t param4_init[] = {1}; in CreateModel_nhwc() 30 model->setOperandValue(param4, param4_init, sizeof(int32_t) * 1); in CreateModel_nhwc() [all …]
|
D | max_pool_v1_2.model.cpp | 21 static int32_t param_init[] = {0}; in CreateModel_nhwc() 22 model->setOperandValue(param, param_init, sizeof(int32_t) * 1); in CreateModel_nhwc() 23 static int32_t param1_init[] = {0}; in CreateModel_nhwc() 24 model->setOperandValue(param1, param1_init, sizeof(int32_t) * 1); in CreateModel_nhwc() 25 static int32_t param2_init[] = {0}; in CreateModel_nhwc() 26 model->setOperandValue(param2, param2_init, sizeof(int32_t) * 1); in CreateModel_nhwc() 27 static int32_t param3_init[] = {0}; in CreateModel_nhwc() 28 model->setOperandValue(param3, param3_init, sizeof(int32_t) * 1); in CreateModel_nhwc() 29 static int32_t param4_init[] = {1}; in CreateModel_nhwc() 30 model->setOperandValue(param4, param4_init, sizeof(int32_t) * 1); in CreateModel_nhwc() [all …]
|
D | conv2d_per_channel.model.cpp | 24 static int32_t op3_init[] = {4, 4, 4}; in CreateModel() 25 model->setOperandValue(op3, op3_init, sizeof(int32_t) * 3); in CreateModel() 26 static int32_t param_init[] = {0}; in CreateModel() 27 model->setOperandValue(param, param_init, sizeof(int32_t) * 1); in CreateModel() 28 static int32_t param1_init[] = {0}; in CreateModel() 29 model->setOperandValue(param1, param1_init, sizeof(int32_t) * 1); in CreateModel() 30 static int32_t param2_init[] = {0}; in CreateModel() 31 model->setOperandValue(param2, param2_init, sizeof(int32_t) * 1); in CreateModel() 32 static int32_t param3_init[] = {0}; in CreateModel() 33 model->setOperandValue(param3, param3_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/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/ |
D | GPBCodedOutputStream.h | 85 - (void)writeRawLittleEndian32:(int32_t)value; 90 - (void)writeRawVarint32:(int32_t)value; 114 - (void)writeDouble:(int32_t)fieldNumber value:(double)value; 116 - (void)writeDoubleArray:(int32_t)fieldNumber 123 - (void)writeFloat:(int32_t)fieldNumber value:(float)value; 125 - (void)writeFloatArray:(int32_t)fieldNumber 132 - (void)writeUInt64:(int32_t)fieldNumber value:(uint64_t)value; 134 - (void)writeUInt64Array:(int32_t)fieldNumber 141 - (void)writeInt64:(int32_t)fieldNumber value:(int64_t)value; 143 - (void)writeInt64Array:(int32_t)fieldNumber [all …]
|
/frameworks/ml/nn/common/operations/ |
D | GroupedConv2D.cpp | 44 int32_t padding_left, int32_t padding_right, int32_t padding_top, in groupedConvFloat32() 45 int32_t padding_bottom, int32_t stride_width, int32_t stride_height, in groupedConvFloat32() 46 int32_t numGroups, int32_t activation, float* outputData, in groupedConvFloat32() 62 int32_t wInputOrigin = in groupedConvFloat32() 63 static_cast<int32_t>(w) * stride_width - padding_left; in groupedConvFloat32() 64 int32_t hInputOrigin = in groupedConvFloat32() 65 static_cast<int32_t>(h) * stride_height - padding_top; in groupedConvFloat32() 70 int32_t hInput = hInputOrigin + static_cast<int32_t>(i); in groupedConvFloat32() 71 int32_t wInput = wInputOrigin + static_cast<int32_t>(j); in groupedConvFloat32() 73 if (hInput >= 0 && hInput < static_cast<int32_t>(inputHeight) && in groupedConvFloat32() [all …]
|
D | DepthwiseConv2D.cpp | 30 const _Float16* biasData, const Shape& biasShape, int32_t paddingLeft, in depthwiseConvFloat16() 31 int32_t paddingRight, int32_t paddingTop, int32_t paddingBottom, in depthwiseConvFloat16() 32 int32_t strideWidth, int32_t strideHeight, int32_t dilationWidthFactor, in depthwiseConvFloat16() 33 int32_t dilationHeightFactor, int32_t depthMultiplier, int32_t activation, in depthwiseConvFloat16() 67 int32_t paddingLeft, int32_t paddingRight, int32_t paddingTop, in depthwiseConvFloat32() 68 int32_t paddingBottom, int32_t strideWidth, int32_t strideHeight, in depthwiseConvFloat32() 69 int32_t dilationWidthFactor, int32_t dilationHeightFactor, in depthwiseConvFloat32() 70 int32_t depthMultiplier, int32_t activation, float* outputData, in depthwiseConvFloat32() 100 const int32_t* biasData, const Shape& biasShape, int32_t paddingLeft, in depthwiseConvQuant8() 101 int32_t paddingRight, int32_t paddingTop, int32_t paddingBottom, in depthwiseConvQuant8() [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 | 29 const int32_t kAttributionField = 1; 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; [all …]
|
/frameworks/base/cmds/statsd/src/guardrail/ |
D | StatsdStats.h | 34 int32_t uid; 36 int32_t creation_time_sec; 37 int32_t deletion_time_sec = 0; 38 int32_t reset_time_sec = 0; 39 int32_t metric_count; 40 int32_t condition_count; 41 int32_t matcher_count; 42 int32_t alert_count; 45 std::list<int32_t> broadcast_sent_time_sec; 48 std::list<int32_t> activation_time_sec; [all …]
|