Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavutil/
H A 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 in av_hwdevice_ctx_alloc()
251 const HWContextType *hw_type = device_ctx->internal->hw_type; av_hwframe_ctx_alloc() local
565 const HWContextType *hw_type = ctx->internal->hw_type; av_hwdevice_hwconfig_alloc() local
577 const HWContextType *hw_type = ctx->internal->hw_type; av_hwdevice_get_hwframe_constraints() local
[all...]
H A Dhwcontext_internal.h104 const HWContextType *hw_type; member
115 const HWContextType *hw_type; member
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_sdma_copy_image.c32 unsigned *hw_type) in radv_translate_format_to_hw()
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()
31 radv_translate_format_to_hw(struct radeon_info *info, VkFormat format, unsigned *hw_fmt, unsigned *hw_type) radv_translate_format_to_hw() argument
[all...]
/third_party/mesa3d/src/intel/compiler/
H A 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()
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()
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()
493 if (table[i].reg_type == hw_type in brw_a1_hw_3src_type_to_reg_type()
367 brw_hw_type_to_reg_type(const struct intel_device_info *devinfo, enum brw_reg_file file, unsigned hw_type) brw_hw_type_to_reg_type() argument
457 brw_a16_hw_3src_type_to_reg_type(const struct intel_device_info *devinfo, unsigned hw_type) brw_a16_hw_3src_type_to_reg_type() argument
483 brw_a1_hw_3src_type_to_reg_type(const struct intel_device_info *devinfo, unsigned hw_type, unsigned exec_type) brw_a1_hw_3src_type_to_reg_type() argument
[all...]
H A Dbrw_reg_type.h181 enum brw_reg_file file, unsigned hw_type);
193 unsigned hw_type);
197 unsigned hw_type, unsigned exec_type);
H A 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); \
458 brw_inst_set_3src_a1_##reg##_hw_type(devinfo, inst, hw_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...]
H A 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_cas in TEST_P()
529 const unsigned hw_type = e & 0x7; TEST_P() local
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_sdma_copy_image.c74 bool si_translate_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/
H A 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/backends/backend/
H A Dcanon_pp.c1516 static const char *hw_type = "flatbed scanner"; in init_device() local
1597 cs->hw.type = hw_type; in init_device()
/third_party/toybox/generated/
H A Dglobals.h472 char *hw_type; member

Completed in 13 milliseconds