Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Side by Side Diff: third_party/opus/src/celt/x86/x86_celt_map.c

Issue 2962373002: [Opus] Update to v1.2.1 (Closed)
Patch Set: Pre-increment instead of post-increment Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/opus/src/celt/x86/vq_sse2.c ('k') | third_party/opus/src/configure.ac » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2014, Cisco Systems, INC 1 /* Copyright (c) 2014, Cisco Systems, INC
2 Written by XiangMingZhu WeiZhou MinPeng YanWang 2 Written by XiangMingZhu WeiZhou MinPeng YanWang
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 15 matching lines...) Expand all
26 */ 26 */
27 27
28 #if defined(HAVE_CONFIG_H) 28 #if defined(HAVE_CONFIG_H)
29 #include "config.h" 29 #include "config.h"
30 #endif 30 #endif
31 31
32 #include "x86/x86cpu.h" 32 #include "x86/x86cpu.h"
33 #include "celt_lpc.h" 33 #include "celt_lpc.h"
34 #include "pitch.h" 34 #include "pitch.h"
35 #include "pitch_sse.h" 35 #include "pitch_sse.h"
36 #include "vq.h"
36 37
37 #if defined(OPUS_HAVE_RTCD) 38 #if defined(OPUS_HAVE_RTCD)
38 39
39 # if defined(FIXED_POINT) 40 # if defined(FIXED_POINT)
40 41
41 #if defined(OPUS_X86_MAY_HAVE_SSE4_1) && !defined(OPUS_X86_PRESUME_SSE4_1) 42 #if defined(OPUS_X86_MAY_HAVE_SSE4_1) && !defined(OPUS_X86_PRESUME_SSE4_1)
42 43
43 void (*const CELT_FIR_IMPL[OPUS_ARCHMASK + 1])( 44 void (*const CELT_FIR_IMPL[OPUS_ARCHMASK + 1])(
44 const opus_val16 *x, 45 const opus_val16 *x,
45 const opus_val16 *num, 46 const opus_val16 *num,
46 opus_val16 *y, 47 opus_val16 *y,
47 int N, 48 int N,
48 int ord, 49 int ord,
49 opus_val16 *mem,
50 int arch 50 int arch
51 ) = { 51 ) = {
52 celt_fir_c, /* non-sse */ 52 celt_fir_c, /* non-sse */
53 celt_fir_c, 53 celt_fir_c,
54 celt_fir_c, 54 celt_fir_c,
55 MAY_HAVE_SSE4_1(celt_fir), /* sse4.1 */ 55 MAY_HAVE_SSE4_1(celt_fir), /* sse4.1 */
56 MAY_HAVE_SSE4_1(celt_fir) /* avx */ 56 MAY_HAVE_SSE4_1(celt_fir) /* avx */
57 }; 57 };
58 58
59 void (*const XCORR_KERNEL_IMPL[OPUS_ARCHMASK + 1])( 59 void (*const XCORR_KERNEL_IMPL[OPUS_ARCHMASK + 1])(
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 comb_filter_const_c, /* non-sse */ 144 comb_filter_const_c, /* non-sse */
145 MAY_HAVE_SSE(comb_filter_const), 145 MAY_HAVE_SSE(comb_filter_const),
146 MAY_HAVE_SSE(comb_filter_const), 146 MAY_HAVE_SSE(comb_filter_const),
147 MAY_HAVE_SSE(comb_filter_const), 147 MAY_HAVE_SSE(comb_filter_const),
148 MAY_HAVE_SSE(comb_filter_const) 148 MAY_HAVE_SSE(comb_filter_const)
149 }; 149 };
150 150
151 151
152 #endif 152 #endif
153 153
154 #if defined(OPUS_X86_MAY_HAVE_SSE2) && !defined(OPUS_X86_PRESUME_SSE2)
155 opus_val16 (*const OP_PVQ_SEARCH_IMPL[OPUS_ARCHMASK + 1])(
156 celt_norm *_X, int *iy, int K, int N, int arch
157 ) = {
158 op_pvq_search_c, /* non-sse */
159 op_pvq_search_c,
160 MAY_HAVE_SSE2(op_pvq_search),
161 MAY_HAVE_SSE2(op_pvq_search),
162 MAY_HAVE_SSE2(op_pvq_search)
163 };
164 #endif
165
154 #endif 166 #endif
155 #endif 167 #endif
OLDNEW
« no previous file with comments | « third_party/opus/src/celt/x86/vq_sse2.c ('k') | third_party/opus/src/configure.ac » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698