/frameworks/av/media/libeffects/testlibs/ |
D | EffectReverb.h | 126 uint16_t m_zApOut; // delay offset for ap out 130 uint16_t m_zApIn; // delay offset for ap in 138 uint16_t m_zDelay[REVERB_MAX_NUM_REFLECTIONS]; // delay offset for ap out 160 uint16_t m_nMaxExcursion; //28 193 …uint16_t m_nBaseIndex; // base index for circular bu… 202 uint16_t m_zD0In; // delay offset for delay line D0 in 209 uint16_t m_zD1In; // delay offset for delay line D1 in 212 uint16_t m_zD0Self; // self feeds forward d0 --> d0 214 uint16_t m_zD1Cross; // cross feeds across d1 --> d0 216 uint16_t m_zD1Self; // self feeds forward d1 --> d1 [all …]
|
/frameworks/minikin/tests/unittest/ |
D | HyphenatorTest.cpp | 32 const uint16_t HYPHEN_MINUS = 0x002D; 33 const uint16_t SOFT_HYPHEN = 0x00AD; 34 const uint16_t MIDDLE_DOT = 0x00B7; 35 const uint16_t GREEK_LOWER_ALPHA = 0x03B1; 36 const uint16_t ARMENIAN_AYB = 0x0531; 37 const uint16_t HEBREW_ALEF = 0x05D0; 38 const uint16_t ARABIC_ALEF = 0x0627; 39 const uint16_t ARABIC_BEH = 0x0628; 40 const uint16_t ARABIC_ZWARAKAY = 0x0659; 41 const uint16_t MALAYALAM_KA = 0x0D15; [all …]
|
D | CmapCoverageTest.cpp | 30 static constexpr uint16_t VS_PLATFORM_ID = 0; 31 static constexpr uint16_t VS_ENCODING_ID = 5; 38 size_t writeU16(uint16_t x, uint8_t* out, size_t offset) { in writeU16() 45 return writeU16(static_cast<uint16_t>(sx), out, offset); in writeI16() 66 static std::vector<uint8_t> buildCmapFormat4Table(const std::vector<uint16_t>& ranges) { in buildCmapFormat4Table() 67 uint16_t segmentCount = ranges.size() / 2 + 1 /* +1 for end marker */; in buildCmapFormat4Table() 73 const size_t finalLength = sizeof(uint16_t) * numOfUint16; in buildCmapFormat4Table() 81 const uint16_t searchRange = 2 * (1 << static_cast<int>(floor(log2(segmentCount)))); in buildCmapFormat4Table() 89 size_t startCountHead = head + segmentCount * sizeof(uint16_t) + 2 /* padding */; in buildCmapFormat4Table() 90 size_t idDeltaHead = startCountHead + segmentCount * sizeof(uint16_t); in buildCmapFormat4Table() [all …]
|
/frameworks/av/media/img_utils/include/img_utils/ |
D | TiffWriter.h | 77 TiffWriter(KeyedVector<uint16_t, const TagDefinition_t*>* enabledDefinitions, 144 status_t addEntry(uint16_t tag, uint32_t count, const T* data, uint32_t ifd); 161 status_t buildEntry(uint16_t tag, uint32_t count, const T* data, 182 virtual sp<TiffEntry> getEntry(uint16_t tag, uint32_t ifd) const; 187 virtual void removeEntry(uint16_t tag, uint32_t ifd); 204 virtual TagType getDefaultType(uint16_t tag) const; 210 virtual uint32_t getDefaultCount(uint16_t tag) const; 220 virtual bool checkIfDefined(uint16_t tag) const; 226 virtual const char* getTagName(uint16_t tag) const; 243 static sp<TiffEntry> uncheckedBuildEntry(uint16_t tag, TagType type, [all …]
|
/frameworks/minikin/include/minikin/ |
D | U16StringPiece.h | 29 U16StringPiece(const uint16_t* data, uint32_t length) : mData(data), mLength(length) {} in U16StringPiece() 30 U16StringPiece(const std::vector<uint16_t>& v) // Intentionally not explicit. in U16StringPiece() 33 U16StringPiece(uint16_t const (&data)[length]) : mData(data), mLength(length) {} in U16StringPiece() 38 inline const uint16_t* data() const { return mData; } in data() 43 inline const uint16_t& at(uint32_t pos) const { return mData[pos]; } in at() 44 inline const uint16_t& operator[](uint32_t pos) const { return mData[pos]; } 50 inline bool hasChar(uint16_t c) const { in hasChar() 51 const uint16_t* end = mData + mLength; in hasChar() 56 const uint16_t* mData;
|
D | FontStyle.h | 25 enum class Weight : uint16_t { 47 : FontStyle(static_cast<uint16_t>(weight), slant) {} in FontStyle() 48 constexpr FontStyle(uint16_t weight, Slant slant) : mWeight(weight), mSlant(slant) {} in FontStyle() 50 constexpr uint16_t weight() const { return mWeight; } in weight() 62 uint16_t mWeight;
|
/frameworks/native/services/vr/virtual_touchpad/ |
D | EvdevInjector.h | 77 int ConfigureKey(uint16_t key); 82 int ConfigureAbs(uint16_t abs_type, int32_t min, int32_t max, int32_t fuzz, 93 int ConfigureRel(uint16_t rel_type); 100 int Send(uint16_t type, uint16_t code, int32_t value); 102 int SendKey(uint16_t code, int32_t value); 103 int SendAbs(uint16_t code, int32_t value); 104 int SendRel(uint16_t code, int32_t value); 129 int EnableEventType(uint16_t type); 138 std::unordered_set<uint16_t> enabled_event_types_;
|
/frameworks/av/media/mtp/ |
D | MtpTypes.h | 28 typedef uint16_t MtpOperationCode; 29 typedef uint16_t MtpResponseCode; 30 typedef uint16_t MtpEventCode; 34 typedef uint16_t MtpPropertyCode; 35 typedef uint16_t MtpDataType; 36 typedef uint16_t MtpObjectFormat; 58 typedef std::vector<uint16_t> UInt16List;
|
D | MtpPacket.h | 52 uint16_t getContainerCode() const; 53 void setContainerCode(uint16_t code); 55 uint16_t getContainerType() const; 68 uint16_t getUInt16(int offset) const; 70 void putUInt16(int offset, uint16_t value);
|
D | MtpPacket.cpp | 94 uint16_t MtpPacket::getUInt16(int offset) const { in getUInt16() 95 return ((uint16_t)mBuffer[offset + 1] << 8) | (uint16_t)mBuffer[offset]; in getUInt16() 103 void MtpPacket::putUInt16(int offset, uint16_t value) { in putUInt16() 115 uint16_t MtpPacket::getContainerCode() const { in getContainerCode() 119 void MtpPacket::setContainerCode(uint16_t code) { in setContainerCode() 123 uint16_t MtpPacket::getContainerType() const { in getContainerType()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | ToneGenerator.h | 266 uint16_t waveFreq[TONEGEN_MAX_WAVES+1]; 267 uint16_t loopCnt; 268 uint16_t loopIndx; 289 uint16_t mCurSegment; // Current segment index in ToneDescriptor segments[] 290 uint16_t mCurCount; // Current sequence repeat count 291 volatile uint16_t mState; // ToneGenerator state (tone_state) 292 uint16_t mRegion; 296 uint16_t mLoopCounter; // Current tone loopback count 324 WaveGenerator(uint32_t samplingRate, uint16_t frequency, 343 KeyedVector<uint16_t, WaveGenerator *> mWaveGens; // list of active wave generators.
|
/frameworks/minikin/tests/util/ |
D | UnicodeUtils.cpp | 31 void ParseUnicode(uint16_t* buf, size_t buf_size, const char* src, size_t* result_size, in ParseUnicode() 45 buf[output_ix++] = (uint16_t)src[input_ix++]; in ParseUnicode() 94 std::vector<uint16_t> parseUnicodeStringWithOffset(const std::string& in, size_t* offset) { in parseUnicodeStringWithOffset() 95 std::unique_ptr<uint16_t[]> buffer(new uint16_t[in.size()]); in parseUnicodeStringWithOffset() 98 return std::vector<uint16_t>(buffer.get(), buffer.get() + result_size); in parseUnicodeStringWithOffset() 101 std::vector<uint16_t> parseUnicodeString(const std::string& in) { in parseUnicodeString() 105 std::vector<uint16_t> utf8ToUtf16(const std::string& text) { in utf8ToUtf16() 106 std::vector<uint16_t> result; in utf8ToUtf16()
|
D | UnicodeUtils.h | 25 void ParseUnicode(uint16_t* buf, size_t buf_size, const char* src, size_t* result_size, 28 std::vector<uint16_t> parseUnicodeStringWithOffset(const std::string& in, size_t* offset); 29 std::vector<uint16_t> parseUnicodeString(const std::string& in); 32 std::vector<uint16_t> utf8ToUtf16(const std::string& text);
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 50 static_assert(sizeof(char16_t) == sizeof(uint16_t), "char16_t is not 16 bits"); 51 static_assert(alignof(char16_t) == alignof(uint16_t), "char16_t is not 16-bit aligned"); 200 uint16_t type; 205 uint16_t headerSize; 267 uint16_t size; 656 uint16_t attributeStart; 659 uint16_t attributeSize; 664 uint16_t attributeCount; 667 uint16_t idIndex; 670 uint16_t classIndex; [all …]
|
/frameworks/av/media/libmedia/ |
D | CharacterEncodingDetectorTables.h | 19 const uint16_t frequent_zhCN[] = { 538 const uint16_t frequent_zhTW[] = { 1057 const uint16_t frequent_ja[] = { 1576 const uint16_t frequent_ko[] = {
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | RawPrintVisitor.cpp | 56 print(static_cast<uint16_t>(header.GetTargetPackageId()), "target package id"); in visit() 64 print(static_cast<uint16_t>(type_entry.GetTargetTypeId()), "target type"); in visit() 65 print(static_cast<uint16_t>(type_entry.GetOverlayTypeId()), "overlay type"); in visit() 66 print(static_cast<uint16_t>(type_entry.GetEntryCount()), "entry count"); in visit() 67 print(static_cast<uint16_t>(type_entry.GetEntryOffset()), "entry offset"); in visit() 69 for (uint16_t i = 0; i < type_entry.GetEntryCount(); i++) { in visit() 93 void RawPrintVisitor::print(uint16_t value, const char* fmt, ...) { in print() 102 offset_ += sizeof(uint16_t); in print()
|
D | BinaryStreamVisitor.cpp | 27 void BinaryStreamVisitor::Write16(uint16_t value) { in Write16() 28 uint16_t x = htodl(value); in Write16() 29 stream_.write(reinterpret_cast<char*>(&x), sizeof(uint16_t)); in Write16() 67 const uint16_t entryCount = type_entry.GetEntryCount(); in visit() 73 for (uint16_t i = 0; i < entryCount; i++) { in visit()
|
/frameworks/native/opengl/libagl/ |
D | dxt.cpp | 158 uint16_t color0 = colors & 0xffff; in DXT1HasAlpha() 159 uint16_t color1 = colors >> 16; in DXT1HasAlpha() 204 uint16_t c[4]; in decodeDXT1() 208 uint16_t prev_color0 = 0x0000; in decodeDXT1() 209 uint16_t prev_color1 = 0x0000; in decodeDXT1() 211 uint16_t* rowPtr = (uint16_t*)surface; in decodeDXT1() 213 uint16_t *blockPtr = rowPtr; in decodeDXT1() 224 uint16_t color0 = colors & 0xffff; in decodeDXT1() 225 uint16_t color1 = colors >> 16; in decodeDXT1() 286 uint16_t* blockRowPtr = blockPtr; in decodeDXT1() [all …]
|
D | mipmap.cpp | 58 uint16_t const * src = (uint16_t const *)base->data; in buildAPyramid() 59 uint16_t* dst = (uint16_t*)cur.data; in buildAPyramid() 81 uint16_t const * src = (uint16_t const *)base->data; in buildAPyramid() 82 uint16_t* dst = (uint16_t*)cur.data; in buildAPyramid() 157 uint16_t const * src = (uint16_t const *)base->data; in buildAPyramid() 158 uint16_t* dst = (uint16_t*)cur.data; in buildAPyramid()
|
/frameworks/minikin/libs/minikin/ |
D | FontUtils.cpp | 25 static uint16_t readU16(const uint8_t* data, size_t offset) { in readU16() 37 const uint16_t kItalicFlag = (1 << 0); in analyzeStyle() 41 uint16_t weightClass = readU16(os2_data, kUsWeightClassOffset); in analyzeStyle() 43 uint16_t fsSelection = readU16(os2_data, kFsSelectionOffset); in analyzeStyle() 60 const uint16_t majorVersion = readU16(fvar_data, kMajorVersionOffset); in analyzeAxes() 61 const uint16_t minorVersion = readU16(fvar_data, kMinorVersionOffset); in analyzeAxes()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | DisplayIdentification.cpp | 36 constexpr uint16_t kFallbackEdidManufacturerId = 0; 37 constexpr uint16_t kVirtualEdidManufacturerId = 0xffffu; 61 char getPnpLetter(uint16_t id) { in getPnpLetter() 69 uint16_t DisplayId::manufacturerId() const { in manufacturerId() 70 return static_cast<uint16_t>(value >> 40); in manufacturerId() 73 DisplayId DisplayId::fromEdid(uint8_t port, uint16_t manufacturerId, uint32_t displayNameHash) { in fromEdid() 96 if (edid.size() < kManufacturerOffset + sizeof(uint16_t)) { in parseEdid() 102 const uint16_t manufacturerId = in parseEdid() 168 std::optional<PnpId> getPnpId(uint16_t manufacturerId) { in getPnpId()
|
/frameworks/av/cmds/screenrecord/ |
D | FontBitmap.h | 11 static const uint16_t yoffset[]; 12 static const uint16_t glyphWidth[]; 6544 const uint16_t FontBitmap::glyphWidth[] = { 6558 const uint16_t FontBitmap::yoffset[] = {
|
/frameworks/av/media/libstagefright/colorconversion/ |
D | ColorConverter.cpp | 274 uint16_t *dst_ptr = (uint16_t *)dst.mBits in convertCbYCrY() 430 *y1 = (signed)(((uint16_t*)src_y)[x] >> 2) - 16; in getReadFromSrc() 431 *y2 = (signed)(((uint16_t*)src_y)[x + 1] >> 2) - 16; in getReadFromSrc() 432 *u = (signed)(((uint16_t*)src_u)[x / 2] >> 2) - 128; in getReadFromSrc() 433 *v = (signed)(((uint16_t*)src_v)[x / 2] >> 2) - 128; in getReadFromSrc() 462 *(uint16_t *)dst_ptr = rgb1; in getWriteToDst() 644 uint16_t *ptr_ytop = (uint16_t*) src_y; in convertYUV420Planar16ToY410() 645 uint16_t *ptr_ybot = (uint16_t*) (src_y + src.mStride); in convertYUV420Planar16ToY410() 646 uint16_t *ptr_u = (uint16_t*) src_u; in convertYUV420Planar16ToY410() 647 uint16_t *ptr_v = (uint16_t*) src_v; in convertYUV420Planar16ToY410() [all …]
|
/frameworks/ml/nn/runtime/test/generated/spec_V1_3/ |
D | axis_aligned_bbox_transform_quant8_signed.example.cpp | 18 ….data = TestBuffer::createFromVector<uint16_t>({800, 1200, 3200, 3440, 960, 480, 976, 488, 80, 160… in get_test_model_quant8_signed() 48 … .data = TestBuffer::createFromVector<uint16_t>({4096, 4096, 1024, 2048, 2048, 2048, 8192, 4096}), in get_test_model_quant8_signed() 58 ….data = TestBuffer::createFromVector<uint16_t>({1154, 1530, 3806, 4006, 1738, 858, 3702, 3334, 950… in get_test_model_quant8_signed() 95 ….data = TestBuffer::createFromVector<uint16_t>({800, 1200, 3200, 3440, 960, 480, 976, 488, 80, 160… in get_test_model_quant8_signed_all_inputs_as_internal() 125 … .data = TestBuffer::createFromVector<uint16_t>({4096, 4096, 1024, 2048, 2048, 2048, 8192, 4096}), in get_test_model_quant8_signed_all_inputs_as_internal() 135 ….data = TestBuffer::createFromVector<uint16_t>({1154, 1530, 3806, 4006, 1738, 858, 3702, 3334, 950… in get_test_model_quant8_signed_all_inputs_as_internal() 206 ….data = TestBuffer::createFromVector<uint16_t>({800, 1200, 3200, 3440, 960, 480, 976, 488, 80, 160… in get_test_model_quant8_signed_2() 236 ….data = TestBuffer::createFromVector<uint16_t>({4096, 4096, 256, 256, 1024, 2048, 256, 256, 256, 2… in get_test_model_quant8_signed_2() 246 ….data = TestBuffer::createFromVector<uint16_t>({1154, 1530, 3806, 4006, 1738, 858, 3702, 3334, 950… in get_test_model_quant8_signed_2() 283 ….data = TestBuffer::createFromVector<uint16_t>({800, 1200, 3200, 3440, 960, 480, 976, 488, 80, 160… in get_test_model_quant8_signed_all_inputs_as_internal_2() [all …]
|
/frameworks/av/media/img_utils/src/ |
D | TiffWriter.cpp | 28 KeyedVector<uint16_t, const TagDefinition_t*> TiffWriter::buildTagMap( in buildTagMap() 30 KeyedVector<uint16_t, const TagDefinition_t*> map; in buildTagMap() 45 KeyedVector<uint16_t, const TagDefinition_t*> TiffWriter::sTagMaps[] = { 54 TiffWriter::TiffWriter(KeyedVector<uint16_t, const TagDefinition_t*>* enabledDefinitions, in TiffWriter() argument 153 const TagDefinition_t* TiffWriter::lookupDefinition(uint16_t tag) const { in lookupDefinition() 169 sp<TiffEntry> TiffWriter::getEntry(uint16_t tag, uint32_t ifd) const { in getEntry() 178 void TiffWriter::removeEntry(uint16_t tag, uint32_t ifd) { in removeEntry() 186 uint16_t tag = entry->getTag(); in addEntry() 256 uint16_t subIfdTag; in addSubIfd() 311 TagType TiffWriter::getDefaultType(uint16_t tag) const { in getDefaultType() [all …]
|