/external/aac/libDRCdec/src/ |
D | drcGainDec_init.cpp | 110 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 …]
|
D | drcDec_reader.cpp | 1245 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 …]
|
D | drcDec_selectionProcess.cpp | 241 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 …]
|
D | drcDec_tools.cpp | 328 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()
|
D | drcGainDec_process.cpp | 115 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()
|
D | drcGainDec_preprocess.cpp | 647 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()
|
D | drcDec_gainDecoder.cpp | 114 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()
|
D | drcDec_gainDecoder.h | 159 DRC_INSTRUCTIONS_UNI_DRC* pInst; member
|
/external/swiftshader/third_party/SPIRV-Tools/source/ |
D | text.cpp | 163 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 …]
|
D | text_handler.cpp | 234 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 …]
|
D | text_handler.h | 187 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);
|
D | opcode.cpp | 167 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/ |
D | text.cpp | 163 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 …]
|
D | text_handler.cpp | 234 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 …]
|
D | text_handler.h | 187 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);
|
D | opcode.cpp | 167 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()
|