Home
last modified time | relevance | path

Searched refs:pInst (Results 1 – 16 of 16) sorted by relevance

/external/aac/libDRCdec/src/
DdrcGainDec_init.cpp110 DRC_INSTRUCTIONS_UNI_DRC* pInst, DRC_COEFFICIENTS_UNI_DRC* pCoef, in _generateDrcInstructionsDerivedData() argument
119 pInst->drcSetEffect, pInst->drcChannelCount, pInst->gainSetIndex, in _generateDrcInstructionsDerivedData()
120 pInst->drcSetEffect & (EB_DUCK_OTHER | EB_DUCK_SELF) in _generateDrcInstructionsDerivedData()
121 ? pInst->duckingModificationForChannel in _generateDrcInstructionsDerivedData()
125 pInst->drcSetEffect & (EB_DUCK_OTHER | EB_DUCK_SELF) in _generateDrcInstructionsDerivedData()
131 if (nDrcChannelGroups != pInst->nDrcChannelGroups) return DE_NOT_OK; in _generateDrcInstructionsDerivedData()
132 for (g = 0; g < pInst->nDrcChannelGroups; g++) { in _generateDrcInstructionsDerivedData()
133 if (gainSetIndexForChannelGroup[g] != pInst->gainSetIndexForChannelGroup[g]) in _generateDrcInstructionsDerivedData()
137 for (g = 0; g < pInst->nDrcChannelGroups; g++) { in _generateDrcInstructionsDerivedData()
138 int seq = pInst->gainSetIndexForChannelGroup[g]; in _generateDrcInstructionsDerivedData()
[all …]
DdrcDec_reader.cpp1245 DRC_INSTRUCTIONS_UNI_DRC* pInst) { in _readDrcInstructionsUniDrc() argument
1253 SCHAR* gainSetIndex = pInst->gainSetIndex; in _readDrcInstructionsUniDrc()
1257 pInst->drcSetId = FDKreadBits(hBs, 6); in _readDrcInstructionsUniDrc()
1260 pInst->drcSetComplexityLevel = 2; in _readDrcInstructionsUniDrc()
1262 pInst->drcSetComplexityLevel = FDKreadBits(hBs, 4); in _readDrcInstructionsUniDrc()
1264 pInst->drcLocation = FDKreadBits(hBs, 4); in _readDrcInstructionsUniDrc()
1271 pInst->downmixId[0] = FDKreadBits(hBs, 7); in _readDrcInstructionsUniDrc()
1273 if (pInst->downmixId[0] == 0) in _readDrcInstructionsUniDrc()
1274 pInst->drcApplyToDownmix = 0; in _readDrcInstructionsUniDrc()
1276 pInst->drcApplyToDownmix = 1; in _readDrcInstructionsUniDrc()
[all …]
DdrcDec_selectionProcess.cpp241 DRC_INSTRUCTIONS_UNI_DRC* pInst; member
362 HANDLE_LOUDNESS_INFO_SET hLoudnessInfoSet, DRC_INSTRUCTIONS_UNI_DRC* pInst,
407 HANDLE_LOUDNESS_INFO_SET hLoudnessInfoSet, DRC_INSTRUCTIONS_UNI_DRC* pInst,
1140 pData->pInst = pDrcInstructionUniDrc; in _preSelectionRequirement8()
1147 (((FIXP_DBL)pData->pInst->drcSetTargetLoudnessValueUpper) in _preSelectionRequirement8()
1175 pData->pInst = pDrcInstructionUniDrc; in _preSelectionRequirement8()
1190 pData->pInst = pDrcInstructionUniDrc; in _preSelectionRequirement8()
1272 pDrcInstructionUniDrc = pCandidate->pInst; in _drcSetSelectionAddCandidates()
1285 pDrcInstructionUniDrc = pCandidate->pInst; in _drcSetSelectionAddCandidates()
1339 HANDLE_UNI_DRC_CONFIG hUniDrcConfig, DRC_INSTRUCTIONS_UNI_DRC* pInst, in _dependentDrcInstruction() argument
[all …]
DdrcDec_tools.cpp328 DRC_INSTRUCTIONS_UNI_DRC* pInst; in bitstreamContainsMultibandDrc() local
336 pInst = &(hUniDrcConfig->drcInstructionsUniDrc[i]); in bitstreamContainsMultibandDrc()
337 for (d = 0; d < pInst->downmixIdCount; d++) { in bitstreamContainsMultibandDrc()
338 if (downmixId == pInst->downmixId[d]) { in bitstreamContainsMultibandDrc()
339 for (g = 0; g < pInst->nDrcChannelGroups; g++) { in bitstreamContainsMultibandDrc()
340 seq = pInst->gainSetIndexForChannelGroup[g]; in bitstreamContainsMultibandDrc()
DdrcGainDec_process.cpp115 DRC_INSTRUCTIONS_UNI_DRC* pInst = pActiveDrc->pInst; in _prepareLnbIndex() local
133 if (pInst->drcSetId > 0) { in _prepareLnbIndex()
138 if (drcChannel >= pInst->drcChannelCount) drcChannel = 0; in _prepareLnbIndex()
363 DRC_INSTRUCTIONS_UNI_DRC* pInst = hGainDec->activeDrc[activeDrcIndex].pInst; in processDrcSubband() local
436 for (g = 0; g < pInst->nDrcChannelGroups; g++) { in processDrcSubband()
483 if (pInst->drcSetId > 0) in processDrcSubband()
DdrcGainDec_preprocess.cpp647 DRC_INSTRUCTIONS_UNI_DRC* pInst = pActiveDrc->pInst; in prepareDrcGain() local
648 if (pInst == NULL) return DE_NOT_OK; in prepareDrcGain()
650 nodeMod.drcSetEffect = pInst->drcSetEffect; in prepareDrcGain()
655 nodeMod.limiterPeakTargetPresent = pInst->limiterPeakTargetPresent; in prepareDrcGain()
656 nodeMod.limiterPeakTarget = pInst->limiterPeakTarget; in prepareDrcGain()
659 for (g = 0; g < pInst->nDrcChannelGroups; g++) { in prepareDrcGain()
666 gainSetIndex = pInst->gainSetIndexForChannelGroup[g]; in prepareDrcGain()
672 nodeMod.pGMod = pInst->gainModificationForChannelGroup[g]; in prepareDrcGain()
DdrcDec_gainDecoder.cpp114 static int _fitsLocation(DRC_INSTRUCTIONS_UNI_DRC* pInst, in _fitsLocation() argument
116 int downmixId = pInst->drcApplyToDownmix ? pInst->downmixId[0] : 0; in _fitsLocation()
405 if (!_fitsLocation(hGainDec->activeDrc[a].pInst, drcLocation)) continue; in drcDec_GainDecoder_ProcessTimeDomain()
432 if (!_fitsLocation(hGainDec->activeDrc[a].pInst, drcLocation)) continue; in drcDec_GainDecoder_ProcessSubbandDomain()
DdrcDec_gainDecoder.h159 DRC_INSTRUCTIONS_UNI_DRC* pInst; member
/external/swiftshader/third_party/SPIRV-Tools/source/
Dtext.cpp163 const char* text, spv_instruction_t* pInst) { in encodeImmediate() argument
170 context->binaryEncodeU32(parse_result, pInst); in encodeImmediate()
191 spv_instruction_t* pInst, in spvTextEncodeOperand() argument
195 if (auto error = encodeImmediate(context, textValue, pInst)) { in spvTextEncodeOperand()
225 if (type == SPV_OPERAND_TYPE_TYPE_ID) pInst->resultTypeId = id; in spvTextEncodeOperand()
226 spvInstructionAddWord(pInst, id); in spvTextEncodeOperand()
230 if (pInst->opcode == SpvOpExtInst && pInst->words.size() == 4) { in spvTextEncodeOperand()
231 auto ext_inst_type = context->getExtInstTypeForId(pInst->words[3]); in spvTextEncodeOperand()
235 << pInst->words[2]; in spvTextEncodeOperand()
237 pInst->extInstType = ext_inst_type; in spvTextEncodeOperand()
[all …]
Dtext_handler.cpp234 spv_instruction_t* pInst) { in binaryEncodeU32() argument
235 pInst->words.insert(pInst->words.end(), value); in binaryEncodeU32()
241 spv_instruction_t* pInst) { in binaryEncodeNumericLiteral() argument
279 [this, pInst](uint32_t d) { this->binaryEncodeU32(d, pInst); }, in binaryEncodeNumericLiteral()
297 spv_instruction_t* pInst) { in binaryEncodeString() argument
300 const size_t oldWordCount = pInst->words.size(); in binaryEncodeString()
309 pInst->words.resize(newWordCount); in binaryEncodeString()
313 pInst->words.back() = 0; in binaryEncodeString()
315 char* dest = (char*)&pInst->words[oldWordCount]; in binaryEncodeString()
322 const spv_instruction_t* pInst) { in recordTypeDefinition() argument
[all …]
Dtext_handler.h187 spv_result_t binaryEncodeU32(const uint32_t value, spv_instruction_t* pInst);
192 spv_result_t binaryEncodeString(const char* value, spv_instruction_t* pInst);
204 spv_instruction_t* pInst);
222 spv_result_t recordTypeDefinition(const spv_instruction_t* pInst);
Dopcode.cpp167 spv_instruction_t* pInst) { in spvInstructionCopy() argument
168 pInst->opcode = opcode; in spvInstructionCopy()
169 pInst->words.resize(wordCount); in spvInstructionCopy()
171 pInst->words[wordIndex] = spvFixWord(words[wordIndex], endian); in spvInstructionCopy()
175 spvOpcodeSplit(pInst->words[wordIndex], &thisWordCount, &thisOpcode); in spvInstructionCopy()
/external/deqp-deps/SPIRV-Tools/source/
Dtext.cpp163 const char* text, spv_instruction_t* pInst) { in encodeImmediate() argument
170 context->binaryEncodeU32(parse_result, pInst); in encodeImmediate()
191 spv_instruction_t* pInst, in spvTextEncodeOperand() argument
195 if (auto error = encodeImmediate(context, textValue, pInst)) { in spvTextEncodeOperand()
225 if (type == SPV_OPERAND_TYPE_TYPE_ID) pInst->resultTypeId = id; in spvTextEncodeOperand()
226 spvInstructionAddWord(pInst, id); in spvTextEncodeOperand()
230 if (pInst->opcode == SpvOpExtInst && pInst->words.size() == 4) { in spvTextEncodeOperand()
231 auto ext_inst_type = context->getExtInstTypeForId(pInst->words[3]); in spvTextEncodeOperand()
235 << pInst->words[2]; in spvTextEncodeOperand()
237 pInst->extInstType = ext_inst_type; in spvTextEncodeOperand()
[all …]
Dtext_handler.cpp234 spv_instruction_t* pInst) { in binaryEncodeU32() argument
235 pInst->words.insert(pInst->words.end(), value); in binaryEncodeU32()
241 spv_instruction_t* pInst) { in binaryEncodeNumericLiteral() argument
279 [this, pInst](uint32_t d) { this->binaryEncodeU32(d, pInst); }, in binaryEncodeNumericLiteral()
297 spv_instruction_t* pInst) { in binaryEncodeString() argument
300 const size_t oldWordCount = pInst->words.size(); in binaryEncodeString()
309 pInst->words.resize(newWordCount); in binaryEncodeString()
313 pInst->words.back() = 0; in binaryEncodeString()
315 char* dest = (char*)&pInst->words[oldWordCount]; in binaryEncodeString()
322 const spv_instruction_t* pInst) { in recordTypeDefinition() argument
[all …]
Dtext_handler.h187 spv_result_t binaryEncodeU32(const uint32_t value, spv_instruction_t* pInst);
192 spv_result_t binaryEncodeString(const char* value, spv_instruction_t* pInst);
204 spv_instruction_t* pInst);
222 spv_result_t recordTypeDefinition(const spv_instruction_t* pInst);
Dopcode.cpp167 spv_instruction_t* pInst) { in spvInstructionCopy() argument
168 pInst->opcode = opcode; in spvInstructionCopy()
169 pInst->words.resize(wordCount); in spvInstructionCopy()
171 pInst->words[wordIndex] = spvFixWord(words[wordIndex], endian); in spvInstructionCopy()
175 spvOpcodeSplit(pInst->words[wordIndex], &thisWordCount, &thisOpcode); in spvInstructionCopy()