Home
last modified time | relevance | path

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

1234

/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/mesa3d/src/gallium/drivers/swr/
Dswr_screen.cpp614 const unsigned width = align(res->swr.width, res->swr.halign); in swr_displaytarget_layout()
615 const unsigned height = align(res->swr.height, res->swr.valign); in swr_displaytarget_layout()
631 res->swr.xpBaseAddress = (gfxptr_t)map; in swr_displaytarget_layout()
703 res->swr.width = pt->width0; in swr_texture_layout()
704 res->swr.height = pt->height0; in swr_texture_layout()
705 res->swr.type = swr_convert_target_type(pt->target); in swr_texture_layout()
706 res->swr.tileMode = SWR_TILE_NONE; in swr_texture_layout()
707 res->swr.format = mesa_to_swr_format(fmt); in swr_texture_layout()
708 res->swr.numSamples = std::max(1u, pt->nr_samples); in swr_texture_layout()
711 res->swr.halign = KNOB_MACROTILE_X_DIM; in swr_texture_layout()
[all …]
Dswr_context.cpp140 pt->stride = spr->swr.pitch; in swr_transfer_map()
141 pt->layer_stride = spr->swr.qpitch * spr->swr.pitch; in swr_transfer_map()
149 zbase = (z * spr->swr.qpitch + box->y) * spr->swr.pitch + in swr_transfer_map()
156 ((uint8_t*)(spr->swr.xpBaseAddress))[zbase + 4 * x + 3] = in swr_transfer_map()
160 ((uint8_t*)(spr->swr.xpBaseAddress))[zbase + 8 * x + 4] = in swr_transfer_map()
163 zbase += spr->swr.pitch; in swr_transfer_map()
175 return (void*)(spr->swr.xpBaseAddress + offset + spr->mip_offsets[level]); in swr_transfer_map()
196 zbase = (z * spr->swr.qpitch + box.y) * spr->swr.pitch + in swr_transfer_flush_region()
204 ((uint8_t*)(spr->swr.xpBaseAddress))[zbase + 4 * x + 3]; in swr_transfer_flush_region()
208 ((uint8_t*)(spr->swr.xpBaseAddress))[zbase + 8 * x + 4]; in swr_transfer_flush_region()
[all …]
Dswr_state.cpp895 SWR_SURFACE_STATE *swr = &swr_res->swr; in swr_update_texture_state() local
899 swr = &swr_res->secondary; in swr_update_texture_state()
905 jit_tex->base_ptr = (uint8_t*)swr->xpBaseAddress; in swr_update_texture_state()
906 jit_tex->num_samples = swr->numSamples; in swr_update_texture_state()
917 swr->qpitch * swr->pitch; in swr_update_texture_state()
928 jit_tex->row_stride[level] = swr->pitch; in swr_update_texture_state()
929 jit_tex->img_stride[level] = swr->qpitch * swr->pitch; in swr_update_texture_state()
1036 const struct swr_resource *swr = swr_resource(sf->texture); in swr_change_rt() local
1037 const SWR_SURFACE_STATE *swr_surface = &swr->swr; in swr_change_rt()
1040 if (attachment == SWR_ATTACHMENT_STENCIL && swr->secondary.xpBaseAddress) { in swr_change_rt()
[all …]
Dswr_resource.h45 SWR_SURFACE_STATE swr; member
99 return (uint8_t*)(swr_r->swr.xpBaseAddress); in swr_resource_data()
Dmeson.build207 error('Cannot find AVX support for swr. (these are required for SWR an all architectures.)')
210 shared_swr = get_option('shared-swr')
223 error('Cannot find SKX support for swr.')
265 error('Cannot find KNL support for swr.')
311 error('Cannot find AVX2 support for swr.')
389 # The swr_avx_args are needed for intrensic usage in swr api headers.
/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/mesa3d/docs/
Dfeatures.txt39 …all DONE: freedreno, i965, nv50, nvc0, r600, radeonsi, llvmpipe, softpipe, swr, virgl, zink, d3d12…
66 … DONE (freedreno/a5xx+, freedreno (*), llvmpipe (*), softpipe (*), swr (*))
69 (*) freedreno (a2xx-a4xx), llvmpipe, softpipe, and swr have fake Multisample anti-aliasing support
72 …all DONE: freedreno, i965, nv50, nvc0, r600, radeonsi, llvmpipe, softpipe, swr, virgl, zink, d3d12…
85 … all DONE: freedreno, i965, nv50, nvc0, r600, radeonsi, llvmpipe, softpipe, swr, virgl, zink, d3d12
102 …GL_ARB_blend_func_extended DONE (freedreno/a3xx, freedreno/a6xx, swr, p…
104 GL_ARB_occlusion_query2 DONE (swr, v3d, vc4, panfrost, lima)
106 GL_ARB_shader_bit_encoding DONE (swr, v3d, panfrost)
107 GL_ARB_texture_rgb10_a2ui DONE (swr, panfrost)
108 GL_ARB_texture_swizzle DONE (swr, v3d, vc4, panfrost, lima)
[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 …]
/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/drivers/openswr/
Dusage.rst14 To build with GNU automake, select building the swr driver at
17 configure --with-gallium-drivers=swrast,swr
33 GALLIUM_DRIVER=swr
/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
D19.0.6.rst45 - gallium/swr: Param defaults for unhandled PIPE_CAPs
84 - swr/rast: fix 32-bit compilation on Linux
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.
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
/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);
/third_party/mesa3d/ohos/
Ddependency_inputs.gni3517 ../src/gallium/drivers/swr/meson.build
3518 ../src/gallium/drivers/swr/swr_clear.cpp
3519 ../src/gallium/drivers/swr/swr_context.cpp
3520 ../src/gallium/drivers/swr/swr_context.h
3521 ../src/gallium/drivers/swr/swr_draw.cpp
3522 ../src/gallium/drivers/swr/swr_fence.cpp
3523 ../src/gallium/drivers/swr/swr_fence.h
3524 ../src/gallium/drivers/swr/swr_fence_work.cpp
3525 ../src/gallium/drivers/swr/swr_fence_work.h
3526 ../src/gallium/drivers/swr/swr_loader.cpp
[all …]

1234