Home
last modified time | relevance | path

Searched refs:format (Results 7501 - 7525 of 12675) sorted by relevance

1...<<301302303304305306307308309310>>...507

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DBufferZeroInitTests.cpp89 wgpu::TextureFormat format, in CreateAndInitializeTexture()
93 descriptor.format = format;
103 viewDescriptor.format = format;
227 descriptor.cAttributes[0].format = vertexFormat; in CreateRenderPipelineForTest()
228 descriptor.cTargets[0].format = kColorAttachmentFormat; in CreateRenderPipelineForTest()
1145 // A small sub-4-byte format means a single vertex can fit entirely within the padded buffer, in TEST_P()
1146 // touching some of the padding. Test a small format, as well as larger formats. in TEST_P()
1178 initTextureDesc.format in TEST_P()
88 CreateAndInitializeTexture(const wgpu::Extent3D& size, wgpu::TextureFormat format, wgpu::Color color = {0.f, 0.f, 0.f, 0.f}) CreateAndInitializeTexture() argument
[all...]
/third_party/skia/third_party/externals/angle2/include/GLES2/
H A Dgl2.h386 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
456 typedef void (GL_APIENTRYP PFNGLREADPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels);
469 typedef void (GL_APIENTRYP PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
474 typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
529 GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
599 GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels);
612 GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
617 GL_APICALL void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
/third_party/skia/third_party/externals/angle2/include/GLES/
H A Dgl.h464 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
528 typedef void (GL_APIENTRYP PFNGLREADPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels);
543 typedef void (GL_APIENTRYP PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
548 typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
609 GL_API void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
673 GL_API void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels);
688 GL_API void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
693 GL_API void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
/third_party/vk-gl-cts/modules/gles2/stress/
H A Des2sSpecialFloatTests.cpp420 GLuint format = 0;
429 case FBO_RGBA: internalFormat = GL_RGBA; format = GL_RGBA; type = GL_UNSIGNED_BYTE; break;
430 case FBO_RGBA4: internalFormat = GL_RGBA; format = GL_RGBA; type = GL_UNSIGNED_SHORT_4_4_4_4; break;
431 case FBO_RGB5_A1: internalFormat = GL_RGBA; format = GL_RGBA; type = GL_UNSIGNED_SHORT_5_5_5_1; break;
432 case FBO_RGB565: internalFormat = GL_RGB; format = GL_RGB; type = GL_UNSIGNED_SHORT_5_6_5; break;
433 case FBO_RGBA_FLOAT16: internalFormat = GL_RGBA; format = GL_RGBA; type = GL_HALF_FLOAT_OES; break;
442 << ", format = " << glu::getTextureFormatStr(format)
449 gl.texImage2D(GL_TEXTURE_2D, 0, internalFormat, TEST_CANVAS_SIZE, TEST_CANVAS_SIZE, 0, format, type, DE_NULL);
/third_party/vulkan-loader/tests/framework/icd/
H A Dtest_icd.cpp947 VkPhysicalDevice physicalDevice, [[maybe_unused]] VkFormat format, [[maybe_unused]] VkImageType type,
952 VKAPI_ATTR void VKAPI_CALL test_vkGetPhysicalDeviceFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format,
955 memcpy(pFormatProperties, &icd.GetPhysDevice(physicalDevice).format_properties[static_cast<uint32_t>(format)],
960 VkPhysicalDevice physicalDevice, [[maybe_unused]] VkFormat format, [[maybe_unused]] VkImageType type,
1021 test_vkGetPhysicalDeviceSparseImageFormatProperties(physicalDevice, pFormatInfo->format, pFormatInfo->type,
1035 VKAPI_ATTR void VKAPI_CALL test_vkGetPhysicalDeviceFormatProperties2(VkPhysicalDevice physicalDevice, VkFormat format,
1038 test_vkGetPhysicalDeviceFormatProperties(physicalDevice, format, &pFormatProperties->formatProperties);
1049 test_vkGetPhysicalDeviceImageFormatProperties(physicalDevice, pImageFormatInfo->format, pImageFormatInfo->type,
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_pipeline.c479 unsigned format, ntype, swap; in radv_choose_spi_color_format() local
481 format = radv_translate_colorformat(vk_format); in radv_choose_spi_color_format()
486 ac_choose_spi_color_formats(format, swap, ntype, false, use_rbplus, &formats); in radv_choose_spi_color_format()
499 format_is_int8(VkFormat format) in format_is_int8() argument
501 const struct util_format_description *desc = vk_format_description(format); in format_is_int8()
502 int channel = vk_format_get_first_non_void_channel(format); in format_is_int8()
508 format_is_int10(VkFormat format) in format_is_int10() argument
510 const struct util_format_description *desc = vk_format_description(format); in format_is_int10()
522 format_is_float32(VkFormat format) in format_is_float32() argument
524 const struct util_format_description *desc = vk_format_description(format); in format_is_float32()
616 radv_format_meta_fs_key(struct radv_device *device, VkFormat format) radv_format_meta_fs_key() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
H A Dpanel-simple.c3730 /* This is the grayscale bus format */
4359 enum mipi_dsi_pixel_format format; member
4387 .format = MIPI_DSI_FMT_RGB888,
4417 .format = MIPI_DSI_FMT_RGB888,
4445 .format = MIPI_DSI_FMT_RGB888,
4473 .format = MIPI_DSI_FMT_RGB888,
4502 .format = MIPI_DSI_FMT_RGB888,
4530 .format = MIPI_DSI_FMT_RGB888,
4561 .format = MIPI_DSI_FMT_RGB888,
4610 dsi->format in panel_simple_dsi_probe()
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/atmel/
H A Datmel-isc-base.c46 "Sensor is preferred to output the specified format (1-on 0-off), default 1");
990 * Checks the current configured format, if ISC can output it,
991 * considering which type of format the ISC receives from the sensor
1057 * Configures the RLP and DMA modules, depending on the output format
1059 * If direct_dump == true, just dump raw data 8/16 bits depending on format.
1161 * Configuring pipeline modules, depending on which format the ISC outputs
1162 * and considering which format it has as input from the sensor.
1172 /* if sensor format is RAW, we convert inside ISC */ in isc_try_configure_pipeline()
1181 /* if sensor format is RAW, we convert inside ISC */ in isc_try_configure_pipeline()
1191 /* if sensor format i in isc_try_configure_pipeline()
1264 struct v4l2_subdev_format format = { isc_try_fmt() local
1390 struct v4l2_subdev_format format = { isc_set_fmt() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/atm/
H A Dueagle-atm.c38 #define uea_dbg(usb_dev, format, args...) \
42 "[ueagle-atm dbg] %s: " format, \
46 #define uea_vdbg(usb_dev, format, args...) \
50 "[ueagle-atm vdbg] " format, ##args); \
59 #define uea_err(usb_dev, format, args...) \
60 dev_err(&(usb_dev)->dev , "[UEAGLE-ATM] " format , ##args)
62 #define uea_warn(usb_dev, format, args...) \
63 dev_warn(&(usb_dev)->dev , "[Ueagle-atm] " format, ##args)
65 #define uea_info(usb_dev, format, args...) \
66 dev_info(&(usb_dev)->dev , "[ueagle-atm] " format, ##arg
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
H A Ddc.c212 * Enable alpha blending if pixel format has an alpha in tegra_plane_setup_blending_legacy()
351 yuv = tegra_plane_format_is_yuv(window->format, &planar); in tegra_dc_setup_window()
357 tegra_plane_writel(plane, window->format, DC_WIN_COLOR_DEPTH); in tegra_dc_setup_window()
623 err = tegra_plane_format(state->fb->format->format, in tegra_plane_atomic_check()
624 &plane_state->format, in tegra_plane_atomic_check()
677 if (state->fb->format->num_planes > 2) { in tegra_plane_atomic_check()
731 window.bits_per_pixel = fb->format->cpp[0] * 8; in tegra_plane_atomic_update()
738 window.format = state->format; in tegra_plane_atomic_update()
[all...]
/kernel/linux/linux-6.6/drivers/usb/atm/
H A Dueagle-atm.c38 #define uea_dbg(usb_dev, format, args...) \
42 "[ueagle-atm dbg] %s: " format, \
46 #define uea_vdbg(usb_dev, format, args...) \
50 "[ueagle-atm vdbg] " format, ##args); \
59 #define uea_err(usb_dev, format, args...) \
60 dev_err(&(usb_dev)->dev , "[UEAGLE-ATM] " format , ##args)
62 #define uea_warn(usb_dev, format, args...) \
63 dev_warn(&(usb_dev)->dev , "[Ueagle-atm] " format, ##args)
65 #define uea_info(usb_dev, format, args...) \
66 dev_info(&(usb_dev)->dev , "[ueagle-atm] " format, ##arg
[all...]
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
H A Df_midi2.c609 unsigned int format, status, blk; in process_ump_stream_msg() local
611 format = ump_stream_message_format(*data); in process_ump_stream_msg()
615 if (format) in process_ump_stream_msg()
640 if (format) in process_ump_stream_msg()
2096 u32 val, const char *format, char *page) in f_midi2_opts_uint_show()
2101 result = sprintf(page, format, val); in f_midi2_opts_uint_show()
2206 #define F_MIDI2_BLOCK_OPT(name, format, minval, maxval) \
2212 format "\n", page); \
2393 #define F_MIDI2_EP_OPT(name, format, minval, maxval) \
2399 format "\
2095 f_midi2_opts_uint_show(struct f_midi2_opts *opts, u32 val, const char *format, char *page) f_midi2_opts_uint_show() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Dov8865.c632 /* Bits for the format register, used for binning. */
2705 struct v4l2_subdev_format *format) in ov8865_get_fmt()
2708 struct v4l2_mbus_framefmt *mbus_format = &format->format; in ov8865_get_fmt()
2712 if (format->which == V4L2_SUBDEV_FORMAT_TRY) in ov8865_get_fmt()
2714 format->pad); in ov8865_get_fmt()
2726 struct v4l2_subdev_format *format) in ov8865_set_fmt()
2729 struct v4l2_mbus_framefmt *mbus_format = &format->format; in ov8865_set_fmt()
2767 if (format in ov8865_set_fmt()
2703 ov8865_get_fmt(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) ov8865_get_fmt() argument
2724 ov8865_set_fmt(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) ov8865_set_fmt() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/mediatek/
H A Dmtk_dp.c23 #include <linux/media-bus-format.h>
87 enum dp_pixelformat format; member
475 drm_warn(mtk_dp->drm_dev, "Unsupported color format: %d\n", in mtk_dp_set_color_format()
1323 mtk_dp->info.format = DP_PIXELFORMAT_RGB; in mtk_dp_initialize_priv_data()
1372 pix_clk_mhz = mtk_dp->info.format == DP_PIXELFORMAT_YUV420 ? in mtk_dp_sdp_set_down_cnt_init_in_hblank()
1837 return mtk_dp_set_color_format(mtk_dp, mtk_dp->info.format); in mtk_dp_video_config()
2354 * format. Use this condition, we can support more resolution. in mtk_dp_bridge_atomic_get_input_bus_fmts()
2387 input_bus_format = bridge_state->input_bus_cfg.format; in mtk_dp_bridge_atomic_check()
2389 dev_dbg(mtk_dp->dev, "input format 0x%04x, output format in mtk_dp_bridge_atomic_check()
[all...]
/third_party/mesa3d/src/gallium/auxiliary/driver_ddebug/
H A Ddd_draw.c31 #include "util/format/u_format.h"
234 util_dump_format(FILE *f, enum pipe_format format) in util_dump_format() argument
236 fprintf(f, "%s", util_format_name(format)); in util_dump_format()
474 DUMP_M(format, info, dst.format); in dd_dump_blit()
479 DUMP_M(format, info, src.format); in dd_dump_blit()
1449 enum pipe_format format, in dd_context_generate_mipmap()
1463 record->call.info.generate_mipmap.format = format; in dd_context_generate_mipmap()
1447 dd_context_generate_mipmap(struct pipe_context *_pipe, struct pipe_resource *res, enum pipe_format format, unsigned base_level, unsigned last_level, unsigned first_layer, unsigned last_layer) dd_context_generate_mipmap() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp337 dbgs() << format("%08x %bb.%u\t", BBI.Offset, J) in dumpBBs()
340 << format(" size=%#x\n", BBInfo[J].Size); in dumpBBs()
1073 << format(" insn address=%#x", UserOffset) << " in " in isCPEntryInRange()
1075 << format("%#x-%x\t", BBI.Offset, BBI.postOffset()) << *MI in isCPEntryInRange()
1076 << format("CPE address=%#x offset=%+d: ", CPEOffset, in isCPEntryInRange()
1288 << format(", expected CPE offset %#x\n", CPEOffset)); in createNewWater()
1331 LLVM_DEBUG(dbgs() << format("Split in middle of big block before %#x", in createNewWater()
1339 LLVM_DEBUG(dbgs() << format(", adjusted to %#x", BaseInsertOffset) in createNewWater()
1376 LLVM_DEBUG(dbgs() << format("Move inside block: %#x\n", BaseInsertOffset)); in createNewWater()
1550 << format(" offse in handleConstantPoolUser()
[all...]
/third_party/vk-gl-cts/modules/gles3/stress/
H A Des3sSpecialFloatTests.cpp434 GLuint format = 0;
439 case FBO_RGBA4: internalFormat = GL_RGBA4; format = GL_RGBA; type = GL_UNSIGNED_SHORT_4_4_4_4; break;
440 case FBO_RGB5_A1: internalFormat = GL_RGB5_A1; format = GL_RGBA; type = GL_UNSIGNED_SHORT_5_5_5_1; break;
441 case FBO_RGB565: internalFormat = GL_RGB565; format = GL_RGB; type = GL_UNSIGNED_SHORT_5_6_5; break;
442 case FBO_RGBA8: internalFormat = GL_RGBA8; format = GL_RGBA; type = GL_UNSIGNED_BYTE; break;
443 case FBO_RGB10_A2: internalFormat = GL_RGB10_A2; format = GL_RGBA; type = GL_UNSIGNED_INT_2_10_10_10_REV; break;
444 case FBO_RGBA_FLOAT16: internalFormat = GL_RGBA16F; format = GL_RGBA; type = GL_HALF_FLOAT; break;
445 case FBO_RGBA_FLOAT32: internalFormat = GL_RGBA32F; format = GL_RGBA; type = GL_FLOAT; break;
454 << ", format = " << glu::getTextureFormatStr(format)
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_dpp.c173 enum surface_pixel_format format, in dpp3_cnv_setup()
206 switch (format) { in dpp3_cnv_setup()
392 scl_data->format == PIXEL_FORMAT_FP16) in dpp3_get_optimal_number_of_taps()
442 if ((scl_data->format == PIXEL_FORMAT_420BPP8) || (scl_data->format == PIXEL_FORMAT_420BPP10)) in dpp3_get_optimal_number_of_taps()
171 dpp3_cnv_setup( struct dpp *dpp_base, enum surface_pixel_format format, enum expansion_mode mode, struct dc_csc_transform input_csc_color_matrix, enum dc_color_space input_color_space, struct cnv_alpha_2bit_lut *alpha_2bit_lut) dpp3_cnv_setup() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_pipeline_state.c323 if (kfb->base.format->hsub > 1) in komeda_layer_check_cfg()
378 for (i = 0; i < fb->format->num_planes; i++) in komeda_layer_validate()
422 for (i = 0; i < kfb->base.format->num_planes; i++) in komeda_wb_layer_validate()
851 /* if format doesn't have alpha, fix blend mode to PIXEL_NONE */ in komeda_complete_data_flow_cfg()
852 if (!fb->format->has_alpha) in komeda_complete_data_flow_cfg()
859 dflow->is_yuv = fb->format->is_yuv; in komeda_complete_data_flow_cfg()
995 /* Consider YUV format, after split, the split source w/h in komeda_split_data_flow()
/kernel/linux/linux-5.10/drivers/media/pci/cx18/
H A Dcx18-av-core.c884 /* Set format to NTSC-M */ in cx18_av_s_std()
934 struct v4l2_subdev_format *format) in cx18_av_set_fmt()
936 struct v4l2_mbus_framefmt *fmt = &format->format; in cx18_av_set_fmt()
942 if (format->pad || fmt->code != MEDIA_BUS_FMT_FIXED) in cx18_av_set_fmt()
977 if (format->which == V4L2_SUBDEV_FORMAT_TRY) in cx18_av_set_fmt()
1044 CX18_INFO_DEV(sd, "Detected format: %s\n", in log_video_status()
1200 CX18_INFO_DEV(sd, "Selected 65 MHz format: %s\n", p); in log_audio_status()
1210 CX18_INFO_DEV(sd, "Selected 45 MHz format: %s\n", p); in log_audio_status()
932 cx18_av_set_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_format *format) cx18_av_set_fmt() argument
/kernel/linux/linux-5.10/drivers/media/i2c/
H A Dsaa717x.c286 0x58f, 0x023, /* Audio format */
984 struct v4l2_subdev_format *format) in saa717x_set_fmt()
986 struct v4l2_mbus_framefmt *fmt = &format->format; in saa717x_set_fmt()
991 if (format->pad || fmt->code != MEDIA_BUS_FMT_FIXED) in saa717x_set_fmt()
1003 if (format->which == V4L2_SUBDEV_FORMAT_TRY) in saa717x_set_fmt()
982 saa717x_set_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_format *format) saa717x_set_fmt() argument
/kernel/linux/linux-5.10/sound/pci/mixart/
H A Dmixart.c279 /* we don't yet know the format, so config 16 bit pcm audio for instance */ in snd_mixart_add_ref_pipe()
504 static int mixart_set_format(struct mixart_stream *stream, snd_pcm_format_t format) in mixart_set_format() argument
523 switch(format){ in mixart_set_format()
554 "error mixart_set_format() : unknown format\n"); in mixart_set_format()
597 snd_pcm_format_t format; in snd_mixart_hw_params() local
604 /* set up format for the stream */ in snd_mixart_hw_params()
605 format = params_format(hw); in snd_mixart_hw_params()
620 /* set the format to the board */ in snd_mixart_hw_params()
621 err = mixart_set_format(stream, format); in snd_mixart_hw_params()
/kernel/linux/linux-5.10/sound/soc/ti/
H A Domap-mcbsp.c795 * This means that the size of the FIFO depends on the sample format. in omap_mcbsp_dai_startup()
935 unsigned int format, div, framesize, master; in omap_mcbsp_dai_hw_params() local
1004 format = mcbsp->fmt & SND_SOC_DAIFMT_FORMAT_MASK; in omap_mcbsp_dai_hw_params()
1006 if (channels == 2 && (format == SND_SOC_DAIFMT_I2S || in omap_mcbsp_dai_hw_params()
1007 format == SND_SOC_DAIFMT_LEFT_J)) { in omap_mcbsp_dai_hw_params()
1036 /* Unsupported PCM format */ in omap_mcbsp_dai_hw_params()
1058 switch (format) { in omap_mcbsp_dai_hw_params()
1138 /* Unsupported data format */ in omap_mcbsp_dai_set_dai_fmt()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
H A Di915_gem.c224 u32 format; in i915_gem_dumb_create() local
228 format = DRM_FORMAT_C8; in i915_gem_dumb_create()
231 format = DRM_FORMAT_RGB565; in i915_gem_dumb_create()
234 format = DRM_FORMAT_XRGB8888; in i915_gem_dumb_create()
244 if (args->pitch > intel_plane_fb_max_stride(to_i915(dev), format, in i915_gem_dumb_create()
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
H A Dexynos_drm_g2d.c101 /* buffer color format */
163 * @format: color format
172 unsigned int format; member
606 static unsigned long g2d_get_buf_bpp(unsigned int format) in g2d_get_buf_bpp() argument
610 switch (format) { in g2d_get_buf_bpp()
663 bpp = g2d_get_buf_bpp(buf_desc->format); in g2d_check_buf_desc_is_valid()
1082 buf_desc->format = value & 0xf; in g2d_check_reg_offset()

Completed in 68 milliseconds

1...<<301302303304305306307308309310>>...507