Home
last modified time | relevance | path

Searched refs:format (Results 1326 - 1350 of 12981) sorted by relevance

1...<<51525354555657585960>>...520

/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_format.c31 * Mesa / Gallium format conversion and format selection code.
51 #include "util/format/u_format.h"
59 * Translate Mesa format to Gallium format.
67 /* The destination RGBA format mustn't be changed, because it's also in st_mesa_format_to_pipe_format()
68 * a destination format of the unpack/decompression function. in st_mesa_format_to_pipe_format()
108 unreachable("Unknown ETC2 format"); in st_mesa_format_to_pipe_format()
127 * Translate Gallium format to Mesa format
130 st_pipe_format_to_mesa_format(enum pipe_format format) st_pipe_format_to_mesa_format() argument
1109 st_choose_format(struct st_context *st, GLenum internalFormat, GLenum format, GLenum type, enum pipe_texture_target target, unsigned sample_count, unsigned storage_sample_count, unsigned bindings, bool swap_bytes, bool allow_dxt) st_choose_format() argument
1206 st_choose_matching_format_noverify(struct st_context *st, GLenum format, GLenum type, GLboolean swapBytes) st_choose_matching_format_noverify() argument
1230 st_choose_matching_format(struct st_context *st, unsigned bind, GLenum format, GLenum type, GLboolean swapBytes) st_choose_matching_format() argument
1247 st_ChooseTextureFormat(struct gl_context *ctx, GLenum target, GLint internalFormat, GLenum format, GLenum type) st_ChooseTextureFormat() argument
1394 enum pipe_format format; st_QuerySamplesForFormat() local
1490 mesa_format format = st_ChooseTextureFormat(ctx, target, internalFormat, GL_NONE, GL_NONE); st_QueryInternalFormat() local
1505 mesa_format format = st_ChooseTextureFormat(ctx, target, internalFormat, GL_NONE, GL_NONE); st_QueryInternalFormat() local
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DVertexFormatTests.cpp22 // Vertex format tests all work the same way: the test will render a triangle.
60 bool IsNormalizedFormat(wgpu::VertexFormat format) { in IsNormalizedFormat() argument
61 switch (format) { in IsNormalizedFormat()
76 bool IsUnsignedFormat(wgpu::VertexFormat format) { in IsUnsignedFormat() argument
77 switch (format) { in IsUnsignedFormat()
96 bool IsFloatFormat(wgpu::VertexFormat format) { in IsFloatFormat() argument
97 switch (format) { in IsFloatFormat()
110 bool IsHalfFormat(wgpu::VertexFormat format) { in IsHalfFormat() argument
111 switch (format) { in IsHalfFormat()
120 uint32_t BytesPerComponents(wgpu::VertexFormat format) { in BytesPerComponents() argument
160 ComponentCount(wgpu::VertexFormat format) ComponentCount() argument
223 MakeTestPipeline(wgpu::VertexFormat format, std::vector<T>& expectedData) MakeTestPipeline() argument
381 DoVertexFormatTest(wgpu::VertexFormat format, std::vector<VertexType> vertex, std::vector<ExpectedType> expectedData) DoVertexFormatTest() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/nxp/
H A Dimx-mipi-csis.c488 * format to RAW8. If the CSIS ends up being integrated in an
558 const struct v4l2_mbus_framefmt *format, in __mipi_csis_set_format()
563 /* Color format */ in __mipi_csis_set_format()
588 val = format->width | (format->height << 16); in __mipi_csis_set_format()
643 const struct v4l2_mbus_framefmt *format, in mipi_csis_set_params()
656 __mipi_csis_set_format(csis, format, csis_fmt); in mipi_csis_set_params()
730 const struct v4l2_mbus_framefmt *format, in mipi_csis_start_stream()
734 mipi_csis_set_params(csis, format, csis_fmt); in mipi_csis_start_stream()
938 const struct v4l2_mbus_framefmt *format; in mipi_csis_s_stream() local
557 __mipi_csis_set_format(struct mipi_csis_device *csis, const struct v4l2_mbus_framefmt *format, const struct csis_pix_format *csis_fmt) __mipi_csis_set_format() argument
642 mipi_csis_set_params(struct mipi_csis_device *csis, const struct v4l2_mbus_framefmt *format, const struct csis_pix_format *csis_fmt) mipi_csis_set_params() argument
729 mipi_csis_start_stream(struct mipi_csis_device *csis, const struct v4l2_mbus_framefmt *format, const struct csis_pix_format *csis_fmt) mipi_csis_start_stream() argument
[all...]
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dvx_meta_common.c216 uint32_t format) in emit_linear_load()
221 load.input_image_format = format; in emit_linear_load()
235 uint32_t format) in emit_linear_store()
241 store.output_image_format = format; in emit_linear_store()
249 /* This chooses a tile buffer format that is appropriate for the copy operation.
253 * color format.
273 * have packed stencil values, so we choose an R8UI format for our in choose_tlb_format()
280 * that we need to put into the LSB of the 32-bit format (the R in choose_tlb_format()
303 return framebuffer->format->rt_type; in choose_tlb_format()
307 return framebuffer->format in choose_tlb_format()
211 emit_linear_load(struct v3dv_cl *cl, uint32_t buffer, struct v3dv_bo *bo, uint32_t offset, uint32_t stride, uint32_t format) emit_linear_load() argument
229 emit_linear_store(struct v3dv_cl *cl, uint32_t buffer, struct v3dv_bo *bo, uint32_t offset, uint32_t stride, bool msaa, uint32_t format) emit_linear_store() argument
312 format_needs_rb_swap(struct v3dv_device *device, VkFormat format) format_needs_rb_swap() argument
320 format_needs_reverse(struct v3dv_device *device, VkFormat format) format_needs_reverse() argument
537 uint32_t format = choose_tlb_format(framebuffer, emit_copy_layer_to_buffer_per_tile_list() local
672 emit_copy_buffer_per_tile_list(struct v3dv_job *job, struct v3dv_bo *dst, struct v3dv_bo *src, uint32_t dst_offset, uint32_t src_offset, uint32_t stride, uint32_t format) emit_copy_buffer_per_tile_list() argument
708 meta_emit_copy_buffer(struct v3dv_job *job, struct v3dv_bo *dst, struct v3dv_bo *src, uint32_t dst_offset, uint32_t src_offset, struct v3dv_meta_framebuffer *framebuffer, uint32_t format, uint32_t item_size) meta_emit_copy_buffer() argument
725 meta_emit_copy_buffer_rcl(struct v3dv_job *job, struct v3dv_bo *dst, struct v3dv_bo *src, uint32_t dst_offset, uint32_t src_offset, struct v3dv_meta_framebuffer *framebuffer, uint32_t format, uint32_t item_size) meta_emit_copy_buffer_rcl() argument
832 meta_emit_tfu_job(struct v3dv_cmd_buffer *cmd_buffer, uint32_t dst_bo_handle, uint32_t dst_offset, enum v3d_tiling_mode dst_tiling, uint32_t dst_padded_height_or_stride, uint32_t dst_cpp, uint32_t src_bo_handle, uint32_t src_offset, enum v3d_tiling_mode src_tiling, uint32_t src_padded_height_or_stride, uint32_t src_cpp, uint32_t width, uint32_t height, const struct v3dv_format *format) meta_emit_tfu_job() argument
1088 uint32_t format = choose_tlb_format(framebuffer, imgrsc->aspectMask, emit_copy_buffer_to_layer_per_tile_list() local
1251 uint32_t format; meta_copy_buffer() local
[all...]
/third_party/mesa3d/src/intel/isl/
H A Disl.h47 #include "util/format/u_format.h"
407 /* An upper bound on the supported format enumerations */
513 * vertex format.
523 * vertex format.
582 ISL_TILING_HIZ, /**< Tiling format for HiZ surfaces */
583 ISL_TILING_CCS, /**< Tiling format for CCS surfaces */
584 ISL_TILING_GFX12_CCS, /**< Tiling format for Gfx12 CCS surfaces */
858 * For any given auxiliary surface compression format (HiZ, CCS, or MCS), any
930 * MCS is format-unaware so we leave the surface compressed 100% of the time.
984 * auxiliary compression format an
1327 enum isl_format format; /**< Format */ global() member
1438 enum isl_format format; global() member
1486 enum isl_format format; global() member
1585 enum isl_format format; global() member
1712 enum isl_format format; global() member
2361 isl_swizzle_is_identity_for_format(enum isl_format format, struct isl_swizzle swizzle) isl_swizzle_is_identity_for_format() argument
2839 isl_tiling_get_intratile_offset_sa(enum isl_tiling tiling, enum isl_surf_dim dim, enum isl_msaa_layout msaa_layout, enum isl_format format, uint32_t samples, uint32_t row_pitch_B, uint32_t array_pitch_el_rows, uint32_t total_x_offset_sa, uint32_t total_y_offset_sa, uint32_t total_z_offset_sa, uint32_t total_array_offset, uint64_t *tile_offset_B, uint32_t *x_offset_sa, uint32_t *y_offset_sa, uint32_t *z_offset_sa, uint32_t *array_offset) isl_tiling_get_intratile_offset_sa() argument
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cSparseTextureClampTests.cpp249 /** Check if specific lookup function is allowed for specific target and format
252 * @param format Texture internal format
255 * @return Returns true if target/format combination is allowed, false otherwise.
257 bool SparseTextureClampLookupResidencyTestCase::funcAllowed(GLint target, GLint format, FunctionToken& funcToken) in funcAllowed() argument
262 if (format == GL_DEPTH_COMPONENT16) in funcAllowed()
276 * @param format Texture internal format
283 bool SparseTextureClampLookupResidencyTestCase::verifyLookupTextureData(const Functions& gl, GLint target, GLint format, in verifyLookupTextureData() argument
346 // Adjust shader source to texture format in verifyLookupTextureData()
634 const GLint& format = *formIter; iterate() local
652 mLog << "Testing sparse texture lookup color functions for target: " << target << ", format: " << format iterate() local
707 writeDataToTexture(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint level) writeDataToTexture() argument
801 verifyLookupTextureData(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint level, FunctionToken& funcToken) verifyLookupTextureData() argument
985 prepareTexture(const Functions& gl, GLint target, GLint format, GLuint& texture) prepareTexture() argument
1022 commitTexturePage(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint level) commitTexturePage() argument
1129 generateExpectedResult(std::string returnType, GLint level, GLint format) generateExpectedResult() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A DVertexArrayGL.cpp39 return a.format == b.format && a.relativeOffset == b.relativeOffset; in SameVertexAttribFormat()
535 mNativeState->attributes[idx].format = attrib.format; in streamAttributes()
595 mNativeState->attributes[idx].format = attrib.format; in recoverForcedStreamingAttributesForDrawArraysInstanced()
695 mNativeState->attributes[attribIndex].format = attrib.format; in updateAttribPointer()
720 const angle::Format &format = *attrib.format; in callVertexAttribPointer() local
761 const angle::Format &format = *attrib.format; updateAttribFormat() local
[all...]
/kernel/linux/linux-5.10/tools/include/asm/
H A Dbug.h10 #define WARN(condition, format...) ({ \
13 __WARN_printf(format); \
36 #define WARN_ONCE(condition, format...) ({ \
41 if (WARN(!__warned, format)) \
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_formats.h13 * dpu_get_dpu_format_ext() - Returns dpu format structure pointer.
14 * @format: DRM FourCC Code
15 * @modifiers: format modifier array from client, one per plane
18 const uint32_t format,
24 * dpu_find_format - validate if the pixel format is supported
25 * @format: dpu format
29 * Return: false if not valid format, true on success
31 static inline bool dpu_find_format(u32 format, const u32 *supported_formats, in dpu_find_format() argument
38 if (format in dpu_find_format()
[all...]
/kernel/linux/linux-6.6/tools/include/asm/
H A Dbug.h10 #define WARN(condition, format...) ({ \
13 __WARN_printf(format); \
36 #define WARN_ONCE(condition, format...) ({ \
41 if (WARN(!__warned, format)) \
/kernel/uniproton/src/om/include/
H A Dprt_err_external.h46 #define OS_ERROR_LOG_REPORT(traceLevel, format, ...)
50 #define OS_LOG_REPORT_DBG(format, ...) OS_ERROR_LOG_REPORT(OS_ERR_LEVEL_HIGH, (format), ##__VA_ARGS__)
53 #define OS_LOG_REPORT_DBG(format, ...)
/test/xts/hats/hdf/display/composer/common/
H A Ddisplay_test.h48 #define DISPLAY_TEST_LOGE(format, ...) \
50 HDF_LOGE("%{public}s:%{public}d " format "", __FUNCTION__, __LINE__, ##__VA_ARGS__); \
53 #define DISPLAY_TEST_LOGE(format, ...) \
55 HDF_LOGE("%{public}s:%{public}d " format "", __FUNCTION__, __LINE__, ##__VA_ARGS__); \
/third_party/ffmpeg/libavfilter/
H A Dframepool.h43 * @param format format of each frame in this pool
50 enum AVPixelFormat format, variable
61 * @param format format of each frame in this pool
68 enum AVSampleFormat format, variable
84 * @param format format of each frame in this pool
91 enum AVPixelFormat *format,
99 * @param format forma
[all...]
/third_party/bounds_checking_function/src/
H A Dvswscanf_s.c35 * that corresponds to a type specifier in format.
36 * The format argument controls the interpretation of the input fields and
37 * has the same form and function as the format argument for the scanf function.
42 * format Format control string, see Format Specifications.
54 int vswscanf_s(const wchar_t *buffer, const wchar_t *format, va_list argList) in vswscanf_s() argument
61 if (buffer == NULL || format == NULL) { in vswscanf_s()
67 SecClearDestBufW(buffer, format, argList); in vswscanf_s()
72 retVal = SecInputSW(&fStr, format, argList); in vswscanf_s()
/third_party/node/deps/v8/tools/
H A Dupdate-object-macros-undef.py26 """.format(os.path.basename(__file__))
32 .format(INPUT))
35 .format(OUTPUT))
44 outfile.write('#undef {}\n'.format(match.group(1)))
/third_party/nghttp2/
H A Dgennmchartbl.py20 sys.stdout.write('1 /* {} */, '.format(chr(i)))
22 sys.stdout.write('0 /* {} */, '.format(chr(i)))
24 sys.stdout.write('0 /* {} */, '.format(hex(i)))
26 sys.stdout.write('0 /* {} */, '.format(name(i)))
H A Dgenauthoritychartbl.py24 sys.stdout.write('1 /* {} */, '.format(chr(i)))
26 sys.stdout.write('0 /* {} */, '.format(chr(i)))
28 sys.stdout.write('0 /* {} */, '.format(hex(i)))
30 sys.stdout.write('0 /* {} */, '.format(name(i)))
H A Dgenmethodchartbl.py21 sys.stdout.write('1 /* {} */, '.format(chr(i)))
23 sys.stdout.write('0 /* {} */, '.format(chr(i)))
25 sys.stdout.write('0 /* {} */, '.format(hex(i)))
27 sys.stdout.write('0 /* {} */, '.format(name(i)))
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_debug.h67 lp_build_name(LLVMValueRef val, const char *format, ...) in lp_build_name() argument
72 va_start(ap, format); in lp_build_name()
73 vsnprintf(name, sizeof name, format, ap); in lp_build_name()
78 (void)format; in lp_build_name()
/third_party/skia/src/ports/
H A DSkDebug_ohos.cpp28 void SkDebugf(const char format[], ...) { in SkDebugf() argument
30 va_start(args1, format); in SkDebugf()
34 vprintf(format, args2); in SkDebugf()
38 HiLogPrintArgs(LOG_CORE, LogLevel::LOG_DEBUG, 0xD001406, LOG_TAG, format, args1); in SkDebugf()
/kernel/linux/linux-5.10/drivers/media/pci/mantis/
H A Dmantis_common.h27 #define dprintk(y, z, format, arg...) do { \
30 printk(KERN_ERR "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
32 printk(KERN_NOTICE "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
34 printk(KERN_INFO "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
36 printk(KERN_DEBUG "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
38 printk(KERN_DEBUG "%s (%d): " format "\n" , __func__ , mantis->num , ##arg); \
41 printk(format , ##arg); \
/kernel/linux/linux-5.10/drivers/media/radio/wl128x/
H A Dfmdrv.h43 #define fmerr(format, ...) \
44 printk(KERN_ERR "fmdrv: " format, ## __VA_ARGS__)
45 #define fmwarn(format, ...) \
46 printk(KERN_WARNING "fmdrv: " format, ##__VA_ARGS__)
48 #define fmdbg(format, ...) \
49 printk(KERN_DEBUG "fmdrv: " format, ## __VA_ARGS__)
51 #define fmdbg(format, ...) do {} while(0)
62 /* RX RDS data format */
/kernel/linux/linux-5.10/drivers/media/platform/xilinx/
H A Dxilinx-vip.h105 * struct xvip_video_format - Xilinx Video IP video format description
106 * @vf_code: AXI4 video format code
107 * @width: AXI4 format width in bits per component
109 * @code: media bus format code
111 * @fourcc: V4L2 pixel format FCC identifier
125 void xvip_set_format_size(struct v4l2_mbus_framefmt *format,
190 const struct v4l2_mbus_framefmt *format) in xvip_set_frame_size()
193 (format->height << XVIP_ACTIVE_VSIZE_SHIFT) | in xvip_set_frame_size()
194 (format->width << XVIP_ACTIVE_HSIZE_SHIFT)); in xvip_set_frame_size()
198 struct v4l2_mbus_framefmt *format) in xvip_get_frame_size()
189 xvip_set_frame_size(struct xvip_device *xvip, const struct v4l2_mbus_framefmt *format) xvip_set_frame_size() argument
197 xvip_get_frame_size(struct xvip_device *xvip, struct v4l2_mbus_framefmt *format) xvip_get_frame_size() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/radio/wl128x/
H A Dfmdrv.h43 #define fmerr(format, ...) \
44 printk(KERN_ERR "fmdrv: " format, ## __VA_ARGS__)
45 #define fmwarn(format, ...) \
46 printk(KERN_WARNING "fmdrv: " format, ##__VA_ARGS__)
48 #define fmdbg(format, ...) \
49 printk(KERN_DEBUG "fmdrv: " format, ## __VA_ARGS__)
51 #define fmdbg(format, ...) do {} while(0)
62 /* RX RDS data format */
/kernel/linux/linux-6.6/drivers/media/platform/xilinx/
H A Dxilinx-vip.h105 * struct xvip_video_format - Xilinx Video IP video format description
106 * @vf_code: AXI4 video format code
107 * @width: AXI4 format width in bits per component
109 * @code: media bus format code
111 * @fourcc: V4L2 pixel format FCC identifier
125 void xvip_set_format_size(struct v4l2_mbus_framefmt *format,
190 const struct v4l2_mbus_framefmt *format) in xvip_set_frame_size()
193 (format->height << XVIP_ACTIVE_VSIZE_SHIFT) | in xvip_set_frame_size()
194 (format->width << XVIP_ACTIVE_HSIZE_SHIFT)); in xvip_set_frame_size()
198 struct v4l2_mbus_framefmt *format) in xvip_get_frame_size()
189 xvip_set_frame_size(struct xvip_device *xvip, const struct v4l2_mbus_framefmt *format) xvip_set_frame_size() argument
197 xvip_get_frame_size(struct xvip_device *xvip, struct v4l2_mbus_framefmt *format) xvip_get_frame_size() argument
[all...]

Completed in 24 milliseconds

1...<<51525354555657585960>>...520