diff options
Diffstat (limited to 'media/libstagefright/codecs/aacenc/inc/psy_configuration.h')
-rw-r--r-- | media/libstagefright/codecs/aacenc/inc/psy_configuration.h | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/media/libstagefright/codecs/aacenc/inc/psy_configuration.h b/media/libstagefright/codecs/aacenc/inc/psy_configuration.h index 53cf25b..9abfc99 100644 --- a/media/libstagefright/codecs/aacenc/inc/psy_configuration.h +++ b/media/libstagefright/codecs/aacenc/inc/psy_configuration.h @@ -1,28 +1,28 @@ -/*
- ** Copyright 2003-2010, VisualOn, Inc.
- **
- ** Licensed under the Apache License, Version 2.0 (the "License");
- ** you may not use this file except in compliance with the License.
- ** You may obtain a copy of the License at
- **
- ** http://www.apache.org/licenses/LICENSE-2.0
- **
- ** Unless required by applicable law or agreed to in writing, software
- ** distributed under the License is distributed on an "AS IS" BASIS,
- ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ** See the License for the specific language governing permissions and
- ** limitations under the License.
- */
-/*******************************************************************************
- File: psy_configuration.h
-
- Content: Psychoaccoustic configuration structure and functions
-
+/* + ** Copyright 2003-2010, VisualOn, Inc. + ** + ** Licensed under the Apache License, Version 2.0 (the "License"); + ** you may not use this file except in compliance with the License. + ** You may obtain a copy of the License at + ** + ** http://www.apache.org/licenses/LICENSE-2.0 + ** + ** Unless required by applicable law or agreed to in writing, software + ** distributed under the License is distributed on an "AS IS" BASIS, + ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ** See the License for the specific language governing permissions and + ** limitations under the License. + */ +/******************************************************************************* + File: psy_configuration.h + + Content: Psychoaccoustic configuration structure and functions + *******************************************************************************/ #ifndef _PSY_CONFIGURATION_H #define _PSY_CONFIGURATION_H -
+ #include "typedefs.h" #include "psy_const.h" #include "tns.h" @@ -38,7 +38,7 @@ typedef struct{ Word16 maxAllowedIncreaseFactor; /* preecho control */ Word16 minRemainingThresholdFactor; - Word16 lowpassLine;
+ Word16 lowpassLine; Word16 sampRateIdx; Word32 clipEnergy; /* for level dependend tmn */ @@ -68,7 +68,7 @@ typedef struct{ Word16 maxAllowedIncreaseFactor; /* preecho control */ Word16 minRemainingThresholdFactor; - Word16 lowpassLine;
+ Word16 lowpassLine; Word16 sampRateIdx; Word32 clipEnergy; /* for level dependend tmn */ @@ -85,10 +85,10 @@ typedef struct{ TNS_CONFIG tnsConf; }PSY_CONFIGURATION_SHORT; /*Word16 size: 8 + 16 + 16 + 16 + 16 + 16 + 16 + 16 + 47 = 167 */ -
-
-/* Returns the sample rate index */
-Word32 GetSRIndex(Word32 sampleRate);
+ + +/* Returns the sample rate index */ +Word32 GetSRIndex(Word32 sampleRate); Word16 InitPsyConfigurationLong(Word32 bitrate, |