Home
last modified time | relevance | path

Searched refs:asrc (Results 1 – 25 of 26) sorted by relevance

12

/third_party/ffmpeg/libavfilter/
Dvf_premultiply.c46 void (*premultiply[4])(const uint8_t *msrc, const uint8_t *asrc,
92 static void premultiply8(const uint8_t *msrc, const uint8_t *asrc, in premultiply8() argument
103 dst[x] = ((msrc[x] * (((asrc[x] >> 1) & 1) + asrc[x])) + 128) >> 8; in premultiply8()
108 asrc += alinesize; in premultiply8()
112 static void premultiply8yuv(const uint8_t *msrc, const uint8_t *asrc, in premultiply8yuv() argument
123 dst[x] = ((((msrc[x] - 128) * (((asrc[x] >> 1) & 1) + asrc[x]))) >> 8) + 128; in premultiply8yuv()
128 asrc += alinesize; in premultiply8yuv()
132 static void premultiply8offset(const uint8_t *msrc, const uint8_t *asrc, in premultiply8offset() argument
143 … dst[x] = ((((msrc[x] - offset) * (((asrc[x] >> 1) & 1) + asrc[x])) + 128) >> 8) + offset; in premultiply8offset()
148 asrc += alinesize; in premultiply8offset()
[all …]
Dvf_hysteresis.c164 static void hysteresis8(HysteresisContext *s, const uint8_t *bsrc, const uint8_t *asrc, in hysteresis8() argument
175 … if ((bsrc[x + y * blinesize] > t) && (asrc[x + y * alinesize] > t) && !passed(s, x, y, w)) { in hysteresis8()
178 dst[x + y * dlinesize] = asrc[x + y * alinesize]; in hysteresis8()
194 if ((asrc[xx + yy * alinesize] > t) && !passed(s, xx, yy, w)) { in hysteresis8()
195 dst[xx + yy * dlinesize] = asrc[xx + yy * alinesize]; in hysteresis8()
213 const uint16_t *asrc = (const uint16_t *)aasrc; in hysteresis16() local
224 … if ((bsrc[x + y * blinesize] > t) && (asrc[x + y * alinesize] > t) && !passed(s, x, y, w)) { in hysteresis16()
227 dst[x + y * dlinesize] = asrc[x + y * alinesize]; in hysteresis16()
243 if ((asrc[xx + yy * alinesize] > t) && !passed(s, xx, yy, w)) { in hysteresis16()
244 dst[xx + yy * dlinesize] = asrc[xx + yy * alinesize]; in hysteresis16()
Daf_acrossover.c426 const type *asrc = (const type *)frames[band]->extended_data[ch]; \ in BIQUAD_PROCESS()
431 biquad_process_## name(apc, ap, dst, asrc, nb_samples); \ in BIQUAD_PROCESS()
435 const type *asrc = (const type *)frames[band]->extended_data[ch]; \ in BIQUAD_PROCESS()
440 biquad_process_## name(apc, ap, dst, asrc, nb_samples); \ in BIQUAD_PROCESS()
Ddrawutils.c307 unsigned asrc = alpha * src; in blend_line() local
317 *dst = (*dst * tau + asrc) >> 24; in blend_line()
329 unsigned asrc = alpha * src; in blend_line16() local
341 AV_WL16(dst, (value * tau + asrc) >> 16); in blend_line16()
/third_party/gstreamer/gstplugins_good/sys/oss4/
Doss4-source.c89 static gboolean gst_oss4_source_open (GstAudioSrc * asrc,
91 static gboolean gst_oss4_source_open_func (GstAudioSrc * asrc);
92 static gboolean gst_oss4_source_close (GstAudioSrc * asrc);
93 static gboolean gst_oss4_source_prepare (GstAudioSrc * asrc,
95 static gboolean gst_oss4_source_unprepare (GstAudioSrc * asrc);
96 static guint gst_oss4_source_read (GstAudioSrc * asrc, gpointer data,
98 static guint gst_oss4_source_delay (GstAudioSrc * asrc);
99 static void gst_oss4_source_reset (GstAudioSrc * asrc);
290 gst_oss4_source_open (GstAudioSrc * asrc, gboolean silent_errors) in gst_oss4_source_open() argument
296 oss = GST_OSS4_SOURCE (asrc); in gst_oss4_source_open()
[all …]
/third_party/elfutils/libelf/
Dversion_xlate.h67 GElf_Verdaux *asrc; in elf_cvt_Verdef() local
113 asrc = (GElf_Verdaux *) ((char *) src + aux_offset); in elf_cvt_Verdef()
117 if (asrc->vda_next > len - aux_offset) in elf_cvt_Verdef()
119 aux_offset += asrc->vda_next; in elf_cvt_Verdef()
122 adest->vda_name = bswap_32 (asrc->vda_name); in elf_cvt_Verdef()
123 adest->vda_next = bswap_32 (asrc->vda_next); in elf_cvt_Verdef()
132 while (asrc->vda_next != 0); in elf_cvt_Verdef()
190 GElf_Vernaux *asrc; in elf_cvt_Verneed() local
234 asrc = (GElf_Vernaux *) ((char *) src + aux_offset); in elf_cvt_Verneed()
238 if (asrc->vna_next > len - aux_offset) in elf_cvt_Verneed()
[all …]
/third_party/gstreamer/gstplugins_base/ext/alsa/
Dgstalsasrc.c86 static gboolean gst_alsasrc_open (GstAudioSrc * asrc);
87 static gboolean gst_alsasrc_prepare (GstAudioSrc * asrc,
89 static gboolean gst_alsasrc_unprepare (GstAudioSrc * asrc);
90 static gboolean gst_alsasrc_close (GstAudioSrc * asrc);
92 (GstAudioSrc * asrc, gpointer data, guint length, GstClockTime * timestamp);
93 static guint gst_alsasrc_delay (GstAudioSrc * asrc);
94 static void gst_alsasrc_reset (GstAudioSrc * asrc);
769 gst_alsasrc_open (GstAudioSrc * asrc) in gst_alsasrc_open() argument
774 alsa = GST_ALSA_SRC (asrc); in gst_alsasrc_open()
800 gst_alsasrc_prepare (GstAudioSrc * asrc, GstAudioRingBufferSpec * spec) in gst_alsasrc_prepare() argument
[all …]
/third_party/gstreamer/gstplugins_good/sys/oss/
Dgstosssrc.c96 static gboolean gst_oss_src_open (GstAudioSrc * asrc);
97 static gboolean gst_oss_src_close (GstAudioSrc * asrc);
98 static gboolean gst_oss_src_prepare (GstAudioSrc * asrc,
100 static gboolean gst_oss_src_unprepare (GstAudioSrc * asrc);
101 static guint gst_oss_src_read (GstAudioSrc * asrc, gpointer data, guint length,
103 static guint gst_oss_src_delay (GstAudioSrc * asrc);
104 static void gst_oss_src_reset (GstAudioSrc * asrc);
351 gst_oss_src_open (GstAudioSrc * asrc) in gst_oss_src_open() argument
356 oss = GST_OSS_SRC (asrc); in gst_oss_src_open()
395 gst_oss_src_close (GstAudioSrc * asrc) in gst_oss_src_close() argument
[all …]
/third_party/gstreamer/gstplugins_bad/sys/directsound/
Dgstdirectsoundsrc.c104 static gboolean gst_directsound_src_open (GstAudioSrc * asrc);
105 static gboolean gst_directsound_src_close (GstAudioSrc * asrc);
106 static gboolean gst_directsound_src_prepare (GstAudioSrc * asrc,
108 static gboolean gst_directsound_src_unprepare (GstAudioSrc * asrc);
109 static void gst_directsound_src_reset (GstAudioSrc * asrc);
113 static guint gst_directsound_src_read (GstAudioSrc * asrc,
118 static guint gst_directsound_src_delay (GstAudioSrc * asrc);
398 gst_directsound_src_open (GstAudioSrc * asrc) in gst_directsound_src_open() argument
403 GST_DEBUG_OBJECT (asrc, "opening directsoundsrc"); in gst_directsound_src_open()
405 dsoundsrc = GST_DIRECTSOUND_SRC (asrc); in gst_directsound_src_open()
[all …]
/third_party/gstreamer/gstplugins_base/tests/check/pipelines/
Dbasetime.c68 GstElement *asrc, *asink; in GST_START_TEST() local
79 asrc = gst_element_factory_make ("audiotestsrc", NULL); in GST_START_TEST()
80 if (asrc == NULL) { in GST_START_TEST()
89 gst_bin_add_many (GST_BIN (bin), asrc, asink, NULL); in GST_START_TEST()
90 gst_element_link (asrc, asink); in GST_START_TEST()
112 gst_element_post_message (asrc, in GST_START_TEST()
113 gst_message_new_clock_provide (GST_OBJECT (asrc), NULL, TRUE)); in GST_START_TEST()
/third_party/gstreamer/gstplugins_bad/sys/dshowsrcwrapper/
Dgstdshowaudiosrc.cpp67 static gboolean gst_dshowaudiosrc_open (GstAudioSrc * asrc);
68 static gboolean gst_dshowaudiosrc_prepare (GstAudioSrc * asrc,
70 static gboolean gst_dshowaudiosrc_unprepare (GstAudioSrc * asrc);
71 static gboolean gst_dshowaudiosrc_close (GstAudioSrc * asrc);
72 static guint gst_dshowaudiosrc_read (GstAudioSrc * asrc, gpointer data,
74 static guint gst_dshowaudiosrc_delay (GstAudioSrc * asrc);
75 static void gst_dshowaudiosrc_reset (GstAudioSrc * asrc);
421 gst_dshowaudiosrc_open (GstAudioSrc * asrc) in gst_dshowaudiosrc_open() argument
424 GstDshowAudioSrc *src = GST_DSHOWAUDIOSRC (asrc); in gst_dshowaudiosrc_open()
483 gst_dshowaudiosrc_prepare (GstAudioSrc * asrc, GstAudioRingBufferSpec * spec) in gst_dshowaudiosrc_prepare() argument
[all …]
/third_party/gstreamer/gstplugins_bad/sys/wasapi/
Dgstwasapisrc.c84 static gboolean gst_wasapi_src_open (GstAudioSrc * asrc);
85 static gboolean gst_wasapi_src_close (GstAudioSrc * asrc);
86 static gboolean gst_wasapi_src_prepare (GstAudioSrc * asrc,
88 static gboolean gst_wasapi_src_unprepare (GstAudioSrc * asrc);
89 static guint gst_wasapi_src_read (GstAudioSrc * asrc, gpointer data,
91 static guint gst_wasapi_src_delay (GstAudioSrc * asrc);
92 static void gst_wasapi_src_reset (GstAudioSrc * asrc);
414 gst_wasapi_src_open (GstAudioSrc * asrc) in gst_wasapi_src_open() argument
416 GstWasapiSrc *self = GST_WASAPI_SRC (asrc); in gst_wasapi_src_open()
476 gst_wasapi_src_close (GstAudioSrc * asrc) in gst_wasapi_src_close() argument
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dvideo-blend.c414 guint asrc, adst; \ in gst_video_blend()
418 asrc = ((guint) tmpsrcline[j]) * alpha_val / max; \ in gst_video_blend()
419 asrc = asrc << shift; \ in gst_video_blend()
420 if (asrc == 0) \ in gst_video_blend()
424 final_alpha = asrc + adst * (max - asrc) / max; \ in gst_video_blend()
429 … BLENDC (op, max, alpha_val, asrc, tmpsrcline[j + 1] << shift, adst, dest[j + 1], final_alpha); \ in gst_video_blend()
430 … BLENDC (op, max, alpha_val, asrc, tmpsrcline[j + 2] << shift, adst, dest[j + 2], final_alpha); \ in gst_video_blend()
431 … BLENDC (op, max, alpha_val, asrc, tmpsrcline[j + 3] << shift, adst, dest[j + 3], final_alpha); \ in gst_video_blend()
/third_party/gstreamer/gstplugins_good/ext/pulse/
Dpulsesrc.c93 static gboolean gst_pulsesrc_open (GstAudioSrc * asrc);
95 static gboolean gst_pulsesrc_close (GstAudioSrc * asrc);
97 static gboolean gst_pulsesrc_prepare (GstAudioSrc * asrc,
100 static gboolean gst_pulsesrc_unprepare (GstAudioSrc * asrc);
102 static guint gst_pulsesrc_read (GstAudioSrc * asrc, gpointer data,
104 static guint gst_pulsesrc_delay (GstAudioSrc * asrc);
988 gst_pulsesrc_open (GstAudioSrc * asrc) in gst_pulsesrc_open() argument
990 GstPulseSrc *pulsesrc = GST_PULSESRC_CAST (asrc); in gst_pulsesrc_open()
1056 gst_pulsesrc_close (GstAudioSrc * asrc) in gst_pulsesrc_close() argument
1058 GstPulseSrc *pulsesrc = GST_PULSESRC_CAST (asrc); in gst_pulsesrc_close()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/wasapi2/
Dgstwasapi2src.c279 GstAudioBaseSrc *asrc = GST_AUDIO_BASE_SRC_CAST (element); in gst_wasapi2_src_change_state() local
285 if (asrc->ringbuffer) { in gst_wasapi2_src_change_state()
287 GST_WASAPI2_RING_BUFFER (asrc->ringbuffer); in gst_wasapi2_src_change_state()
311 GstAudioBaseSrc *asrc = GST_AUDIO_BASE_SRC_CAST (bsrc); in gst_wasapi2_src_get_caps() local
315 if (asrc->ringbuffer) { in gst_wasapi2_src_get_caps()
317 GST_WASAPI2_RING_BUFFER (asrc->ringbuffer); in gst_wasapi2_src_get_caps()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.h202 struct amdgpu_fence *asrc = (struct amdgpu_fence *)src; in amdgpu_fence_reference() local
204 if (pipe_reference(&(*adst)->reference, &asrc->reference)) { in amdgpu_fence_reference()
215 *adst = asrc; in amdgpu_fence_reference()
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Davwait.c210 GstPad *asink, *vsink, *asrc, *vsrc, *aoutput_sink, *voutput_sink; in test_avwait_generic() local
237 asrc = gst_element_get_static_pad (avwait, "asrc"); in test_avwait_generic()
240 fail_unless (gst_pad_link (asrc, aoutput_sink) == GST_PAD_LINK_OK); in test_avwait_generic()
275 gst_pad_unlink (asrc, aoutput_sink); in test_avwait_generic()
276 gst_object_unref (asrc); in test_avwait_generic()
Dvideoframe-audiolevel.c343 GstPad *asink, *vsink, *asrc, *vsrc, *aoutput_sink, *voutput_sink; in test_videoframe_audiolevel_generic() local
369 asrc = gst_element_get_static_pad (alevel, "asrc"); in test_videoframe_audiolevel_generic()
372 fail_unless (gst_pad_link (asrc, aoutput_sink) == GST_PAD_LINK_OK); in test_videoframe_audiolevel_generic()
425 gst_pad_unlink (asrc, aoutput_sink); in test_videoframe_audiolevel_generic()
426 gst_object_unref (asrc); in test_videoframe_audiolevel_generic()
/third_party/gstreamer/gstplugins_bad/sys/asio/
Dgstasiosrc.cpp215 GstAudioBaseSrc *asrc = GST_AUDIO_BASE_SRC (src); in gst_asio_src_get_caps() local
219 if (asrc->ringbuffer) in gst_asio_src_get_caps()
221 gst_asio_ring_buffer_get_caps (GST_ASIO_RING_BUFFER (asrc->ringbuffer)); in gst_asio_src_get_caps()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir.c491 nir_alu_src *asrc = &alu->src[i]; in emit_alu() local
494 src = src_swizzle(get_src(c, &asrc->src), ALU_SWIZ(asrc)); in emit_alu()
498 src.neg = asrc->negate || (alu->op == nir_op_fneg); in emit_alu()
499 src.abs = asrc->abs || (alu->op == nir_op_fabs); in emit_alu()
501 assert(!asrc->negate && alu->op != nir_op_fneg); in emit_alu()
502 assert(!asrc->abs && alu->op != nir_op_fabs); in emit_alu()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_compiler_nir.c391 nir_alu_src *asrc = &alu->src[i]; in emit_alu() local
393 compile_assert(ctx, !asrc->abs); in emit_alu()
394 compile_assert(ctx, !asrc->negate); in emit_alu()
396 src[i] = ir3_get_src(ctx, &asrc->src)[asrc->swizzle[0]]; in emit_alu()
410 nir_alu_src *asrc = &alu->src[0]; in emit_alu() local
411 struct ir3_instruction *const *src0 = ir3_get_src(ctx, &asrc->src); in emit_alu()
415 dst[i] = ir3_MOV(b, src0[asrc->swizzle[i]], dst_type); in emit_alu()
428 nir_alu_src *asrc = &alu->src[i]; in emit_alu() local
430 compile_assert(ctx, !asrc->abs); in emit_alu()
431 compile_assert(ctx, !asrc->negate); in emit_alu()
[all …]
/third_party/ffmpeg/libswscale/
Dyuv2rgb.c103 #define PUTRGBA(dst, ysrc, asrc, i, s) \ argument
105 dst[2 * i] = r[Y] + g[Y] + b[Y] + (asrc[2 * i] << s); \
107 dst[2 * i + 1] = r[Y] + g[Y] + b[Y] + (asrc[2 * i + 1] << s);
/third_party/openGLES/extensions/NV/
DNV_blend_equation_advanced.txt1241 (1 - asrc) * c'dst + asrc * (1 - c'dst)
1254 is the standard "asrc+adst*(1-asrc)", equivalent to X=Y=Z=1 in our
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_blend_equation_advanced.txt1241 (1 - asrc) * c'dst + asrc * (1 - c'dst)
1254 is the standard "asrc+adst*(1-asrc)", equivalent to X=Y=Z=1 in our
/third_party/mesa3d/docs/relnotes/
D19.0.0.rst1806 - winsys/amdgpu: rename rfence, rsrc, rdst -> afence, asrc, adst

12