/kernel/linux/linux-6.6/sound/soc/mediatek/mt8183/ |
H A D | mt8183-dai-tdm.c | 72 static unsigned int get_hdmi_wlen(snd_pcm_format_t format) in get_hdmi_wlen() argument 74 return snd_pcm_format_physical_width(format) <= 16 ? in get_hdmi_wlen() 78 static unsigned int get_tdm_wlen(snd_pcm_format_t format) in get_tdm_wlen() argument 80 return snd_pcm_format_physical_width(format) <= 16 ? in get_tdm_wlen() 84 static unsigned int get_tdm_channel_bck(snd_pcm_format_t format) in get_tdm_channel_bck() argument 86 return snd_pcm_format_physical_width(format) <= 16 ? in get_tdm_channel_bck() 90 static unsigned int get_tdm_lrck_width(snd_pcm_format_t format) in get_tdm_lrck_width() argument 92 return snd_pcm_format_physical_width(format) - 1; in get_tdm_lrck_width() 477 snd_pcm_format_t format = params_format(params); in mtk_dai_tdm_hw_params() local 491 snd_pcm_format_physical_width(format); in mtk_dai_tdm_hw_params() [all...] |
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/ |
H A D | dmlib_lite.py | 157 result = "{}{}".format(result, data) 171 result = "{}{}".format(result, data) 184 raise LiteDeviceTimeout(ErrorMessage.Device.Code_0303014.format(command)) 197 LOG.info("device_log_file:{}".format(device_log_file)) 209 raise LiteDeviceTimeout(ErrorMessage.Device.Code_0303014.format(command)) 239 LOG.info("parser hcptest end:{}".format(data)) 242 error_message = "execute {} timed out {} ".format(input_command, timeout) 250 exception_error = "run parser hcptest suite execute log error:{}".format(exception) 265 LOG.info("{} is exist!".format(target_string)) 269 LOG.info("{} doesn't exist!".format(target_strin [all...] |
/third_party/alsa-utils/topology/nhlt/intel/ |
H A D | dmic-nhlt.c | 295 /* fill in wave format extensible types */ in nhlt_dmic_get_ep() 296 f_conf1.format.wFormatTag = 0xFFFE; in nhlt_dmic_get_ep() 297 f_conf1.format.nSamplesPerSec = sample_rate; in nhlt_dmic_get_ep() 298 f_conf1.format.nChannels = channel_count; in nhlt_dmic_get_ep() 299 f_conf1.format.wBitsPerSample = bits_per_sample; in nhlt_dmic_get_ep() 300 f_conf1.format.nBlockAlign = channel_count * bits_per_sample / 8; in nhlt_dmic_get_ep() 301 f_conf1.format.nAvgBytesPerSec = f_conf1.format.nSamplesPerSec * f_conf1.format.nBlockAlign; in nhlt_dmic_get_ep() 304 f_conf1.format in nhlt_dmic_get_ep() [all...] |
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | cdtdptst.c | 68 log_data_err("FAIL: Error in creating a date format using udat_openPattern %s - (Are you missing data?)\n", in TestTwoDigitYearDSTParse() 127 /* this is supposed to open default date format, but later on it treats it like it is "en_US" in TestPartialParse994() 147 log_data_err("FAIL: could not format \n"); in TestPartialParse994() 161 void tryPat994(UDateFormat* format, const char* pattern, const char* s, UDate expected) in tryPat994() argument 174 udat_applyPattern(format, false, pat, u_strlen(pat)); in tryPat994() 176 date = udat_parse(format, str, u_strlen(str), &pos, &status); in tryPat994() 180 log_err("FAIL: Expected: %s\n", austrdup(myDateFormat(format, expected)) ); in tryPat994() 183 f=myDateFormat(format, date); in tryPat994() 204 UDateFormat *format; in TestRunTogetherPattern985() local 209 format in TestRunTogetherPattern985() 310 UDateFormat *format = NULL; TestQuotePattern161() local [all...] |
/third_party/libwebsockets/lib/core/ |
H A D | logs.c | 54 lws_lifecycle_t *lc, const char *format, ...) in __lws_lc_tag() 77 va_start(ap, format); in __lws_lc_tag() 78 n = vsnprintf(rend, ll, format, ap); in __lws_lc_tag() 108 va_start(ap, format); in __lws_lc_tag() 110 1u, format, ap); in __lws_lc_tag() 367 int filter, const char *_fun, const char *format, va_list vl) in __lws_logv() 441 n = vsnprintf(p, lws_ptr_diff_size_t(end, p), format, vl); in __lws_logv() 469 void _lws_logv(int filter, const char *format, va_list vl) in _lws_logv() argument 471 __lws_logv(&log_cx, NULL, NULL, filter, NULL, format, vl); in _lws_logv() 474 void _lws_log(int filter, const char *format, argument 53 __lws_lc_tag(struct lws_context *context, lws_lifecycle_group_t *grp, lws_lifecycle_t *lc, const char *format, ...) __lws_lc_tag() argument 366 __lws_logv(lws_log_cx_t *cx, lws_log_prepend_cx_t prep, void *obj, int filter, const char *_fun, const char *format, va_list vl) __lws_logv() argument 483 _lws_log_cx(lws_log_cx_t *cx, lws_log_prepend_cx_t prep, void *obj, int filter, const char *_fun, const char *format, ...) _lws_log_cx() argument [all...] |
/third_party/mesa3d/src/gallium/frontends/clover/core/ |
H A D | memory.cpp | 25 #include "util/format/u_format.h" 173 const cl_image_format *format, in image() 178 _format(*format), _width(width), _height(height), _depth(depth), in image() 219 image::format() const { in format() function in image 266 const cl_image_format *format, in image1d() 269 basic_image(ctx, properties, flags, format, width, 1, 1, 0, in image1d() 276 const cl_image_format *format, in image1d_buffer() 279 basic_image(ctx, properties, flags, format, width, 1, 1, 0, in image1d_buffer() 286 const cl_image_format *format, in image1d_array() 290 basic_image(ctx, properties, flags, format, widt in image1d_array() 170 image(clover::context &ctx, std::vector<cl_mem_properties> properties, cl_mem_flags flags, const cl_image_format *format, size_t width, size_t height, size_t depth, size_t array_size, size_t row_pitch, size_t slice_pitch, size_t size, void *host_ptr, cl_mem buffer) image() argument 263 image1d(clover::context &ctx, std::vector<cl_mem_properties> properties, cl_mem_flags flags, const cl_image_format *format, size_t width, size_t row_pitch, void *host_ptr) image1d() argument 273 image1d_buffer(clover::context &ctx, std::vector<cl_mem_properties> properties, cl_mem_flags flags, const cl_image_format *format, size_t width, size_t row_pitch, void *host_ptr, cl_mem buffer) image1d_buffer() argument 283 image1d_array(clover::context &ctx, std::vector<cl_mem_properties> properties, cl_mem_flags flags, const cl_image_format *format, size_t width, size_t array_size, size_t slice_pitch, void *host_ptr) image1d_array() argument 294 image2d(clover::context &ctx, std::vector<cl_mem_properties> properties, cl_mem_flags flags, const cl_image_format *format, size_t width, size_t height, size_t row_pitch, void *host_ptr) image2d() argument 304 image2d_array(clover::context &ctx, std::vector<cl_mem_properties> properties, cl_mem_flags flags, const cl_image_format *format, size_t width, size_t height, size_t array_size, size_t row_pitch, size_t slice_pitch, void *host_ptr) image2d_array() argument 315 image3d(clover::context &ctx, std::vector<cl_mem_properties> properties, cl_mem_flags flags, const cl_image_format *format, size_t width, size_t height, size_t depth, size_t row_pitch, size_t slice_pitch, void *host_ptr) image3d() argument [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | texcompress.c | 48 * Get the GL base format of a specified GL compressed texture format 72 * The base format of \c format if \c format is a compressed format (either 76 _mesa_gl_compressed_format_base_format(GLenum format) in _mesa_gl_compressed_format_base_format() argument 78 switch (format) { in _mesa_gl_compressed_format_base_format() 223 * RGBA versions of the S3TC extensions compressed format tokens 228 * unsigned RGB or unsigned RGBA. The DXT1 format supportin 485 _mesa_glenum_to_compressed_format(GLenum format) _mesa_glenum_to_compressed_format() argument 879 _mesa_get_compressed_fetch_func(mesa_format format) _mesa_get_compressed_fetch_func() argument 905 _mesa_decompress_image(mesa_format format, GLuint width, GLuint height, const GLubyte *src, GLint srcRowStride, GLfloat *dest) _mesa_decompress_image() argument [all...] |
/third_party/node/deps/v8/src/codegen/arm64/ |
H A D | instructions-arm64.cc | 319 const NEONFormatMap* format) { in NEONFormatDecoder() 321 SetFormatMaps(format); in NEONFormatDecoder() 353 const NEONFormatMap* format) { in SetFormatMap() 355 DCHECK_NOT_NULL(format); in SetFormatMap() 356 formats_[index] = format; in SetFormatMap() 409 const char* NEONFormatDecoder::NEONFormatAsString(NEONFormat format) { in NEONFormatAsString() argument 413 DCHECK_LT(format, arraysize(formats)); in NEONFormatAsString() 414 return formats[format]; in NEONFormatAsString() 417 const char* NEONFormatDecoder::NEONFormatAsPlaceholder(NEONFormat format) { in NEONFormatAsPlaceholder() argument 418 DCHECK((format in NEONFormatAsPlaceholder() 318 NEONFormatDecoder(const Instruction* instr, const NEONFormatMap* format) NEONFormatDecoder() argument 352 SetFormatMap(unsigned index, const NEONFormatMap* format) SetFormatMap() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
H A D | fd5_blitter.c | 47 /* Not sure if format restrictions differ for src and dst, or if 90 if (!ok_format(info->dst.format)) in can_do_blit() 93 if (!ok_format(info->src.format)) in can_do_blit() 103 info->dst.format != info->src.format) in can_do_blit() 144 if (info->mask != util_format_get_mask(info->src.format)) in can_do_blit() 147 if (info->mask != util_format_get_mask(info->dst.format)) in can_do_blit() 203 assert(info->src.resource->format == info->dst.resource->format); in emit_blit_buffer() 321 sfmt = fd5_pipe2color(info->src.format); in emit_blit() [all...] |
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
H A D | etnaviv_transfer.c | 38 #include "util/format/u_format.h" 50 * underlying format. */ 52 etna_compute_offset(enum pipe_format format, const struct pipe_box *box, in etna_compute_offset() argument 56 box->y / util_format_get_blockheight(format) * stride + in etna_compute_offset() 57 box->x / util_format_get_blockwidth(format) * in etna_compute_offset() 58 util_format_get_blocksize(format); in etna_compute_offset() 79 prsc->format, level->patch_offsets); in etna_patch_data() 129 * tiling format. Write back the updated buffer contents. in etna_transfer_unmap() 143 ptrans->stride, util_format_get_blocksize(rsc->base.format)); in etna_transfer_unmap() 146 util_copy_box(trans->mapped, rsc->base.format, res_leve in etna_transfer_unmap() 202 enum pipe_format format = prsc->format; etna_transfer_map() local [all...] |
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/ |
H A D | AsYouTypeFormatter.java | 70 // used by the AYTF. It is eligible when the format element under numberFormat contains groups of 74 // no data is lost while formatting; when we format as you type, this should always be the case. 141 // When there are multiple available formats, the formatter uses the first format where a in maybeCreateNewTemplate() 159 } else { // Remove the current number format from possibleFormats. in maybeCreateNewTemplate() 174 for (NumberFormat format : formatList) { in getAvailableFormats() 179 format.getNationalPrefixFormattingRule()) in getAvailableFormats() 180 && !format.getNationalPrefixOptionalWhenFormatting() in getAvailableFormats() 181 && !format.hasDomesticCarrierCodeFormattingRule()) { in getAvailableFormats() 190 format.getNationalPrefixFormattingRule()) in getAvailableFormats() 191 && !format in getAvailableFormats() 223 createFormattingTemplate(NumberFormat format) createFormattingTemplate() argument [all...] |
/third_party/libphonenumber/javascript/i18n/phonenumbers/ |
H A D | asyoutypeformatter.js | 211 * is eligible to be used by the AYTF. It is eligible when the format element 216 * pattern to ensure no data is lost while formatting; when we format as you 289 // format where a formatting template could be created. 338 var format = formatList[i]; 343 format.getNationalPrefixFormattingRuleOrDefault()) && 344 !format.getNationalPrefixOptionalWhenFormatting() && 345 !format.hasDomesticCarrierCodeFormattingRule()) { 355 format.getNationalPrefixFormattingRuleOrDefault()) && 356 !format.getNationalPrefixOptionalWhenFormatting()) { 362 format [all...] |
/third_party/skia/tests/ |
H A D | NdkEncodeTest.cpp | 29 SkEncodedImageFormat format; member 40 static sk_sp<SkData> encode_ndk(const SkPixmap& pmap, SkEncodedImageFormat format, int quality) { in encode_ndk() argument 42 return SkEncodeImageWithNDK(&stream, pmap, format, quality) ? stream.detachAsData() : nullptr; in encode_ndk() 53 auto encoded = encode_ndk(bm.pixmap(), rec.format, rec.quality); in DEF_TEST() 103 for (auto format : { SkEncodedImageFormat::kBMP, in DEF_TEST() 112 REPORTER_ASSERT(r, !encode_ndk(bm.pixmap(), format, 100)); in DEF_TEST() 124 for (auto format : { SkEncodedImageFormat::kJPEG, in DEF_TEST() 128 REPORTER_ASSERT(r, !encode_ndk(bm.pixmap(), format, quality)); in DEF_TEST() 140 REPORTER_ASSERT(r, !encode_ndk(pm, rec.format, rec.quality)); in DEF_TEST() 163 REPORTER_ASSERT(r, !encode_ndk(pm, rec.format, re in DEF_TEST() [all...] |
/test/testfwk/xdevice/src/xdevice/_core/report/ |
H A D | reporter_helper.py | 542 execute_time = "{}sec".format(str(int(second))) 544 execute_time = "{}min {}".format(str(int(minute)), execute_time) 546 execute_time = "{}hour {}".format(str(int(hour)), execute_time) 548 execute_time = "{}day {}".format(str(int(day)), execute_time) 608 LOG.error("Template file not exists, {}".format(self.template_name)) 630 LOG.error("Unsupported vision report type: {}".format(render_target)) 656 tds.append("<td class='normal device-{}'>{}</td>".format(key, td_content)) 674 </table>""".format(table_body_content) 847 temp = "<td class='normal testsuite'>{}</td>\n ".format( 848 "<a href='{}'>{}</a>".format(repor [all...] |
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | tvp514x.c | 85 * @pix: Current pixel format 94 * @format: media bus frame format 119 struct v4l2_mbus_framefmt format; member 881 * tvp514x_get_pad_format() - V4L2 decoder interface handler for get pad format 884 * @format: pointer to v4l2_subdev_format structure 886 * Retrieves pad format which is active or tried based on requirement 890 struct v4l2_subdev_format *format) in tvp514x_get_pad_format() 893 __u32 which = format->which; in tvp514x_get_pad_format() 895 if (format in tvp514x_get_pad_format() 888 tvp514x_get_pad_format(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_format *format) tvp514x_get_pad_format() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/ti/cal/ |
H A D | cal-camerarx.c | 684 struct v4l2_subdev_format *format) in cal_camerarx_sd_set_fmt() 691 if (cal_rx_pad_is_source(format->pad)) in cal_camerarx_sd_set_fmt() 692 return v4l2_subdev_get_fmt(sd, state, format); in cal_camerarx_sd_set_fmt() 695 * Default to the first format if the requested media bus code isn't in cal_camerarx_sd_set_fmt() 698 fmtinfo = cal_format_by_code(format->format.code); in cal_camerarx_sd_set_fmt() 705 format->format.width = clamp_t(unsigned int, format->format in cal_camerarx_sd_set_fmt() 682 cal_camerarx_sd_set_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_format *format) cal_camerarx_sd_set_fmt() argument 729 struct v4l2_subdev_format format = { cal_camerarx_sd_init_cfg() local [all...] |
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | tvp514x.c | 85 * @pix: Current pixel format 94 * @format: media bus frame format 119 struct v4l2_mbus_framefmt format; member 881 * tvp514x_get_pad_format() - V4L2 decoder interface handler for get pad format 884 * @format: pointer to v4l2_subdev_format structure 886 * Retrieves pad format which is active or tried based on requirement 890 struct v4l2_subdev_format *format) in tvp514x_get_pad_format() 893 __u32 which = format->which; in tvp514x_get_pad_format() 895 if (format in tvp514x_get_pad_format() 888 tvp514x_get_pad_format(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) tvp514x_get_pad_format() argument [all...] |
/test/xts/acts/kernel_lite/io_posix/src/ |
H A D | IoTestStdio.cpp | 101 int FormatVdprintf(int fd, const char *format, ...) in FormatVdprintf() argument 104 va_start(args, format); in FormatVdprintf() 105 int ret = vdprintf(fd, format, args); in FormatVdprintf() 179 int FormatVfprintf(FILE *stream, char *format, ...) in FormatVfprintf() argument 182 va_start(args, format); in FormatVfprintf() 183 int ret = vfprintf(stream, format, args); in FormatVfprintf() 188 int FormatVfscanf(FILE *stream, const char *format, ...) in FormatVfscanf() argument 191 va_start(args, format); in FormatVfscanf() 192 int ret = vfscanf(stream, format, args); in FormatVfscanf() 485 int FormatVsprintf(char *str, char *format, argument 494 FormatVsscanf(const char *str, const char *format, ...) FormatVsscanf() argument 540 FormatVsnprintf(char *format, ...) FormatVsnprintf() argument 643 FormatVprintf(char *format, ...) FormatVprintf() argument 691 FormatVscanf(const char *format, ...) FormatVscanf() argument [all...] |
/test/xts/acts/multimedia/av_codec/vcodec/hwdecoder/src/ |
H A D | videodec_ndk_sample.cpp | 100 void VdecFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in VdecFormatChanged() argument 104 OH_AVFormat_GetIntValue(format, OH_MD_KEY_WIDTH, ¤t_width); in VdecFormatChanged() 105 OH_AVFormat_GetIntValue(format, OH_MD_KEY_HEIGHT, ¤t_height); in VdecFormatChanged() 114 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_CROP_BOTTOM, &cropBottom); in VdecFormatChanged() 115 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_CROP_RIGHT, &cropRight); in VdecFormatChanged() 116 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_STRIDE, &stride); in VdecFormatChanged() 117 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_SLICE_HEIGHT, &sliceHeight); in VdecFormatChanged() 219 OH_AVFormat *format = OH_AVFormat_Create(); in ConfigureVideoDecoder() local 220 if (format == nullptr) { in ConfigureVideoDecoder() 221 cout << "Fatal: Failed to create format" << end in ConfigureVideoDecoder() 433 OH_AVFormat *format = OH_AVFormat_Create(); testAPI() local 802 SetParameter(OH_AVFormat *format) SetParameter() argument [all...] |
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_format.c | 31 * 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 D | VertexFormatTests.cpp | 22 // 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 D | imx-mipi-csis.c | 488 * 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 D | v3dvx_meta_common.c | 216 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 D | isl.h | 47 #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 D | gl4cSparseTextureClampTests.cpp | 249 /** 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...] |