Home
last modified time | relevance | path

Searched refs:Short (Results 1 – 25 of 245) sorted by relevance

12345678910

/aosp12/frameworks/av/media/codecs/m4v_h263/enc/src/
H A Ddct.h51 void idct_col0(Short *blk);
52 void idct_col1(Short *blk);
53 void idct_col2(Short *blk);
54 void idct_col3(Short *blk);
55 void idct_col4(Short *blk);
56 void idct_col0x40(Short *blk);
57 void idct_col0x20(Short *blk);
58 void idct_col0x10(Short *blk);
60 void idct_rowInter(Short *srce, UChar *rec, Int lx);
99 static void (*const idctcolVCA[16])(Short*) =
[all …]
H A Dmp4enc_lib.h54 Int getBlockSAV(Short block[]);
59 void blockIdct(Short *block);
61 void BlockDCTEnc(Short *blockData, Short *blockCoeff);
65 Int BlockQuantDequantH263Inter(Short *rcoeff, Short *qcoeff, struct QPstruct *QuantParam,
69 Int BlockQuantDequantH263Intra(Short *rcoeff, Short *qcoeff, struct QPstruct *QuantParam,
73 Int BlockQuantDequantH263DCInter(Short *rcoeff, Short *qcoeff, struct QPstruct *QuantParam,
76 Int BlockQuantDequantH263DCIntra(Short *rcoeff, Short *qcoeff, struct QPstruct *QuantParam,
80 Int BlockQuantDequantMPEGInter(Short *rcoeff, Short *qcoeff, Int QP, Int *qmat,
84 Int BlockQuantDequantMPEGIntra(Short *rcoeff, Short *qcoeff, Int QP, Int *qmat,
88 Int BlockQuantDequantMPEGDCInter(Short *rcoeff, Short *qcoeff, Int QP, Int *qmat,
[all …]
H A Dfastcodemb.cpp53 Short *output, *dataBlock; in CodeMB_H263()
63 Int(*BlockQuantDequantH263)(Short *, Short *, struct QPstruct *, in CodeMB_H263()
65 Int(*BlockQuantDequantH263DC)(Short *, Short *, struct QPstruct *, in CodeMB_H263()
67 void (*BlockDCT1x1)(Short *, UChar *, UChar *, Int); in CodeMB_H263()
68 void (*BlockDCT2x2)(Short *, UChar *, UChar *, Int); in CodeMB_H263()
69 void (*BlockDCT4x4)(Short *, UChar *, UChar *, Int); in CodeMB_H263()
70 void (*BlockDCT8x8)(Short *, UChar *, UChar *, Int); in CodeMB_H263()
282 Short *output, *dataBlock; in CodeMB_MPEG()
293 Int(*BlockQuantDequantMPEG)(Short *, Short *, Int, Int *, in CodeMB_MPEG()
295 Int(*BlockQuantDequantMPEGDC)(Short *, Short *, Int, Int *, in CodeMB_MPEG()
[all …]
H A Dfastquant.cpp30 const static Short scaleArrayV[32] = {0, 16384, 8192, 5462, /* 15 */
41 const static Short scaleArrayV2[47] = {0, 0, 0, 0, 0, 0, 0, 0, /* 15 */
50 const static Short AANScale[64] =
149 Int BlockQuantDequantH263Inter(Short *rcoeff, Short *qcoeff, struct QPstruct *QuantParam, in BlockQuantDequantH263Inter()
269 Int BlockQuantDequantH263Intra(Short *rcoeff, Short *qcoeff, struct QPstruct *QuantParam, in BlockQuantDequantH263Intra()
441 Int BlockQuantDequantH263DCInter(Short *rcoeff, Short *qcoeff, struct QPstruct *QuantParam, in BlockQuantDequantH263DCInter()
495 Int BlockQuantDequantH263DCIntra(Short *rcoeff, Short *qcoeff, struct QPstruct *QuantParam, in BlockQuantDequantH263DCIntra()
544 Int BlockQuantDequantMPEGInter(Short *rcoeff, Short *qcoeff, Int QP, Int *qmat, in BlockQuantDequantMPEGInter()
673 Int BlockQuantDequantMPEGIntra(Short *rcoeff, Short *qcoeff, Int QP, Int *qmat, in BlockQuantDequantMPEGIntra()
852 Int BlockQuantDequantMPEGDCInter(Short *rcoeff, Short *qcoeff, Int QP, Int *qmat, in BlockQuantDequantMPEGDCInter()
[all …]
H A Dfastidct.cpp65 void idct_col0(Short *blk) in idct_col0()
72 void idct_col1(Short *blk) in idct_col1()
79 void idct_col2(Short *blk) in idct_col2()
105 void idct_col3(Short *blk) in idct_col3()
140 void idct_col4(Short *blk) in idct_col4()
183 void idct_col0x40(Short *blk) in idct_col0x40()
209 void idct_col0x20(Short *blk) in idct_col0x20()
233 void idct_col0x10(Short *blk) in idct_col0x10()
259 void idct_col(Short *blk) in idct_col()
324 void idct_row1Inter(Short *blk, UChar *rec, Int lx) in idct_row1Inter()
[all …]
H A Ddct.cpp38 Void BlockDCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) in BlockDCT_AANwSub()
40 Short *dst; in BlockDCT_AANwSub()
267 Void Block4x4DCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) in Block4x4DCT_AANwSub()
269 Short *dst; in Block4x4DCT_AANwSub()
473 Void Block2x2DCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) in Block2x2DCT_AANwSub()
475 Short *dst; in Block2x2DCT_AANwSub()
652 Void BlockDCT_AANIntra(Short *out, UChar *cur, UChar *dummy2, Int width) in BlockDCT_AANIntra()
654 Short *dst; in BlockDCT_AANIntra()
865 Short *dst; in Block4x4DCT_AANIntra()
1052 Short *dst; in Block2x2DCT_AANIntra()
[all …]
/aosp12/art/test/567-checker-builder-intrinsics/src/
H A DTestCompare.java348 expectEquals(-1, compareShorts(Short.MIN_VALUE, (short)(Short.MIN_VALUE + 1))); in testCompareShorts()
352 expectEquals(-1, compareShorts(Short.MIN_VALUE, (short)Short.MAX_VALUE)); in testCompareShorts()
357 expectEquals(0, compareShorts(Short.MIN_VALUE, Short.MIN_VALUE)); in testCompareShorts()
361 expectEquals(0, compareShorts(Short.MAX_VALUE, Short.MAX_VALUE)); in testCompareShorts()
366 expectEquals(1, compareShorts(Short.MAX_VALUE, Short.MIN_VALUE)); in testCompareShorts()
370 expectEquals(1, compareShorts(Short.MAX_VALUE, (short)(Short.MAX_VALUE - 1))); in testCompareShorts()
650 expectEquals(-1, compareShortInt(Short.MIN_VALUE, 0)); in testCompareShortInt()
651 expectEquals(-1, compareShortInt(Short.MIN_VALUE, 1)); in testCompareShortInt()
669 expectEquals(1, compareShortInt(Short.MAX_VALUE, -1)); in testCompareShortInt()
670 expectEquals(1, compareShortInt(Short.MAX_VALUE, 0)); in testCompareShortInt()
[all …]
/aosp12/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
H A DViewDumpParser.java11 private Map<String, Short> mIds;
12 private List<Map<Short,Object>> mViews;
20 Short windowLeftKey = null, windowTopKey = null; in parse()
23 windowLeftKey = (Short) d.readObject(); in parse()
25 windowTopKey = (Short) d.readObject(); in parse()
33 mViews.add((Map<Short, Object>) o); in parse()
56 Map<Short, Object> props = mViews.get(0); in getFirstView()
71 private static Map<String, Short> reverse(Map<Short, Object> m) { in reverse() argument
72 Map<String, Short> r = new HashMap<String, Short>(m.size()); in reverse()
81 public List<Map<Short, Object>> getViews() { in getViews()
[all …]
H A DDecoder.java72 private Map<Short, Object> readMap() { in readMap()
73 Map<Short, Object> m = new HashMap<Short, Object>(); in readMap()
77 if (!(o instanceof Short)) { in readMap()
81 Short key = (Short)o; in readMap()
H A DMainActivityTest.java68 List<Map<Short, Object>> views = parser.getViews(); in testTextView()
69 Map<String, Short> propertyNameTable = parser.getIds(); in testTextView()
74 Map<Short, Object> textViewProperties = views.get(0); in testTextView()
/aosp12/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
H A DNetlinkTestUtils.kt33 nudState: Short
45 nudState: Short
54 type: Short,
55 nudState: Short
102 private fun Short.toLEHex() = String.format("%04x", java.lang.Short.reverseBytes(this)) regex
/aosp12/frameworks/base/media/java/android/media/audiofx/
H A DEnvironmentalReverb.java538 roomLevel = Short.parseShort(st.nextToken()); in Settings()
543 roomHFLevel = Short.parseShort(st.nextToken()); in Settings()
553 decayHFRatio = Short.parseShort(st.nextToken()); in Settings()
568 reverbLevel = Short.parseShort(st.nextToken()); in Settings()
578 diffusion = Short.parseShort(st.nextToken()); in Settings()
583 density = Short.parseShort(st.nextToken()); in Settings()
593 ";roomLevel="+Short.toString(roomLevel)+ in toString()
594 ";roomHFLevel="+Short.toString(roomHFLevel)+ in toString()
599 ";reverbLevel="+Short.toString(reverbLevel)+ in toString()
601 ";diffusion="+Short.toString(diffusion)+ in toString()
[all …]
H A DEqualizer.java476 curPreset = Short.parseShort(st.nextToken()); in Settings()
481 numBands = Short.parseShort(st.nextToken()); in Settings()
491 bandLevels[i] = Short.parseShort(st.nextToken()); in Settings()
503 ";curPreset="+Short.toString(curPreset)+ in toString()
504 ";numBands="+Short.toString(numBands) in toString()
507 str = str.concat(";band"+(i+1)+"Level="+Short.toString(bandLevels[i])); in toString()
/aosp12/frameworks/libs/net/common/framework/com/android/net/module/util/
H A DDnsPacket.java73 id = Short.toUnsignedInt(buf.getShort()); in DnsHeader()
74 flags = Short.toUnsignedInt(buf.getShort()); in DnsHeader()
78 mRecordCount[i] = Short.toUnsignedInt(buf.getShort()); in DnsHeader()
131 nsType = Short.toUnsignedInt(buf.getShort()); in DnsRecord()
132 nsClass = Short.toUnsignedInt(buf.getShort()); in DnsRecord()
136 final int length = Short.toUnsignedInt(buf.getShort()); in DnsRecord()
/aosp12/art/test/458-checker-instruct-simplification/src/
H A DMain.java2647 assertIntEquals(Short.MAX_VALUE, $noinline$floatToIntToShort((float)(Short.MIN_VALUE - 1))); in main()
2648 assertIntEquals(Short.MIN_VALUE, $noinline$floatToIntToShort((float)(Short.MAX_VALUE + 1))); in main()
2658 assertIntEquals(Short.MIN_VALUE, $noinline$shortToCharToShort(Short.MIN_VALUE)); in main()
2659 assertIntEquals(Short.MAX_VALUE, $noinline$shortToCharToShort(Short.MAX_VALUE)); in main()
2661 assertIntEquals(Short.MIN_VALUE, $noinline$shortToLongToInt(Short.MIN_VALUE)); in main()
2662 assertIntEquals(Short.MAX_VALUE, $noinline$shortToLongToInt(Short.MAX_VALUE)); in main()
2665 assertIntEquals(0, $noinline$shortToCharToByte(Short.MIN_VALUE)); in main()
2666 assertIntEquals(-1, $noinline$shortToCharToByte(Short.MAX_VALUE)); in main()
2692 assertDoubleEquals((double)Short.MAX_VALUE, in main()
2693 $noinline$shortAnd0xffffToShortToDouble(Short.MAX_VALUE)); in main()
[all …]
/aosp12/frameworks/base/core/java/android/view/
H A DViewHierarchyEncoder.java65 private final Map<String,Short> mPropertyNames = new HashMap<String, Short>(200);
93 for (Map.Entry<String,Short> entry : mPropertyNames.entrySet()) { in endStream()
149 Short index = mPropertyNames.get(name); in createPropertyIndex()
215 short len = (short)Math.min(bytes.length, Short.MAX_VALUE); in writeString()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
H A DWifiAwareStateManagerTest.java187 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in setUp()
267 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testRequestMacAddresses()
375 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testAwareDataPathInterfaceUpDown()
422 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testDisableUsageDisablesApis()
463 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testDisableUsageFlow()
551 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testHalFailureEnableAndConfigure()
683 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testHalNoResponseTimeout()
747 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testPublishFail()
817 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testPublishSuccessTerminated()
902 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testPublishUpdateFail()
[all …]
/aosp12/art/test/712-varhandle-invocations/src/
H A DSampleValues.java33 public static final Short[] SHORTS =
34 new Short[] {(short) -32768, (short) -384, (short) 32767, (short) 0xaa55};
86 public static Short get_Short(int index) { in get_Short()
/aosp12/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DByteArrayHelpers.java51 return toByteArray(array, Short.SIZE); in toByteArray()
133 sizeInBits = Short.SIZE; in toByteArray()
182 } else if (klass == Short.class) { in toByteArray()
183 byteBuffer.putShort((Short)value); in toByteArray()
/aosp12/frameworks/base/core/java/android/content/
H A DContentValues.java148 public void put(String key, Short value) { in put()
229 } else if (value instanceof Short) { in putObject()
230 put(key, (Short) value); in putObject()
371 public Short getAsShort(String key) { in getAsShort()
378 return Short.valueOf(value.toString()); in getAsShort()
594 } else if (value instanceof Short) { in isSupportedValue()
/aosp12/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
H A DLoaderDicom.java104 static HashSet<Short> strVRs = new HashSet<Short>();
249 e.mValue = new Short(mMappedByteBuffer.getShort()); in readValue()
317 v.mDimx = (Short) data.get(0x28, 0x10).mValue; in buildVolume()
318 v.mDimy = (Short) data.get(0x28, 0x11).mValue; in buildVolume()
411 short dimX = (Short) data.get(0x28, 0x10).mValue; in buildRSVolume()
412 short dimY = (Short) data.get(0x28, 0x11).mValue; in buildRSVolume()
551 short mDimx = (Short) data.get(0x28, 0x10).mValue; in buildRSVolume2()
552 short mDimy = (Short) data.get(0x28, 0x11).mValue; in buildRSVolume2()
/aosp12/art/test/904-object-allocation/
H A Dexpected-stdout.txt2 …ng.Integer/java.lang.Integer size 16, ObjectAllocated type java.lang.Short/java.lang.Short size 16]
/aosp12/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
H A DMaterial.java86 for (int i = Short.MIN_VALUE; i < Short.MAX_VALUE; i++) { in simpleSetup()
215 for (int i = Short.MIN_VALUE; i <= mOpacity[0].mPos; i++) { in buildOpacityTable()
229 for (int i = mOpacity[last].mPos; i <= Short.MAX_VALUE; i++) { in buildOpacityTable()
247 for (int i = Short.MIN_VALUE; i <= m[0].mPos; i++) { in buildMaterialProp()
290 for (int i = mp.mPos; i <= Short.MAX_VALUE; i++) { in buildMaterialProp()
/aosp12/art/test/952-invoke-custom/src/
H A DTestReturnValues.java285 Short.MIN_VALUE, Short.MAX_VALUE, (short) Short.SIZE, (short) -Short.SIZE in testShortReturnValues()
/aosp12/frameworks/base/core/java/com/android/internal/util/
H A DTypedProperties.java273 if (value < Short.MIN_VALUE || value > Short.MAX_VALUE) { in parseValue()
276 return new Short((short)value); in parseValue()
479 if (value instanceof Short) { in getShort()
480 return ((Short)value).shortValue(); in getShort()

12345678910