Lines Matching refs:hMetaDataEnc

260     HANDLE_FDK_METADATA_ENCODER hMetaDataEnc, INT_PCM* const pAudioSamples,
664 HANDLE_FDK_METADATA_ENCODER hMetaDataEnc, INT_PCM* const pAudioSamples, in FDK_MetadataEnc_Process() argument
673 metaDataDelayWriteIdx = hMetaDataEnc->metaDataDelayIdx; in FDK_MetadataEnc_Process()
676 metadataMode = hMetaDataEnc->metadataMode; in FDK_MetadataEnc_Process()
679 hMetaDataEnc->metaDataDelayIdx++; in FDK_MetadataEnc_Process()
680 if (hMetaDataEnc->metaDataDelayIdx > hMetaDataEnc->nMetaDataDelay) in FDK_MetadataEnc_Process()
681 hMetaDataEnc->metaDataDelayIdx = 0; in FDK_MetadataEnc_Process()
684 metaDataDelayReadIdx = hMetaDataEnc->metaDataDelayIdx; in FDK_MetadataEnc_Process()
688 FDKmemcpy(&hMetaDataEnc->submittedMetaData, pMetadata, in FDK_MetadataEnc_Process()
694 if ((hMetaDataEnc->finalizeMetaData != 0) && in FDK_MetadataEnc_Process()
695 (hMetaDataEnc->metadataMode == 0)) { in FDK_MetadataEnc_Process()
696 FDKmemcpy(&hMetaDataEnc->submittedMetaData, &defaultMetaDataSetup, in FDK_MetadataEnc_Process()
698 metadataMode = hMetaDataEnc->finalizeMetaData; in FDK_MetadataEnc_Process()
699 hMetaDataEnc->finalizeMetaData = 0; in FDK_MetadataEnc_Process()
704 &hMetaDataEnc->submittedMetaData, hMetaDataEnc->nChannels, in FDK_MetadataEnc_Process()
706 &hMetaDataEnc->metaDataBuffer[metaDataDelayWriteIdx])) != in FDK_MetadataEnc_Process()
712 if ((hMetaDataEnc->metaDataBuffer[metaDataDelayWriteIdx].metadataMode == 1) || in FDK_MetadataEnc_Process()
713 (hMetaDataEnc->metaDataBuffer[metaDataDelayWriteIdx].metadataMode == 2)) { in FDK_MetadataEnc_Process()
715 &hMetaDataEnc->metaDataBuffer[metaDataDelayWriteIdx], in FDK_MetadataEnc_Process()
716 hMetaDataEnc->hDrcComp, pAudioSamples, audioSamplesBufSize, in FDK_MetadataEnc_Process()
720 &hMetaDataEnc->submittedMetaData, hMetaDataEnc->nChannels, in FDK_MetadataEnc_Process()
721 metadataMode, &hMetaDataEnc->metaDataBuffer[metaDataDelayWriteIdx]); in FDK_MetadataEnc_Process()
726 if ((hMetaDataEnc->initializeMetaData != 0) && in FDK_MetadataEnc_Process()
727 (hMetaDataEnc->metadataMode != 0)) { in FDK_MetadataEnc_Process()
730 i < (int)(sizeof(hMetaDataEnc->metaDataBuffer) / sizeof(AAC_METADATA)); in FDK_MetadataEnc_Process()
733 FDKmemcpy(&hMetaDataEnc->metaDataBuffer[i], in FDK_MetadataEnc_Process()
734 &hMetaDataEnc->metaDataBuffer[metaDataDelayWriteIdx], in FDK_MetadataEnc_Process()
735 sizeof(hMetaDataEnc->metaDataBuffer[metaDataDelayWriteIdx])); in FDK_MetadataEnc_Process()
738 hMetaDataEnc->initializeMetaData = 0; in FDK_MetadataEnc_Process()
744 hMetaDataEnc, in FDK_MetadataEnc_Process()
745 &hMetaDataEnc->metaDataBuffer[metaDataDelayReadIdx])) != in FDK_MetadataEnc_Process()
751 *ppMetaDataExtPayload = hMetaDataEnc->exPayload; in FDK_MetadataEnc_Process()
752 *nMetaDataExtensions = hMetaDataEnc->nExtensions; in FDK_MetadataEnc_Process()
753 *matrix_mixdown_idx = hMetaDataEnc->matrix_mixdown_idx; in FDK_MetadataEnc_Process()
757 err = CompensateAudioDelay(hMetaDataEnc, pAudioSamples, audioSamplesBufSize, in FDK_MetadataEnc_Process()
758 nAudioSamples / hMetaDataEnc->nChannels); in FDK_MetadataEnc_Process()
764 HANDLE_FDK_METADATA_ENCODER hMetaDataEnc, INT_PCM* const pAudioSamples, in CompensateAudioDelay() argument
768 if (hMetaDataEnc->nAudioDataDelay) { in CompensateAudioDelay()
771 for (int c = 0; c < hMetaDataEnc->nChannels; c++) { in CompensateAudioDelay()
774 int delayIdx = hMetaDataEnc->nAudioDataDelay; in CompensateAudioDelay()
786 &hMetaDataEnc->pAudioDelayBuffer[delayIdx + in CompensateAudioDelay()
787 c * hMetaDataEnc->nAudioDataDelay], in CompensateAudioDelay()
790 &hMetaDataEnc->pAudioDelayBuffer[delayIdx + in CompensateAudioDelay()
791 c * hMetaDataEnc->nAudioDataDelay], in CompensateAudioDelay()