/kernel/linux/linux-6.6/arch/x86/crypto/ |
H A D | aria_gfni_avx512_glue.c | 20 const u8 *src); 22 const u8 *src); 24 const u8 *src, 87 const u8 *src = walk.src.virt.addr; in aria_avx512_ctr_encrypt() local 92 aria_ops.aria_ctr_crypt_64way(ctx, dst, src, in aria_avx512_ctr_encrypt() 97 src += ARIA_GFNI_AVX512_PARALLEL_BLOCK_SIZE; in aria_avx512_ctr_encrypt() 103 aria_ops.aria_ctr_crypt_32way(ctx, dst, src, in aria_avx512_ctr_encrypt() 108 src += ARIA_AESNI_AVX2_PARALLEL_BLOCK_SIZE; in aria_avx512_ctr_encrypt() 114 aria_ops.aria_ctr_crypt_16way(ctx, dst, src, in aria_avx512_ctr_encrypt() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | ci_smc.c | 49 const u8 *src, u32 byte_count, u32 limit) in ci_copy_bytes_to_smc() 67 data = (src[0] << 24) | (src[1] << 16) | (src[2] << 8) | src[3]; in ci_copy_bytes_to_smc() 75 src += 4; in ci_copy_bytes_to_smc() 93 data = (data << 8) + *src++; in ci_copy_bytes_to_smc() 191 const u8 *src; in ci_load_smc_ucode() local 205 src = (const u8 *) in ci_load_smc_ucode() 222 src in ci_load_smc_ucode() 47 ci_copy_bytes_to_smc(struct radeon_device *rdev, u32 smc_start_address, const u8 *src, u32 byte_count, u32 limit) ci_copy_bytes_to_smc() argument [all...] |
H A D | si_smc.c | 49 const u8 *src, u32 byte_count, u32 limit) in si_copy_bytes_to_smc() 65 data = (src[0] << 24) | (src[1] << 16) | (src[2] << 8) | src[3]; in si_copy_bytes_to_smc() 73 src += 4; in si_copy_bytes_to_smc() 92 data = (data << 8) + *src++; in si_copy_bytes_to_smc() 216 const u8 *src; in si_load_smc_ucode() local 230 src = (const u8 *) in si_load_smc_ucode() 258 src in si_load_smc_ucode() 47 si_copy_bytes_to_smc(struct radeon_device *rdev, u32 smc_start_address, const u8 *src, u32 byte_count, u32 limit) si_copy_bytes_to_smc() argument [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | transform.c | 33 static uint8_t name(float x, float y, const uint8_t *src, \ 46 return PIXEL(src, (int)(x + 0.5), (int)(y + 0.5), width, height, stride, def); in INTERPOLATE_METHOD() 66 v1 = PIXEL(src, x_c, y_c, width, height, stride, def); in INTERPOLATE_METHOD() 67 v2 = PIXEL(src, x_c, y_f, width, height, stride, def); in INTERPOLATE_METHOD() 68 v3 = PIXEL(src, x_f, y_c, width, height, stride, def); in INTERPOLATE_METHOD() 69 v4 = PIXEL(src, x_f, y_f, width, height, stride, def); in INTERPOLATE_METHOD() 93 v1 = PIXEL(src, x_c, y_c, width, height, stride, def); in INTERPOLATE_METHOD() 94 v2 = PIXEL(src, x_c, y_f, width, height, stride, def); in INTERPOLATE_METHOD() 95 v3 = PIXEL(src, x_f, y_c, width, height, stride, def); in INTERPOLATE_METHOD() 96 v4 = PIXEL(src, x_ in INTERPOLATE_METHOD() 125 ff_affine_transform(const uint8_t *src, uint8_t *dst, int src_stride, int dst_stride, int width, int height, const float *matrix, enum InterpolateMethod interpolate, enum FillMethod fill) ff_affine_transform() argument [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | md5.c | 101 static void body(uint32_t ABCD[4], const uint8_t *src, size_t nblocks) in body() argument 112 X = (const uint32_t *)src + n * 16; in body() 151 void av_md5_update(AVMD5 *ctx, const uint8_t *src, size_t len) in av_md5_update() argument 161 memcpy(ctx->block + j, src, cnt); in av_md5_update() 162 src += cnt; in av_md5_update() 169 end = src + (len & ~63); in av_md5_update() 170 if (!HAVE_FAST_UNALIGNED && ((intptr_t)src & 3)) { in av_md5_update() 171 while (src < end) { in av_md5_update() 172 memcpy(ctx->block, src, 64); in av_md5_update() 174 src in av_md5_update() 201 av_md5_sum(uint8_t *dst, const uint8_t *src, size_t len) av_md5_sum() argument [all...] |
/third_party/mesa3d/src/asahi/compiler/ |
H A D | agx_lower_parallel_copy.c | 48 agx_register(copy->src, copy->size)); in do_copy() 54 if (copy->dest == copy->src) in do_swap() 58 agx_index y = agx_register(copy->src, copy->size); in do_swap() 109 new_entry->src = entry->src + 1; in split_32bit_copy() 138 ctx->physreg_use_count[entry->src + j]++; in agx_emit_parallel_copies() 155 * TODO: We should note that src is also available in dest to unblock in agx_emit_parallel_copies() 156 * cycles that src is involved in. in agx_emit_parallel_copies() 167 ctx->physreg_use_count[entry->src + j]--; in agx_emit_parallel_copies() 244 if (entry->dest == entry->src) { in agx_emit_parallel_copies() [all...] |
/third_party/node/deps/v8/src/wasm/baseline/ppc/ |
H A D | liftoff-assembler-ppc.h | 8 #include "src/base/platform/wrappers.h" 9 #include "src/codegen/assembler.h" 10 #include "src/heap/memory-chunk.h" 11 #include "src/wasm/baseline/liftoff-assembler.h" 12 #include "src/wasm/simd-shuffle.h" 13 #include "src/wasm/wasm-objects.h" 318 LiftoffRegister src, in StoreTaggedPointer() 322 StoreTaggedField(src.gp(), dst_op, r0); in StoreTaggedPointer() 332 JumpIfSmi(src.gp(), &exit); in StoreTaggedPointer() 334 DecompressTaggedPointer(src in StoreTaggedPointer() 315 StoreTaggedPointer(Register dst_addr, Register offset_reg, int32_t offset_imm, LiftoffRegister src, LiftoffRegList pinned, SkipWriteBarrier skip_write_barrier) StoreTaggedPointer() argument 447 Store(Register dst_addr, Register offset_reg, uintptr_t offset_imm, LiftoffRegister src, StoreType type, LiftoffRegList pinned, uint32_t* protected_store_pc, bool is_store_mem) Store() argument 514 AtomicStore(Register dst_addr, Register offset_reg, uintptr_t offset_imm, LiftoffRegister src, StoreType type, LiftoffRegList pinned) AtomicStore() argument 835 StoreCallerFrameSlot(LiftoffRegister src, uint32_t caller_slot_idx, ValueKind kind) StoreCallerFrameSlot() argument 941 Move(Register dst, Register src, ValueKind kind) Move() argument 945 Move(DoubleRegister dst, DoubleRegister src, ValueKind kind) Move() argument 986 Register src = no_reg; Spill() local 1248 emit_f32_nearest_int(DoubleRegister dst, DoubleRegister src) emit_f32_nearest_int() argument 1253 emit_f64_nearest_int(DoubleRegister dst, DoubleRegister src) emit_f64_nearest_int() argument 1401 emit_type_conversion(WasmOpcode opcode, LiftoffRegister dst, LiftoffRegister src, Label* trap) emit_type_conversion() argument 1659 emit_i32_eqz(Register dst, Register src) emit_i32_eqz() argument 1684 emit_i64_eqz(Register dst, LiftoffRegister src) emit_i64_eqz() argument 1756 LoadLane(LiftoffRegister dst, LiftoffRegister src, Register addr, Register offset_reg, uintptr_t offset_imm, LoadType type, uint8_t laneidx, uint32_t* protected_load_pc) LoadLane() argument 1763 StoreLane(Register dst, Register offset, uintptr_t offset_imm, LiftoffRegister src, StoreType type, uint8_t lane, uint32_t* protected_store_pc) StoreLane() argument 1776 emit_f64x2_splat(LiftoffRegister dst, LiftoffRegister src) emit_f64x2_splat() argument 1794 emit_f64x2_abs(LiftoffRegister dst, LiftoffRegister src) emit_f64x2_abs() argument 1799 emit_f64x2_neg(LiftoffRegister dst, LiftoffRegister src) emit_f64x2_neg() argument 1804 emit_f64x2_sqrt(LiftoffRegister dst, LiftoffRegister src) emit_f64x2_sqrt() argument 1809 emit_f64x2_ceil(LiftoffRegister dst, LiftoffRegister src) emit_f64x2_ceil() argument 1815 emit_f64x2_floor(LiftoffRegister dst, LiftoffRegister src) emit_f64x2_floor() argument 1821 emit_f64x2_trunc(LiftoffRegister dst, LiftoffRegister src) emit_f64x2_trunc() argument 1827 emit_f64x2_nearest_int(LiftoffRegister dst, LiftoffRegister src) emit_f64x2_nearest_int() argument 1873 emit_f64x2_convert_low_i32x4_s(LiftoffRegister dst, LiftoffRegister src) emit_f64x2_convert_low_i32x4_s() argument 1878 emit_f64x2_convert_low_i32x4_u(LiftoffRegister dst, LiftoffRegister src) emit_f64x2_convert_low_i32x4_u() argument 1883 emit_f64x2_promote_low_f32x4(LiftoffRegister dst, LiftoffRegister src) emit_f64x2_promote_low_f32x4() argument 1888 emit_f32x4_splat(LiftoffRegister dst, LiftoffRegister src) emit_f32x4_splat() argument 1906 emit_f32x4_abs(LiftoffRegister dst, LiftoffRegister src) emit_f32x4_abs() argument 1911 emit_f32x4_neg(LiftoffRegister dst, LiftoffRegister src) emit_f32x4_neg() argument 1916 emit_f32x4_sqrt(LiftoffRegister dst, LiftoffRegister src) emit_f32x4_sqrt() argument 1921 emit_f32x4_ceil(LiftoffRegister dst, LiftoffRegister src) emit_f32x4_ceil() argument 1927 emit_f32x4_floor(LiftoffRegister dst, LiftoffRegister src) emit_f32x4_floor() argument 1933 emit_f32x4_trunc(LiftoffRegister dst, LiftoffRegister src) emit_f32x4_trunc() argument 1939 emit_f32x4_nearest_int(LiftoffRegister dst, LiftoffRegister src) emit_f32x4_nearest_int() argument 1985 emit_i64x2_splat(LiftoffRegister dst, LiftoffRegister src) emit_i64x2_splat() argument 2003 emit_i64x2_neg(LiftoffRegister dst, LiftoffRegister src) emit_i64x2_neg() argument 2008 emit_i64x2_alltrue(LiftoffRegister dst, LiftoffRegister src) emit_i64x2_alltrue() argument 2078 emit_i64x2_bitmask(LiftoffRegister dst, LiftoffRegister src) emit_i64x2_bitmask() argument 2083 emit_i64x2_sconvert_i32x4_low(LiftoffRegister dst, LiftoffRegister src) emit_i64x2_sconvert_i32x4_low() argument 2088 emit_i64x2_sconvert_i32x4_high(LiftoffRegister dst, LiftoffRegister src) emit_i64x2_sconvert_i32x4_high() argument 2093 emit_i64x2_uconvert_i32x4_low(LiftoffRegister dst, LiftoffRegister src) emit_i64x2_uconvert_i32x4_low() argument 2098 emit_i64x2_uconvert_i32x4_high(LiftoffRegister dst, LiftoffRegister src) emit_i64x2_uconvert_i32x4_high() argument 2109 emit_i32x4_splat(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_splat() argument 2127 emit_i32x4_neg(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_neg() argument 2132 emit_i32x4_alltrue(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_alltrue() argument 2137 emit_i32x4_bitmask(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_bitmask() argument 2219 emit_i32x4_extadd_pairwise_i16x8_s(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_extadd_pairwise_i16x8_s() argument 2224 emit_i32x4_extadd_pairwise_i16x8_u(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_extadd_pairwise_i16x8_u() argument 2253 emit_i16x8_splat(LiftoffRegister dst, LiftoffRegister src) emit_i16x8_splat() argument 2258 emit_i16x8_neg(LiftoffRegister dst, LiftoffRegister src) emit_i16x8_neg() argument 2263 emit_i16x8_alltrue(LiftoffRegister dst, LiftoffRegister src) emit_i16x8_alltrue() argument 2268 emit_i16x8_bitmask(LiftoffRegister dst, LiftoffRegister src) emit_i16x8_bitmask() argument 2381 emit_i16x8_extadd_pairwise_i8x16_s(LiftoffRegister dst, LiftoffRegister src) emit_i16x8_extadd_pairwise_i8x16_s() argument 2386 emit_i16x8_extadd_pairwise_i8x16_u(LiftoffRegister dst, LiftoffRegister src) emit_i16x8_extadd_pairwise_i8x16_u() argument 2435 emit_i8x16_popcnt(LiftoffRegister dst, LiftoffRegister src) emit_i8x16_popcnt() argument 2440 emit_i8x16_splat(LiftoffRegister dst, LiftoffRegister src) emit_i8x16_splat() argument 2458 emit_i8x16_neg(LiftoffRegister dst, LiftoffRegister src) emit_i8x16_neg() argument 2463 emit_v128_anytrue(LiftoffRegister dst, LiftoffRegister src) emit_v128_anytrue() argument 2468 emit_i8x16_alltrue(LiftoffRegister dst, LiftoffRegister src) emit_i8x16_alltrue() argument 2473 emit_i8x16_bitmask(LiftoffRegister dst, LiftoffRegister src) emit_i8x16_bitmask() argument 2706 emit_s128_not(LiftoffRegister dst, LiftoffRegister src) emit_s128_not() argument 2732 emit_i32x4_sconvert_f32x4(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_sconvert_f32x4() argument 2737 emit_i32x4_uconvert_f32x4(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_uconvert_f32x4() argument 2742 emit_f32x4_sconvert_i32x4(LiftoffRegister dst, LiftoffRegister src) emit_f32x4_sconvert_i32x4() argument 2747 emit_f32x4_uconvert_i32x4(LiftoffRegister dst, LiftoffRegister src) emit_f32x4_uconvert_i32x4() argument 2752 emit_f32x4_demote_f64x2_zero(LiftoffRegister dst, LiftoffRegister src) emit_f32x4_demote_f64x2_zero() argument 2781 emit_i16x8_sconvert_i8x16_low(LiftoffRegister dst, LiftoffRegister src) emit_i16x8_sconvert_i8x16_low() argument 2786 emit_i16x8_sconvert_i8x16_high(LiftoffRegister dst, LiftoffRegister src) emit_i16x8_sconvert_i8x16_high() argument 2791 emit_i16x8_uconvert_i8x16_low(LiftoffRegister dst, LiftoffRegister src) emit_i16x8_uconvert_i8x16_low() argument 2796 emit_i16x8_uconvert_i8x16_high(LiftoffRegister dst, LiftoffRegister src) emit_i16x8_uconvert_i8x16_high() argument 2801 emit_i32x4_sconvert_i16x8_low(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_sconvert_i16x8_low() argument 2806 emit_i32x4_sconvert_i16x8_high(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_sconvert_i16x8_high() argument 2811 emit_i32x4_uconvert_i16x8_low(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_uconvert_i16x8_low() argument 2816 emit_i32x4_uconvert_i16x8_high(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_uconvert_i16x8_high() argument 2821 emit_i32x4_trunc_sat_f64x2_s_zero(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_trunc_sat_f64x2_s_zero() argument 2826 emit_i32x4_trunc_sat_f64x2_u_zero(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_trunc_sat_f64x2_u_zero() argument 2849 emit_i8x16_abs(LiftoffRegister dst, LiftoffRegister src) emit_i8x16_abs() argument 2854 emit_i16x8_abs(LiftoffRegister dst, LiftoffRegister src) emit_i16x8_abs() argument 2859 emit_i32x4_abs(LiftoffRegister dst, LiftoffRegister src) emit_i32x4_abs() argument 2864 emit_i64x2_abs(LiftoffRegister dst, LiftoffRegister src) emit_i64x2_abs() argument 3061 emit_set_if_nan(Register dst, DoubleRegister src, ValueKind kind) emit_set_if_nan() argument 3066 emit_s128_set_if_nan(Register dst, LiftoffRegister src, Register tmp_gp, LiftoffRegister tmp_s128, ValueKind lane_kind) emit_s128_set_if_nan() argument 3082 const LiftoffAssembler::VarState& src = slot.src_; Construct() local [all...] |
/third_party/skia/src/core/ |
H A D | SkMaskBlurFilter.cpp | 8 #include "src/core/SkMaskBlurFilter.h" 16 #include "src/core/SkArenaAlloc.h" 17 #include "src/core/SkGaussFilter.h" 123 for (AlphaIter src = srcBegin; src < srcEnd; ++src, dst += dstStride) { in blur() 124 uint32_t leadingEdge = *src; in blur() 174 AlphaIter src = srcEnd; in blur() 177 uint32_t leadingEdge = *(--src); in blur() 553 const uint8_t* src, in [all...] |
/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/src/ |
H A D | ability_info_utils.cpp | 21 void AbilityInfoUtils::CopyAbilityInfo(AbilityInfo *des, AbilityInfo src) in CopyAbilityInfo() argument 27 SetAbilityInfoBundleName(des, src.bundleName); in CopyAbilityInfo() 29 des->isVisible = src.isVisible; in CopyAbilityInfo() 30 des->abilityType = src.abilityType; in CopyAbilityInfo() 31 des->launchMode = src.launchMode; in CopyAbilityInfo() 32 SetAbilityInfoModuleName(des, src.moduleName); in CopyAbilityInfo() 33 SetAbilityInfoName(des, src.name); in CopyAbilityInfo() 34 SetAbilityInfoDescription(des, src.description); in CopyAbilityInfo() 35 SetAbilityInfoIconPath(des, src.iconPath); in CopyAbilityInfo() 36 SetAbilityInfoDeviceId(des, src in CopyAbilityInfo() 46 CopyBundleProfileToAbilityInfo(AbilityInfo *des, const BundleProfile &src) CopyBundleProfileToAbilityInfo() argument 189 CopyStringArray(char *dst[], char *const src[], int count) CopyStringArray() argument [all...] |
/kernel/linux/linux-5.10/tools/perf/bench/ |
H A D | mem-functions.c | 112 u64 (*do_cycles)(const struct function *r, size_t size, void *src, void *dst); 113 double (*do_gettimeofday)(const struct function *r, size_t size, void *src, void *dst); 123 void *src = NULL, *dst = zalloc(size); in __bench_mem_function() local 131 src = zalloc(size); in __bench_mem_function() 132 if (src == NULL) in __bench_mem_function() 140 result_cycles = info->do_cycles(r, size, src, dst); in __bench_mem_function() 142 result_bps = info->do_gettimeofday(r, size, src, dst); in __bench_mem_function() 168 free(src); in __bench_mem_function() 226 static void memcpy_prefault(memcpy_t fn, size_t size, void *src, void *dst) in memcpy_prefault() argument 229 memset(src, in memcpy_prefault() 238 do_memcpy_cycles(const struct function *r, size_t size, void *src, void *dst) do_memcpy_cycles() argument 254 do_memcpy_gettimeofday(const struct function *r, size_t size, void *src, void *dst) do_memcpy_gettimeofday() argument [all...] |
/kernel/linux/linux-6.6/drivers/platform/x86/amd/pmf/ |
H A D | sps.c | 99 int src = amd_pmf_get_power_source(); in amd_pmf_update_slider() local 102 amd_pmf_send_cmd(dev, SET_SPL, false, config_store.prop[src][idx].spl, NULL); in amd_pmf_update_slider() 103 amd_pmf_send_cmd(dev, SET_FPPT, false, config_store.prop[src][idx].fppt, NULL); in amd_pmf_update_slider() 104 amd_pmf_send_cmd(dev, SET_SPPT, false, config_store.prop[src][idx].sppt, NULL); in amd_pmf_update_slider() 106 config_store.prop[src][idx].sppt_apu_only, NULL); in amd_pmf_update_slider() 108 config_store.prop[src][idx].stt_min, NULL); in amd_pmf_update_slider() 110 config_store.prop[src][idx].stt_skin_temp[STT_TEMP_APU], NULL); in amd_pmf_update_slider() 112 config_store.prop[src][idx].stt_skin_temp[STT_TEMP_HS2], NULL); in amd_pmf_update_slider() 114 amd_pmf_send_cmd(dev, GET_SPL, true, ARG_NONE, &table->prop[src][idx].spl); in amd_pmf_update_slider() 115 amd_pmf_send_cmd(dev, GET_FPPT, true, ARG_NONE, &table->prop[src][id in amd_pmf_update_slider() 181 int src; amd_pmf_power_slider_update_event() local [all...] |
/kernel/linux/linux-6.6/tools/perf/bench/ |
H A D | mem-functions.c | 112 u64 (*do_cycles)(const struct function *r, size_t size, void *src, void *dst); 113 double (*do_gettimeofday)(const struct function *r, size_t size, void *src, void *dst); 123 void *src = NULL, *dst = zalloc(size); in __bench_mem_function() local 131 src = zalloc(size); in __bench_mem_function() 132 if (src == NULL) in __bench_mem_function() 140 result_cycles = info->do_cycles(r, size, src, dst); in __bench_mem_function() 142 result_bps = info->do_gettimeofday(r, size, src, dst); in __bench_mem_function() 168 free(src); in __bench_mem_function() 226 static void memcpy_prefault(memcpy_t fn, size_t size, void *src, void *dst) in memcpy_prefault() argument 229 memset(src, in memcpy_prefault() 238 do_memcpy_cycles(const struct function *r, size_t size, void *src, void *dst) do_memcpy_cycles() argument 254 do_memcpy_gettimeofday(const struct function *r, size_t size, void *src, void *dst) do_memcpy_gettimeofday() argument [all...] |
/third_party/ffmpeg/libswscale/ppc/ |
H A D | swscale_ppc_template.c | 28 const int16_t **src, uint8_t *dest, in yuv2planeX_8_16() 54 LOAD_L1(l1,src[j],perm); in yuv2planeX_8_16() 55 yuv2planeX_8(vo1, vo2, l1, src[j], x, perm, vLumFilter); in yuv2planeX_8_16() 56 yuv2planeX_8(vo3, vo4, l1, src[j], x + 8, perm, vLumFilter); in yuv2planeX_8_16() 71 const int16_t **src, uint8_t *dest, int dstW, in yuv2planeX_u() 79 t += src[j][i] * filter[j]; in yuv2planeX_u() 85 const int16_t **src, uint8_t *dest, int dstW, in yuv2planeX() 91 yuv2planeX_u(filter, filterSize, src, dest, dst_u, dither, offset, 0); in yuv2planeX() 94 FUNC(yuv2planeX_8_16)(filter, filterSize, src, dest + i, dither, in yuv2planeX() 97 yuv2planeX_u(filter, filterSize, src, des in yuv2planeX() 27 yuv2planeX_8_16(const int16_t *filter, int filterSize, const int16_t **src, uint8_t *dest, const uint8_t *dither, int offset, int x) yuv2planeX_8_16() argument 70 yuv2planeX_u(const int16_t *filter, int filterSize, const int16_t **src, uint8_t *dest, int dstW, const uint8_t *dither, int offset, int x) yuv2planeX_u() argument 84 yuv2planeX(const int16_t *filter, int filterSize, const int16_t **src, uint8_t *dest, int dstW, const uint8_t *dither, int offset) yuv2planeX() argument 100 hScale_real(SwsContext *c, int16_t *dst, int dstW, const uint8_t *src, const int16_t *filter, const int32_t *filterPos, int filterSize) hScale_real() argument [all...] |
/third_party/ffmpeg/tests/checkasm/ |
H A D | sw_scale.c | 41 const int16_t **src, uint8_t *dest, int dstW, in ref_function() 54 t.val = (int)src[j][i + offset] * (int)filter[j]; in ref_function() 74 int filterSize, const int16_t **src, uint8_t *dest, in check_yuv2yuvX() 77 const int16_t **src; in check_yuv2yuvX() local 84 const int16_t *src; in check_yuv2yuvX() member 100 src = av_malloc(sizeof(int16_t*) * filter_sizes[fsi]); in check_yuv2yuvX() 104 src[i] = &src_pixels[i * LARGEST_INPUT_SIZE]; in check_yuv2yuvX() 105 vFilterData[i].src = src[i]; in check_yuv2yuvX() 117 ref_function(&filter_coeff[0], filter_sizes[fsi], src, dst in check_yuv2yuvX() 40 ref_function(const int16_t *filter, int filterSize, const int16_t **src, uint8_t *dest, int dstW, const uint8_t *dither, int offset) ref_function() argument [all...] |
/third_party/cups-filters/filter/ |
H A D | pdftoraster.cxx | 96 typedef unsigned char *(*ConvertLineFunc)(unsigned char *src, 99 typedef unsigned char *(*ConvertCSpaceFunc)(unsigned char *src, 101 typedef unsigned char *(*ConvertBitsFunc)(unsigned char *src, 507 static unsigned char *reverseLine(unsigned char *src, unsigned char *dst, in reverseLine() argument 511 unsigned char *p = src; in reverseLine() 516 return src; in reverseLine() 519 static unsigned char *reverseLineSwapByte(unsigned char *src, in reverseLineSwapByte() argument 523 unsigned char *bp = src+size-1; in reverseLineSwapByte() 533 static unsigned char *reverseLineSwapBit(unsigned char *src, in reverseLineSwapBit() argument 542 bp = src in reverseLineSwapBit() 567 rgbToCMYKLine(unsigned char *src, unsigned char *dst, unsigned int row, unsigned int plane, unsigned int pixels, unsigned int size) rgbToCMYKLine() argument 575 rgbToCMYKLineSwap(unsigned char *src, unsigned char *dst, unsigned int row, unsigned int plane, unsigned int pixels, unsigned int size) rgbToCMYKLineSwap() argument 588 rgbToCMYLine(unsigned char *src, unsigned char *dst, unsigned int row, unsigned int plane, unsigned int pixels, unsigned int size) rgbToCMYLine() argument 596 rgbToCMYLineSwap(unsigned char *src, unsigned char *dst, unsigned int row, unsigned int plane, unsigned int pixels, unsigned int size) rgbToCMYLineSwap() argument 609 rgbToKCMYLine(unsigned char *src, unsigned char *dst, unsigned int row, unsigned int plane, unsigned int pixels, unsigned int size) rgbToKCMYLine() argument 629 rgbToKCMYLineSwap(unsigned char *src, unsigned char *dst, unsigned int row, unsigned int plane, unsigned int pixels, unsigned int size) rgbToKCMYLineSwap() argument 649 lineNoop(unsigned char *src, unsigned char *dst, unsigned int row, unsigned int plane, unsigned int pixels, unsigned int size) lineNoop() argument 657 lineSwap24(unsigned char *src, unsigned char *dst, unsigned int row, unsigned int plane, unsigned int pixels, unsigned int size) lineSwap24() argument 672 lineSwapByte(unsigned char *src, unsigned char *dst, unsigned int row, unsigned int plane, unsigned int pixels, unsigned int size) lineSwapByte() argument 685 lineSwapBit(unsigned char *src, unsigned char *dst, unsigned int row, unsigned int plane, unsigned int pixels, unsigned int size) lineSwapBit() argument 751 convertCSpaceNone(unsigned char *src, unsigned char *pixelBuf, unsigned int x, unsigned int y) convertCSpaceNone() argument 757 convertCSpaceWithProfiles(unsigned char *src, unsigned char *pixelBuf, unsigned int x, unsigned int y) convertCSpaceWithProfiles() argument 764 convertCSpaceXYZ8(unsigned char *src, unsigned char *pixelBuf, unsigned int x, unsigned int y) convertCSpaceXYZ8() argument 784 convertCSpaceXYZ16(unsigned char *src, unsigned char *pixelBuf, unsigned int x, unsigned int y) convertCSpaceXYZ16() argument 805 convertCSpaceLab8(unsigned char *src, unsigned char *pixelBuf, unsigned int x, unsigned int y) convertCSpaceLab8() argument 816 convertCSpaceLab16(unsigned char *src, unsigned char *pixelBuf, unsigned int x, unsigned int y) convertCSpaceLab16() argument 828 RGB8toRGBA(unsigned char *src, unsigned char *pixelBuf, unsigned int x, unsigned int y) RGB8toRGBA() argument 840 RGB8toRGBW(unsigned char *src, unsigned char *pixelBuf, unsigned int x, unsigned int y) RGB8toRGBW() argument 853 RGB8toCMYK(unsigned char *src, unsigned char *pixelBuf, unsigned int x, unsigned int y) RGB8toCMYK() argument 860 RGB8toCMY(unsigned char *src, unsigned char *pixelBuf, unsigned int x, unsigned int y) RGB8toCMY() argument 867 RGB8toYMC(unsigned char *src, unsigned char *pixelBuf, unsigned int x, unsigned int y) RGB8toYMC() argument 878 RGB8toKCMY(unsigned char *src, unsigned char *pixelBuf, unsigned int x, unsigned int y) RGB8toKCMY() argument 890 RGB8toKCMYcm(unsigned char *src, unsigned char *pixelBuf, unsigned int x, unsigned int y) RGB8toKCMYcm() argument 925 RGB8toYMCK(unsigned char *src, unsigned char *pixelBuf, unsigned int x, unsigned int y) RGB8toYMCK() argument 936 W8toK8(unsigned char *src, unsigned char *pixelBuf, unsigned int x, unsigned int y) W8toK8() argument 943 convertBitsNoop(unsigned char *src, unsigned char *dst, unsigned int x, unsigned int y) convertBitsNoop() argument 949 convert8to1(unsigned char *src, unsigned char *dst, unsigned int x, unsigned int y) convert8to1() argument 965 convert8to2(unsigned char *src, unsigned char *dst, unsigned int x, unsigned int y) convert8to2() argument 983 convert8to4(unsigned char *src, unsigned char *dst, unsigned int x, unsigned int y) convert8to4() argument 1007 convert8to16(unsigned char *src, unsigned char *dst, unsigned int x, unsigned int y) convert8to16() argument 1142 convertLineChunked(unsigned char *src, unsigned char *dst, unsigned int row, unsigned int plane, unsigned int pixels, unsigned int size) convertLineChunked() argument 1159 convertLineChunkedSwap(unsigned char *src, unsigned char *dst, unsigned int row, unsigned int plane, unsigned int pixels, unsigned int size) convertLineChunkedSwap() argument 1176 convertLinePlane(unsigned char *src, unsigned char *dst, unsigned int row, unsigned int plane, unsigned int pixels, unsigned int size) convertLinePlane() argument 1193 convertLinePlaneSwap(unsigned char *src, unsigned char *dst, unsigned int row, unsigned int plane, unsigned int pixels, unsigned int size) convertLinePlaneSwap() argument 1515 onebitpixel(unsigned char *src, unsigned char *dst, unsigned int width, unsigned int height) onebitpixel() argument 1539 removeAlpha(unsigned char *src, unsigned char *dst, unsigned int width, unsigned int height) removeAlpha() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_ipp.c | 269 task->src.rect.w = task->dst.rect.w = UINT_MAX; in exynos_drm_ipp_task_alloc() 270 task->src.rect.h = task->dst.rect.h = UINT_MAX; in exynos_drm_ipp_task_alloc() 286 offsetof(struct exynos_drm_ipp_task, src.buf), 295 offsetof(struct exynos_drm_ipp_task, src.rect), 398 exynos_drm_ipp_task_release_buf(&task->src); in exynos_drm_ipp_task_free() 505 static inline bool __scale_limit_check(unsigned int src, unsigned int dst, in __scale_limit_check() argument 508 if ((max && (dst << 16) > src * max) || in __scale_limit_check() 509 (min && (dst << 16) < src * min)) { in __scale_limit_check() 511 src, dst, in __scale_limit_check() 520 struct drm_exynos_ipp_task_rect *src, in exynos_drm_ipp_check_scale_limits() 519 exynos_drm_ipp_check_scale_limits( struct drm_exynos_ipp_task_rect *src, struct drm_exynos_ipp_task_rect *dst, const struct drm_exynos_ipp_limit *limits, unsigned int num_limits, bool swap) exynos_drm_ipp_check_scale_limits() argument 547 exynos_drm_ipp_check_format(struct exynos_drm_ipp_task *task, struct exynos_drm_ipp_buffer *buf, struct exynos_drm_ipp_buffer *src, struct exynos_drm_ipp_buffer *dst, bool rotate, bool swap) exynos_drm_ipp_check_format() argument 604 struct exynos_drm_ipp_buffer *src = &task->src, *dst = &task->dst; exynos_drm_ipp_task_check() local 666 struct exynos_drm_ipp_buffer *src = &task->src, *dst = &task->dst; exynos_drm_ipp_task_setup_buffers() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_ipp.c | 270 task->src.rect.w = task->dst.rect.w = UINT_MAX; in exynos_drm_ipp_task_alloc() 271 task->src.rect.h = task->dst.rect.h = UINT_MAX; in exynos_drm_ipp_task_alloc() 287 offsetof(struct exynos_drm_ipp_task, src.buf), 296 offsetof(struct exynos_drm_ipp_task, src.rect), 399 exynos_drm_ipp_task_release_buf(&task->src); in exynos_drm_ipp_task_free() 506 static inline bool __scale_limit_check(unsigned int src, unsigned int dst, in __scale_limit_check() argument 509 if ((max && (dst << 16) > src * max) || in __scale_limit_check() 510 (min && (dst << 16) < src * min)) { in __scale_limit_check() 512 src, dst, in __scale_limit_check() 521 struct drm_exynos_ipp_task_rect *src, in exynos_drm_ipp_check_scale_limits() 520 exynos_drm_ipp_check_scale_limits( struct drm_exynos_ipp_task_rect *src, struct drm_exynos_ipp_task_rect *dst, const struct drm_exynos_ipp_limit *limits, unsigned int num_limits, bool swap) exynos_drm_ipp_check_scale_limits() argument 548 exynos_drm_ipp_check_format(struct exynos_drm_ipp_task *task, struct exynos_drm_ipp_buffer *buf, struct exynos_drm_ipp_buffer *src, struct exynos_drm_ipp_buffer *dst, bool rotate, bool swap) exynos_drm_ipp_check_format() argument 605 struct exynos_drm_ipp_buffer *src = &task->src, *dst = &task->dst; exynos_drm_ipp_task_check() local 667 struct exynos_drm_ipp_buffer *src = &task->src, *dst = &task->dst; exynos_drm_ipp_task_setup_buffers() local [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_mediump.c | 192 nir_instr_rewrite_src_ssa(&intr->instr, &intr->src[0], in nir_lower_mediump_io() 193 convert(&b, intr->src[0].ssa)); in nir_lower_mediump_io() 366 return alu->op == m && alu->src[0].src.ssa->bit_size == n; in is_n_to_m_conversion() 430 /* Create a mapping from src_type to src[i]. */ in nir_legalize_16bit_sampler_srcs() 432 map[tex->src[i].src_type] = i; in nir_legalize_16bit_sampler_srcs() 434 /* Legalize src types. */ in nir_legalize_16bit_sampler_srcs() 436 nir_tex_src_type_constraint c = constraints[tex->src[i].src_type]; in nir_legalize_16bit_sampler_srcs() 441 /* Determine the required bit size for the src. */ in nir_legalize_16bit_sampler_srcs() 449 bit_size = tex->src[ma in nir_legalize_16bit_sampler_srcs() 555 fold_16bit_src(nir_builder *b, nir_instr *instr, nir_src *src, nir_alu_type src_type) fold_16bit_src() argument 701 nir_src *src = &tex->src[i].src; fold_16bit_tex_srcs() local 717 nir_src *src = &tex->src[i].src; fold_16bit_tex_srcs() local [all...] |
/third_party/mesa3d/src/gallium/frontends/d3d10umd/ |
H A D | ShaderParse.c | 465 opcode->src[i].swizzle[0] = DECODE_D3D10_SB_OPERAND_4_COMPONENT_SWIZZLE_SOURCE(*curr, 0); in Shader_parse_opcode() 466 opcode->src[i].swizzle[1] = DECODE_D3D10_SB_OPERAND_4_COMPONENT_SWIZZLE_SOURCE(*curr, 1); in Shader_parse_opcode() 467 opcode->src[i].swizzle[2] = DECODE_D3D10_SB_OPERAND_4_COMPONENT_SWIZZLE_SOURCE(*curr, 2); in Shader_parse_opcode() 468 opcode->src[i].swizzle[3] = DECODE_D3D10_SB_OPERAND_4_COMPONENT_SWIZZLE_SOURCE(*curr, 3); in Shader_parse_opcode() 470 opcode->src[i].swizzle[0] = in Shader_parse_opcode() 471 opcode->src[i].swizzle[1] = in Shader_parse_opcode() 472 opcode->src[i].swizzle[2] = in Shader_parse_opcode() 473 opcode->src[i].swizzle[3] = DECODE_D3D10_SB_OPERAND_4_COMPONENT_SELECT_1(*curr); in Shader_parse_opcode() 483 opcode->src[i].swizzle[0] = D3D10_SB_4_COMPONENT_X; in Shader_parse_opcode() 484 opcode->src[ in Shader_parse_opcode() [all...] |
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_copyimage.c | 269 struct pipe_resource *src, in blit() 276 blit.src.resource = src; in blit() 278 blit.src.format = src_format; in blit() 280 blit.src.level = src_level; in blit() 282 blit.src.box = *src_box; in blit() 296 struct pipe_resource *src, in swizzled_copy() 310 blit_src_format = get_canonical_format(pipe->screen, src->format); in swizzled_copy() 327 /* Src is unswizzled and dst can be swizzled, so src is typecast in swizzled_copy() 334 /* Dst is unswizzled and src ca in swizzled_copy() 264 blit(struct pipe_context *pipe, struct pipe_resource *dst, enum pipe_format dst_format, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, enum pipe_format src_format, unsigned src_level, const struct pipe_box *src_box) blit() argument 292 swizzled_copy(struct pipe_context *pipe, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) swizzled_copy() argument 411 handle_complex_copy(struct pipe_context *pipe, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box, enum pipe_format noncanon_format, enum pipe_format canon_format) handle_complex_copy() argument 501 copy_image(struct pipe_context *pipe, struct pipe_resource *dst, unsigned dst_level, unsigned dstx, unsigned dsty, unsigned dstz, struct pipe_resource *src, unsigned src_level, const struct pipe_box *src_box) copy_image() argument 558 uint8_t *dst, *src; fallback_copy_image() local 658 struct gl_texture_image *src = src_image; st_CopyImageSubData() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/ |
H A D | vktTessellationGeometryPassthroughTests.cpp | 62 std::ostringstream src; in addVertexAndFragmentShaders() local 63 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in addVertexAndFragmentShaders() 74 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in addVertexAndFragmentShaders() 79 std::ostringstream src; in addVertexAndFragmentShaders() local 80 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in addVertexAndFragmentShaders() 89 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str()); in addVertexAndFragmentShaders() 96 std::ostringstream src; in generateTessellationEvaluationShader() local 97 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in generateTessellationEvaluationShader() 109 src << " vec3 weights = vec3(pow(gl_TessCoord.x, 1.3), pow(gl_TessCoord.y, 1.3), pow(gl_TessCoord.z, 1.3));\n" in generateTessellationEvaluationShader() 114 src << " vec in generateTessellationEvaluationShader() 160 std::ostringstream src; initPrograms() local 203 std::ostringstream src; initPrograms() local 258 std::ostringstream src; generateGeometryShader() local 312 std::ostringstream src; initPrograms() local 338 std::ostringstream src; initPrograms() local [all...] |
/third_party/skia/tests/ |
H A D | EncodeTest.cpp | 34 static bool encode(SkEncodedImageFormat format, SkWStream* dst, const SkPixmap& src) { in encode() argument 37 return SkJpegEncoder::Encode(dst, src, SkJpegEncoder::Options()); in encode() 39 return SkPngEncoder::Encode(dst, src, SkPngEncoder::Options()); in encode() 46 const SkPixmap& src) { in make() 49 return SkJpegEncoder::Make(dst, src, SkJpegEncoder::Options()); in make() 51 return SkPngEncoder::Make(dst, src, SkPngEncoder::Options()); in make() 64 SkPixmap src; in test_encode() local 65 success = bitmap.peekPixels(&src); in test_encode() 72 success = encode(format, &dst0, src); in test_encode() 75 auto encoder1 = make(format, &dst1, src); in test_encode() 45 make(SkEncodedImageFormat format, SkWStream* dst, const SkPixmap& src) make() argument 187 SkPixmap src; DEF_TEST() local 227 testPngComments(const SkPixmap& src, SkPngEncoder::Options& options, skiatest::Reporter* r) testPngComments() argument 299 SkPixmap src; DEF_TEST() local 390 SkPixmap src; DEF_TEST() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/ |
H A D | vktTessellationGeometryPassthroughTests.cpp | 62 std::ostringstream src; in addVertexAndFragmentShaders() local 63 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in addVertexAndFragmentShaders() 74 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in addVertexAndFragmentShaders() 79 std::ostringstream src; in addVertexAndFragmentShaders() local 80 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in addVertexAndFragmentShaders() 89 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str()); in addVertexAndFragmentShaders() 96 std::ostringstream src; in generateTessellationEvaluationShader() local 97 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in generateTessellationEvaluationShader() 109 src << " vec3 weights = vec3(pow(gl_TessCoord.x, 1.3), pow(gl_TessCoord.y, 1.3), pow(gl_TessCoord.z, 1.3));\n" in generateTessellationEvaluationShader() 114 src << " vec in generateTessellationEvaluationShader() 160 std::ostringstream src; initPrograms() local 203 std::ostringstream src; initPrograms() local 258 std::ostringstream src; generateGeometryShader() local 312 std::ostringstream src; initPrograms() local 338 std::ostringstream src; initPrograms() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | pthread_frame.c | 271 * @param src The source context. 275 static int update_context_from_thread(AVCodecContext *dst, AVCodecContext *src, int for_user) in update_context_from_thread() argument 280 if (dst != src && (for_user || codec->update_thread_context)) { in update_context_from_thread() 281 dst->time_base = src->time_base; in update_context_from_thread() 282 dst->framerate = src->framerate; in update_context_from_thread() 283 dst->width = src->width; in update_context_from_thread() 284 dst->height = src->height; in update_context_from_thread() 285 dst->pix_fmt = src->pix_fmt; in update_context_from_thread() 286 dst->sw_pix_fmt = src->sw_pix_fmt; in update_context_from_thread() 288 dst->coded_width = src in update_context_from_thread() 358 update_context_from_user(AVCodecContext *dst, AVCodecContext *src) update_context_from_user() argument [all...] |
/third_party/pcre2/pcre2/src/sljit/ |
H A D | sljitNativeX86_32.c | 599 sljit_s32 src, sljit_sw srcw) in sljit_emit_return_to() 604 CHECK(check_sljit_emit_return_to(compiler, src, srcw)); in sljit_emit_return_to() 606 if ((src & SLJIT_MEM) || (src > SLJIT_R2 && src <= (SLJIT_S0 - SLJIT_KEPT_SAVEDS_COUNT(compiler->options)))) { in sljit_emit_return_to() 607 ADJUST_LOCAL_OFFSET(src, srcw); in sljit_emit_return_to() 608 CHECK_EXTRA_REGS(src, srcw, (void)0); in sljit_emit_return_to() 612 EMIT_MOV(compiler, src_r, 0, src, srcw); in sljit_emit_return_to() 613 src = src_r; in sljit_emit_return_to() 620 return sljit_emit_ijump(compiler, SLJIT_JUMP, src, src in sljit_emit_return_to() 598 sljit_emit_return_to(struct sljit_compiler *compiler, sljit_s32 src, sljit_sw srcw) sljit_emit_return_to() argument 735 tail_call_with_args(struct sljit_compiler *compiler, sljit_s32 *extra_space, sljit_s32 arg_types, sljit_s32 src, sljit_sw srcw) tail_call_with_args() argument 1046 sljit_emit_icall(struct sljit_compiler *compiler, sljit_s32 type, sljit_s32 arg_types, sljit_s32 src, sljit_sw srcw) sljit_emit_icall() argument 1118 emit_fmov_before_return(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 src, sljit_sw srcw) emit_fmov_before_return() argument 1172 emit_fast_return(struct sljit_compiler *compiler, sljit_s32 src, sljit_sw srcw) emit_fast_return() argument [all...] |