Home
last modified time | relevance | path

Searched refs:Offset (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/av/media/libeffects/lvm/lib/Common/src/
DDelayMix_16x16.c36 LVM_INT16 Offset = *pOffset; in DelayMix_16x16() local
42 temp = (LVM_INT16)((LVM_UINT32)((LVM_INT32)(*dst) + (LVM_INT32)delay[Offset]) >> 1); in DelayMix_16x16()
46 delay[Offset] = *src; in DelayMix_16x16()
47 Offset++; in DelayMix_16x16()
52 temp = (LVM_INT16)((LVM_UINT32)((LVM_INT32)(*dst) - (LVM_INT32)delay[Offset]) >> 1); in DelayMix_16x16()
56 delay[Offset] = *src; in DelayMix_16x16()
57 Offset++; in DelayMix_16x16()
61 if (Offset >= size) in DelayMix_16x16()
63 Offset = 0; in DelayMix_16x16()
68 *pOffset = Offset; in DelayMix_16x16()
[all …]
DDelayWrite_32.c35 LVM_INT16 Offset = (LVM_INT16)*pOffset; in DelayWrite_32() local
39 delay[Offset] = *src; in DelayWrite_32()
40 Offset++; in DelayWrite_32()
44 if (Offset >= size) in DelayWrite_32()
46 Offset = 0; in DelayWrite_32()
51 *pOffset = (LVM_UINT16)Offset; in DelayWrite_32()
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_StereoEnhancer.c57 LVM_UINT16 Offset; in LVCS_SEnhancerInit() local
83 Offset = (LVM_UINT16)pParams->SampleRate; in LVCS_SEnhancerInit()
86 CoeffsMid.A0 = (LVM_FLOAT) LVCS_SEMidCoefTable[Offset].A0; in LVCS_SEnhancerInit()
87 CoeffsMid.A1 = (LVM_FLOAT) LVCS_SEMidCoefTable[Offset].A1; in LVCS_SEnhancerInit()
88 CoeffsMid.B1 = (LVM_FLOAT)-LVCS_SEMidCoefTable[Offset].B1; in LVCS_SEnhancerInit()
102 if(LVCS_SEMidCoefTable[Offset].Scale == 15) in LVCS_SEnhancerInit()
107 Offset = (LVM_UINT16)(pParams->SampleRate); in LVCS_SEnhancerInit()
112 CoeffsSide.A0 = (LVM_FLOAT) pSESideCoefs[Offset].A0; in LVCS_SEnhancerInit()
113 CoeffsSide.A1 = (LVM_FLOAT) pSESideCoefs[Offset].A1; in LVCS_SEnhancerInit()
114 CoeffsSide.A2 = (LVM_FLOAT) pSESideCoefs[Offset].A2; in LVCS_SEnhancerInit()
[all …]
DLVCS_Equaliser.c61 LVM_UINT16 Offset; in LVCS_EqualiserInit() local
83 Offset = (LVM_UINT16)(pParams->SampleRate + (pParams->SpeakerType * (1 + LVM_FS_48000))); in LVCS_EqualiserInit()
88 Coeffs.A0 = (LVM_FLOAT) pEqualiserCoefTable[Offset].A0; in LVCS_EqualiserInit()
89 Coeffs.A1 = (LVM_FLOAT) pEqualiserCoefTable[Offset].A1; in LVCS_EqualiserInit()
90 Coeffs.A2 = (LVM_FLOAT) pEqualiserCoefTable[Offset].A2; in LVCS_EqualiserInit()
91 Coeffs.B1 = (LVM_FLOAT)-pEqualiserCoefTable[Offset].B1; in LVCS_EqualiserInit()
92 Coeffs.B2 = (LVM_FLOAT)-pEqualiserCoefTable[Offset].B2; in LVCS_EqualiserInit()
105 switch(pEqualiserCoefTable[Offset].Scale) in LVCS_EqualiserInit()
126 LVM_UINT16 Offset; in LVCS_EqualiserInit() local
143 Offset = (LVM_UINT16)(pParams->SampleRate + (pParams->SpeakerType * (1+LVM_FS_48000))); in LVCS_EqualiserInit()
[all …]
DLVCS_ReverbGenerator.c66 LVM_UINT16 Offset; in LVCS_ReverbGeneratorInit() local
104 Offset = (LVM_UINT16)pParams->SampleRate; in LVCS_ReverbGeneratorInit()
108 Coeffs.A0 = (LVM_FLOAT)pReverbCoefTable[Offset].A0; in LVCS_ReverbGeneratorInit()
109 Coeffs.A1 = (LVM_FLOAT)pReverbCoefTable[Offset].A1; in LVCS_ReverbGeneratorInit()
110 Coeffs.A2 = (LVM_FLOAT)pReverbCoefTable[Offset].A2; in LVCS_ReverbGeneratorInit()
111 Coeffs.B1 = (LVM_FLOAT)-pReverbCoefTable[Offset].B1; in LVCS_ReverbGeneratorInit()
112 Coeffs.B2 = (LVM_FLOAT)-pReverbCoefTable[Offset].B2; in LVCS_ReverbGeneratorInit()
125 switch(pReverbCoefTable[Offset].Scale) in LVCS_ReverbGeneratorInit()
157 LVM_UINT16 Offset; in LVCS_ReverbGeneratorInit() local
188 Offset = (LVM_UINT16)pParams->SampleRate; in LVCS_ReverbGeneratorInit()
[all …]
DLVCS_Control.c82 LVM_INT16 Offset; in LVCS_Control() local
118 Offset = (LVM_INT16)(pParams->SpeakerType + pParams->SourceFormat*(1+LVCS_EX_HEADPHONES)); in LVCS_Control()
120 pInstance->VolCorrect = pLVCS_VolCorrectTable[Offset]; in LVCS_Control()
132 Gain = (LVM_UINT32)(pOutputGainTable[Offset].Loss * LVM_MAXINT_16); in LVCS_Control()
133 Gain = (LVM_UINT32)pOutputGainTable[Offset].UnprocLoss * (Gain >> 15); in LVCS_Control()
148 Gain = (LVM_FLOAT)(pOutputGainTable[Offset].Loss); in LVCS_Control()
149 Gain = (LVM_FLOAT)pOutputGainTable[Offset].UnprocLoss * (Gain); in LVCS_Control()
193 Offset = (LVM_INT16)(pParams->SpeakerType + pParams->SourceFormat*(1+LVCS_EX_HEADPHONES)); in LVCS_Control()
195 pInstance->VolCorrect = pLVCS_VolCorrectTable[Offset]; in LVCS_Control()
DLVCS_BypassMix.c72 LVM_UINT16 Offset; in LVCS_BypassMixInit() local
109 Offset = (LVM_UINT16)(pParams->SpeakerType + (pParams->SourceFormat*(1+LVCS_EX_HEADPHONES))); in LVCS_BypassMixInit()
116 Gain = (LVM_UINT32)(pOutputGainTable[Offset].Loss * pInstance->TransitionGain); in LVCS_BypassMixInit()
118 Gain = (LVM_FLOAT)(pOutputGainTable[Offset].Loss * pInstance->TransitionGain); in LVCS_BypassMixInit()
141 Gain = (LVM_UINT32)(pOutputGainTable[Offset].Loss * (0x7FFF - pInstance->TransitionGain)); in LVCS_BypassMixInit()
142 Gain = (LVM_UINT32)pOutputGainTable[Offset].UnprocLoss * (Gain >> 15); in LVCS_BypassMixInit()
147 Gain = (LVM_FLOAT)(pOutputGainTable[Offset].Loss * (1.0 - \ in LVCS_BypassMixInit()
149 Gain = (LVM_FLOAT)pOutputGainTable[Offset].UnprocLoss * Gain; in LVCS_BypassMixInit()
163 pConfig->Output_Shift = pOutputGainTable[Offset].Shift; in LVCS_BypassMixInit()
/frameworks/compile/mclinker/include/mcld/Fragment/
DFragmentRef.h29 typedef uint64_t Offset; // FIXME: use SizeTraits<T>::Offset typedef
53 FragmentRef& assign(Fragment& pFrag, Offset pOffset = 0);
61 void memcpy(void* pDest, size_t pNBytes, Offset pOffset = 0) const;
70 Offset offset() const { return m_Offset; } in offset()
72 Offset getOutputOffset() const;
81 explicit FragmentRef(Fragment& pFrag, Offset pOffset = 0);
86 Offset m_Offset;
/frameworks/compile/libbcc/lib/
DRSX86TranslateGEPPass.cpp70 llvm::Value *Offset = nullptr; in computeGEPOffset() local
87 Offset = incrementOffset(Offset, Incr, GEP); in computeGEPOffset()
96 Offset = incrementOffset(Offset, Incr, GEP); in computeGEPOffset()
100 return Offset; in computeGEPOffset()
/frameworks/compile/mclinker/lib/Fragment/
DFragmentRef.cpp39 FragmentRef::FragmentRef(Fragment& pFrag, FragmentRef::Offset pOffset) in FragmentRef()
112 FragmentRef& FragmentRef::assign(Fragment& pFrag, FragmentRef::Offset pOffset) { in assign()
118 void FragmentRef::memcpy(void* pDest, size_t pNBytes, Offset pOffset) const { in memcpy()
150 FragmentRef::Offset FragmentRef::getOutputOffset() const { in getOutputOffset()
151 Offset result = 0; in getOutputOffset()
/frameworks/ml/nn/common/operations/
DReshape.cpp124 outputData + tflite::Offset(extOutputShape, outB, 0, 0, 0), padValue, in padGeneric()
130 outputData + tflite::Offset(extOutputShape, outB, outH, 0, 0), padValue, in padGeneric()
136 outputData + tflite::Offset(extOutputShape, outB, outH, outW, 0), in padGeneric()
141 outputData + tflite::Offset(extOutputShape, outB, outH, outW, leftDPadding); in padGeneric()
143 inputData + tflite::Offset(extInputShape, outB - leftBPadding, in padGeneric()
149 outputData + tflite::Offset(extOutputShape, outB, outH, outW, in padGeneric()
156 outputData + tflite::Offset(extOutputShape, outB, outH, in padGeneric()
163 outputData + tflite::Offset(extOutputShape, outB, outputHeight - rightHPadding, in padGeneric()
170 outputData + tflite::Offset(extOutputShape, outputBatch - rightBPadding, 0, 0, 0), in padGeneric()
/frameworks/compile/slang/BitWriter_3_2/
DReaderWriter_3_2.h125 unsigned Offset = ( BufPtr[OffsetField ] | in SkipBitcodeWrapperHeader() local
135 if (Offset+Size > unsigned(BufEnd-BufPtr)) in SkipBitcodeWrapperHeader()
137 BufPtr += Offset; in SkipBitcodeWrapperHeader()
/frameworks/compile/slang/BitWriter_2_9_func/
DReaderWriter_2_9_func.h125 unsigned Offset = ( BufPtr[OffsetField ] | in SkipBitcodeWrapperHeader() local
135 if (Offset+Size > unsigned(BufEnd-BufPtr)) in SkipBitcodeWrapperHeader()
137 BufPtr += Offset; in SkipBitcodeWrapperHeader()
/frameworks/compile/slang/BitWriter_2_9/
DReaderWriter_2_9.h125 unsigned Offset = ( BufPtr[OffsetField ] | in SkipBitcodeWrapperHeader() local
135 if (Offset+Size > unsigned(BufEnd-BufPtr)) in SkipBitcodeWrapperHeader()
137 BufPtr += Offset; in SkipBitcodeWrapperHeader()
/frameworks/rs/rsov/compiler/
DGlobalAllocSPIRITPass.cpp46 MetadataStructTy->memberDecorate(0, Decoration::Offset)->addExtraOperand(4); in AddGAMetadata()
47 MetadataStructTy->memberDecorate(1, Decoration::Offset)->addExtraOperand(8); in AddGAMetadata()
48 MetadataStructTy->memberDecorate(2, Decoration::Offset)->addExtraOperand(12); in AddGAMetadata()
49 MetadataStructTy->memberDecorate(3, Decoration::Offset)->addExtraOperand(16); in AddGAMetadata()
/frameworks/rs/rsov/compiler/tests/globals/
Dmul2.ll9 ; CHECK-DAG: OpMemberDecorate [[STRUCT]] 0 Offset 0
10 ; CHECK-DAG: OpMemberDecorate [[STRUCT]] 1 Offset 8
11 ; CHECK-DAG: OpMemberDecorate [[STRUCT]] 2 Offset 24
12 ; CHECK-DAG: OpMemberDecorate [[STRUCT]] 3 Offset 28
/frameworks/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Control.c114 LVM_UINT16 Offset = (LVM_UINT16)((LVM_UINT16)pParams->SampleRate + \ in LVDBE_SetFilters() local
120 LVM_UINT16 Offset = (LVM_UINT16)((LVM_UINT16)pParams->SampleRate + \ in LVDBE_SetFilters()
141 (BQ_C32_Coefs_t *)&LVDBE_HPF_Table[Offset]); in LVDBE_SetFilters()
145 (BQ_FLOAT_Coefs_t *)&LVDBE_HPF_Table[Offset]); in LVDBE_SetFilters()
166 (BP_C32_Coefs_t *)&LVDBE_BPF_Table[Offset]); in LVDBE_SetFilters()
170 (BP_FLOAT_Coefs_t *)&LVDBE_BPF_Table[Offset]); in LVDBE_SetFilters()
/frameworks/rs/rsov/compiler/tests/rs_allocation/
Dgetdimx_64.ll11 ; CHECK: OpMemberDecorate [[MetadataS:%[a-zA-Z_0-9]*]] 0 Offset 4
12 ; CHECK: OpMemberDecorate [[MetadataS]] 1 Offset 8
13 ; CHECK: OpMemberDecorate [[MetadataS]] 2 Offset 12
14 ; CHECK: OpMemberDecorate [[MetadataS]] 3 Offset 16
Drewrite_getdim.ll11 ; CHECK: OpMemberDecorate [[MetadataS:%[a-zA-Z_0-9]*]] 0 Offset 4
12 ; CHECK: OpMemberDecorate [[MetadataS]] 1 Offset 8
13 ; CHECK: OpMemberDecorate [[MetadataS]] 2 Offset 12
14 ; CHECK: OpMemberDecorate [[MetadataS]] 3 Offset 16
Dgetdimx.ll15 ; CHECK: OpMemberDecorate [[MetadataS:%[a-zA-Z_0-9]*]] 0 Offset 4
16 ; CHECK: OpMemberDecorate [[MetadataS]] 1 Offset 8
17 ; CHECK: OpMemberDecorate [[MetadataS]] 2 Offset 12
18 ; CHECK: OpMemberDecorate [[MetadataS]] 3 Offset 16
/frameworks/compile/mclinker/lib/Target/ARM/
DARMPLT.cpp125 int32_t Offset = (GOTEntryAddress - (PLTEntryAddress + 8)); in applyPLT1() local
127 Out[0] = arm_plt1[0] | ((Offset >> 20) & 0xFF); in applyPLT1()
128 Out[1] = arm_plt1[1] | ((Offset >> 12) & 0xFF); in applyPLT1()
129 Out[2] = arm_plt1[2] | (Offset & 0xFFF); in applyPLT1()
/frameworks/opt/gamesdk/third_party/cube/app/src/main/cpp/include/
Dcube.vert.h37 MemberDecorate 15(buf) 0 Offset 0
39 MemberDecorate 15(buf) 1 Offset 64
40 MemberDecorate 15(buf) 2 Offset 640
/frameworks/rs/rsov/compiler/spirit/test_data/
Dgreyscale2.spt34 OpMemberDecorate %globalBuffer 0 Offset 0
35 OpMemberDecorate %globalBuffer 1 Offset 16
36 OpMemberDecorate %globalBuffer 2 Offset 20
41 OpMemberDecorate %outputBufferS 0 Offset 0
Dgreyscale3.spt34 OpMemberDecorate %globalBuffer 0 Offset 0
35 OpMemberDecorate %globalBuffer 1 Offset 16
36 OpMemberDecorate %globalBuffer 2 Offset 20
41 OpMemberDecorate %outputBufferS 0 Offset 0
Dgreyscale.spt33 OpMemberDecorate %globalBuffer 0 Offset 0
34 OpMemberDecorate %globalBuffer 1 Offset 16
35 OpMemberDecorate %globalBuffer 2 Offset 20
43 OpMemberDecorate %outputBufferS 0 Offset 0

12