Home
last modified time | relevance | path

Searched refs:Value (Results 1 – 25 of 74) sorted by relevance

123

/frameworks/base/graphics/java/android/renderscript/
DSampler.java36 public enum Value { enum in Sampler
45 Value(int id) { in Value() method in Sampler.Value
65 b.setMinification(Value.NEAREST); in CLAMP_NEAREST()
66 b.setMagnification(Value.NEAREST); in CLAMP_NEAREST()
67 b.setWrapS(Value.CLAMP); in CLAMP_NEAREST()
68 b.setWrapT(Value.CLAMP); in CLAMP_NEAREST()
85 b.setMinification(Value.LINEAR); in CLAMP_LINEAR()
86 b.setMagnification(Value.LINEAR); in CLAMP_LINEAR()
87 b.setWrapS(Value.CLAMP); in CLAMP_LINEAR()
88 b.setWrapT(Value.CLAMP); in CLAMP_LINEAR()
[all …]
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/src/
DarmCOMM.c35 OMX_S16 armRoundFloatToS16 (OMX_F64 Value) in armRoundFloatToS16() argument
37 if (Value > 0) in armRoundFloatToS16()
39 return (OMX_S16)(Value + .5); in armRoundFloatToS16()
43 return (OMX_S16)(Value - .5); in armRoundFloatToS16()
61 OMX_S32 armRoundFloatToS32 (OMX_F64 Value) in armRoundFloatToS32() argument
63 if (Value > 0) in armRoundFloatToS32()
65 return (OMX_S32)(Value + .5); in armRoundFloatToS32()
69 return (OMX_S32)(Value - .5); in armRoundFloatToS32()
86 OMX_S16 armSatRoundFloatToS16 (OMX_F64 Value) in armSatRoundFloatToS16() argument
88 if (Value > 0) in armSatRoundFloatToS16()
[all …]
DarmCOMM_Bitstream.c41 OMX_U32 Value; in armLookAheadBits() local
47Value = (pBitStream[0] << 24 ) | ( pBitStream[1] << 16) | (pBitStream[2] << 8 ) | (pBitStream[3])… in armLookAheadBits()
48 Value = (Value << Offset ) | (pBitStream[4] >> (8-Offset)); in armLookAheadBits()
51 return Value >> (32-N); in armLookAheadBits()
76 OMX_U32 Value; in armGetBits() local
87Value = (pBitStream[0] << 24 ) | ( pBitStream[1] << 16) | (pBitStream[2] << 8 ) | (pBitStream[3])… in armGetBits()
88 Value = (Value << Offset ) | (pBitStream[4] >> (8-Offset)); in armGetBits()
96 return Value >> (32-N); in armGetBits()
184 OMX_U32 Value; in armUnPackVLC32() local
190Value = (pBitStream[0] << 24 ) | ( pBitStream[1] << 16) | (pBitStream[2] << 8 ) | (pBitStream[3])… in armUnPackVLC32()
[all …]
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/reference/src/
DarmCOMM.c35 OMX_S16 armRoundFloatToS16 (OMX_F64 Value) in armRoundFloatToS16() argument
37 if (Value > 0) in armRoundFloatToS16()
39 return (OMX_S16)(Value + .5); in armRoundFloatToS16()
43 return (OMX_S16)(Value - .5); in armRoundFloatToS16()
61 OMX_S32 armRoundFloatToS32 (OMX_F64 Value) in armRoundFloatToS32() argument
63 if (Value > 0) in armRoundFloatToS32()
65 return (OMX_S32)(Value + .5); in armRoundFloatToS32()
69 return (OMX_S32)(Value - .5); in armRoundFloatToS32()
86 OMX_S16 armSatRoundFloatToS16 (OMX_F64 Value) in armSatRoundFloatToS16() argument
88 if (Value > 0) in armSatRoundFloatToS16()
[all …]
DarmCOMM_Bitstream.c41 OMX_U32 Value; in armLookAheadBits() local
47Value = (pBitStream[0] << 24 ) | ( pBitStream[1] << 16) | (pBitStream[2] << 8 ) | (pBitStream[3])… in armLookAheadBits()
48 Value = (Value << Offset ) | (pBitStream[4] >> (8-Offset)); in armLookAheadBits()
51 return Value >> (32-N); in armLookAheadBits()
76 OMX_U32 Value; in armGetBits() local
87Value = (pBitStream[0] << 24 ) | ( pBitStream[1] << 16) | (pBitStream[2] << 8 ) | (pBitStream[3])… in armGetBits()
88 Value = (Value << Offset ) | (pBitStream[4] >> (8-Offset)); in armGetBits()
96 return Value >> (32-N); in armGetBits()
184 OMX_U32 Value; in armUnPackVLC32() local
190Value = (pBitStream[0] << 24 ) | ( pBitStream[1] << 16) | (pBitStream[2] << 8 ) | (pBitStream[3])… in armUnPackVLC32()
[all …]
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/src/
DarmCOMM.c35 OMX_S16 armRoundFloatToS16 (OMX_F64 Value) in armRoundFloatToS16() argument
37 if (Value > 0) in armRoundFloatToS16()
39 return (OMX_S16)(Value + .5); in armRoundFloatToS16()
43 return (OMX_S16)(Value - .5); in armRoundFloatToS16()
61 OMX_S32 armRoundFloatToS32 (OMX_F64 Value) in armRoundFloatToS32() argument
63 if (Value > 0) in armRoundFloatToS32()
65 return (OMX_S32)(Value + .5); in armRoundFloatToS32()
69 return (OMX_S32)(Value - .5); in armRoundFloatToS32()
86 OMX_S16 armSatRoundFloatToS16 (OMX_F64 Value) in armSatRoundFloatToS16() argument
88 if (Value > 0) in armSatRoundFloatToS16()
[all …]
DarmCOMM_Bitstream.c41 OMX_U32 Value; in armLookAheadBits() local
47Value = (pBitStream[0] << 24 ) | ( pBitStream[1] << 16) | (pBitStream[2] << 8 ) | (pBitStream[3])… in armLookAheadBits()
48 Value = (Value << Offset ) | (pBitStream[4] >> (8-Offset)); in armLookAheadBits()
51 return Value >> (32-N); in armLookAheadBits()
76 OMX_U32 Value; in armGetBits() local
87Value = (pBitStream[0] << 24 ) | ( pBitStream[1] << 16) | (pBitStream[2] << 8 ) | (pBitStream[3])… in armGetBits()
88 Value = (Value << Offset ) | (pBitStream[4] >> (8-Offset)); in armGetBits()
96 return Value >> (32-N); in armGetBits()
184 OMX_U32 Value; in armUnPackVLC32() local
190Value = (pBitStream[0] << 24 ) | ( pBitStream[1] << 16) | (pBitStream[2] << 8 ) | (pBitStream[3])… in armUnPackVLC32()
[all …]
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
DomxVCM4P10_GetVLCInfo.c71 OMX_S32 Value; in omxVCM4P10_GetVLCInfo() local
123 Value = Buf [i]; in omxVCM4P10_GetVLCInfo()
124 if (Value == 1 || Value == -1) in omxVCM4P10_GetVLCInfo()
129 Value == -1 ? Mask : 0; in omxVCM4P10_GetVLCInfo()
134 Value -= (Value > 0 ? 1 : -1); in omxVCM4P10_GetVLCInfo()
135 *pLevel++ = Value; in omxVCM4P10_GetVLCInfo()
142 Value = Buf [i]; in omxVCM4P10_GetVLCInfo()
143 if (Value) in omxVCM4P10_GetVLCInfo()
149 (Value == 1 || in omxVCM4P10_GetVLCInfo()
150 Value == -1)) in omxVCM4P10_GetVLCInfo()
[all …]
DarmVCM4P10_UnpackBlock4x4.c41 int Flag, Value; in armVCM4P10_UnpackBlock4x4() local
54 Value = *pSrc++; in armVCM4P10_UnpackBlock4x4()
55 Value = Value | ((*pSrc++)<<8); in armVCM4P10_UnpackBlock4x4()
56 if (Value & 0x8000) in armVCM4P10_UnpackBlock4x4()
58 Value -= 0x10000; in armVCM4P10_UnpackBlock4x4()
64 Value = *pSrc++; in armVCM4P10_UnpackBlock4x4()
65 if (Value & 0x80) in armVCM4P10_UnpackBlock4x4()
67 Value -= 0x100; in armVCM4P10_UnpackBlock4x4()
71 pDst[i] = (OMX_S16)Value; in armVCM4P10_UnpackBlock4x4()
DarmVCM4P10_UnpackBlock2x2.c41 int Flag, Value; in armVCM4P10_UnpackBlock2x2() local
54 Value = *pSrc++; in armVCM4P10_UnpackBlock2x2()
55 Value = Value | ((*pSrc++)<<8); in armVCM4P10_UnpackBlock2x2()
56 if (Value & 0x8000) in armVCM4P10_UnpackBlock2x2()
58 Value -= 0x10000; in armVCM4P10_UnpackBlock2x2()
64 Value = *pSrc++; in armVCM4P10_UnpackBlock2x2()
65 if (Value & 0x80) in armVCM4P10_UnpackBlock2x2()
67 Value -= 0x100; in armVCM4P10_UnpackBlock2x2()
71 pDst[i] = (OMX_S16)Value; in armVCM4P10_UnpackBlock2x2()
DomxVCM4P10_SubAndTransformQDQResidual.c93 OMX_S32 Value, MF, ThreshDC; in omxVCM4P10_SubAndTransformQDQResidual() local
182 Value = armAbs(m[j * 4 + i]) * MF + f; in omxVCM4P10_SubAndTransformQDQResidual()
183 Value >>= QBits; in omxVCM4P10_SubAndTransformQDQResidual()
184 Value = m[j * 4 + i] < 0 ? -Value : Value; in omxVCM4P10_SubAndTransformQDQResidual()
185 Buf[4 * j + i] = pDstQuantCoeff [4 * j + i] = (OMX_S16)Value; in omxVCM4P10_SubAndTransformQDQResidual()
186 if ((pNumCoeff != NULL) && Value) in omxVCM4P10_SubAndTransformQDQResidual()
DomxVCM4P10_InvTransformResidualAndAdd.c70 OMX_S32 Value; in omxVCM4P10_InvTransformResidualAndAdd() local
109 Value = (OMX_S32) Out [j * 4 + i] + pSrcPred [j * iSrcPredStep + i]; in omxVCM4P10_InvTransformResidualAndAdd()
112 Value = armClip (0, 255, Value); in omxVCM4P10_InvTransformResidualAndAdd()
114 pDstRecon[j * iDstReconStep + i] = (OMX_U8) Value; in omxVCM4P10_InvTransformResidualAndAdd()
DomxVCM4P10_TransformDequantChromaDCFromPair.c36 int i, Value; in DequantChromaDC2x2() local
42 Value = (pDst[i] * Scale) << Shift; in DequantChromaDC2x2()
43 pDst[i] = (OMX_S16)Value; in DequantChromaDC2x2()
50 Value = (pDst[i] * Scale) >> 1; in DequantChromaDC2x2()
51 pDst[i] = (OMX_S16)Value; in DequantChromaDC2x2()
DomxVCM4P10_TransformQuant_ChromaDC.c61 OMX_S32 Value; in omxVCM4P10_TransformQuant_ChromaDC() local
86 Value = (armAbs(m[j][i]) * MF00 + Two_f) >> QbitsPlusOne; in omxVCM4P10_TransformQuant_ChromaDC()
87 pSrcDst[j * 2 + i] = (OMX_S16)((m[j][i] < 0) ? -Value : Value); in omxVCM4P10_TransformQuant_ChromaDC()
DomxVCM4P10_InvTransformDequant_ChromaDC.c59 OMX_S32 QPer, V00, Value; in omxVCM4P10_InvTransformDequant_ChromaDC() local
85 Value = (m[j][i] * V00) >> 1; in omxVCM4P10_InvTransformDequant_ChromaDC()
89 Value = (m[j][i] * V00) << (QPer - 1); in omxVCM4P10_InvTransformDequant_ChromaDC()
92 pDst[j * 2 + i] = (OMX_S16) Value; in omxVCM4P10_InvTransformDequant_ChromaDC()
DomxVCM4P10_TransformDequantLumaDCFromPair.c36 int i, Round, Value; in DequantLumaDC4x4() local
42 Value = (pDst[i] * Scale) << Shift; in DequantLumaDC4x4()
43 pDst[i] = (OMX_S16)Value; in DequantLumaDC4x4()
53 Value = (pDst[i] * Scale + Round) >> Shift; in DequantLumaDC4x4()
54 pDst[i] = (OMX_S16)Value; in DequantLumaDC4x4()
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
DarmVCM4P10_UnpackBlock4x4_s.s35 Value RN 4 label
50 MOV Value, #0 ;// Initialize the zero value
54 … STRD Value, [pDst, #0] ;// pDst[0] = pDst[1] = pDst[2] = pDst[3] = 0
55 … STRD Value, [pDst, #8] ;// pDst[4] = pDst[5] = pDst[6] = pDst[7] = 0
56 … STRD Value, [pDst, #16] ;// pDst[8] = pDst[9] = pDst[10] = pDst[11] = 0
57 … STRD Value, [pDst, #24] ;// pDst[12] = pDst[13] = pDst[14] = pDst[15] = 0
74 LDRBNE Value, [pSrc], #2
76 LDRSBEQ Value, [pSrc], #1 ;// Value = (OMX_U8) *pSrc++
77 ORRNE Value,Value,Value2, LSL #8 ;// Value = (OMX_U16) *pSrc++
81 STRH Value, [pDst, strOffset] ;// Store <Value> at offset <strOffset>
DomxVCM4P10_TransformDequantChromaDCFromPair_s.s36 Value RN 4 label
73 MOV Value, #0 ;// Initialize the zero value
76 … STRD Value, [pDst, #0] ;// pDst[0] = pDst[1] = pDst[2] = pDst[3] = 0
82 LDRBNE Value, [pSrc], #2 ;// Load byte wise to avoid unaligned access
84 LDRSBEQ Value, [pSrc], #1 ;// Value = (OMX_U8) *pSrc++
85 ORRNE Value,Value,Value2, LSL #8 ;// Value = (OMX_U16) *pSrc++
89 STRH Value, [pDst, strOffset] ;// Store <Value> at offset <strOffset>
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/
DarmVCM4P10_UnpackBlock4x4_s.s35 Value RN 4 label
50 MOV Value, #0 ;// Initialize the zero value
54 … STRD Value, [pDst, #0] ;// pDst[0] = pDst[1] = pDst[2] = pDst[3] = 0
55 … STRD Value, [pDst, #8] ;// pDst[4] = pDst[5] = pDst[6] = pDst[7] = 0
56 … STRD Value, [pDst, #16] ;// pDst[8] = pDst[9] = pDst[10] = pDst[11] = 0
57 … STRD Value, [pDst, #24] ;// pDst[12] = pDst[13] = pDst[14] = pDst[15] = 0
74 LDRBNE Value, [pSrc], #2
76 LDRSBEQ Value, [pSrc], #1 ;// Value = (OMX_U8) *pSrc++
77 ORRNE Value,Value,Value2, LSL #8 ;// Value = (OMX_U16) *pSrc++
81 STRH Value, [pDst, strOffset] ;// Store <Value> at offset <strOffset>
DomxVCM4P10_TransformDequantChromaDCFromPair_s.s39 Value RN 4 label
89 LDRBNE Value, [pSrc], #2 ;// Load byte wise to avoid unaligned access
91 LDRSBEQ Value, [pSrc], #1 ;// Value = (OMX_U8) *pSrc++
92 ORRNE Value,Value,Value2, LSL #8 ;// Value = (OMX_U16) *pSrc++
96 STRH Value, [pDst, strOffset] ;// Store <Value> at offset <strOffset>
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.h62 void push_back(Value *V) { in push_back()
71 Value *operator[](unsigned i) const {
76 Value *back() const { return ValuePtrs.back(); } in back()
85 Value *getValueFwdRef(unsigned Idx, Type *Ty);
87 void AssignValue(Value *V, unsigned Idx);
109 void push_back(Value *V) { MDValuePtrs.push_back(V); } in push_back()
111 Value *back() const { return MDValuePtrs.back(); } in back()
115 Value *operator[](unsigned i) const {
125 Value *getValueFwdRef(unsigned Idx);
126 void AssignValue(Value *V, unsigned Idx);
[all …]
/frameworks/base/cmds/keystore/
Dkeystore.cpp53 struct Value { struct
65 static int encode_key(char* out, uid_t uid, const Value* key) { in encode_key() argument
307 ResponseCode initialize(Value* pw) { in initialize()
319 ResponseCode writeMasterKey(Value* pw) { in writeMasterKey()
328 ResponseCode readMasterKey(Value* pw) { in readMasterKey()
485 static void generateKeyFromPassword(uint8_t* key, ssize_t keySize, Value* pw, uint8_t* salt) { in generateKeyFromPassword()
564 static ResponseCode test(KeyStore* keyStore, int sock, uid_t uid, Value*, Value*) { in test() argument
568 static ResponseCode get(KeyStore* keyStore, int sock, uid_t uid, Value* keyName, Value*) { in get() argument
581 static ResponseCode insert(KeyStore* keyStore, int sock, uid_t uid, Value* keyName, Value* val) { in insert()
588 static ResponseCode del(KeyStore* keyStore, int sock, uid_t uid, Value* keyName, Value*) { in del() argument
[all …]
/frameworks/compile/slang/BitWriter_2_9/
DValueEnumerator.h25 class Value; variable
41 typedef std::vector<std::pair<const Value*, unsigned> > ValueList;
47 typedef DenseMap<const Value*, unsigned> ValueMapType;
86 unsigned getValueID(const Value *V) const;
139 void EnumerateMetadata(const Value *MD);
142 void EnumerateValue(const Value *V);
144 void EnumerateOperandType(const Value *V);
/frameworks/compile/libbcc/bcinfo/
DMetadataExtractor.cpp107 llvm::Value *SlotMDS = ObjectSlot->getOperand(0); in populateObjectSlotMetadata()
108 if (SlotMDS->getValueID() == llvm::Value::MDStringVal) { in populateObjectSlotMetadata()
127 static const char *createStringFromValue(llvm::Value *v) { in createStringFromValue()
128 if (v->getValueID() != llvm::Value::MDStringVal) { in createStringFromValue()
159 llvm::Value *PragmaKeyMDS = Pragma->getOperand(0); in populatePragmaMetadata()
161 llvm::Value *PragmaValueMDS = Pragma->getOperand(1); in populatePragmaMetadata()
193 llvm::Value *SigVal = SigNode->getOperand(0); in populateForEachMetadata()
194 if (SigVal->getValueID() == llvm::Value::MDStringVal) { in populateForEachMetadata()
/frameworks/compile/libbcc/lib/ExecutionEngine/
DCompiler.cpp378 llvm::Value *ExportVarNameMDS = ExportVar->getOperand(0); in compile()
379 if (ExportVarNameMDS->getValueID() == llvm::Value::MDStringVal) { in compile()
406 llvm::Value *ExportFuncNameMDS = ExportFunc->getOperand(0); in compile()
407 if (ExportFuncNameMDS->getValueID() == llvm::Value::MDStringVal) { in compile()
452 llvm::Value *PragmaNameMDS = Pragma->getOperand(0); in compile()
453 llvm::Value *PragmaValueMDS = Pragma->getOperand(1); in compile()
455 if ((PragmaNameMDS->getValueID() == llvm::Value::MDStringVal) && in compile()
456 (PragmaValueMDS->getValueID() == llvm::Value::MDStringVal)) { in compile()
484 llvm::Value *SlotMDS = ObjectSlot->getOperand(0); in compile()
485 if (SlotMDS->getValueID() == llvm::Value::MDStringVal) { in compile()
[all …]

123