Home
last modified time | relevance | path

Searched refs:swr (Results 1 – 25 of 69) sorted by relevance

123

/third_party/ffmpeg/tests/fate/
Dlibswresample.mak16 FATE_SWR_RESAMPLE += fate-swr-resample-$(3)-$(1)-$(2)
17 fate-swr-resample-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
18 fate-swr-resample-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af a…
20 fate-swr-resample-$(3)-$(1)-$(2): CMP = stddev
21 fate-swr-resample-$(3)-$(1)-$(2): CMP_UNIT = $(5)
22 fate-swr-resample-$(3)-$(1)-$(2): FUZZ = 0.1
23 fate-swr-resample-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
28 #make -k `make fate-list | grep swr` | egrep 'TEST|stddev' | tr '\n' '@' | sed 's#TEST *\([^@]*\)@…
30 fate-swr-resample-dblp-2626-44100: CMP_TARGET = 1352.67
31 fate-swr-resample-dblp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
[all …]
/third_party/ffmpeg/libavfilter/
Daf_aresample.c41 struct SwrContext *swr; member
52 aresample->swr = swr_alloc(); in init_dict()
53 if (!aresample->swr) { in init_dict()
62 if ((ret = av_opt_set(aresample->swr, e->key, e->value, 0)) < 0) in init_dict()
68 av_opt_set_int(aresample->swr, "osr", aresample->sample_rate_arg, 0); in init_dict()
76 swr_free(&aresample->swr); in uninit()
93 av_opt_get_sample_fmt(aresample->swr, "osf", 0, &out_format); in query_formats()
94 av_opt_get_int(aresample->swr, "osr", 0, &out_rate); in query_formats()
95 av_opt_get_int(aresample->swr, "ocl", 0, &out_layout); in query_formats()
147 aresample->swr = swr_alloc_set_opts(aresample->swr, in config_output()
[all …]
Daf_pan.c54 struct SwrContext *swr; member
311 pan->swr = swr_alloc_set_opts(pan->swr, in config_props()
315 if (!pan->swr) in config_props()
318 if (av_opt_set_int(pan->swr, "ich", link->channels, 0) < 0) in config_props()
322 if (av_opt_set_int(pan->swr, "och", pan->nb_output_channels, 0) < 0) in config_props()
341 av_opt_set_int(pan->swr, "icl", pan->out_channel_layout, 0); in config_props()
342 av_opt_set_int(pan->swr, "uch", pan->nb_output_channels, 0); in config_props()
343 swr_set_channel_mapping(pan->swr, pan->channel_map); in config_props()
362 av_opt_set_int(pan->swr, "icl", link->channel_layout, 0); in config_props()
363 av_opt_set_int(pan->swr, "ocl", pan->out_channel_layout, 0); in config_props()
[all …]
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/audio/
DFFMpegExtractor.cpp207 SwrContext *swr = swr_alloc(); in decode() local
208 av_opt_set_int(swr, "in_channel_count", stream->codecpar->channels, 0); in decode()
209 av_opt_set_int(swr, "out_channel_count", targetProperties.channelCount, 0); in decode()
210 av_opt_set_int(swr, "in_channel_layout", stream->codecpar->channel_layout, 0); in decode()
211 av_opt_set_int(swr, "out_channel_layout", outChannelLayout, 0); in decode()
212 av_opt_set_int(swr, "in_sample_rate", stream->codecpar->sample_rate, 0); in decode()
213 av_opt_set_int(swr, "out_sample_rate", targetProperties.sampleRate, 0); in decode()
214 av_opt_set_int(swr, "in_sample_fmt", stream->codecpar->format, 0); in decode()
215 av_opt_set_sample_fmt(swr, "out_sample_fmt", AV_SAMPLE_FMT_FLT, 0); in decode()
216 av_opt_set_int(swr, "force_resampling", 1, 0); in decode()
[all …]
/third_party/ffmpeg/libavcodec/
Dopusdec.c89 ret = swr_convert(s->swr, in opus_flush_resample()
134 av_opt_set_int(s->swr, "in_sample_rate", s->silk_samplerate, 0); in opus_init_resample()
135 ret = swr_init(s->swr); in opus_init_resample()
141 ret = swr_convert(s->swr, in opus_init_resample()
187 if (!swr_is_initialized(s->swr)) { in opus_decode_frame()
201 samples = swr_convert(s->swr, in opus_decode_frame()
345 if (swr_is_initialized(s->swr)) { in opus_decode_subpacket()
348 av_opt_get_int(s->swr, "in_sample_rate", 0, &cur_samplerate); in opus_decode_subpacket()
378 swr_close(s->swr); in opus_decode_subpacket()
581 swr_close(s->swr); in opus_decode_flush()
[all …]
Dopus.h135 SwrContext *swr; member
/third_party/ffmpeg/doc/
Dresampler.texi114 Set resampling engine. Default value is swr.
118 @item swr
128 For swr only, set resampling filter size, default value is 32.
131 For swr only, set resampling phase shift, default value is 10, and must be in
139 For swr only, when enabled, try to use exact phase_count based on input and
144 Set cutoff frequency (swr: 6dB point; soxr: 0dB point) ratio; must be a float
145 value between 0 and 1. Default value is 0.97 with swr, and 0.91 with soxr
159 For swr only, simple 1 parameter audio sync to timestamps using stretching,
167 For swr only, assume the first pts should be this value. The time unit is 1 / sample rate.
175 For swr only, set the minimum difference between timestamps and audio data (in
[all …]
/third_party/mesa3d/docs/relnotes/
D17.1.6.rst87 - swr: don't forget to link AVX/AVX2 against pthreads
91 - cherry-ignore: add "swr/rast: non-regex knob fallback code for gcc <
93 - cherry-ignore: add "swr: fix transform feedback logic"
103 - swr: remove unneeded fallback strcasecmp define
178 - swr/rast: quit using linux-specific gettid()
179 - swr/rast: fix scons gen_knobs.h dependency
D18.2.4.rst32 - swr fail to build with llvm-libs 6.0.1
50 - swr/rast: ignore CreateElementUnorderedAtomicMemCpy
51 - swr/rast: fix intrinsic/function for LLVM 7 compatibility
D12.0.5.rst107 - swr: [rasterizer jitter] cleanup supporting different llvm versions
108 - swr: [rasterizer jitter] fix llvm-3.7 compile
109 - swr: [rasterizer] add support for llvm-3.9
D17.1.7.rst49 - cherry-ignore: add "swr: use the correct variable for no undefined
52 - cherry-ignore: add "configure: remove trailing "-a" in swr
121 - swr/rast: Fix invalid casting for calls to Interlocked\* functions
D17.1.5.rst78 - swr: Limit memory held by defer deleted resources.
152 - swr/rast: \_mm*_undefined_\* implementations for gcc<4.9
153 - swr/rast: Correctly allocate SWR_STATS memory as cacheline aligned
D21.3.3.rst35 - [21.3 regression] swr: Build failure with MSVC
86 - swr: Fix MSVC build
D17.3.7.rst38 - swr fails to build since llvm-svn r321257
152 - swr/rast: blend_epi32() should return Integer, not Float
255 - swr/rast: fix MemoryBuffer build break for llvm-6
271 - swr/rast: Fix macOS macro.
D19.0.6.rst45 - gallium/swr: Param defaults for unhandled PIPE_CAPs
84 - swr/rast: fix 32-bit compilation on Linux
D13.0.6.rst34 [dri][swr] stack overflow / infinite loop with GALLIUM_DRIVER=swr
89 - swr: Prune empty nodes in CalculateProcessorTopology.
128 - swr: Align query results allocation
D20.1.2.rst98 - gallium/swr: Fix building swr with MSVC
D17.2.2.rst36 - swr fail to build with llvm-5.0.0
160 - swr/rast: remove llvm fence/atomics from generated files
D17.0.6.rst91 - travis: add "scons swr" to the build matrix
92 - travis: add "make swr" to the build matrix
D18.1.6.rst80 - swr: don't export swr_create_screen_internal
150 - swr: Remove unnecessary memset call
D17.1.0.rst42 - Geometry shaders enabled on swr
61 [dri][swr] stack overflow / infinite loop with GALLIUM_DRIVER=swr
223 - The swr driver now requires LLVM >= 3.9.0 and a C++14 capable
D18.3.3.rst66 - gallium/swr: Fix multi-context sync fence deadlock.
87 - meson: fix swr KNL build
D17.2.6.rst156 - swr/rast: Use gather instruction for i32gather_ps on simd16/avx512
157 - swr/rast: Faster emulated simd16 permute
/third_party/mesa3d/ohos/
Ddependency_inputs.gni3493 "../src/gallium/drivers/swr/meson.build",
3494 "../src/gallium/drivers/swr/swr_clear.cpp",
3495 "../src/gallium/drivers/swr/swr_context.cpp",
3496 "../src/gallium/drivers/swr/swr_context.h",
3497 "../src/gallium/drivers/swr/swr_draw.cpp",
3498 "../src/gallium/drivers/swr/swr_fence.cpp",
3499 "../src/gallium/drivers/swr/swr_fence.h",
3500 "../src/gallium/drivers/swr/swr_fence_work.cpp",
3501 "../src/gallium/drivers/swr/swr_fence_work.h",
3502 "../src/gallium/drivers/swr/swr_loader.cpp",
[all …]
/third_party/ffmpeg/libswresample/
Dswresample.h555 int swr_convert_frame(SwrContext *swr,
572 int swr_config_frame(SwrContext *swr, const AVFrame *out, const AVFrame *in);

123