Home
last modified time | relevance | path

Searched refs:max_align (Results 1 – 18 of 18) sorted by relevance

/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstcudabufferpool.c62 guint max_align, n; in gst_cuda_buffer_pool_set_config() local
104 max_align = params->align; in gst_cuda_buffer_pool_set_config()
113 max_align |= valign.stride_align[n]; in gst_cuda_buffer_pool_set_config()
116 valign.stride_align[n] = max_align; in gst_cuda_buffer_pool_set_config()
124 if (params->align < max_align) { in gst_cuda_buffer_pool_set_config()
127 (guint) params->align, max_align); in gst_cuda_buffer_pool_set_config()
129 params->align = max_align; in gst_cuda_buffer_pool_set_config()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dgstvideopool.c173 guint max_align, n; in video_buffer_pool_set_config() local
178 max_align = priv->params.align; in video_buffer_pool_set_config()
180 max_align |= priv->video_align.stride_align[n]; in video_buffer_pool_set_config()
183 priv->video_align.stride_align[n] = max_align; in video_buffer_pool_set_config()
191 if (priv->params.align < max_align) { in video_buffer_pool_set_config()
194 (guint) priv->params.align, max_align); in video_buffer_pool_set_config()
195 priv->params.align = max_align; in video_buffer_pool_set_config()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglbufferpool.c93 guint max_align, n; in gst_gl_buffer_pool_set_config() local
148 max_align = alloc_params.align; in gst_gl_buffer_pool_set_config()
158 max_align |= priv->gl_params->valign->stride_align[n]; in gst_gl_buffer_pool_set_config()
161 priv->gl_params->valign->stride_align[n] = max_align; in gst_gl_buffer_pool_set_config()
169 if (alloc_params.align < max_align) { in gst_gl_buffer_pool_set_config()
172 (guint) alloc_params.align, max_align); in gst_gl_buffer_pool_set_config()
174 alloc_params.align = max_align; in gst_gl_buffer_pool_set_config()
Dgstglmemory.c338 guint max_align, n; in gst_gl_memory_init() local
340 max_align = gst_memory_alignment; in gst_gl_memory_init()
341 max_align |= params->align; in gst_gl_memory_init()
343 max_align |= mem->valign.stride_align[n]; in gst_gl_memory_init()
345 if (params->align < max_align && max_align > gst_memory_alignment) { in gst_gl_memory_init()
347 "than the max required video alignment %u", params->align, max_align); in gst_gl_memory_init()
/third_party/elfutils/libasm/
Dasm_align.c108 if (asmscn->max_align < value) in asm_align()
110 asmscn->max_align = value; in asm_align()
117 if (asmscn->data.up->max_align < value) in asm_align()
118 asmscn->data.up->max_align = value; in asm_align()
Dasm_end.c98 offset = ((offset + asmsubscn->max_align - 1) in binary_end()
99 & ~(asmsubscn->max_align - 1)); in binary_end()
121 newdata->d_align = first ? asmsubscn->max_align : 1; in binary_end()
427 shdr->sh_addralign = asmscn->max_align; in binary_end()
Dasm_newsubscn.c84 newp->max_align = 1; in asm_newsubscn()
DlibasmP.h104 GElf_Word max_align; member
Dasm_newscn.c118 result->max_align = 1; in binary_newscn()
/third_party/rust/crates/bindgen/bindgen/ir/
Dcomp.rs598 let mut max_align = 0; in bitfields_to_allocation_units() localVariable
655 max_align = cmp::max(max_align, bitfield_align); in bitfields_to_allocation_units()
1119 let mut max_align = 1; in layout() localVariable
1122 max_align = cmp::max(max_align, layout.align); in layout()
1125 Some(Layout::new(max_size, max_align)) in layout()
/third_party/ltp/tools/sparse/sparse-src/
Dsymbol.c88 unsigned long max_align; member
208 .max_align = 1, in examine_struct_union_type()
228 if (member->ctype.alignment > info.max_align && !sym->packed) { in examine_struct_union_type()
231 info.max_align = member->ctype.alignment; in examine_struct_union_type()
242 sym->ctype.alignment = info.max_align; in examine_struct_union_type()
/third_party/skia/third_party/externals/tint/src/
Dintrinsic_table.cc690 uint32_t max_align = 0; in build_struct() local
696 max_align = std::max(max_align, align); in build_struct()
708 uint32_t size_with_padding = utils::RoundUp(max_align, offset); in build_struct()
713 /* align */ max_align, in build_struct()
/third_party/mesa3d/src/compiler/
Dglsl_types.cpp2220 unsigned max_align = 0; in std140_size() local
2242 max_align = MAX2(align, max_align); in std140_size()
2247 size = glsl_align(size, MAX2(max_align, 16)); in std140_size()
2588 unsigned max_align = 0; in std430_size() local
2605 max_align = MAX2(align, max_align); in std430_size()
2607 size = glsl_align(size, max_align); in std430_size()
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavviddec.c749 gsize max_align; in gst_ffmpegvideodec_prepare_dr_pool() local
768 max_align = DEFAULT_STRIDE_ALIGN; in gst_ffmpegvideodec_prepare_dr_pool()
769 max_align |= params.align; in gst_ffmpegvideodec_prepare_dr_pool()
773 max_align |= linesize_align[i] - 1; in gst_ffmpegvideodec_prepare_dr_pool()
777 align.stride_align[i] = max_align; in gst_ffmpegvideodec_prepare_dr_pool()
779 params.align = max_align; in gst_ffmpegvideodec_prepare_dr_pool()
/third_party/libbpf/src/
Dbtf_dump.c837 int max_align = 1, align, i, bit_sz; in btf_is_struct_packed() local
848 max_align = max(align, max_align); in btf_is_struct_packed()
851 if (t->size % max_align != 0) in btf_is_struct_packed()
Dbtf.c699 int i, max_align = 1, align; in btf__align_of() local
705 max_align = max(max_align, align); in btf__align_of()
718 if ((t->size % max_align) != 0) in btf__align_of()
721 return max_align; in btf__align_of()
/third_party/mesa3d/src/amd/vulkan/
Dradv_descriptor_set.c74 uint32_t max_align = 0; in radv_mutable_descriptor_type_size_alignment() local
102 max_align = MAX2(max_align, align); in radv_mutable_descriptor_type_size_alignment()
106 *out_align = max_align; in radv_mutable_descriptor_type_size_alignment()
/third_party/mesa3d/src/amd/compiler/
Daco_lower_to_hw_instr.cpp982 unsigned max_align = src.def.regClass().type() == RegType::vgpr ? 4 : 16; in split_copy() local
988 bool can_increase = def_reg.reg_b % MIN2(next, max_align) == 0 && in split_copy()
991 can_increase = op_reg.reg_b % MIN2(next, max_align) == 0; in split_copy()