Home
last modified time | relevance | path

Searched refs:scaler (Results 1 – 25 of 159) sorted by relevance

1234567

/third_party/flutter/skia/third_party/externals/freetype/src/cache/
Dftcbasic.c39 FTC_ScalerRec scaler; member
45 FT_BOOL( FTC_SCALER_COMPARE( &(a)->scaler, &(b)->scaler ) && \
49 ( FTC_SCALER_HASH( &(a)->scaler ) + 31 * (a)->load_flags )
106 error = FTC_Manager_LookupFace( manager, family->attrs.scaler.face_id, in ftc_basic_family_get_count()
135 error = FTC_Manager_LookupSize( manager, &family->attrs.scaler, &size ); in ftc_basic_family_load_bitmap()
161 FTC_Scaler scaler = &family->attrs.scaler; in ftc_basic_family_load_glyph() local
168 scaler, in ftc_basic_family_load_glyph()
217 result = FT_BOOL( family->attrs.scaler.face_id == face_id ); in ftc_basic_gnode_compare_faceid()
320 query.attrs.scaler.face_id = type->face_id; in FTC_ImageCache_Lookup()
321 query.attrs.scaler.width = type->width; in FTC_ImageCache_Lookup()
[all …]
Dftcmanag.c36 FTC_Scaler scaler, in ftc_scaler_lookup_size() argument
44 error = FTC_Manager_LookupFace( manager, scaler->face_id, &face ); in ftc_scaler_lookup_size()
54 if ( scaler->pixel ) in ftc_scaler_lookup_size()
55 error = FT_Set_Pixel_Sizes( face, scaler->width, scaler->height ); in ftc_scaler_lookup_size()
58 (FT_F26Dot6)scaler->width, in ftc_scaler_lookup_size()
59 (FT_F26Dot6)scaler->height, in ftc_scaler_lookup_size()
60 scaler->x_res, in ftc_scaler_lookup_size()
61 scaler->y_res ); in ftc_scaler_lookup_size()
78 FTC_ScalerRec scaler; member
104 FTC_Scaler scaler = (FTC_Scaler)ftcscaler; in ftc_size_node_compare() local
[all …]
/third_party/freetype/src/cache/
Dftcbasic.c38 FTC_ScalerRec scaler; member
44 FT_BOOL( FTC_SCALER_COMPARE( &(a)->scaler, &(b)->scaler ) && \
48 ( FTC_SCALER_HASH( &(a)->scaler ) + 31 * (a)->load_flags )
105 error = FTC_Manager_LookupFace( manager, family->attrs.scaler.face_id, in ftc_basic_family_get_count()
136 error = FTC_Manager_LookupSize( manager, &family->attrs.scaler, &size ); in ftc_basic_family_load_bitmap()
162 FTC_Scaler scaler = &family->attrs.scaler; in ftc_basic_family_load_glyph() local
169 scaler, in ftc_basic_family_load_glyph()
218 result = FT_BOOL( family->attrs.scaler.face_id == face_id ); in ftc_basic_gnode_compare_faceid()
321 query.attrs.scaler.face_id = type->face_id; in FTC_ImageCache_Lookup()
322 query.attrs.scaler.width = type->width; in FTC_ImageCache_Lookup()
[all …]
Dftcmanag.c35 FTC_Scaler scaler, in ftc_scaler_lookup_size() argument
43 error = FTC_Manager_LookupFace( manager, scaler->face_id, &face ); in ftc_scaler_lookup_size()
53 if ( scaler->pixel ) in ftc_scaler_lookup_size()
54 error = FT_Set_Pixel_Sizes( face, scaler->width, scaler->height ); in ftc_scaler_lookup_size()
57 (FT_F26Dot6)scaler->width, in ftc_scaler_lookup_size()
58 (FT_F26Dot6)scaler->height, in ftc_scaler_lookup_size()
59 scaler->x_res, in ftc_scaler_lookup_size()
60 scaler->y_res ); in ftc_scaler_lookup_size()
77 FTC_ScalerRec scaler; member
103 FTC_Scaler scaler = (FTC_Scaler)ftcscaler; in ftc_size_node_compare() local
[all …]
/third_party/skia/third_party/externals/freetype/src/cache/
Dftcbasic.c38 FTC_ScalerRec scaler; member
44 FT_BOOL( FTC_SCALER_COMPARE( &(a)->scaler, &(b)->scaler ) && \
48 ( FTC_SCALER_HASH( &(a)->scaler ) + 31 * (a)->load_flags )
105 error = FTC_Manager_LookupFace( manager, family->attrs.scaler.face_id, in ftc_basic_family_get_count()
140 error = FTC_Manager_LookupSize( manager, &family->attrs.scaler, &size ); in ftc_basic_family_load_bitmap()
166 FTC_Scaler scaler = &family->attrs.scaler; in ftc_basic_family_load_glyph() local
173 scaler, in ftc_basic_family_load_glyph()
222 result = FT_BOOL( family->attrs.scaler.face_id == face_id ); in ftc_basic_gnode_compare_faceid()
325 query.attrs.scaler.face_id = type->face_id; in FTC_ImageCache_Lookup()
326 query.attrs.scaler.width = type->width; in FTC_ImageCache_Lookup()
[all …]
Dftcmanag.c35 FTC_Scaler scaler, in ftc_scaler_lookup_size() argument
43 error = FTC_Manager_LookupFace( manager, scaler->face_id, &face ); in ftc_scaler_lookup_size()
53 if ( scaler->pixel ) in ftc_scaler_lookup_size()
54 error = FT_Set_Pixel_Sizes( face, scaler->width, scaler->height ); in ftc_scaler_lookup_size()
57 (FT_F26Dot6)scaler->width, in ftc_scaler_lookup_size()
58 (FT_F26Dot6)scaler->height, in ftc_scaler_lookup_size()
59 scaler->x_res, in ftc_scaler_lookup_size()
60 scaler->y_res ); in ftc_scaler_lookup_size()
77 FTC_ScalerRec scaler; member
103 FTC_Scaler scaler = (FTC_Scaler)ftcscaler; in ftc_size_node_compare() local
[all …]
/third_party/ffmpeg/doc/
Dswscale.txt16 | Horizontal scaler
21 | Vertical scaler and output converter
27 Swscale has 2 scaler paths. Each side must be capable of handling
39 output line the vertical scaler pulls lines from a ring buffer. When
41 the input slice through the input converter and horizontal scaler.
43 scaler requests.
55 but is slightly slower. The scaler will try to preserve full chroma
57 SWS_FULL_CHR_H_INP even for cases where the scaler thinks it is useless.
59 Horizontal scaler
61 the fast bilinear scaler that is made of runtime-generated MMXEXT code
[all …]
/third_party/freetype/src/autofit/
Dafloader.c228 AF_ScalerRec scaler; in af_loader_load_glyph() local
238 FT_ZERO( &scaler ); in af_loader_load_glyph()
288 scaler.face = face; in af_loader_load_glyph()
289 scaler.x_scale = size_internal->autohint_metrics.x_scale; in af_loader_load_glyph()
290 scaler.x_delta = 0; in af_loader_load_glyph()
291 scaler.y_scale = size_internal->autohint_metrics.y_scale; in af_loader_load_glyph()
292 scaler.y_delta = 0; in af_loader_load_glyph()
294 scaler.render_mode = FT_LOAD_TARGET_MODE( load_flags ); in af_loader_load_glyph()
295 scaler.flags = 0; in af_loader_load_glyph()
327 writing_system_class->style_metrics_scale( style_metrics, &scaler ); in af_loader_load_glyph()
[all …]
Dafdummy.c31 hints->x_scale = metrics->scaler.x_scale; in af_dummy_hints_init()
32 hints->y_scale = metrics->scaler.y_scale; in af_dummy_hints_init()
33 hints->x_delta = metrics->scaler.x_delta; in af_dummy_hints_init()
34 hints->y_delta = metrics->scaler.y_delta; in af_dummy_hints_init()
/third_party/flutter/skia/third_party/externals/freetype/src/autofit/
Dafloader.c228 AF_ScalerRec scaler; in af_loader_load_glyph() local
238 FT_ZERO( &scaler ); in af_loader_load_glyph()
288 scaler.face = face; in af_loader_load_glyph()
289 scaler.x_scale = size_internal->autohint_metrics.x_scale; in af_loader_load_glyph()
290 scaler.x_delta = 0; in af_loader_load_glyph()
291 scaler.y_scale = size_internal->autohint_metrics.y_scale; in af_loader_load_glyph()
292 scaler.y_delta = 0; in af_loader_load_glyph()
294 scaler.render_mode = FT_LOAD_TARGET_MODE( load_flags ); in af_loader_load_glyph()
295 scaler.flags = 0; in af_loader_load_glyph()
327 writing_system_class->style_metrics_scale( style_metrics, &scaler ); in af_loader_load_glyph()
[all …]
Dafdummy.c31 hints->x_scale = metrics->scaler.x_scale; in af_dummy_hints_init()
32 hints->y_scale = metrics->scaler.y_scale; in af_dummy_hints_init()
33 hints->x_delta = metrics->scaler.x_delta; in af_dummy_hints_init()
34 hints->y_delta = metrics->scaler.y_delta; in af_dummy_hints_init()
/third_party/skia/third_party/externals/freetype/src/autofit/
Dafloader.c225 AF_ScalerRec scaler; in af_loader_load_glyph() local
235 FT_ZERO( &scaler ); in af_loader_load_glyph()
285 scaler.face = face; in af_loader_load_glyph()
286 scaler.x_scale = size_internal->autohint_metrics.x_scale; in af_loader_load_glyph()
287 scaler.x_delta = 0; in af_loader_load_glyph()
288 scaler.y_scale = size_internal->autohint_metrics.y_scale; in af_loader_load_glyph()
289 scaler.y_delta = 0; in af_loader_load_glyph()
291 scaler.render_mode = FT_LOAD_TARGET_MODE( load_flags ); in af_loader_load_glyph()
292 scaler.flags = 0; in af_loader_load_glyph()
318 writing_system_class->style_metrics_scale( style_metrics, &scaler ); in af_loader_load_glyph()
[all …]
Dafdummy.c31 hints->x_scale = metrics->scaler.x_scale; in af_dummy_hints_init()
32 hints->y_scale = metrics->scaler.y_scale; in af_dummy_hints_init()
33 hints->x_delta = metrics->scaler.x_delta; in af_dummy_hints_init()
34 hints->y_delta = metrics->scaler.y_delta; in af_dummy_hints_init()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/sponge/dihedral/
Ddihedral_atom_energy_impl.cu22 … const VECTOR *scaler, const int *atom_a, const int *atom_b, const int *atom_c, in DihedralAtomEnergyKernel() argument
37 VECTOR drij = Get_Periodic_Displacement(uint_crd[atom_i], uint_crd[atom_j], scaler[0]); in DihedralAtomEnergyKernel()
38 VECTOR drkj = Get_Periodic_Displacement(uint_crd[atom_k], uint_crd[atom_j], scaler[0]); in DihedralAtomEnergyKernel()
39 VECTOR drkl = Get_Periodic_Displacement(uint_crd[atom_k], uint_crd[atom_l], scaler[0]); in DihedralAtomEnergyKernel()
75 VECTOR *scaler = const_cast<VECTOR *>(reinterpret_cast<const VECTOR *>(scaler_f)); in DihedralAtomEnergy() local
78 … dihedral_numbers, uint_crd, scaler, atom_a, atom_b, atom_c, atom_d, ipn, pk, gamc, gams, pn, ene); in DihedralAtomEnergy()
Ddihedral_energy_impl.cu21 …hedralEnergyKernel(int dihedral_numbers, const UNSIGNED_INT_VECTOR *uint_crd, const VECTOR *scaler, in DihedralEnergyKernel() argument
37 VECTOR drij = Get_Periodic_Displacement(uint_crd[atom_i], uint_crd[atom_j], scaler[0]); in DihedralEnergyKernel()
38 VECTOR drkj = Get_Periodic_Displacement(uint_crd[atom_k], uint_crd[atom_j], scaler[0]); in DihedralEnergyKernel()
39 VECTOR drkl = Get_Periodic_Displacement(uint_crd[atom_k], uint_crd[atom_l], scaler[0]); in DihedralEnergyKernel()
73 VECTOR *scaler = const_cast<VECTOR *>(reinterpret_cast<const VECTOR *>(scaler_f)); in DihedralEnergy() local
76 … dihedral_numbers, uint_crd, scaler, atom_a, atom_b, atom_c, atom_d, ipn, pk, gamc, gams, pn, ene); in DihedralEnergy()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/sponge/angle/
Dangle_energy_impl.cu21 …oid AngleEnergyKernel(int angle_numbers, const UNSIGNED_INT_VECTOR *uint_crd, const VECTOR *scaler, in AngleEnergyKernel() argument
33 VECTOR drij = Get_Periodic_Displacement(uint_crd[atom_i], uint_crd[atom_j], scaler[0]); in AngleEnergyKernel()
34 VECTOR drkj = Get_Periodic_Displacement(uint_crd[atom_k], uint_crd[atom_j], scaler[0]); in AngleEnergyKernel()
56 VECTOR *scaler = const_cast<VECTOR *>(reinterpret_cast<const VECTOR *>(scaler_f)); in AngleEnergy() local
58 …l<<<block_per_grid, thread_per_block, 0, stream>>>(angle_numbers, uint_crd, scaler, atom_a, atom_b, in AngleEnergy()
Dangle_atom_energy_impl.cu21 …AngleAtomEnergyKernel(int angle_numbers, const UNSIGNED_INT_VECTOR *uint_crd, const VECTOR *scaler, in AngleAtomEnergyKernel() argument
33 VECTOR drij = Get_Periodic_Displacement(uint_crd[atom_i], uint_crd[atom_j], scaler[0]); in AngleAtomEnergyKernel()
34 VECTOR drkj = Get_Periodic_Displacement(uint_crd[atom_k], uint_crd[atom_j], scaler[0]); in AngleAtomEnergyKernel()
58 VECTOR *scaler = const_cast<VECTOR *>(reinterpret_cast<const VECTOR *>(scaler_f)); in AngleAtomEnergy() local
60 …rgyKernel<<<block_per_grid, thread_per_block, 0, stream>>>(angle_numbers, uint_crd, scaler, atom_a, in AngleAtomEnergy()
Dangle_force_impl.cu21 …void AngleForceKernel(int angle_numbers, const UNSIGNED_INT_VECTOR *uint_crd, const VECTOR *scaler, in AngleForceKernel() argument
33 VECTOR drij = Get_Periodic_Displacement(uint_crd[atom_i], uint_crd[atom_j], scaler[0]); in AngleForceKernel()
34 VECTOR drkj = Get_Periodic_Displacement(uint_crd[atom_k], uint_crd[atom_j], scaler[0]); in AngleForceKernel()
78 VECTOR *scaler = const_cast<VECTOR *>(reinterpret_cast<const VECTOR *>(scaler_f)); in AngleForce() local
80 …AngleForceKernel<<<block_per_grid, thread_per_block, 0, stream>>>(angle_numbers, uint_crd, scaler,… in AngleForce()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/sponge/simple_constrain/
Dconstrain_force_virial_impl.cu26 … const VECTOR *scaler, CONSTRAIN_PAIR *constrain_pair, in constrain_force_cycle_with_virial_update_kernel() argument
33 … dr = Get_Periodic_Displacement(uint_crd[cp.atom_i_serial], uint_crd[cp.atom_j_serial], scaler[0]); in constrain_force_cycle_with_virial_update_kernel()
50 … const UNSIGNED_INT_VECTOR *uint_crd, const VECTOR *scaler, in constrain_force_cycle_update_kernel() argument
61 …ic_cast<int>(uint_crd[cp.atom_i_serial].uint_x - uint_crd[cp.atom_j_serial].uint_x)) * scaler[0].x; in constrain_force_cycle_update_kernel()
62 …ic_cast<int>(uint_crd[cp.atom_i_serial].uint_y - uint_crd[cp.atom_j_serial].uint_y)) * scaler[0].y; in constrain_force_cycle_update_kernel()
63 …ic_cast<int>(uint_crd[cp.atom_i_serial].uint_z - uint_crd[cp.atom_j_serial].uint_z)) * scaler[0].z; in constrain_force_cycle_update_kernel()
113 const VECTOR *scaler = reinterpret_cast<const VECTOR *>(scaler_f); in constrain_force_cycle_update() local
124 constrain_pair_numbers, uint_crd, scaler, constrain_pair, pair_dr, test_frc); in constrain_force_cycle_update()
138 const VECTOR *scaler = reinterpret_cast<const VECTOR *>(scaler_f); in constrain_force_cycle_with_virial_update() local
149 constrain_pair_numbers, uint_crd, scaler, constrain_pair, pair_dr, test_frc, d_atom_virial); in constrain_force_cycle_with_virial_update()
Dconstrain_force_cycle_impl.cu25 … const VECTOR *scaler, const CONSTRAIN_PAIR *constrain_pair, in Constrain_Force_Cycle_Kernel() argument
35 …ic_cast<int>(uint_crd[cp.atom_i_serial].uint_x - uint_crd[cp.atom_j_serial].uint_x)) * scaler[0].x; in Constrain_Force_Cycle_Kernel()
36 …ic_cast<int>(uint_crd[cp.atom_i_serial].uint_y - uint_crd[cp.atom_j_serial].uint_y)) * scaler[0].y; in Constrain_Force_Cycle_Kernel()
37 …ic_cast<int>(uint_crd[cp.atom_i_serial].uint_z - uint_crd[cp.atom_j_serial].uint_z)) * scaler[0].z; in Constrain_Force_Cycle_Kernel()
63 const VECTOR *scaler = reinterpret_cast<const VECTOR *>(scaler_f); in Constrain_Force_Cycle() local
74 constrain_pair_numbers, uint_crd, scaler, constrain_pair, pair_dr, test_frc); in Constrain_Force_Cycle()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/sponge/common/
Dmap_center_of_mass_impl.cu21 … float *scaler, VECTOR *center_of_mass, VECTOR *box_length, VECTOR *no_wrap_crd, VECTOR *crd) { in Map_Center_Of_Mass() argument
31 trans_vec = scaler[0] * trans_vec - com; in Map_Center_Of_Mass()
40 … float *box_length_f, float *no_wrap_crd_f, float *crd_f, float* scaler, cudaStream_t stream) { in MapCenterOfMass() argument
45 …Map_Center_Of_Mass<<<20, { 32, 4 } , 0, stream>>>(residue_numbers, start, end, scaler, center_of_m… in MapCenterOfMass()
51 … float *box_length_f, float *no_wrap_crd_f, float *crd_f, float* scaler, cudaStream_t stream);
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/sponge/restrain/
Drestrain_force_impl.cu22 … const UNSIGNED_INT_VECTOR *uint_crd_ref, const float factor, const VECTOR *scaler, in restrainforcekernel() argument
27 VECTOR dr = Get_Periodic_Displacement(uint_crd_ref[atom_i], uint_crd[atom_i], scaler[0]); in restrainforcekernel()
47 VECTOR *scaler = const_cast<VECTOR *>(reinterpret_cast<const VECTOR *>(scaler_f)); in restrainforce() local
50 … uint_crd_ref, factor, scaler, frc); in restrainforce()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/sponge/bond/
Dbond_atom_energy_cuda_gpu_impl.cu22 const VECTOR *scaler, const int *atom_a, const int *atom_b, in BondAtomEnergyCudaKernel() argument
32 VECTOR dr = Get_Periodic_Displacement(uint_crd[atom_i], uint_crd[atom_j], scaler[0]); in BondAtomEnergyCudaKernel()
49 VECTOR *scaler = const_cast<VECTOR *>(reinterpret_cast<const VECTOR *>(scaler_f)); in BondAtomEnergy() local
51 …CudaKernel<<<block_per_grid, thread_per_block, 0, stream>>>(bond_numbers, uint_crd, scaler, atom_a, in BondAtomEnergy()
Dbond_energy_cuda_gpu_impl.cu21 …EnergyCudaKernel(const int bond_numbers, const UNSIGNED_INT_VECTOR *uint_crd, const VECTOR *scaler, in BondEnergyCudaKernel() argument
32 VECTOR dr = Get_Periodic_Displacement(uint_crd[atom_i], uint_crd[atom_j], scaler[0]); in BondEnergyCudaKernel()
48 VECTOR *scaler = const_cast<VECTOR *>(reinterpret_cast<const VECTOR *>(scaler_f)); in BondEnergy() local
53 …ndEnergyCudaKernel<<<block_per_grid, thread_per_block, 0, stream>>>(bond_numbers, uint_crd, scaler, in BondEnergy()
/third_party/flutter/skia/src/core/
DSkStrikeCache.cpp24 std::unique_ptr<SkScalerContext> scaler, in Node() argument
28 , fStrike{desc, std::move(scaler), metrics}
143 auto scaler = typeface.createScalerContext(effects, &desc, true /* can fail */); in CreateScalerContext() local
149 if (scaler == nullptr) { in CreateScalerContext()
151 scaler = typeface.createScalerContext(effects, &desc, false /* must succeed */); in CreateScalerContext()
153 return scaler; in CreateScalerContext()
167 auto scaler = CreateScalerContext(desc, effects, typeface); in findOrCreateStrike() local
168 node = this->createStrike(desc, std::move(scaler)); in findOrCreateStrike()
358 std::unique_ptr<SkScalerContext> scaler, in createStrikeExclusive() argument
363 this->createStrike(desc, std::move(scaler), maybeMetrics, std::move(pinner))); in createStrikeExclusive()
[all …]

1234567