Home
last modified time | relevance | path

Searched refs:component_size (Results 1 – 25 of 31) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Drscc.c60 int component_size; member
92 ctx->component_size = 4; in rscc_init()
95 ctx->component_size = 3; in rscc_init()
99 ctx->component_size = 4; in rscc_init()
102 ctx->component_size = avctx->bits_per_coded_sample / 8; in rscc_init()
123 ctx->component_size = 4; in rscc_init()
128 ctx->inflated_size = avctx->width * avctx->height * ctx->component_size; in rscc_init()
237 … if (pixel_size + ctx->tiles[i].w * (int64_t)ctx->tiles[i].h * ctx->component_size > INT_MAX) { in rscc_decode_frame()
243 pixel_size += ctx->tiles[i].w * ctx->tiles[i].h * ctx->component_size; in rscc_decode_frame()
326 ctx->tiles[i].x * ctx->component_size; in rscc_decode_frame()
[all …]
Dscreenpresso.c110 int keyframe, component_size, src_linesize; in screenpresso_decode_frame() local
124 component_size = ((avpkt->data[1] >> 2) & 0x03) + 1; in screenpresso_decode_frame()
125 switch (component_size) { in screenpresso_decode_frame()
137 component_size); in screenpresso_decode_frame()
154 src_linesize = FFALIGN(avctx->width * component_size, 4); in screenpresso_decode_frame()
162 avctx->width * component_size, avctx->height); in screenpresso_decode_frame()
167 avctx->width * component_size, avctx->height); in screenpresso_decode_frame()
/third_party/mesa3d/src/intel/compiler/
Dbrw_vec4_cse.cpp214 unsigned component_size = width * type_sz(entry->tmp.type); in opt_cse_local() local
216 DIV_ROUND_UP(entry->generator->size_written, component_size); in opt_cse_local()
235 unsigned component_size = width * type_sz(inst->dst.type); in opt_cse_local() local
237 DIV_ROUND_UP(inst->size_written, component_size); in opt_cse_local()
Dbrw_fs_lower_regioning.cpp431 assert(inst->size_written == inst->dst.component_size(inst->exec_size)); in lower_dst_modifiers()
433 inst->size_written = inst->dst.component_size(inst->exec_size); in lower_dst_modifiers()
534 assert(inst->size_written == inst->dst.component_size(inst->exec_size)); in lower_dst_region()
536 inst->size_written = inst->dst.component_size(inst->exec_size); in lower_dst_region()
572 assert(sub_inst.size_written == sub_inst.dst.component_size(sub_inst.exec_size)); in lower_exec_type()
Dbrw_ir_fs.h51 unsigned component_size(unsigned width) const;
143 return byte_offset(reg, delta * reg.component_size(width)); in offset()
Dbrw_fs_reg_allocate.cpp752 const unsigned reg_size = dst.component_size(bld.dispatch_width()) / in emit_unspill()
821 const unsigned reg_size = src.component_size(bld.dispatch_width()) / in emit_spill()
1145 DIV_ROUND_UP(inst->dst.component_size(inst->exec_size), REG_SIZE), in spill_reg()
Dbrw_fs_nir.cpp2170 inst->size_written = 2 * dst.component_size(inst->exec_size); in emit_pixel_interpolater_send()
2627 tmp.component_size(inst->exec_size); in emit_gs_input_load()
2636 dst.component_size(inst->exec_size); in emit_gs_input_load()
2653 tmp.component_size(inst->exec_size); in emit_gs_input_load()
2662 dst.component_size(inst->exec_size); in emit_gs_input_load()
2970 inst->dst.component_size(inst->exec_size); in nir_emit_tcs_intrinsic()
3211 inst->dst.component_size(inst->exec_size); in nir_emit_tes_intrinsic()
3374 inst->size_written = 4 * inst->dst.component_size(inst->exec_size); in emit_non_coherent_fb_read()
3389 inst->size_written = 4 * inst->dst.component_size(inst->exec_size); in emit_coherent_fb_read()
4870 inst->dst.component_size(inst->exec_size); in nir_emit_intrinsic()
[all …]
Dbrw_fs_cse.cpp209 DIV_ROUND_UP(inst->dst.component_size(inst->exec_size), REG_SIZE); in create_copy_instr()
Dbrw_fs_copy_propagation.cpp602 inst->dst.component_size(inst->exec_size) > in try_copy_propagate()
603 inst->src[arg].component_size(inst->exec_size))) in try_copy_propagate()
Dbrw_fs.cpp80 this->size_written = dst.component_size(exec_size); in init()
197 inst->size_written = 4 * vec4_result.component_size(inst->exec_size); in VARYING_PULL_CONSTANT_LOAD()
548 fs_reg::component_size(unsigned width) const in component_size() function in fs_reg
955 return components_read(arg) * src[arg].component_size(exec_size); in size_read()
5097 DIV_ROUND_UP(inst->dst.component_size(inst->exec_size), REG_SIZE); in get_lowered_simd_width()
5188 if (inst->size_written > inst->dst.component_size(inst->exec_size)) in needs_dst_copy()
5239 inst->dst.component_size(inst->exec_size); in emit_zip()
5304 inst->dst.component_size(inst->exec_size); in lower_simd_width()
5376 split_inst.dst.component_size(lower_width) * dst_size; in lower_simd_width()
Dbrw_fs_bank_conflicts.cpp660 const unsigned exec_size = inst->dst.component_size(inst->exec_size); in shader_conflict_weight_matrix()
Dbrw_fs_generator.cpp1804 inst->dst.component_size(inst->exec_size) > REG_SIZE) { in generate_code()
1868 inst->dst.component_size(inst->exec_size) > REG_SIZE; in generate_code()
Dbrw_fs_visitor.cpp58 inst->size_written = 4 * dest.component_size(inst->exec_size); in emit_mcs_fetch()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_vector_shuffle.cpp158 &element_type, static_cast<uint32_t>(message_.component_size())); in GetResultTypeId()
186 component_index < static_cast<uint32_t>(message_.component_size()); in AddDataSynonymFacts()
/third_party/spirv-tools/source/fuzz/
Dtransformation_vector_shuffle.cpp158 &element_type, static_cast<uint32_t>(message_.component_size())); in GetResultTypeId()
186 component_index < static_cast<uint32_t>(message_.component_size()); in AddDataSynonymFacts()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_vector_shuffle.cpp158 &element_type, static_cast<uint32_t>(message_.component_size())); in GetResultTypeId()
186 component_index < static_cast<uint32_t>(message_.component_size()); in AddDataSynonymFacts()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_vbuf.c115 unsigned component_size[PIPE_MAX_ATTRIBS]; member
782 te->output_offset % mgr->ve->component_size[i] != 0) { in u_vbuf_translate_begin()
783 unsigned aligned = align(te->output_offset, mgr->ve->component_size[i]); in u_vbuf_translate_begin()
790 min_alignment[type] = MAX2(min_alignment[type], mgr->ve->component_size[i]); in u_vbuf_translate_begin()
910 unsigned component_size = is_packed ? in u_vbuf_create_vertex_elements() local
912 ve->component_size[i] = component_size; in u_vbuf_create_vertex_elements()
918 ve->ve[i].src_offset % component_size != 0)) { in u_vbuf_create_vertex_elements()
923 if (component_size == 2) in u_vbuf_create_vertex_elements()
925 else if (component_size == 4) in u_vbuf_create_vertex_elements()
/third_party/skia/third_party/externals/angle2/src/common/
Dgen_uniform_type_table.py238 component_size=get_component_size(uniform_type),
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Dgen_uniform_type_table.py247 component_size=get_component_size(uniform_type),
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_draw.c780 if (v->component_size == 4) in lima_pack_render_state()
954 int size = v->component_size * 4; in lima_update_varying()
957 if (v->component_size == 4) in lima_update_varying()
1005 (v->component_size == 2 ? 0x0C : 0); in lima_update_varying()
Dlima_context.h76 int component_size; member
/third_party/mesa3d/src/compiler/glsl/
Dast_to_hir.cpp2882 unsigned component_size) { in validate_xfb_offset_qualifier() argument
2902 component_size = member_t->contains_double() ? 8 : 4; in validate_xfb_offset_qualifier()
2906 component_size); in validate_xfb_offset_qualifier()
2916 if (xfb_offset % component_size) { in validate_xfb_offset_qualifier()
2922 xfb_offset, component_size); in validate_xfb_offset_qualifier()
3835 unsigned component_size = var->type->contains_double() ? 8 : 4; in apply_layout_qualifier_to_variable() local
3840 var->type, component_size)) { in apply_layout_qualifier_to_variable()
8338 unsigned component_size = block_type->contains_double() ? 8 : 4; in hir() local
8342 component_size); in hir()
/third_party/mesa3d/src/imagination/vulkan/pds/
Dpvr_pds.h353 uint16_t component_size; member
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/
Dnir.c508 v->component_size = gpir_glsl_type_size(glsl_get_base_type(var->type)); in gpir_compile_nir()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp525 byte_align_vector(isel_context* ctx, Temp vec, Operand offset, Temp dst, unsigned component_size) in byte_align_vector() argument
553 unsigned num_components = vec.bytes() / component_size; in byte_align_vector()
563 RegClass rc = RegClass(RegType::vgpr, component_size).as_subdword(); in byte_align_vector()
565 assert(offset.constantValue() % component_size == 0); in byte_align_vector()
566 unsigned skip = offset.constantValue() / component_size; in byte_align_vector()
572 num_components = dst.bytes() / component_size; in byte_align_vector()
3967 can_use_byte_align_for_global_load(unsigned num_components, unsigned component_size, in can_use_byte_align_for_global_load() argument
3975 assert(component_size < 4); in can_use_byte_align_for_global_load()
3976 unsigned load_size = num_components * component_size; in can_use_byte_align_for_global_load()
3987 unsigned component_size; member
[all …]

12