Home
last modified time | relevance | path

Searched refs:hw_type (Results 1 – 11 of 11) sorted by relevance

/third_party/ffmpeg/libavutil/
Dhwcontext.c129 if (ctx->internal->hw_type->device_uninit) in hwdevice_ctx_free()
130 ctx->internal->hw_type->device_uninit(ctx); in hwdevice_ctx_free()
147 const HWContextType *hw_type = NULL; in av_hwdevice_ctx_alloc() local
152 hw_type = hw_table[i]; in av_hwdevice_ctx_alloc()
156 if (!hw_type) in av_hwdevice_ctx_alloc()
167 if (hw_type->device_priv_size) { in av_hwdevice_ctx_alloc()
168 ctx->internal->priv = av_mallocz(hw_type->device_priv_size); in av_hwdevice_ctx_alloc()
173 if (hw_type->device_hwctx_size) { in av_hwdevice_ctx_alloc()
174 ctx->hwctx = av_mallocz(hw_type->device_hwctx_size); in av_hwdevice_ctx_alloc()
188 ctx->internal->hw_type = hw_type; in av_hwdevice_ctx_alloc()
[all …]
Dhwcontext_internal.h104 const HWContextType *hw_type; member
115 const HWContextType *hw_type; member
/third_party/mesa3d/src/amd/vulkan/
Dradv_sdma_copy_image.c32 unsigned *hw_type) in radv_translate_format_to_hw() argument
44 *hw_type = V_028C70_NUMBER_FLOAT; in radv_translate_format_to_hw()
46 *hw_type = V_028C70_NUMBER_UNORM; in radv_translate_format_to_hw()
48 *hw_type = V_028C70_NUMBER_SRGB; in radv_translate_format_to_hw()
51 *hw_type = V_028C70_NUMBER_SINT; in radv_translate_format_to_hw()
54 *hw_type = V_028C70_NUMBER_SNORM; in radv_translate_format_to_hw()
58 *hw_type = V_028C70_NUMBER_UINT; in radv_translate_format_to_hw()
61 *hw_type = V_028C70_NUMBER_UNORM; in radv_translate_format_to_hw()
163 unsigned hw_fmt, hw_type; in radv_sdma_v4_v5_copy_image_to_buffer() local
167 &hw_type); in radv_sdma_v4_v5_copy_image_to_buffer()
[all …]
/third_party/mesa3d/src/intel/compiler/
Dbrw_reg_type.c91 static const struct hw_type { struct
327 const struct hw_type *table; in brw_reg_type_to_hw_type()
368 enum brw_reg_file file, unsigned hw_type) in brw_hw_type_to_reg_type() argument
370 const struct hw_type *table; in brw_hw_type_to_reg_type()
390 if (table[i].imm_type == (enum hw_imm_type)hw_type) { in brw_hw_type_to_reg_type()
396 if (table[i].reg_type == (enum hw_reg_type)hw_type) { in brw_hw_type_to_reg_type()
458 unsigned hw_type) in brw_a16_hw_3src_type_to_reg_type() argument
471 if (table[i].reg_type == hw_type) { in brw_a16_hw_3src_type_to_reg_type()
484 unsigned hw_type, unsigned exec_type) in brw_a1_hw_3src_type_to_reg_type() argument
493 if (table[i].reg_type == hw_type && in brw_a1_hw_3src_type_to_reg_type()
Dbrw_reg_type.h181 enum brw_reg_file file, unsigned hw_type);
193 unsigned hw_type);
197 unsigned hw_type, unsigned exec_type);
Dbrw_inst.h387 unsigned hw_type = brw_reg_type_to_a16_hw_3src_type(devinfo, type); \
388 brw_inst_set_3src_a16_##reg##_hw_type(devinfo, inst, hw_type); \
395 unsigned hw_type = brw_inst_3src_a16_##reg##_hw_type(devinfo, inst); \
396 return brw_a16_hw_3src_type_to_reg_type(devinfo, hw_type); \
457 unsigned hw_type = brw_reg_type_to_a1_hw_3src_type(devinfo, type); \ in REG_TYPE()
458 brw_inst_set_3src_a1_##reg##_hw_type(devinfo, inst, hw_type); \ in REG_TYPE()
468 unsigned hw_type = brw_inst_3src_a1_##reg##_hw_type(devinfo, inst); \
469 return brw_a1_hw_3src_type_to_reg_type(devinfo, hw_type, exec_type); \
1173 unsigned hw_type = brw_reg_type_to_hw_type(devinfo, file, type); \
1175 brw_inst_set_##reg##_reg_hw_type(devinfo, inst, hw_type); \
[all …]
Dtest_eu_validate.cpp312 unsigned hw_type = brw_reg_type_to_hw_type(&devinfo, file, test_case[i].type); in TEST_P() local
313 if (hw_type != INVALID_REG_TYPE) { in TEST_P()
315 assert(BITSET_TEST(invalid_encodings, hw_type)); in TEST_P()
316 BITSET_CLEAR(invalid_encodings, hw_type); in TEST_P()
411 unsigned hw_type = brw_reg_type_to_a16_hw_3src_type(&devinfo, test_case[i].type); in TEST_P() local
412 if (hw_type != INVALID_HW_REG_TYPE) { in TEST_P()
414 assert(BITSET_TEST(invalid_encodings, hw_type)); in TEST_P()
415 BITSET_CLEAR(invalid_encodings, hw_type); in TEST_P()
502 unsigned hw_type = brw_reg_type_to_a1_hw_3src_type(&devinfo, test_case[i].type); in TEST_P() local
503 unsigned hw_exec_type = hw_type | (test_case[i].exec_type << 3); in TEST_P()
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_sdma_copy_image.c74 …format_to_hw(struct si_context *sctx, enum pipe_format format, unsigned *hw_fmt, unsigned *hw_type) in si_translate_format_to_hw() argument
86 *hw_type = V_028C70_NUMBER_FLOAT; in si_translate_format_to_hw()
88 *hw_type = V_028C70_NUMBER_UNORM; in si_translate_format_to_hw()
90 *hw_type = V_028C70_NUMBER_SRGB; in si_translate_format_to_hw()
93 *hw_type = V_028C70_NUMBER_SINT; in si_translate_format_to_hw()
96 *hw_type = V_028C70_NUMBER_SNORM; in si_translate_format_to_hw()
100 *hw_type = V_028C70_NUMBER_UINT; in si_translate_format_to_hw()
103 *hw_type = V_028C70_NUMBER_UNORM; in si_translate_format_to_hw()
201 unsigned hw_fmt, hw_type; in si_sdma_v4_v5_copy_texture() local
204 si_translate_format_to_hw(sctx, tiled->buffer.b.b.format, &hw_fmt, &hw_type); in si_sdma_v4_v5_copy_texture()
[all …]
/third_party/toybox/toys/pending/
Darp.c39 char *hw_type;
220 if ((type = get_index(hwtype, TT.hw_type)) != ARPHRD_ETHER) in arp_main()
249 if ((FLAG(H) && get_index(hwtype, TT.hw_type) != h_type) || in arp_main()
/third_party/toybox/generated/
Dglobals.h472 char *hw_type; member
/third_party/mesa3d/docs/relnotes/
D20.0.0.rst2509 - intel/compiler: Split hw_type tables