/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | IntlTestDecimalFormatAPI.java | 11 * Source File: java/text/format/IntlTestDecimalFormatAPI.java 19 package com.ibm.icu.dev.test.format; 45 * Problem 2: decF4.format(8.88885) does not return 8.8889 as expected. 46 * You must run decF4.format(new BigDecimal(Double.valueOf(8.88885))) in 67 String str = dec.format(number); in testJB1871() 76 str = dec.format(number); in testJB1871() 89 str = dec.format(bignumber); in testJB1871() 135 // ======= Test various format() methods in TestAPI() 137 logln("Testing various format() methods"); in TestAPI() 154 res1 = def.format( in TestAPI() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | IntlTestDecimalFormatAPI.java | 12 * Source File: java/text/format/IntlTestDecimalFormatAPI.java 20 package ohos.global.icu.dev.test.format; 48 * Problem 2: decF4.format(8.88885) does not return 8.8889 as expected. 49 * You must run decF4.format(new BigDecimal(Double.valueOf(8.88885))) in 70 String str = dec.format(number); in testJB1871() 79 str = dec.format(number); in testJB1871() 92 str = dec.format(bignumber); in testJB1871() 138 // ======= Test various format() methods in TestAPI() 140 logln("Testing various format() methods"); in TestAPI() 157 res1 = def.format( in TestAPI() [all...] |
/third_party/libsnd/src/ |
H A D | ircam.c | 88 subformat = SF_CODEC (psf->sf.format) ; in ircam_open() 91 { if ((SF_CONTAINER (psf->sf.format)) != SF_FORMAT_IRCAM) in ircam_open() 94 psf->endian = SF_ENDIAN (psf->sf.format) ; in ircam_open() 176 psf->sf.format = SF_FORMAT_IRCAM | SF_FORMAT_PCM_16 ; in ircam_read_header() 183 psf->sf.format = SF_FORMAT_IRCAM | SF_FORMAT_PCM_32 ; in ircam_read_header() 190 psf->sf.format = SF_FORMAT_IRCAM | SF_FORMAT_FLOAT ; in ircam_read_header() 197 psf->sf.format = SF_FORMAT_IRCAM | SF_FORMAT_ALAW ; in ircam_read_header() 204 psf->sf.format = SF_FORMAT_IRCAM | SF_FORMAT_ULAW ; in ircam_read_header() 213 psf->sf.format |= SF_ENDIAN_BIG ; in ircam_read_header() 215 psf->sf.format | in ircam_read_header() [all...] |
/third_party/mesa3d/src/egl/wayland/wayland-drm/ |
H A D | wayland-drm.c | 62 uint32_t format, in create_buffer() 79 buffer->format = format; in create_buffer() 111 uint32_t stride, uint32_t format) in drm_create_buffer() 113 switch (format) { in drm_create_buffer() 126 "invalid format"); in drm_create_buffer() 131 name, -1, width, height, format, 0, stride, 0, 0, 0, 0); in drm_create_buffer() 138 int32_t width, int32_t height, uint32_t format, in drm_create_planar_buffer() 143 switch (format) { in drm_create_planar_buffer() 155 "invalid format"); in drm_create_planar_buffer() 59 create_buffer(struct wl_client *client, struct wl_resource *resource, uint32_t id, uint32_t name, int fd, int32_t width, int32_t height, uint32_t format, int32_t offset0, int32_t stride0, int32_t offset1, int32_t stride1, int32_t offset2, int32_t stride2) create_buffer() argument 109 drm_create_buffer(struct wl_client *client, struct wl_resource *resource, uint32_t id, uint32_t name, int32_t width, int32_t height, uint32_t stride, uint32_t format) drm_create_buffer() argument 135 drm_create_planar_buffer(struct wl_client *client, struct wl_resource *resource, uint32_t id, uint32_t name, int32_t width, int32_t height, uint32_t format, int32_t offset0, int32_t stride0, int32_t offset1, int32_t stride1, int32_t offset2, int32_t stride2) drm_create_planar_buffer() argument 164 drm_create_prime_buffer(struct wl_client *client, struct wl_resource *resource, uint32_t id, int fd, int32_t width, int32_t height, uint32_t format, int32_t offset0, int32_t stride0, int32_t offset1, int32_t stride1, int32_t offset2, int32_t stride2) drm_create_prime_buffer() argument [all...] |
/third_party/mesa3d/src/gallium/frontends/clover/core/ |
H A D | resource.cpp | 27 #include "util/format/u_format.h" 77 texture_data.reserve(util_format_get_blocksize(pipe->format)); in clear() 78 util_format_pack_rgba(pipe->format, &texture_data[0], data.data(), 1); in clear() 106 u_sampler_view_default_template(&info, pipe, pipe->format); in bind_sampler_view() 120 view.format = pipe->format; in create_image_view() 143 info.format = pipe->format; in bind_surface() 163 info.format = translate_format(img->format()); in root_resource() [all...] |
/third_party/node/deps/v8/tools/ |
H A D | avg.py | 76 return "{0:<{1}}".format(string, width) 80 return "{0:>{1},.2f}".format(num, width) 84 return "{0:>,.2f}".format(num) 89 return "{:>{}}; {:<{}}; {:>{}}; {:>{}}; {:>{}}; {:>{}}; {}".format( 101 return "[{0:>{1}}/{2}]".format(msrmnt.size(), len(rep_string), rep_string) 131 return "{} {}: avg {} stddev {} ({} - {}) {}".format( 161 points=len("{}".format(self.size())) + 2, 170 return format_line("#/{}".format(ARGS['repetitions']), 180 points=len("{}".format(ARGS['repetitions'])) + 2, 202 print("{:<{}}".format("", sel [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | pbo.c | 58 * \param format format of image to read/write 69 GLenum format, GLenum type, GLsizei clientMemSize, in _mesa_validate_pbo_access() 113 format, type, 0, 0, 0); in _mesa_validate_pbo_access() 117 format, type, depth-1, height-1, width); in _mesa_validate_pbo_access() 181 GLenum format, GLenum type, in _mesa_validate_pbo_source() 188 format, type, clientMemSize, ptr)) { in _mesa_validate_pbo_source() 262 GLenum format, GLenum type, in _mesa_map_validate_pbo_source() 267 width, height, depth, format, type, in _mesa_map_validate_pbo_source() 340 GLenum format, GLenu in _mesa_map_validate_pbo_dest() 66 _mesa_validate_pbo_access(GLuint dimensions, const struct gl_pixelstore_attrib *pack, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei clientMemSize, const GLvoid *ptr) _mesa_validate_pbo_access() argument 178 _mesa_validate_pbo_source(struct gl_context *ctx, GLuint dimensions, const struct gl_pixelstore_attrib *unpack, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei clientMemSize, const GLvoid *ptr, const char *where) _mesa_validate_pbo_source() argument 258 _mesa_map_validate_pbo_source(struct gl_context *ctx, GLuint dimensions, const struct gl_pixelstore_attrib *unpack, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei clientMemSize, const GLvoid *ptr, const char *where) _mesa_map_validate_pbo_source() argument 336 _mesa_map_validate_pbo_dest(struct gl_context *ctx, GLuint dimensions, const struct gl_pixelstore_attrib *unpack, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei clientMemSize, GLvoid *ptr, const char *where) _mesa_map_validate_pbo_dest() argument 395 _mesa_validate_pbo_teximage(struct gl_context *ctx, GLuint dimensions, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *unpack, const char *funcName) _mesa_validate_pbo_teximage() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_test_format.c | 36 #include "util/format/u_format.h" 37 #include "util/format/u_format_tests.h" 38 #include "util/format/u_format_s3tc.h" 54 "format\n"); in write_tsv_header() 170 if (test->format == desc->format) { in test_format_float() 274 if (test->format == desc->format) { in test_format_unorm8() 367 enum pipe_format format; in test_all() local 374 for (format in test_all() [all...] |
/third_party/libinput/tools/ |
H A D | libinput-replay.py | 39 print("Error: {}".format(e), file=sys.stderr) 64 raise YamlException("Failed to get '{}' from recording.".format(key)) 120 raise YamlException("Invalid ID format: {}".format(ids)) 159 "{}: {}{:06d}.{:06d} {} / {:<20s} {:4d}".format( 262 print("{}: {}".format(uinput.devnode, uinput.name)) 311 ).format(name=name, id=id) 331 "{} exists, please move it out of the way first".format(overrides), 349 "Invalid file format: {}, expected {}".format( [all...] |
/third_party/lz4/examples/ |
H A D | compress_functions.c | 339 const char *format = "|%-14s|%-30s|%'14.9f|%'16d|%'14d|%'13.2f%%|\n"; in main() local 346 printf(format, "Normal Text", "LZ4_compress_default()", (double)time_taken__default / BILLION, (int)(iterations / ((double)time_taken__default /BILLION)), (int)time_taken__default / iterations, (double)time_taken__default * 100 / time_taken__default); in main() 347 printf(format, "Normal Text", "LZ4_compress_fast()", (double)time_taken__fast / BILLION, (int)(iterations / ((double)time_taken__fast /BILLION)), (int)time_taken__fast / iterations, (double)time_taken__fast * 100 / time_taken__default); in main() 348 printf(format, "Normal Text", "LZ4_compress_fast_extState()", (double)time_taken__fast_extstate / BILLION, (int)(iterations / ((double)time_taken__fast_extstate /BILLION)), (int)time_taken__fast_extstate / iterations, (double)time_taken__fast_extstate * 100 / time_taken__default); in main() 349 //printf(format, "Normal Text", "LZ4_compress_generic()", (double)time_taken__generic / BILLION, (int)(iterations / ((double)time_taken__generic /BILLION)), (int)time_taken__generic / iterations, (double)time_taken__generic * 100 / time_taken__default); in main() 350 printf(format, "Normal Text", "LZ4_decompress_safe()", (double)time_taken__decomp_safe / BILLION, (int)(iterations / ((double)time_taken__decomp_safe /BILLION)), (int)time_taken__decomp_safe / iterations, (double)time_taken__decomp_safe * 100 / time_taken__default); in main() 351 printf(format, "Normal Text", "LZ4_decompress_fast()", (double)time_taken__decomp_fast / BILLION, (int)(iterations / ((double)time_taken__decomp_fast /BILLION)), (int)time_taken__decomp_fast / iterations, (double)time_taken__decomp_fast * 100 / time_taken__default); in main() 353 printf(format, "Compressible", "LZ4_compress_default()", (double)time_taken_hc__default / BILLION, (int)(iterations / ((double)time_taken_hc__default /BILLION)), (int)time_taken_hc__default / iterations, (double)time_taken_hc__default * 100 / time_taken_hc__default); in main() 354 printf(format, "Compressible", "LZ4_compress_fast()", (double)time_taken_hc__fast / BILLION, (int)(iterations / ((double)time_taken_hc__fast /BILLION)), (int)time_taken_hc__fast / iterations, (double)time_taken_hc__fast * 100 / time_taken_hc__default); in main() 355 printf(format, "Compressibl in main() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cTextureFilterMinmaxTests.hpp | 61 SupportedTextureDataType(glw::GLenum format, glw::GLenum type, int testFlags = MINMAX) in SupportedTextureDataType() 62 : m_format(format), m_type(type), m_testFlags(testFlags) in SupportedTextureDataType() 109 virtual void generate(const glu::RenderContext& context, tcu::IVec3 size, glw::GLenum format, glw::GLenum type, 127 void generate(const glu::RenderContext& context, tcu::IVec3 size, glw::GLenum format, glw::GLenum type, 142 void generate(const glu::RenderContext& context, tcu::IVec3 size, glw::GLenum format, glw::GLenum type, 157 void generate(const glu::RenderContext& context, tcu::IVec3 size, glw::GLenum format, glw::GLenum type, 172 void generate(const glu::RenderContext& context, tcu::IVec3 size, glw::GLenum format, glw::GLenum type, 187 void generate(const glu::RenderContext& context, tcu::IVec3 size, glw::GLenum format, glw::GLenum type, 202 void generate(const glu::RenderContext& context, tcu::IVec3 size, glw::GLenum format, glw::GLenum type, 211 tcu::IVec2 textureSize, glw::GLenum format, gl [all...] |
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | syncgenerator.py | 136 list.append('ifdef::{}[]'.format(condition)) 141 list.append('endif::{}[]'.format(condition)) 146 list.append('ifdef::{}[]'.format(condition)) 151 list.append('endif::{}[]'.format(condition)) 158 output.append(' ** ename:{}'.format(stage)) 167 output.append(' ** ename:{}'.format(flag)) 181 ename = 'ename:{}'.format(queueTypeToQueueFlags[queue]) 186 output.append('|ename:{} | {}'.format(stage, queue_support)) 196 output.append('|ename:{} |'.format(flag)) 209 output.append('\tename:{}{}'.format(stag [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/android/ |
H A D | HardwareBufferImageSiblingVkAndroid.cpp | 57 // to declare a particular combination of format/tiling/usage/etc as not in AhbDescUsageToVkImageTiling() 67 // as returned by vkGetPhysicalDeviceImageFormatProperties2 with format, in AhbDescUsageToVkImageTiling() 149 if (bufferFormatProperties.format == VK_FORMAT_UNDEFINED) in ValidateHardwareBuffer() 152 // We must have an external format, check that it supports texture sampling in ValidateHardwareBuffer() 162 angle::FormatID formatID = vk::GetFormatIDFromVkFormat(bufferFormatProperties.format); in ValidateHardwareBuffer() 166 << "AHardwareBuffer format " << bufferFormatProperties.format in ValidateHardwareBuffer() 247 if (bufferFormatProperties.format == VK_FORMAT_UNDEFINED) in initImpl() 286 const vk::Format &format = in initImpl() local 287 bufferFormatProperties.format in initImpl() [all...] |
/third_party/skia/src/gpu/vk/ |
H A D | GrVkCaps.h | 45 const GrBackendFormat& format, 47 bool isFormatRenderable(const GrBackendFormat& format, int sampleCount) const override; 54 int maxRenderTargetSampleCount(VkFormat format) const; 62 bool isVkFormatTexturableLinearly(VkFormat format) const { in isVkFormatTexturableLinearly() 63 return SkToBool(FormatInfo::kTexturable_Flag & this->getFormatInfo(format).fLinearFlags); in isVkFormatTexturableLinearly() 66 bool formatCanBeDstofBlit(VkFormat format, bool linearTiled) const { in formatCanBeDstofBlit() argument 67 const FormatInfo& info = this->getFormatInfo(format); in formatCanBeDstofBlit() 72 bool formatCanBeSrcofBlit(VkFormat format, bool linearTiled) const { in formatCanBeSrcofBlit() argument 73 const FormatInfo& info = this->getFormatInfo(format); in formatCanBeSrcofBlit() 97 * Returns both a supported and most preferred stencil format t 102 GetStencilFormatTotalBitCount(VkFormat format) GetStencilFormatTotalBitCount() argument [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
H A D | parser.h | 54 // Marks the value as "from arg". aka the '*' format. 138 // Parse the format string provided in 'src' and pass the identified items into 145 // portion of the format string corresponding to the conversion, not including 168 // This indicates an error in the format string. in ParseFormatString() 212 string_view format, bool allow_ignored, 259 // that all conversions are used by the format. 279 // A value type representing a preparsed format. These can be created, copied 282 // characters used in the format. This will be checked at compile time. 291 // // Extended format supports multiple characters per argument: 297 // // 'format' ca 310 ExtendedParsedFormat(string_view format) ExtendedParsedFormat() argument 333 New(string_view format) New() argument 336 NewAllowIgnored( string_view format) NewAllowIgnored() argument 342 New(string_view format, bool allow_ignored) New() argument [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsFboUtil.hpp | 94 glw::GLenum format; member 96 //! Type if format is unsized, GL_NONE if sized. 101 return (format < other.format || in operator <() 102 (format == other.format && unsizedType < other.unsizedType)); in operator <() 112 std::ostream& operator<< (std::ostream& stream, const ImageFormat& format); 143 void addCoreFormat (ImageFormat format, FormatFlags flags); 144 void addExtensionFormat (ImageFormat format, FormatFlags flags, const std::set<std::string>& requiredExtensions); 147 bool isKnownFormat (ImageFormat format) cons [all...] |
/kernel/linux/linux-5.10/drivers/staging/vc04_services/bcm2835-camera/ |
H A D | bcm2835-camera.c | 511 /* ensure a format has actually been set */ in start_streaming() 608 /* ensure a format has actually been set */ in stop_streaming() 798 /* set preview port format and connect it to output */ in vidioc_overlay() 945 "Fourcc format (0x%08x) unknown.\n", in vidioc_try_fmt_vid_cap() 954 "Clipping/aligning %dx%d format %08X\n", in vidioc_try_fmt_vid_cap() 1004 "Now %dx%d format %08X\n", in vidioc_try_fmt_vid_cap() 1096 port->format.encoding = mfmt->mmal; in mmal_setup_encode_component() 1097 port->format.encoding_variant = 0; in mmal_setup_encode_component() 1101 port->format.bitrate = dev->capture.encode_bitrate; in mmal_setup_encode_component() 1113 "%s failed to set format in mmal_setup_encode_component() 1561 struct mmal_es_format_local *format; mmal_init() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/vc04_services/bcm2835-camera/ |
H A D | bcm2835-camera.c | 509 /* ensure a format has actually been set */ in start_streaming() 606 /* ensure a format has actually been set */ in stop_streaming() 796 /* set preview port format and connect it to output */ in vidioc_overlay() 941 "Fourcc format (0x%08x) unknown.\n", in vidioc_try_fmt_vid_cap() 950 "Clipping/aligning %dx%d format %08X\n", in vidioc_try_fmt_vid_cap() 1000 "Now %dx%d format %08X\n", in vidioc_try_fmt_vid_cap() 1092 port->format.encoding = mfmt->mmal; in mmal_setup_encode_component() 1093 port->format.encoding_variant = 0; in mmal_setup_encode_component() 1097 port->format.bitrate = dev->capture.encode_bitrate; in mmal_setup_encode_component() 1109 "%s failed to set format in mmal_setup_encode_component() 1557 struct mmal_es_format_local *format; mmal_init() local [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_blit.c | 28 #include "util/format/u_format.h" 159 surf_tmpl.format = src->buffer.b.b.format; in si_blit_dbcb_copy() 165 surf_tmpl.format = dst->buffer.b.b.format; in si_blit_dbcb_copy() 217 surf_tmpl.format = texture->buffer.b.b.format; in si_blit_decompress_zs_planes_in_place() 340 if (util_format_is_depth_and_stencil(dst->buffer.b.b.format)) in si_decompress_depth() 495 surf_tmpl.format = tex->buffer.b.b.format; in si_blit_decompress_color() 888 unsigned format; global() member 990 si_do_CB_resolve(struct si_context *sctx, const struct pipe_blit_info *info, struct pipe_resource *dst, unsigned dst_level, unsigned dst_z, enum pipe_format format) si_do_CB_resolve() argument 1042 enum pipe_format format = info->src.format; si_msaa_resolve_blit_via_CB() local 1249 si_generate_mipmap(struct pipe_context *ctx, struct pipe_resource *tex, enum pipe_format format, unsigned base_level, unsigned last_level, unsigned first_layer, unsigned last_layer) si_generate_mipmap() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | TextureVk.cpp | 68 // true if the given size and format match the corresponding mip in the allocated image (taking 74 // size or format. In this case too, changes to this level should remain staged as the texture 98 // For glTex[Sub]Image, only accept same-format transfers. in CanCopyWithTransferForTexImage() 99 // There are cases that two images' actual format is the same, but intended formats are in CanCopyWithTransferForTexImage() 100 // different due to one is using the fallback format (for example, RGB fallback to RGBA). In in CanCopyWithTransferForTexImage() 130 // If either format is emulated, cannot transfer. in CanCopyWithTransferForCopyTexture() 157 // CHROMIUM_copy_texture expects verbatim copy between these format, so this copy is done in CanCopyWithTransferForCopyTexture() 317 GLenum format, in setImage() 331 GLenum format, in setSubImage() 337 const gl::InternalFormat &formatInfo = gl::GetInternalFormatInfo(format, typ in setSubImage() 313 setImage(const gl::Context *context, const gl::ImageIndex &index, GLenum internalFormat, const gl::Extents &size, GLenum format, GLenum type, const gl::PixelUnpackState &unpack, gl::Buffer *unpackBuffer, const uint8_t *pixels) setImage() argument 328 setSubImage(const gl::Context *context, const gl::ImageIndex &index, const gl::Box &area, GLenum format, GLenum type, const gl::PixelUnpackState &unpack, gl::Buffer *unpackBuffer, const uint8_t *pixels) setSubImage() argument 364 setCompressedSubImage(const gl::Context *context, const gl::ImageIndex &index, const gl::Box &area, GLenum format, const gl::PixelUnpackState &unpack, size_t imageSize, const uint8_t *pixels) setCompressedSubImage() argument 1299 const vk::Format &format = renderer->getFormat(internalformat); setStorageMultisample() local 1333 const vk::Format &format = renderer->getFormat(internalFormat); setStorageExternalMemory() local 1401 const vk::Format &format = renderer->getFormat(image->getFormat().info->sizedInternalFormat); setEGLImageTarget() local 1528 ensureImageAllocated(ContextVk *contextVk, const vk::Format &format) ensureImageAllocated() argument 1550 setImageHelper(ContextVk *contextVk, vk::ImageHelper *imageHelper, gl::TextureType imageType, const vk::Format &format, uint32_t imageLevelOffset, uint32_t imageLayerOffset, bool selfOwned) setImageHelper() argument 1609 redefineLevel(const gl::Context *context, const gl::ImageIndex &index, const vk::Format &format, const gl::Extents &size) redefineLevel() argument 2103 reinitImageAsRenderable(ContextVk *contextVk, const vk::Format &format, gl::TexLevelMask skipLevelsMask) reinitImageAsRenderable() argument 2242 const vk::Format &format = getBaseLevelFormat(contextVk->getRenderer()); respecifyImageStorage() local 2267 const vk::Format &format = getBaseLevelFormat(contextVk->getRenderer()); respecifyImageStorage() local 2297 const vk::Format &format = renderer->getFormat(glInternalFormat.sizedInternalFormat); bindTexImage() local 2338 const vk::Format &format = getBaseLevelFormat(contextVk->getRenderer()); getAttachmentRenderTarget() local 2411 const vk::Format &format = getBaseLevelFormat(contextVk->getRenderer()); ensureImageInitialized() local 2752 const vk::Format &format = initializeContents() local 2776 const vk::Format &format = getBaseLevelFormat(contextVk->getRenderer()); shouldDecodeSRGB() local 2884 const vk::Format *format = &contextVk->getRenderer()->getFormat(formatID); getStorageImageView() local 3004 initImageViews(ContextVk *contextVk, const angle::Format &format, const bool sized, uint32_t levelCount, uint32_t layerCount) initImageViews() argument 3180 const vk::Format &format = getBaseLevelFormat(contextVk->getRenderer()); getImplementationSizedFormat() local 3199 getTexImage(const gl::Context *context, const gl::PixelPackState &packState, gl::Buffer *packBuffer, gl::TextureTarget target, GLint level, GLenum format, GLenum type, void *pixels) getTexImage() argument 3352 const vk::Format &format = getBaseLevelFormat(renderer); ensureRenderable() local [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | CopyCommandsValidationTests.cpp | 37 wgpu::TextureFormat format, in Create2DTexture() 46 descriptor.format = format; in Create2DTexture() 57 wgpu::TextureFormat format, in Create3DTexture() 64 descriptor.format = format; in Create3DTexture() 75 wgpu::TextureFormat format = wgpu::TextureFormat::RGBA8Unorm) { in BufferSizeForTextureCopy() 76 uint32_t bytesPerPixel = utils::GetTexelBlockSizeInBytes(format); in BufferSizeForTextureCopy() 808 for (wgpu::TextureFormat format : kFormats) { in TEST_F() 811 Create2DTexture(kWidth, kHeight, 1, 1, format, wgp in TEST_F() 33 Create2DTexture(uint32_t width, uint32_t height, uint32_t mipLevelCount, uint32_t arrayLayerCount, wgpu::TextureFormat format, wgpu::TextureUsage usage, uint32_t sampleCount = 1) Create2DTexture() argument 53 Create3DTexture(uint32_t width, uint32_t height, uint32_t depth, uint32_t mipLevelCount, wgpu::TextureFormat format, wgpu::TextureUsage usage) Create3DTexture() argument 2085 Create2DTexture(wgpu::TextureFormat format, uint32_t mipmapLevels, uint32_t width, uint32_t height) Create2DTexture() argument 2098 Create2DTexture(wgpu::TextureFormat format) Create2DTexture() argument [all...] |
/kernel/linux/linux-5.10/sound/oss/dmasound/ |
H A D | dmasound_q40.c | 48 static int Q40SetFormat(int format); 66 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8; in q40_ct_law() 123 (dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8); in q40_ctx_law() 233 (dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8); in q40_ctc_law() 545 static int Q40SetFormat(int format) in Q40SetFormat() argument 549 switch (format) { in Q40SetFormat() 551 return(dmasound.soft.format); in Q40SetFormat() 558 format = AFMT_S8; in Q40SetFormat() 561 dmasound.soft.format = format; in Q40SetFormat() [all...] |
/kernel/linux/linux-5.10/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...] |
/kernel/linux/linux-6.6/drivers/staging/media/sunxi/sun6i-isp/ |
H A D | sun6i_isp_proc.c | 143 const struct sun6i_isp_proc_format *format; in sun6i_isp_proc_configure() local 154 format = sun6i_isp_proc_format_find(mbus_format->code); in sun6i_isp_proc_configure() 155 if (WARN_ON(!format)) in sun6i_isp_proc_configure() 159 SUN6I_ISP_MODE_INPUT_FMT(format->input_format) | in sun6i_isp_proc_configure() 160 SUN6I_ISP_MODE_INPUT_YUV_SEQ(format->input_yuv_seq) | in sun6i_isp_proc_configure() 296 struct v4l2_subdev_format *format) in sun6i_isp_proc_get_fmt() 299 struct v4l2_mbus_framefmt *mbus_format = &format->format; in sun6i_isp_proc_get_fmt() 304 if (format->which == V4L2_SUBDEV_FORMAT_TRY) in sun6i_isp_proc_get_fmt() 306 format in sun6i_isp_proc_get_fmt() 294 sun6i_isp_proc_get_fmt(struct v4l2_subdev *subdev, struct v4l2_subdev_state *state, struct v4l2_subdev_format *format) sun6i_isp_proc_get_fmt() argument 315 sun6i_isp_proc_set_fmt(struct v4l2_subdev *subdev, struct v4l2_subdev_state *state, struct v4l2_subdev_format *format) sun6i_isp_proc_set_fmt() argument [all...] |
/kernel/linux/linux-6.6/sound/oss/dmasound/ |
H A D | dmasound_q40.c | 48 static int Q40SetFormat(int format); 66 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8; in q40_ct_law() 123 (dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8); in q40_ctx_law() 233 (dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8); in q40_ctc_law() 545 static int Q40SetFormat(int format) in Q40SetFormat() argument 549 switch (format) { in Q40SetFormat() 551 return(dmasound.soft.format); in Q40SetFormat() 558 format = AFMT_S8; in Q40SetFormat() 561 dmasound.soft.format = format; in Q40SetFormat() [all...] |