Home
last modified time | relevance | path

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

1234

/frameworks/base/media/mca/filterfw/native/core/
Dvalue.h32 } Value; typedef
35 int GetIntValue(Value value);
36 float GetFloatValue(Value value);
37 const char* GetStringValue(Value value);
38 const char* GetBufferValue(Value value);
39 char* GetMutableBufferValue(Value value);
40 int* GetIntArrayValue(Value value);
41 float* GetFloatArrayValue(Value value);
44 int ValueIsNull(Value value);
45 int ValueIsInt(Value value);
[all …]
Dvalue.cpp33 POD GetPODValue(Value value) { in GetPODValue()
38 PTR GetPtrValue(Value value) { in GetPtrValue()
43 Value MakePODValue(POD value) { in MakePODValue()
44 Value result; in MakePODValue()
53 Value MakePtrValue(const BASE* values, int count) { in MakePtrValue()
54 Value result; in MakePtrValue()
63 int SetPODValue(Value* value, POD new_value) { in SetPODValue()
77 int SetPtrValue(Value* value, const BASE* new_values, int count) { in SetPtrValue()
91 int GetIntValue(Value value) { in GetIntValue()
95 float GetFloatValue(Value value) { in GetFloatValue()
[all …]
/frameworks/base/graphics/java/android/renderscript/
DSampler.java36 public enum Value { enum in Sampler
45 Value(int id) { in Value() method in Sampler.Value
50 Value mMin;
51 Value mMag;
52 Value mWrapS;
53 Value mWrapT;
54 Value mWrapR;
64 public Value getMinification() { in getMinification()
71 public Value getMagnification() { in getMagnification()
78 public Value getWrapS() { in getWrapS()
[all …]
/frameworks/av/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/av/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/av/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/tests/RenderScriptTests/tests/src/com/android/rs/test/
DUT_sampler.java23 import android.renderscript.Sampler.Value;
41 b.setMinification(Value.NEAREST); in getDefaultBuilder()
42 b.setMagnification(Value.NEAREST); in getDefaultBuilder()
43 b.setWrapS(Value.CLAMP); in getDefaultBuilder()
44 b.setWrapT(Value.CLAMP); in getDefaultBuilder()
51 b.setMinification(Value.LINEAR_MIP_LINEAR); in initializeGlobals()
55 b.setMagnification(Value.LINEAR); in initializeGlobals()
59 b.setWrapS(Value.WRAP); in initializeGlobals()
63 b.setWrapT(Value.WRAP); in initializeGlobals()
88 minification.getMagnification() == Sampler.Value.NEAREST); in testJavaSide()
[all …]
/frameworks/av/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()
/frameworks/av/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/av/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_3_0/
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/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/compile/libbcc/lib/Transforms/
DForEachExpand.cpp74 llvm::Value *SigVal = SigNode->getOperand(0); in getRootSignature()
75 if (SigVal->getValueID() == llvm::Value::MDStringVal) { in getRootSignature()
199 llvm::Value *Arg_p = ArgVec[0]; in ExpandFunction()
200 llvm::Value *Arg_x1 = ArgVec[1]; in ExpandFunction()
201 llvm::Value *Arg_x2 = ArgVec[2]; in ExpandFunction()
202 llvm::Value *Arg_instep = ArgVec[3]; in ExpandFunction()
203 llvm::Value *Arg_outstep = ArgVec[4]; in ExpandFunction()
244 llvm::Value *UsrData = NULL; in ExpandFunction()
257 llvm::Value *Y = NULL; in ExpandFunction()
269 llvm::Value *Cond = Builder.CreateICmpSLT(Arg_x1, Arg_x2); in ExpandFunction()
[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/slang/BitWriter_2_9_func/
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);

1234