/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_decode_huff_cw.h | 88 uint16 pvmp3_decode_huff_cw_tab0(tmp3Bits *); 89 uint16 pvmp3_decode_huff_cw_tab1(tmp3Bits *); 90 uint16 pvmp3_decode_huff_cw_tab2(tmp3Bits *); 91 uint16 pvmp3_decode_huff_cw_tab3(tmp3Bits *); 92 uint16 pvmp3_decode_huff_cw_tab5(tmp3Bits *); 93 uint16 pvmp3_decode_huff_cw_tab6(tmp3Bits *); 94 uint16 pvmp3_decode_huff_cw_tab7(tmp3Bits *); 95 uint16 pvmp3_decode_huff_cw_tab8(tmp3Bits *); 96 uint16 pvmp3_decode_huff_cw_tab9(tmp3Bits *); 97 uint16 pvmp3_decode_huff_cw_tab10(tmp3Bits *); [all …]
|
D | pvmp3_tables.h | 97 extern const uint16 huffTable_1[]; 98 extern const uint16 huffTable_2[]; 99 extern const uint16 huffTable_3[]; 100 extern const uint16 huffTable_5[]; 101 extern const uint16 huffTable_6[]; 102 extern const uint16 huffTable_7[]; 103 extern const uint16 huffTable_8[]; 104 extern const uint16 huffTable_9[]; 105 extern const uint16 huffTable_10[]; 106 extern const uint16 huffTable_11[]; [all …]
|
D | pvmp3_decode_huff_cw.cpp | 140 uint16 pvmp3_decode_huff_cw_tab0(tmp3Bits *pMainData) in pvmp3_decode_huff_cw_tab0() 150 uint16 pvmp3_decode_huff_cw_tab1(tmp3Bits *pMainData) in pvmp3_decode_huff_cw_tab1() 153 uint16 cw; in pvmp3_decode_huff_cw_tab1() 167 uint16 pvmp3_decode_huff_cw_tab2(tmp3Bits *pMainData) in pvmp3_decode_huff_cw_tab2() 170 uint16 cw; in pvmp3_decode_huff_cw_tab2() 193 uint16 pvmp3_decode_huff_cw_tab3(tmp3Bits *pMainData) in pvmp3_decode_huff_cw_tab3() 196 uint16 cw; in pvmp3_decode_huff_cw_tab3() 219 uint16 pvmp3_decode_huff_cw_tab5(tmp3Bits *pMainData) in pvmp3_decode_huff_cw_tab5() 222 uint16 cw; in pvmp3_decode_huff_cw_tab5() 248 uint16 pvmp3_decode_huff_cw_tab6(tmp3Bits *pMainData) in pvmp3_decode_huff_cw_tab6() [all …]
|
D | pvmp3_tables.cpp | 256 const uint16 huffTable_1[8] = 262 const uint16 huffTable_2[15] = 270 const uint16 huffTable_3[15] = 279 const uint16 huffTable_5[25] = 292 const uint16 huffTable_6[26] = 306 const uint16 huffTable_7[73] = 383 const uint16 huffTable_8[66] = 455 const uint16 huffTable_9[53] = 514 const uint16 huffTable_10[96] = 615 const uint16 huffTable_11[116] = [all …]
|
D | pvmp3_getbits.cpp | 158 uint16 getUpTo9bits(tmp3Bits *ptBitStream, in getUpTo9bits() 166 uint16 returnValue; in getUpTo9bits() 174 returnValue = (((uint16)(Elem)) << 8) | in getUpTo9bits() 175 ((uint16)(Elem1)); in getUpTo9bits() 186 return (uint16)(returnValue >> (16 - neededBits)); in getUpTo9bits()
|
D | pvmp3_huffman_decoding.cpp | 197 uint16 cw = (*h->pdec_huff_tab)(pMainData); in pvmp3_huffman_pair_decoding() 251 uint16 cw; in pvmp3_huffman_pair_decoding_linbits()
|
D | pvmp3_getbits.h | 90 uint16 getUpTo9bits(tmp3Bits *pMainData,
|
D | pvmp3_framedecoder.cpp | 467 … uint16 mixedBlocksLongBlocks = 0; /* 0 = long or short, 2=mixed, 4=mixed 2.5@8000 */ in pvmp3_framedecoder()
|
/frameworks/base/tests/net/java/com/android/internal/util/ |
D | BitUtilsTest.java | 25 import static com.android.internal.util.BitUtils.uint16; 65 assertEquals(0, uint16(s0)); in testUnsignedShortWideningConversions() 66 assertEquals(1, uint16(s1)); in testUnsignedShortWideningConversions() 67 assertEquals(32767, uint16(Short.MAX_VALUE)); in testUnsignedShortWideningConversions() 68 assertEquals(32768, uint16(Short.MIN_VALUE)); in testUnsignedShortWideningConversions() 69 assertEquals(65535, uint16(sm1)); in testUnsignedShortWideningConversions() 70 assertEquals(65535, uint16((short)65535)); in testUnsignedShortWideningConversions() 83 assertEquals(0x0000, uint16(b0, b0)); in testUnsignedShortComposition() 84 assertEquals(0xffff, uint16(b255, b255)); in testUnsignedShortComposition() 85 assertEquals(0x0a01, uint16(b10, b1)); in testUnsignedShortComposition() [all …]
|
/frameworks/ml/nn/common/random/ |
D | random_distributions.h | 37 PHILOX_DEVICE_INLINE Eigen::half Uint16ToHalf(uint16 x); 39 PHILOX_DEVICE_INLINE bfloat16 Uint16ToGfloat16(uint16 x); 663 PHILOX_DEVICE_INLINE Eigen::half Uint16ToHalf(uint16 x) { in Uint16ToHalf() 670 const uint16 man = x & 0x3ffu; // 10 bit mantissa in Uint16ToHalf() 671 const uint16 exp = static_cast<uint16>(15); in Uint16ToHalf() 672 const uint16 val = (exp << 10) | man; in Uint16ToHalf() 681 PHILOX_DEVICE_INLINE bfloat16 Uint16ToGfloat16(uint16 x) { in Uint16ToGfloat16() 688 const uint16 man = x & 0x7fu; // 7 bit mantissa in Uint16ToGfloat16() 689 const uint16 exp = static_cast<uint16>(127); in Uint16ToGfloat16() 690 const uint16 val = (exp << 7) | man; in Uint16ToGfloat16()
|
D | philox_random.h | 43 typedef uint16_t uint16; typedef
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | OffloadHardwareInterfaceTest.java | 19 import static android.net.util.TetheringUtils.uint16; 206 eq(uint16(tcpParams.src.port)), in testTetheringOffloadCallback() 208 eq(uint16(tcpParams.dst.port))); in testTetheringOffloadCallback() 215 eq(uint16(udpParams.src.port)), in testTetheringOffloadCallback() 217 eq(uint16(udpParams.dst.port))); in testTetheringOffloadCallback()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | BitUtils.java | 91 public static int uint16(short s) { in uint16() method in BitUtils 95 public static int uint16(byte hi, byte lo) { in uint16() method in BitUtils 119 return uint16(buffer.getShort(position)); in getUint16()
|
/frameworks/av/media/libstagefright/codecs/mp3dec/include/ |
D | pvmp3_audio_type_defs.h | 69 typedef uint16_t uint16; typedef
|
/frameworks/av/media/libeffects/loudness/common/core/ |
D | basic_types.h | 45 typedef unsigned short uint16; typedef
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/include/ |
D | m4vh263_decoder_pv_types.h | 28 typedef uint16_t uint16; typedef
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | mp4def.h | 27 typedef uint16_t uint16; typedef
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | OffloadHardwareInterface.java | 21 import static android.net.util.TetheringUtils.uint16; 534 params.src.addr, uint16(params.src.port), in updateTimeout() 535 params.dst.addr, uint16(params.dst.port)); in updateTimeout()
|
/frameworks/base/packages/Tethering/src/android/net/util/ |
D | TetheringUtils.java | 116 public static int uint16(short s) { in uint16() method in TetheringUtils
|