| OLD | NEW |
| 1 /* Copyright (c) 2011 Xiph.Org Foundation | 1 /* Copyright (c) 2011 Xiph.Org Foundation |
| 2 Written by Jean-Marc Valin */ | 2 Written by Jean-Marc Valin */ |
| 3 /* | 3 /* |
| 4 Redistribution and use in source and binary forms, with or without | 4 Redistribution and use in source and binary forms, with or without |
| 5 modification, are permitted provided that the following conditions | 5 modification, are permitted provided that the following conditions |
| 6 are met: | 6 are met: |
| 7 | 7 |
| 8 - Redistributions of source code must retain the above copyright | 8 - Redistributions of source code must retain the above copyright |
| 9 notice, this list of conditions and the following disclaimer. | 9 notice, this list of conditions and the following disclaimer. |
| 10 | 10 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 float speech_confidence; | 71 float speech_confidence; |
| 72 float music_confidence; | 72 float music_confidence; |
| 73 int speech_confidence_count; | 73 int speech_confidence_count; |
| 74 int music_confidence_count; | 74 int music_confidence_count; |
| 75 int write_pos; | 75 int write_pos; |
| 76 int read_pos; | 76 int read_pos; |
| 77 int read_subframe; | 77 int read_subframe; |
| 78 AnalysisInfo info[DETECT_SIZE]; | 78 AnalysisInfo info[DETECT_SIZE]; |
| 79 } TonalityAnalysisState; | 79 } TonalityAnalysisState; |
| 80 | 80 |
| 81 void tonality_analysis(TonalityAnalysisState *tonal, AnalysisInfo *info, | |
| 82 const CELTMode *celt_mode, const void *x, int len, int offset, int c1, int
c2, int C, int lsb_depth, downmix_func downmix); | |
| 83 | |
| 84 void tonality_get_info(TonalityAnalysisState *tonal, AnalysisInfo *info_out, int
len); | 81 void tonality_get_info(TonalityAnalysisState *tonal, AnalysisInfo *info_out, int
len); |
| 85 | 82 |
| 86 void run_analysis(TonalityAnalysisState *analysis, const CELTMode *celt_mode, co
nst void *analysis_pcm, | 83 void run_analysis(TonalityAnalysisState *analysis, const CELTMode *celt_mode, co
nst void *analysis_pcm, |
| 87 int analysis_frame_size, int frame_size, int c1, int c2, int C,
opus_int32 Fs, | 84 int analysis_frame_size, int frame_size, int c1, int c2, int C,
opus_int32 Fs, |
| 88 int lsb_depth, downmix_func downmix, AnalysisInfo *analysis_inf
o); | 85 int lsb_depth, downmix_func downmix, AnalysisInfo *analysis_inf
o); |
| 89 | 86 |
| 90 #endif | 87 #endif |
| OLD | NEW |