Home
last modified time | relevance | path

Searched refs:asrc (Results 1 - 9 of 9) sorted by relevance

/third_party/ffmpeg/libavfilter/
H A Dvf_premultiply.c48 void (*premultiply[4])(const uint8_t *msrc, const uint8_t *asrc,
93 static void premultiply8(const uint8_t *msrc, const uint8_t *asrc, in premultiply8() argument
104 dst[x] = ((msrc[x] * (((asrc[x] >> 1) & 1) + asrc[x])) + 128) >> 8; in premultiply8()
109 asrc += alinesize; in premultiply8()
113 static void premultiply8yuv(const uint8_t *msrc, const uint8_t *asrc, in premultiply8yuv() argument
124 dst[x] = ((((msrc[x] - 128) * (((asrc[x] >> 1) & 1) + asrc[x]))) >> 8) + 128; in premultiply8yuv()
129 asrc += alinesize; in premultiply8yuv()
133 static void premultiply8offset(const uint8_t *msrc, const uint8_t *asrc, in premultiply8offset() argument
161 const uint16_t *asrc = (const uint16_t *)aasrc; premultiply16() local
184 const uint16_t *asrc = (const uint16_t *)aasrc; premultiply16yuv() local
207 const uint16_t *asrc = (const uint16_t *)aasrc; premultiply16offset() local
230 const float *asrc = (const float *)aasrc; premultiplyf32() local
253 const float *asrc = (const float *)aasrc; premultiplyf32offset() local
270 unpremultiply8(const uint8_t *msrc, const uint8_t *asrc, uint8_t *dst, ptrdiff_t mlinesize, ptrdiff_t alinesize, ptrdiff_t dlinesize, int w, int h, int half, int max, int offset) unpremultiply8() argument
293 unpremultiply8yuv(const uint8_t *msrc, const uint8_t *asrc, uint8_t *dst, ptrdiff_t mlinesize, ptrdiff_t alinesize, ptrdiff_t dlinesize, int w, int h, int half, int max, int offset) unpremultiply8yuv() argument
316 unpremultiply8offset(const uint8_t *msrc, const uint8_t *asrc, uint8_t *dst, ptrdiff_t mlinesize, ptrdiff_t alinesize, ptrdiff_t dlinesize, int w, int h, int half, int max, int offset) unpremultiply8offset() argument
347 const uint16_t *asrc = (const uint16_t *)aasrc; unpremultiply16() local
373 const uint16_t *asrc = (const uint16_t *)aasrc; unpremultiply16yuv() local
399 const uint16_t *asrc = (const uint16_t *)aasrc; unpremultiply16offset() local
425 const float *asrc = (const float *)aasrc; unpremultiplyf32() local
452 const float *asrc = (const float *)aasrc; unpremultiplyf32offset() local
[all...]
H A Dvf_hysteresis.c159 static void hysteresis8(HysteresisContext *s, const uint8_t *bsrc, const uint8_t *asrc, in hysteresis8() argument
170 if ((bsrc[x + y * blinesize] > t) && (asrc[x + y * alinesize] > t) && !passed(s, x, y, w)) { in hysteresis8()
173 dst[x + y * dlinesize] = asrc[x + y * alinesize]; in hysteresis8()
189 if ((asrc[xx + yy * alinesize] > t) && !passed(s, xx, yy, w)) { in hysteresis8()
190 dst[xx + yy * dlinesize] = asrc[xx + yy * alinesize]; in hysteresis8()
208 const uint16_t *asrc = (const uint16_t *)aasrc; in hysteresis16() local
219 if ((bsrc[x + y * blinesize] > t) && (asrc[x + y * alinesize] > t) && !passed(s, x, y, w)) { in hysteresis16()
222 dst[x + y * dlinesize] = asrc[x + y * alinesize]; in hysteresis16()
238 if ((asrc[xx + yy * alinesize] > t) && !passed(s, xx, yy, w)) { in hysteresis16()
239 dst[xx + yy * dlinesize] = asrc[x in hysteresis16()
[all...]
H A Daf_acrossover.c436 const type *asrc = (const type *)frames[band]->extended_data[ch]; \
441 biquad_process_## name(apc, ap, dst, asrc, nb_samples); \
445 const type *asrc = (const type *)frames[band]->extended_data[ch]; \
450 biquad_process_## name(apc, ap, dst, asrc, nb_samples); \
H A Ddrawutils.c312 unsigned asrc = alpha * src; in blend_line() local
322 *dst = (*dst * tau + asrc) >> 24; in blend_line()
334 unsigned asrc = alpha * src; in blend_line16() local
346 AV_WL16(dst, (value * tau + asrc) >> 16); in blend_line16()
/third_party/elfutils/libelf/
H A 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 in elf_cvt_Verneed()
[all...]
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
H A 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/mesa3d/src/gallium/drivers/etnaviv/
H A 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/
H A 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 in emit_alu()
[all...]
/third_party/ffmpeg/libswscale/
H A Dyuv2rgb.c102 #define PUTRGBA(dst, ysrc, asrc, i, s) \
104 dst[2 * i] = r[Y] + g[Y] + b[Y] + ((uint32_t)asrc[2 * i] << s); \
106 dst[2 * i + 1] = r[Y] + g[Y] + b[Y] + ((uint32_t)asrc[2 * i + 1] << s);

Completed in 11 milliseconds