/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | Texture.cpp | 32 // WebGPU currently does not have texture format reinterpretation. If it does, the 36 if (texture->GetFormat().format != descriptor->format) { in ValidateTextureViewFormatCompatibility() 38 texture->GetFormat().GetAspectInfo(descriptor->aspect).format == in ValidateTextureViewFormatCompatibility() 39 descriptor->format) { in ValidateTextureViewFormatCompatibility() 44 "The format of texture view is not compatible to the original texture"); in ValidateTextureViewFormatCompatibility() 95 const Format* format) { in ValidateSampleCount() 116 // If a format can support multisample, it must be renderable. Because Vulkan in ValidateSampleCount() 117 // requires that if the format is not color-renderable or depth/stencil renderable, in ValidateSampleCount() 119 DAWN_INVALID_IF(!format in ValidateSampleCount() 93 ValidateSampleCount(const TextureDescriptor* descriptor, wgpu::TextureUsage usage, const Format* format) ValidateSampleCount() argument 176 ValidateTextureSize(const DeviceBase* device, const TextureDescriptor* descriptor, const Format* format) ValidateTextureSize() argument 229 ValidateTextureUsage(const TextureDescriptor* descriptor, wgpu::TextureUsage usage, const Format* format) ValidateTextureUsage() argument 280 const Format* format; ValidateTextureDescriptor() local [all...] |
H A D | Subresource.cpp | 22 Aspect ConvertSingleAspect(const Format& format, wgpu::TextureAspect aspect) { in ConvertSingleAspect() argument 23 Aspect aspectMask = ConvertAspect(format, aspect); in ConvertSingleAspect() 28 Aspect ConvertAspect(const Format& format, wgpu::TextureAspect aspect) { in ConvertAspect() argument 29 Aspect aspectMask = SelectFormatAspects(format, aspect); in ConvertAspect() 34 Aspect ConvertViewAspect(const Format& format, wgpu::TextureAspect aspect) { in ConvertViewAspect() argument 35 // Color view |format| must be treated as the same plane |aspect|. in ConvertViewAspect() 36 if (format.aspects == Aspect::Color) { in ConvertViewAspect() 46 return ConvertAspect(format, aspect); in ConvertViewAspect() 49 Aspect SelectFormatAspects(const Format& format, wgpu::TextureAspect aspect) { in SelectFormatAspects() argument 52 return format in SelectFormatAspects() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | formatutils.cpp | 22 // ES2 requires that format is equal to internal format at all glTex*Image2D entry points and the 23 // implementation can decide the true, sized, internal format. The ES2FormatMap determines the 24 // internal format for all valid format and type combinations. 25 GLenum GetSizedFormatInternal(GLenum format, GLenum type); 51 FormatType::FormatType() : format(GL_NONE), type(GL_NONE) {} in FormatType() 53 FormatType::FormatType(GLenum format_, GLenum type_) : format(format_), type(type_) {} in FormatType() 57 if (format != other.format) in operator <() 655 IsYuvFormat(GLenum format) IsYuvFormat() argument 673 GetPlaneCount(GLenum format) GetPlaneCount() argument 693 GetYPlaneBpp(GLenum format) GetYPlaneBpp() argument 713 GetChromaPlaneBpp(GLenum format) GetChromaPlaneBpp() argument 736 GetSubSampleFactor(GLenum format, int *horizontalSubsampleFactor, int *verticalSubsampleFactor) GetSubSampleFactor() argument 791 AddRGBAXFormat(InternalFormatInfoMap *map, GLenum internalFormat, bool sized, const FormatBits &formatBits, GLenum format, GLenum type, GLenum componentType, bool srgb, InternalFormat::SupportCheckFunction textureSupport, InternalFormat::SupportCheckFunction filterSupport, InternalFormat::SupportCheckFunction textureAttachmentSupport, InternalFormat::SupportCheckFunction renderbufferSupport, InternalFormat::SupportCheckFunction blendSupport) AddRGBAXFormat() argument 832 AddRGBAFormat(InternalFormatInfoMap *map, GLenum internalFormat, bool sized, GLuint red, GLuint green, GLuint blue, GLuint alpha, GLuint shared, GLenum format, GLenum type, GLenum componentType, bool srgb, InternalFormat::SupportCheckFunction textureSupport, InternalFormat::SupportCheckFunction filterSupport, InternalFormat::SupportCheckFunction textureAttachmentSupport, InternalFormat::SupportCheckFunction renderbufferSupport, InternalFormat::SupportCheckFunction blendSupport) AddRGBAFormat() argument 855 AddLUMAFormat(InternalFormatInfoMap *map, GLenum internalFormat, bool sized, GLuint luminance, GLuint alpha, GLenum format, GLenum type, GLenum componentType, InternalFormat::SupportCheckFunction textureSupport, InternalFormat::SupportCheckFunction filterSupport, InternalFormat::SupportCheckFunction textureAttachmentSupport, InternalFormat::SupportCheckFunction renderbufferSupport, InternalFormat::SupportCheckFunction blendSupport) AddLUMAFormat() argument 891 AddDepthStencilFormat(InternalFormatInfoMap *map, GLenum internalFormat, bool sized, GLuint depthBits, GLuint stencilBits, GLuint unusedBits, GLenum format, GLenum type, GLenum componentType, InternalFormat::SupportCheckFunction textureSupport, InternalFormat::SupportCheckFunction filterSupport, InternalFormat::SupportCheckFunction textureAttachmentSupport, InternalFormat::SupportCheckFunction renderbufferSupport, InternalFormat::SupportCheckFunction blendSupport) AddDepthStencilFormat() argument 965 AddYUVFormat(InternalFormatInfoMap *map, GLenum internalFormat, bool sized, GLuint cr, GLuint y, GLuint cb, GLuint alpha, GLuint shared, GLenum format, GLenum type, GLenum componentType, bool srgb, InternalFormat::SupportCheckFunction textureSupport, InternalFormat::SupportCheckFunction filterSupport, InternalFormat::SupportCheckFunction textureAttachmentSupport, InternalFormat::SupportCheckFunction renderbufferSupport, InternalFormat::SupportCheckFunction blendSupport) AddYUVFormat() argument 1864 MaybeOverrideLuminance(GLenum &format, GLenum &type, GLenum actualFormat, GLenum actualType) MaybeOverrideLuminance() argument 2933 ConvertFormatSignedness(const angle::Format &format) ConvertFormatSignedness() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | mediacodec_wrapper.h | 65 int ff_AMediaFormat_delete(FFAMediaFormat* format); 67 char* ff_AMediaFormat_toString(FFAMediaFormat* format); 69 int ff_AMediaFormat_getInt32(FFAMediaFormat* format, const char *name, int32_t *out); 70 int ff_AMediaFormat_getInt64(FFAMediaFormat* format, const char *name, int64_t *out); 71 int ff_AMediaFormat_getFloat(FFAMediaFormat* format, const char *name, float *out); 72 int ff_AMediaFormat_getBuffer(FFAMediaFormat* format, const char *name, void** data, size_t *size); 73 int ff_AMediaFormat_getString(FFAMediaFormat* format, const char *name, const char **out); 75 void ff_AMediaFormat_setInt32(FFAMediaFormat* format, const char* name, int32_t value); 76 void ff_AMediaFormat_setInt64(FFAMediaFormat* format, const char* name, int64_t value); 77 void ff_AMediaFormat_setFloat(FFAMediaFormat* format, cons [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | NumberFormatRegistrationTest.java | 9 package com.ibm.icu.dev.test.format; 99 logln("f0 swap int: " + f0.format(n)); in TestRegistration() 100 logln("f1 src int: " + f1.format(n)); in TestRegistration() 101 logln("f2 src cur: " + f2.format(n)); in TestRegistration() 102 logln("f3 reg cur: " + f3.format(n)); in TestRegistration() 103 logln("f4 reg int: " + f4.format(n)); in TestRegistration() 104 logln("f5 unreg cur: " + f5.format(n)); in TestRegistration() 106 if (!f3.format(n).equals(f0.format(n))) { in TestRegistration() 109 if (!f4.format( in TestRegistration() [all...] |
H A D | NumberRegressionTests.java | 11 * Source File: java/text/format/NumberRegression.java 26 package com.ibm.icu.dev.test.format; 97 * DecimalFormat.format() incorrectly uses maxFractionDigits setting. 109 logln(" format(d) = '" + df.format(d, sBuf1, fp1) + "'"); in Test4088161() 114 df.format(d, sBuf2, fp2); in Test4088161() 116 errln(" format(d) = '" + sBuf2 + "'"); in Test4088161() 129 logln("format(" + n + ") = " + in Test4087245() 130 df.format(n, buf1, new FieldPosition(0))); in Test4087245() 132 logln("format(" in Test4087245() 1863 public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos) { format() method in MyNumberFormat 1867 public StringBuffer format(long number,StringBuffer toAppendTo, FieldPosition pos) { format() method in MyNumberFormat 1875 public StringBuffer format(java.math.BigDecimal number, StringBuffer toAppendTo, FieldPosition pos) { format() method in MyNumberFormat 1879 public StringBuffer format(BigInteger number, StringBuffer toAppendTo, FieldPosition pos) { format() method in MyNumberFormat 1883 public StringBuffer format(com.ibm.icu.math.BigDecimal number, StringBuffer toAppendTo, FieldPosition pos) { format() method in MyNumberFormat [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | NumberFormatRegistrationTest.java | 10 package ohos.global.icu.dev.test.format; 102 logln("f0 swap int: " + f0.format(n)); in TestRegistration() 103 logln("f1 src int: " + f1.format(n)); in TestRegistration() 104 logln("f2 src cur: " + f2.format(n)); in TestRegistration() 105 logln("f3 reg cur: " + f3.format(n)); in TestRegistration() 106 logln("f4 reg int: " + f4.format(n)); in TestRegistration() 107 logln("f5 unreg cur: " + f5.format(n)); in TestRegistration() 109 if (!f3.format(n).equals(f0.format(n))) { in TestRegistration() 112 if (!f4.format( in TestRegistration() [all...] |
H A D | CompactDecimalFormatTest.java | 10 package ohos.global.icu.dev.test.format; 372 assertEquals("Default significant digits", "123K", cdf.format(123456)); in TestDefaultSignificantDigits() 373 assertEquals("Default significant digits", "12K", cdf.format(12345)); in TestDefaultSignificantDigits() 374 assertEquals("Default significant digits", "1.2K", cdf.format(1234)); in TestDefaultSignificantDigits() 375 assertEquals("Default significant digits", "123", cdf.format(123)); in TestDefaultSignificantDigits() 400 assertEquals("Arabic Long", "\u061C-\u0665\u066B\u0663 \u0623\u0644\u0641", cdf.format(-5300)); in TestArabicLongStyle() 469 cdf.format(1234567f, sb, fp); in TestFieldPosition() 494 assertEquals("BigInteger format wrong: ", "31,415,926,535,898 trillion", in TestBig() 495 cdf.format(source_int)); in TestBig() 497 assertEquals("BigDecimal format wron in TestBig() [all...] |
H A D | NumberRegressionTests.java | 12 * Source File: java/text/format/NumberRegression.java 27 package ohos.global.icu.dev.test.format; 100 * DecimalFormat.format() incorrectly uses maxFractionDigits setting. 112 logln(" format(d) = '" + df.format(d, sBuf1, fp1) + "'"); in Test4088161() 117 df.format(d, sBuf2, fp2); in Test4088161() 119 errln(" format(d) = '" + sBuf2 + "'"); in Test4088161() 132 logln("format(" + n + ") = " + in Test4087245() 133 df.format(n, buf1, new FieldPosition(0))); in Test4087245() 135 logln("format(" in Test4087245() 1869 public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos) { format() method in MyNumberFormat 1873 public StringBuffer format(long number,StringBuffer toAppendTo, FieldPosition pos) { format() method in MyNumberFormat 1881 public StringBuffer format(java.math.BigDecimal number, StringBuffer toAppendTo, FieldPosition pos) { format() method in MyNumberFormat 1885 public StringBuffer format(BigInteger number, StringBuffer toAppendTo, FieldPosition pos) { format() method in MyNumberFormat 1889 public StringBuffer format(ohos.global.icu.math.BigDecimal number, StringBuffer toAppendTo, FieldPosition pos) { format() method in MyNumberFormat [all...] |
/third_party/jerryscript/tools/ |
H A D | srcgenerator.py | 48 '--input={}/api/jerry.c'.format(JERRY_CORE), 49 '--output={}/jerryscript.c'.format(output_dir), 53 '--input={}/ecma/builtin-objects/ecma-builtins.c'.format(JERRY_CORE), 69 '--input={}/include/jerryscript.h'.format(JERRY_CORE), 70 '--output={}/jerryscript.h'.format(output_dir), 77 shutil.copyfile('{}/config.h'.format(JERRY_CORE), 78 '{}/jerryscript-config.h'.format(output_dir)) 85 '--output={}/jerryscript-port-default.c'.format(output_dir), 97 '--input={}/include/jerryscript-port-default.h'.format(JERRY_PORT), 98 '--output={}/jerryscript-port-default.h'.format(output_di [all...] |
/third_party/libinput/tools/ |
H A D | libinput-measure-fuzz.py | 36 print("Error: {}".format(str(e)), file=sys.stderr) 122 "WARNING: fuzz mismatch ABS_X: {}, ABS_MT_POSITION_X: {}".format( 130 "WARNING: fuzz mismatch ABS_Y: {}, ABS_MT_POSITION_Y: {}".format( 177 print(" Checking {}... ".format(what), end="") 183 print("x={} y={}".format(*fuzz)) 218 " EVDEV_ABS_00={}".format(overrides[0x00]), 219 " EVDEV_ABS_01={}".format(overrides[0x01]), 223 " EVDEV_ABS_35={}".format(overrides[0x35]), 224 " EVDEV_ABS_36={}".format(overrides[0x36]), 227 print("Checking in {}... ".format(OVERRIDE_HWDB_FIL [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_stereo3d.c | 73 int format; ///< StereoCode member 161 { "in", "set input format", OFFSET(in.format), AV_OPT_TYPE_INT, {.i64=SIDE_BY_SIDE_LR}, INTERLEAVE_ROWS_LR, STEREO_CODE_COUNT-1, FLAGS, "in"}, 180 { "out", "set output format", OFFSET(out.format), AV_OPT_TYPE_INT, {.i64=ANAGLYPH_RC_DUBOIS}, 0, STEREO_CODE_COUNT-1, FLAGS, "out"}, 287 switch (s->out.format) { in query_formats() 369 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(outlink->format); in config_output() 373 switch (s->in.format) { in config_output() 410 switch (s->in.format) { in config_output() 447 if (s->in.format in config_output() [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | msfmrgts.cpp | 15 #include "unicode/format.h" 107 tempBuffer = messageFormatter->format(params, 2, tempBuffer, pos, status); in Test4074764() 108 if( tempBuffer != "Message with param:BUG" || failure(status, "messageFormat->format")) in Test4074764() 123 //tempBuffer = messageFormatter->format(NULL, 1, tempBuffer, FieldPosition(FieldPosition::DONT_CARE), status); in Test4074764() 125 tempBuffer = messageFormatter->format(NULL, 0, tempBuffer, pos, status); in Test4074764() 127 if( tempBuffer != "Message without param" || failure(status, "messageFormat->format")) in Test4074764() 132 tempBuffer = messageFormatter->format(params, 2, tempBuffer, pos, status); in Test4074764() 133 if (tempBuffer != "Message without param" || failure(status, "messageFormat->format")) in Test4074764() 201 tempBuffer = messageFormatter->format(params, 1, tempBuffer, pos, status); in Test4031438() 202 if(tempBuffer != "Impossible {1} has occurred -- status code is 7 and message is {2}." || failure(status, "MessageFormat::format")) in Test4031438() 976 MessageFormat *format = new MessageFormat("", status); Test4112104() local 1019 MessageFormat *format = new MessageFormat("", status); TestAPI() local [all...] |
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_surface.c | 39 #include "util/format/u_format.h" 56 surf->format = texture->format; in u_surface_default_template() 66 enum pipe_format format, in util_copy_box() 79 format, in util_copy_box() 95 enum pipe_format format, in util_fill_rect() 103 const struct util_format_description *desc = util_format_description(format); in util_fill_rect() 170 enum pipe_format format, in util_fill_box() 184 util_fill_rect(dst, format, in util_fill_box() 225 src_format = src->format; in util_resource_copy_region() 65 util_copy_box(ubyte * dst, enum pipe_format format, unsigned dst_stride, unsigned dst_slice_stride, unsigned dst_x, unsigned dst_y, unsigned dst_z, unsigned width, unsigned height, unsigned depth, const ubyte * src, int src_stride, unsigned src_slice_stride, unsigned src_x, unsigned src_y, unsigned src_z) util_copy_box() argument 94 util_fill_rect(ubyte * dst, enum pipe_format format, unsigned dst_stride, unsigned dst_x, unsigned dst_y, unsigned width, unsigned height, union util_color *uc) util_fill_rect() argument 169 util_fill_box(ubyte * dst, enum pipe_format format, unsigned stride, unsigned layer_stride, unsigned x, unsigned y, unsigned z, unsigned width, unsigned height, unsigned depth, union util_color *uc) util_fill_box() argument 362 util_clear_color_texture_helper(struct pipe_transfer *dst_trans, ubyte *dst_map, enum pipe_format format, const union pipe_color_union *color, unsigned width, unsigned height, unsigned depth) util_clear_color_texture_helper() argument 380 util_clear_color_texture(struct pipe_context *pipe, struct pipe_resource *texture, enum pipe_format format, const union pipe_color_union *color, unsigned level, unsigned dstx, unsigned dsty, unsigned dstz, unsigned width, unsigned height, unsigned depth) util_clear_color_texture() argument 464 util_fill_zs_rect(ubyte *dst_map, enum pipe_format format, bool need_rmw, unsigned clear_flags, unsigned dst_stride, unsigned width, unsigned height, uint64_t zstencil) util_fill_zs_rect() argument 554 util_fill_zs_box(ubyte *dst, enum pipe_format format, bool need_rmw, unsigned clear_flags, unsigned stride, unsigned layer_stride, unsigned width, unsigned height, unsigned depth, uint64_t zstencil) util_fill_zs_box() argument 575 util_clear_depth_stencil_texture(struct pipe_context *pipe, struct pipe_resource *texture, enum pipe_format format, unsigned clear_flags, uint64_t zstencil, unsigned level, unsigned dstx, unsigned dsty, unsigned dstz, unsigned width, unsigned height, unsigned depth) util_clear_depth_stencil_texture() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ci/ |
H A D | radeonsi-run-tests.py | 41 print("\033[0;31m{}\033[0m".format(txt), end="\n" if end_line else " ") 47 print("\033[1;33m{}\033[0m".format(txt), end="\n" if end_line else " ") 53 print("\033[1;32m{}\033[0m".format(txt), end="\n" if end_line else " ") 151 # format 164 help="Select GPU (0..{})".format(len(available_gpus) - 1), 199 print("Checking deqp-version ({})".format(s)) 202 print("Expecting deqp-runner 0.9.0+ version (got {})".format(".".join(s))) 241 print_green("Tested GPU: '{}' ({}) {}".format(gpu_name_full, gpu_name, gpu_device)) 242 print_green("Output folder: '{}'".format(output_folder)) 246 output_folder = "{}.{}".format(o [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | renderbuffer.c | 92 enum pipe_format format; in renderbuffer_alloc_sw_storage() local 104 format = PIPE_FORMAT_R16G16B16A16_SNORM; in renderbuffer_alloc_sw_storage() 107 format = choose_renderbuffer_format(ctx, internalFormat, 0, 0); in renderbuffer_alloc_sw_storage() 112 if (format == PIPE_FORMAT_NONE) { in renderbuffer_alloc_sw_storage() 117 rb->Format = st_pipe_format_to_mesa_format(format); in renderbuffer_alloc_sw_storage() 138 enum pipe_format format = PIPE_FORMAT_NONE; in renderbuffer_alloc_storage() local 197 /* Find a supported depth-stencil format. */ in renderbuffer_alloc_storage() 201 format = choose_renderbuffer_format(ctx, internalFormat, in renderbuffer_alloc_storage() 204 if (format != PIPE_FORMAT_NONE) { in renderbuffer_alloc_storage() 211 /* Find a supported color format, sample in renderbuffer_alloc_storage() 581 enum pipe_format format = resource->format; _mesa_update_renderbuffer_surface() local [all...] |
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_android.c | 203 p->format = vk_format_from_android(desc.format, desc.usage); in get_ahw_buffer_format_properties2() 205 const struct anv_format *anv_format = anv_get_format(p->format); in get_ahw_buffer_format_properties2() 217 anv_get_image_format_features2(&device->info, p->format, anv_format, in get_ahw_buffer_format_properties2() 220 /* "Images can be created with an external format even if the Android hardware in get_ahw_buffer_format_properties2() 221 * buffer has a format which has an equivalent Vulkan format to enable in get_ahw_buffer_format_properties2() 223 * of format. However, all images created with an external format are subject in get_ahw_buffer_format_properties2() 225 * the Android hardware buffer’s format ha in get_ahw_buffer_format_properties2() 429 uint32_t format = 0; anv_create_ahw_memory() local 533 enum isl_format format = anv_get_isl_format(&device->info, anv_image_init_from_gralloc() local 635 format_supported_with_usage(VkDevice device_h, VkFormat format, VkImageUsageFlags imageUsage) format_supported_with_usage() argument 667 setup_gralloc0_usage(struct anv_device *device, VkFormat format, VkImageUsageFlags imageUsage, int *grallocUsage) setup_gralloc0_usage() argument 729 anv_GetSwapchainGrallocUsage2ANDROID( VkDevice device_h, VkFormat format, VkImageUsageFlags imageUsage, VkSwapchainImageUsageFlagsANDROID swapchainImageUsage, uint64_t* grallocConsumerUsage, uint64_t* grallocProducerUsage) anv_GetSwapchainGrallocUsage2ANDROID() argument 775 anv_GetSwapchainGrallocUsageANDROID( VkDevice device_h, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage) anv_GetSwapchainGrallocUsageANDROID() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/ |
H A D | vktSubgroupsTestsUtils.hpp | 88 format (vk::VK_FORMAT_UNDEFINED), in SSBOData() 104 , format (format_) in SSBOData() 126 vk::VkFormat format; member 152 vk::VkFormat format, 162 vk::VkFormat format, 183 bool isFormatSupportedForDevice (Context& context, vk::VkFormat format); 195 std::string getFormatNameForGLSL (vk::VkFormat format); 197 std::string getAdditionalExtensionForFormat (vk::VkFormat format); 201 bool isFormatSigned (vk::VkFormat format); 202 bool isFormatUnsigned (vk::VkFormat format); [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/subgroups/ |
H A D | vktSubgroupsTestsUtils.hpp | 88 format (vk::VK_FORMAT_UNDEFINED), in SSBOData() 104 , format (format_) in SSBOData() 126 vk::VkFormat format; member 152 vk::VkFormat format, 162 vk::VkFormat format, 181 bool isFormatSupportedForDevice (Context& context, vk::VkFormat format); 193 std::string getFormatNameForGLSL (vk::VkFormat format); 195 std::string getAdditionalExtensionForFormat (vk::VkFormat format); 199 bool isFormatSigned (vk::VkFormat format); 200 bool isFormatUnsigned (vk::VkFormat format); [all...] |
/third_party/python/Lib/ |
H A D | lzma.py | 50 format=None, check=-1, preset=None, filters=None): 62 format specifies the container format to use for the file. 74 also be omitted, except when format is FORMAT_RAW (in which case 104 if format is None: 105 format = FORMAT_AUTO 108 if format is None: 109 format = FORMAT_XZ 111 self._compressor = LZMACompressor(format=format, chec [all...] |
/third_party/vk-gl-cts/framework/delibs/deimage/ |
H A D | deImage.c | 29 static int deImageFormat_getBytesPerPixel (deImageFormat format) in deImageFormat_getBytesPerPixel() argument 31 DE_ASSERT(format == DE_IMAGEFORMAT_XRGB8888 || format == DE_IMAGEFORMAT_ARGB8888); in deImageFormat_getBytesPerPixel() 32 DE_UNREF(format); in deImageFormat_getBytesPerPixel() 38 int offset = ((y*image->width) + x) * deImageFormat_getBytesPerPixel(image->format); in getPixelAddress() 44 deImage* deImage_create (int width, int height, deImageFormat format) in deImage_create() argument 47 int bpp = deImageFormat_getBytesPerPixel(format); in deImage_create() 53 image->format = format; in deImage_create() 74 switch (image->format) in deImage_getPixel() 96 deImage_convertFormat(const deImage* image, deImageFormat format) deImage_convertFormat() argument [all...] |
/third_party/node/deps/v8/src/diagnostics/arm/ |
H A D | disasm-arm.cc | 78 int FormatVFPRegister(Instruction* instr, const char* format, 81 int FormatVFPinstruction(Instruction* instr, const char* format); 94 void Format(Instruction* instr, const char* format); 294 int Decoder::FormatRegister(Instruction* instr, const char* format) { in FormatRegister() argument 295 DCHECK_EQ(format[0], 'r'); in FormatRegister() 296 if (format[1] == 'n') { // 'rn: Rn register in FormatRegister() 300 } else if (format[1] == 'd') { // 'rd: Rd register in FormatRegister() 304 } else if (format[1] == 's') { // 'rs: Rs register in FormatRegister() 308 } else if (format[1] == 'm') { // 'rm: Rm register in FormatRegister() 312 } else if (format[ in FormatRegister() 341 FormatVFPRegister(Instruction* instr, const char* format, VFPRegPrecision precision) FormatVFPRegister() argument 381 FormatVFPinstruction(Instruction* instr, const char* format) FormatVFPinstruction() argument 434 FormatOption(Instruction* instr, const char* format) FormatOption() argument 708 Format(Instruction* instr, const char* format) Format() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_surface.c | 52 src_format = src->format; in lp_resource_copy_ms() 130 if (blit_info->src.resource->format == blit_info->src.format && in lp_blit() 131 blit_info->dst.resource->format == blit_info->dst.format && in lp_blit() 132 blit_info->src.format == blit_info->dst.format && in lp_blit() 143 util_format_short_name(info.src.resource->format), in lp_blit() 144 util_format_short_name(info.dst.resource->format)); in lp_blit() 150 if (blit_info->src.format in lp_blit() 272 lp_clear_color_texture_helper(struct pipe_transfer *dst_trans, ubyte *dst_map, enum pipe_format format, const union pipe_color_union *color, unsigned width, unsigned height, unsigned depth) lp_clear_color_texture_helper() argument 290 lp_clear_color_texture_msaa(struct pipe_context *pipe, struct pipe_resource *texture, enum pipe_format format, const union pipe_color_union *color, unsigned sample, const struct pipe_box *box) lp_clear_color_texture_msaa() argument 346 lp_clear_depth_stencil_texture_msaa(struct pipe_context *pipe, struct pipe_resource *texture, enum pipe_format format, unsigned clear_flags, uint64_t zstencil, unsigned sample, const struct pipe_box *box) lp_clear_depth_stencil_texture_msaa() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineVertexUtil.cpp | 37 deUint32 getVertexFormatSize (VkFormat format) in getVertexFormatSize() argument 39 switch (format) in getVertexFormatSize() 174 deUint32 getVertexFormatComponentCount (VkFormat format) in getVertexFormatComponentCount() argument 176 switch (format) in getVertexFormatComponentCount() 299 deUint32 getVertexFormatComponentSize (VkFormat format) in getVertexFormatComponentSize() argument 301 switch (format) in getVertexFormatComponentSize() 405 deUint32 getPackedVertexFormatComponentWidth(VkFormat format, deUint32 componentNdx) in getPackedVertexFormatComponentWidth() argument 407 switch (format) in getPackedVertexFormatComponentWidth() 502 bool isVertexFormatComponentOrderBGR (VkFormat format) 504 switch (format) [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineVertexUtil.cpp | 37 deUint32 getVertexFormatSize (VkFormat format) in getVertexFormatSize() argument 39 switch (format) in getVertexFormatSize() 174 deUint32 getVertexFormatComponentCount (VkFormat format) in getVertexFormatComponentCount() argument 176 switch (format) in getVertexFormatComponentCount() 299 deUint32 getVertexFormatComponentSize (VkFormat format) in getVertexFormatComponentSize() argument 301 switch (format) in getVertexFormatComponentSize() 405 deUint32 getPackedVertexFormatComponentWidth(VkFormat format, deUint32 componentNdx) in getPackedVertexFormatComponentWidth() argument 407 switch (format) in getPackedVertexFormatComponentWidth() 502 bool isVertexFormatComponentOrderBGR (VkFormat format) 504 switch (format) [all...] |