/kernel/linux/linux-6.6/drivers/media/platform/qcom/camss/ |
H A D | camss-video.c | 33 * struct camss_format_info - ISP media bus format information 34 * @code: V4L2 media bus format code 35 * @pixelformat: V4L2 pixel format FCC identifier 292 * @mbus: v4l2_mbus_framefmt format (input) 293 * @pix: v4l2_pix_format_mplane format (output) 297 * Fill the output pix structure with information from the input mbus format. 343 struct v4l2_format *format) in video_get_subdev_format() 362 ret = video_find_format(fmt.format.code, in video_get_subdev_format() 363 format->fmt.pix_mp.pixelformat, in video_get_subdev_format() 368 format in video_get_subdev_format() 342 video_get_subdev_format(struct camss_video *video, struct v4l2_format *format) video_get_subdev_format() argument 383 const struct v4l2_pix_format_mplane *format = video_queue_setup() local 412 const struct v4l2_pix_format_mplane *format = video_buf_init() local 440 const struct v4l2_pix_format_mplane *format = video_buf_prepare() local 469 struct v4l2_format format; video_check_format() local 941 struct v4l2_format format = { msm_video_init_format() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | wndw.c | 210 switch (asyw->state.fb->format->format) { in nv50_wndw_atomic_check_acquire_yuv() 212 asyw->image.format = NV507E_SURFACE_SET_PARAMS_FORMAT_VE8YO8UE8YE8; in nv50_wndw_atomic_check_acquire_yuv() 215 asyw->image.format = NV507E_SURFACE_SET_PARAMS_FORMAT_YO8VE8YE8UE8; in nv50_wndw_atomic_check_acquire_yuv() 229 switch (asyw->state.fb->format->format) { in nv50_wndw_atomic_check_acquire_rgb() 231 asyw->image.format = NV507C_SURFACE_SET_PARAMS_FORMAT_I8; in nv50_wndw_atomic_check_acquire_rgb() 235 asyw->image.format = NV507C_SURFACE_SET_PARAMS_FORMAT_A8R8G8B8; in nv50_wndw_atomic_check_acquire_rgb() 238 asyw->image.format = NV507C_SURFACE_SET_PARAMS_FORMAT_R5G6B5; in nv50_wndw_atomic_check_acquire_rgb() 242 asyw->image.format in nv50_wndw_atomic_check_acquire_rgb() 660 nv50_plane_format_mod_supported(struct drm_plane *plane, u32 format, u64 modifier) nv50_plane_format_mod_supported() argument 696 nv50_wndw_new_(const struct nv50_wndw_func *func, struct drm_device *dev, enum drm_plane_type type, const char *name, int index, const u32 *format, u32 heads, enum nv50_disp_interlock_type interlock_type, u32 interlock_data, struct nv50_wndw **pwndw) nv50_wndw_new_() argument [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | RuleBasedNumberFormat.java | 60 * <p>For larger numbers, we can use the preceding set of rules to format the ones place, and 76 * isolate the number's ones digit, format it using this same set of rules, and place the 158 * <p>The above syntax suffices only to format positive integers. To format negative numbers, 164 * where the base value would be. This rule is used to format all negative numbers. the 165 * >> token here means "find the number's absolute value, format it with these 193 * are <em>public:</em> the caller can specify that they be used to format and parse numbers. 308 * on whether it is used to format a number's integral part (or the whole number) or a 309 * number's fractional part. Using a rule set to format a rule's fractional part makes it a 312 * <p>Which rule is used to format 810 RuleBasedNumberFormat(Locale locale, int format) RuleBasedNumberFormat() argument 828 RuleBasedNumberFormat(ULocale locale, int format) RuleBasedNumberFormat() argument 886 RuleBasedNumberFormat(int format) RuleBasedNumberFormat() argument 1147 public String format(double number, String ruleSet) throws IllegalArgumentException { format() method in RuleBasedNumberFormat 1166 public String format(long number, String ruleSet) throws IllegalArgumentException { format() method in RuleBasedNumberFormat 1183 public StringBuffer format(double number, format() method in RuleBasedNumberFormat 1213 public StringBuffer format(long number, format() method in RuleBasedNumberFormat 1235 public StringBuffer format(BigInteger number, format() method in RuleBasedNumberFormat 1248 public StringBuffer format(java.math.BigDecimal number, format() method in RuleBasedNumberFormat 1264 public StringBuffer format(com.ibm.icu.math.BigDecimal number, format() method in RuleBasedNumberFormat 1945 private String format(double number, NFRuleSet ruleSet) { format() method in RuleBasedNumberFormat 1969 private String format(long number, NFRuleSet ruleSet) { format() method in RuleBasedNumberFormat [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | RuleBasedNumberFormat.java | 61 * <p>For larger numbers, we can use the preceding set of rules to format the ones place, and 77 * isolate the number's ones digit, format it using this same set of rules, and place the 159 * <p>The above syntax suffices only to format positive integers. To format negative numbers, 165 * where the base value would be. This rule is used to format all negative numbers. the 166 * >> token here means "find the number's absolute value, format it with these 194 * are <em>public:</em> the caller can specify that they be used to format and parse numbers. 309 * on whether it is used to format a number's integral part (or the whole number) or a 310 * number's fractional part. Using a rule set to format a rule's fractional part makes it a 313 * <p>Which rule is used to format 801 RuleBasedNumberFormat(Locale locale, int format) RuleBasedNumberFormat() argument 818 RuleBasedNumberFormat(ULocale locale, int format) RuleBasedNumberFormat() argument 875 RuleBasedNumberFormat(int format) RuleBasedNumberFormat() argument 1125 public String format(double number, String ruleSet) throws IllegalArgumentException { format() method in RuleBasedNumberFormat 1143 public String format(long number, String ruleSet) throws IllegalArgumentException { format() method in RuleBasedNumberFormat 1159 public StringBuffer format(double number, format() method in RuleBasedNumberFormat 1188 public StringBuffer format(long number, format() method in RuleBasedNumberFormat 1209 public StringBuffer format(BigInteger number, format() method in RuleBasedNumberFormat 1221 public StringBuffer format(java.math.BigDecimal number, format() method in RuleBasedNumberFormat 1236 public StringBuffer format(ohos.global.icu.math.BigDecimal number, format() method in RuleBasedNumberFormat 1906 private String format(double number, NFRuleSet ruleSet) { format() method in RuleBasedNumberFormat 1930 private String format(long number, NFRuleSet ruleSet) { format() method in RuleBasedNumberFormat [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
H A D | vktYCbCrViewTests.cpp | 75 // Compatible format for VK_FORMAT_R8_UNORM 106 VkFormat format, in createTestImage() 116 format, in createTestImage() 135 VkFormat format, in createImageView() 146 format, in createImageView() 325 VkFormat format; member 335 , format (format_) in TestParameters() 347 , format (VK_FORMAT_UNDEFINED) in TestParameters() 411 void checkImageFeatureSupport (Context& context, VkFormat format, VkFormatFeatureFlags req) in checkImageFeatureSupport() argument 415 format); in checkImageFeatureSupport() 104 createTestImage(const DeviceInterface& vkd, VkDevice device, VkFormat format, const UVec2& size, VkImageCreateFlags createFlags) createTestImage() argument 132 createImageView(const DeviceInterface& vkd, VkDevice device, VkImage image, VkFormat format, VkImageAspectFlagBits imageAspect, const VkSamplerYcbcrConversionInfo* samplerConversionInfo) createImageView() argument 460 getPixelSetter(const tcu::PixelBufferAccess& access, VkFormat format) getPixelSetter() argument 500 const VkFormat format = params.format; testPlaneView() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiImageCompressionControlTests.cpp | 74 VkFormat format; member 107 const bool isYCbCr = isYCbCrFormat(testParams.format); in validate() 108 const int numPlanes = isYCbCr ? getPlaneCount(testParams.format) : 1; in validate() 138 formatInfo.format = testParams.format; in validate() 155 "in image format properties."); in validate() 162 "in image format properties."); in validate() 223 // Check android hardware buffer can be allocated for the format with usage. in checkAhbImageSupport() 231 pt::AndroidHardwareBufferPtr ahb = ahbApi->allocate(width,height, 1, ahbApi->vkFormatToAhbFormat(testParams.format), ahbUsage); in checkAhbImageSupport() 234 TCU_THROW(NotSupportedError, "Android hardware buffer format no in checkAhbImageSupport() [all...] |
/kernel/linux/linux-5.10/drivers/hwmon/pmbus/ |
H A D | max20751.c | 17 .format[PSC_VOLTAGE_IN] = linear, 18 .format[PSC_VOLTAGE_OUT] = vid, 20 .format[PSC_TEMPERATURE] = linear, 21 .format[PSC_CURRENT_OUT] = linear, 22 .format[PSC_POWER] = linear,
|
H A D | ir38064.c | 23 .format[PSC_VOLTAGE_IN] = linear, 24 .format[PSC_VOLTAGE_OUT] = direct, 25 .format[PSC_CURRENT_OUT] = linear, 26 .format[PSC_POWER] = linear, 27 .format[PSC_TEMPERATURE] = linear,
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | pmu.y | 2 %parse-param {struct list_head *format} 37 format: label 38 format format_term 45 ABORT_ON(perf_pmu__new_format(format, name, 52 ABORT_ON(perf_pmu__new_format(format, name,
|
/kernel/linux/linux-6.6/drivers/hwmon/pmbus/ |
H A D | max20751.c | 17 .format[PSC_VOLTAGE_IN] = linear, 18 .format[PSC_VOLTAGE_OUT] = vid, 20 .format[PSC_TEMPERATURE] = linear, 21 .format[PSC_CURRENT_OUT] = linear, 22 .format[PSC_POWER] = linear,
|
/kernel/linux/linux-6.6/tools/thermal/lib/ |
H A D | log.c | 34 extern void logit(int level, const char *format, ...) in logit() argument 38 va_start(args, format); in logit() 41 vsyslog(level, format, args); in logit() 44 vfprintf(stderr, format, args); in logit() 47 vfprintf(stdout, format, args); in logit()
|
/third_party/libwebsockets/lib/drivers/settings/ |
H A D | settings.c | 50 const char *format, ...) in lws_settings_plat_printf() 56 va_start(ap, format); in lws_settings_plat_printf() 57 n = vsnprintf(NULL, 0, format, ap); in lws_settings_plat_printf() 61 va_start(ap, format); in lws_settings_plat_printf() 62 vsnprintf((char *)p, n + 2, format, ap); in lws_settings_plat_printf() 49 lws_settings_plat_printf(lws_settings_instance_t *si, const char *name, const char *format, ...) lws_settings_plat_printf() argument
|
/third_party/jerryscript/tools/ |
H A D | check-signed-off.sh | 74 parent_hashes=(`git show -s --format=%p HEAD | head -1`) 78 commit_hash=`git show -s --format=%h HEAD | head -1` 88 actual_signed_off_by_line=`git show -s --format=%B $commit_hash | sed '/^$/d' | tr -d '\015' | tail -n 1` 92 author_name=`git show -s --format=%an $commit_hash` 93 author_email=`git show -s --format=%ae $commit_hash`
|
/third_party/lame/ACM/ADbg/ |
H A D | ADbg.h | 52 int OutPut(int level, const char * format,...) const; 54 int OutPut(const char * format,...) const; 81 int _OutPut(const char * format,va_list params) const; 98 inline int OutPut(int level, const char * format,...) const { in OutPut() argument 102 inline int OutPut(const char * format,...) const { in OutPut() argument
|
/third_party/jerryscript/targets/mbedos5/source/ |
H A D | jerry_port_mbed.c | 31 const char *format, /**< format string */ in jerry_port_log() 37 va_start (args, format); in jerry_port_log() 38 vfprintf (stderr, format, args); in jerry_port_log() 41 if (strlen (format) == 1 && format[0] == 0x0a) /* line feed (\n) */ in jerry_port_log() 30 jerry_port_log(jerry_log_level_t level, const char *format, ...) jerry_port_log() argument
|
/third_party/mesa3d/src/mapi/glapi/gen/ |
H A D | api_vtxfmt_init_h.py | 61 'SET_{0}(tab, NAME({0}));'.format(f.name)) 63 'SET_{0}(tab, NAME_ES({0}));'.format(f.name)) 68 'SET_{0}(tab, {1}({0}));'.format(f.name, macro)) 73 print('if ({0}) {{'.format(condition)) 75 print(' {0}'.format(setting))
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_format.h | 41 d3d12_get_format(enum pipe_format format); 44 d3d12_get_typeless_format(enum pipe_format format); 48 d3d12_get_pipe_format(DXGI_FORMAT format); 51 d3d12_get_default_pipe_format(DXGI_FORMAT format); 68 d3d12_get_format_info(enum pipe_format resource_format, enum pipe_format format, enum pipe_texture_target);
|
/third_party/rust/crates/humantime/benches/ |
H A D | datetime_format.rs | 22 use chrono::format::Item; in rfc3339_chrono() 23 use chrono::format::Item::*; in rfc3339_chrono() 24 use chrono::format::Numeric::*; in rfc3339_chrono() 25 use chrono::format::Fixed::*; in rfc3339_chrono() 26 use chrono::format::Pad::*; in rfc3339_chrono()
|
/third_party/ffmpeg/libavcodec/ |
H A D | v4l2_context.c | 86 struct v4l2_format *fmt1 = &ctx->format; in v4l2_resolution_changed() 127 ctx->format.type = ctx->type; in v4l2_save_to_context() 134 ctx->format.fmt.pix_mp.height = ctx->height; in v4l2_save_to_context() 135 ctx->format.fmt.pix_mp.width = ctx->width; in v4l2_save_to_context() 137 ctx->format.fmt.pix_mp.pixelformat = fmt->v4l2_fmt; in v4l2_save_to_context() 140 ctx->format.fmt.pix_mp.plane_fmt[0].sizeimage = in v4l2_save_to_context() 144 ctx->format.fmt.pix.height = ctx->height; in v4l2_save_to_context() 145 ctx->format.fmt.pix.width = ctx->width; in v4l2_save_to_context() 147 ctx->format.fmt.pix.pixelformat = fmt->v4l2_fmt; in v4l2_save_to_context() 150 ctx->format in v4l2_save_to_context() [all...] |
/third_party/skia/src/core/ |
H A D | SkString.cpp | 30 static StringBuffer apply_format_string(const char* format, va_list args, char (&stackBuffer)[SIZE], in apply_format_string() argument 35 int outLength = std::vsnprintf(stackBuffer, SIZE, format, args); in apply_format_string() 47 // format it. Format the string into our heap buffer. `set` automatically reserves an extra in apply_format_string() 51 SkDEBUGCODE(int checkLength =) std::vsnprintf(heapBufferDest, outLength + 1, format, argsCopy); in apply_format_string() 520 void SkString::printf(const char format[], ...) { in printf() argument 522 va_start(args, format); in printf() 523 this->printVAList(format, args); in printf() 527 void SkString::printVAList(const char format[], va_list args) { in printVAList() argument 529 StringBuffer result = apply_format_string(format, args, stackBuffer, this); in printVAList() 536 void SkString::appendf(const char format[], argument 543 appendVAList(const char format[], va_list args) appendVAList() argument 556 prependf(const char format[], ...) prependf() argument 563 prependVAList(const char format[], va_list args) prependVAList() argument 615 SkStringPrintf(const char* format, ...) SkStringPrintf() argument [all...] |
/third_party/skia/third_party/externals/libwebp/imageio/ |
H A D | image_enc.c | 212 fprintf(stderr, "You can run with -ppm flag to decode in PPM format.\n"); in WebPWritePNG() 551 WebPOutputFileFormat format, in WebPSaveImage() 562 needs_open_file = (format != PNG); in WebPSaveImage() 575 if (format == PNG || in WebPSaveImage() 576 format == RGBA || format == BGRA || format == ARGB || in WebPSaveImage() 577 format == rgbA || format == bgrA || format in WebPSaveImage() 550 WebPSaveImage(const WebPDecBuffer* const buffer, WebPOutputFileFormat format, const char* const out_file_name) WebPSaveImage() argument [all...] |
/third_party/skia/third_party/externals/brotli/research/ |
H A D | brotlidump.py | 2 """Program to dump contents of Brotli compressed files showing the compression format. 4 I found the following issues with the Brotli format: 23 """Show character in readable format 30 else: return '\\x{:02x}'.format(c) 60 return "BitStream(pos={:x}:{})".format(self.pos>>3, self.pos&7) 117 return 'Symbol({}, {})'.format(self.code.name, self.index) 192 return '{:0{}b}'.format(index, self.maxLength) 233 raise ValueError('No symbol {}[{}]'.format( 239 return '{:0{}b}'.format(bits, self.length(index)) 323 bitpattern = '{:0{}b}'.format(nextCode [all...] |
/foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/src/ |
H A D | videodec_api11_sample.cpp | 110 void VdecAPI11FormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in VdecAPI11FormatChanged() argument 118 OH_AVFormat_GetIntValue(format, OH_MD_KEY_WIDTH, ¤tWidth); in VdecAPI11FormatChanged() 119 OH_AVFormat_GetIntValue(format, OH_MD_KEY_HEIGHT, ¤tHeight); in VdecAPI11FormatChanged() 120 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_STRIDE, &stride); in VdecAPI11FormatChanged() 121 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_SLICE_HEIGHT, &sliceHeight); in VdecAPI11FormatChanged() 122 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_PIC_WIDTH, &picWidth); in VdecAPI11FormatChanged() 123 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_PIC_HEIGHT, &picHeight); in VdecAPI11FormatChanged() 134 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_CROP_BOTTOM, &cropBottom); in VdecAPI11FormatChanged() 135 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_CROP_RIGHT, &cropRight); in VdecAPI11FormatChanged() 325 OH_AVFormat *format in ConfigureVideoDecoder() local 563 OH_AVFormat *format = OH_AVFormat_Create(); testAPI() local 798 OH_AVFormat *format = OH_AVFormat_Create(); AutoSwitchSurface() local 839 OH_AVFormat *format = OH_VideoDecoder_GetOutputDescription(vdec_); GetStride() local 1072 SetParameter(OH_AVFormat *format) SetParameter() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/i2c/et8ek8/ |
H A D | et8ek8_driver.c | 43 struct v4l2_mbus_framefmt format; member 409 struct v4l2_mbus_framefmt format; in et8ek8_reglist_find_mode_fmt() local 418 * Store both the closest mode that matches the requested format, and in et8ek8_reglist_find_mode_fmt() 420 * if found, otherwise the best mode with a non-matching format is in et8ek8_reglist_find_mode_fmt() 429 et8ek8_reglist_to_mbus(*list, &format); in et8ek8_reglist_find_mode_fmt() 431 dist = min(fmt->width, format.width) in et8ek8_reglist_find_mode_fmt() 432 * min(fmt->height, format.height); in et8ek8_reglist_find_mode_fmt() 433 dist = format.width * format.height in et8ek8_reglist_find_mode_fmt() 437 if (fmt->code == format in et8ek8_reglist_find_mode_fmt() 928 struct v4l2_mbus_framefmt format; et8ek8_enum_frame_size() local 966 struct v4l2_mbus_framefmt format; et8ek8_enum_frame_ival() local 1011 struct v4l2_mbus_framefmt *format; et8ek8_get_pad_format() local 1027 struct v4l2_mbus_framefmt *format; et8ek8_set_pad_format() local 1326 struct v4l2_mbus_framefmt *format; et8ek8_open() local [all...] |
/kernel/linux/linux-6.6/drivers/media/i2c/et8ek8/ |
H A D | et8ek8_driver.c | 43 struct v4l2_mbus_framefmt format; member 409 struct v4l2_mbus_framefmt format; in et8ek8_reglist_find_mode_fmt() local 418 * Store both the closest mode that matches the requested format, and in et8ek8_reglist_find_mode_fmt() 420 * if found, otherwise the best mode with a non-matching format is in et8ek8_reglist_find_mode_fmt() 429 et8ek8_reglist_to_mbus(*list, &format); in et8ek8_reglist_find_mode_fmt() 431 dist = min(fmt->width, format.width) in et8ek8_reglist_find_mode_fmt() 432 * min(fmt->height, format.height); in et8ek8_reglist_find_mode_fmt() 433 dist = format.width * format.height in et8ek8_reglist_find_mode_fmt() 437 if (fmt->code == format in et8ek8_reglist_find_mode_fmt() 928 struct v4l2_mbus_framefmt format; et8ek8_enum_frame_size() local 966 struct v4l2_mbus_framefmt format; et8ek8_enum_frame_ival() local 1012 struct v4l2_mbus_framefmt *format; et8ek8_get_pad_format() local 1029 struct v4l2_mbus_framefmt *format; et8ek8_set_pad_format() local 1328 struct v4l2_mbus_framefmt *format; et8ek8_open() local [all...] |