/third_party/ffmpeg/libavfilter/ |
H A D | qsvvpp.c | 215 static int pix_fmt_to_mfx_fourcc(int format) in pix_fmt_to_mfx_fourcc() argument 217 switch (format) { in pix_fmt_to_mfx_fourcc() 233 switch (frame->format) { in map_frame_to_surface() 271 if (link->format == AV_PIX_FMT_QSV) { in fill_frameinfo_by_link() 279 pix_fmt = link->format; in fill_frameinfo_by_link() 380 if (picref->format != AV_PIX_FMT_QSV) { in submit_frame() 527 if (outlink->format == AV_PIX_FMT_QSV) { in init_vpp_session() 540 out_frames_ctx->format = AV_PIX_FMT_QSV; in init_vpp_session()
|
H A D | vf_lut2.c | 205 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(inlink->format); in config_inputx() 209 s->nb_planesx = av_pix_fmt_count_planes(inlink->format); in config_inputx() 232 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(inlink->format); in config_inputy() 236 s->nb_planesy = av_pix_fmt_count_planes(inlink->format); in config_inputy() 410 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(outlink->format); in lut2_config_output() 421 s->nb_planes = av_pix_fmt_count_planes(outlink->format); in lut2_config_output() 427 if (!s->odepth && srcx->format != srcy->format) { in lut2_config_output() 428 av_log(ctx, AV_LOG_ERROR, "inputs must be of same pixel format\n"); in lut2_config_output()
|
H A D | vf_idet.c | 255 || picref->format != link->format) { in filter_frame() 256 link->dst->inputs[0]->format = picref->format; in filter_frame() 276 idet->csp = av_pix_fmt_desc_get(link->format); in filter_frame()
|
/third_party/ffmpeg/libswresample/ |
H A D | resample.c | 205 switch(c->format){ in build_filter() 289 double cutoff0, enum AVSampleFormat format, enum SwrFilterType filter_type, double kaiser_beta, in resample_init() 312 || c->filter_length != filter_length || c->format != format in resample_init() 319 c->format= format; in resample_init() 321 c->felem_size= av_get_bytes_per_sample(c->format); in resample_init() 323 switch(c->format){ in resample_init() 335 av_log(NULL, AV_LOG_ERROR, "Unsupported sample format\n"); in resample_init() 288 resample_init(ResampleContext *c, int out_rate, int in_rate, int filter_size, int phase_shift, int linear, double cutoff0, enum AVSampleFormat format, enum SwrFilterType filter_type, double kaiser_beta, double precision, int cheby, int exact_rational) resample_init() argument
|
/third_party/backends/japi/ |
H A D | Jscanimage.java | 829 private NumberFormat format; // For printing label. field in FixedSaneSlider 838 format = NumberFormat.getInstance(); in FixedSaneSlider() 840 format.setMinimumFractionDigits(1); in FixedSaneSlider() 841 format.setMaximumFractionDigits(1); in FixedSaneSlider() 856 label.setText(format.format(optMM ? in stateChanged() 873 label.setText(format.format(optMM ? in setFromControl()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | unum.cpp | 209 ((const NumberFormat*)fmt)->format(number, res, fp, *status); in unum_formatInt64() 242 ((const NumberFormat*)fmt)->format(number, res, fp, *status); in unum_formatDouble() 253 unum_formatDoubleForFields(const UNumberFormat* format, in unum_formatDoubleForFields() argument 275 ((const NumberFormat*)format)->format(number, res, (FieldPositionIterator*)fpositer, *status); in unum_formatDoubleForFields() 313 ((const NumberFormat*)fmt)->format(numFmtbl, resultStr, fp, *status); in unum_formatDecimal() 352 ((const NumberFormat*)fmt)->format(n, res, fp, *status); in unum_formatDoubleCurrency() 966 ((const NumberFormat*)fmt)->format(*(Formattable::fromUFormattable(number)), res, fp, *status); in unum_formatUFormattable()
|
/third_party/mbedtls/tests/scripts/ |
H A D | generate_test_code.py | 54 format patterns to specify test suite dependencies, start and end 200 CONDITION_REGEX = r'({})(?:\s*({})\s*({}))?$'.format(C_IDENTIFIER_REGEX, 336 '''.format(name=name, 364 '''.format(preprocessor_check=preprocessor_check, name=name) 368 '''.format(name=name) 846 break;'''.format(_not=_not, _defined=_defined, 871 break;'''.format(exp_id=exp_id, expression=exp) 964 '''.format(preprocessor_check=preprocessor_check, code=dep_check_code) 969 '''.format(preprocessor_check=preprocessor_check, code=expression_code)
|
/third_party/node/deps/histogram/src/ |
H A D | hdr_histogram.c | 974 static void format_line_string(char* str, size_t len, int significant_figures, format_type format) in format_line_string() argument 983 switch (format) in format_line_string() 1153 static const char* format_head_string(format_type format) in format_head_string() argument 1155 switch (format) in format_head_string() 1172 double value_scale, format_type format) in hdr_percentiles_print() 1180 format_line_string(line_format, 25, h->significant_figures, format); in hdr_percentiles_print() 1181 head_format = format_head_string(format); in hdr_percentiles_print() 1209 if (CLASSIC == format) in hdr_percentiles_print() 1170 hdr_percentiles_print( struct hdr_histogram* h, FILE* stream, int32_t ticks_per_half_distance, double value_scale, format_type format) hdr_percentiles_print() argument
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | unum.cpp | 225 ((const NumberFormat*)fmt)->format(number, res, fp, *status); in unum_formatInt64() 258 ((const NumberFormat*)fmt)->format(number, res, fp, *status); in unum_formatDouble() 269 unum_formatDoubleForFields(const UNumberFormat* format, in unum_formatDoubleForFields() argument 291 ((const NumberFormat*)format)->format(number, res, (FieldPositionIterator*)fpositer, *status); in unum_formatDoubleForFields() 329 ((const NumberFormat*)fmt)->format(numFmtbl, resultStr, fp, *status); in unum_formatDecimal() 368 ((const NumberFormat*)fmt)->format(n, res, fp, *status); in unum_formatDoubleCurrency() 984 ((const NumberFormat*)fmt)->format(*(Formattable::fromUFormattable(number)), res, fp, *status); in unum_formatUFormattable()
|
/third_party/mesa3d/src/microsoft/vulkan/ |
H A D | dzn_private.h | 108 dzn_index_type_from_dxgi_format(DXGI_FORMAT format, bool prim_restart) in dzn_index_type_from_dxgi_format() argument 110 switch (format) { in dzn_index_type_from_dxgi_format() 116 default: unreachable("Invalid index format"); in dzn_index_type_from_dxgi_format() 216 VkFormat format); 720 D3D12_PIPELINE_STATE_STREAM_DESC_SIZE(DXGI_FORMAT) + /* DS format */ \ 851 VkFormat dzn_graphics_pipeline_patch_vi_format(VkFormat format); 891 dzn_image_get_dxgi_format(VkFormat format, 962 dzn_buffer_get_dxgi_format(VkFormat format); 965 dzn_buffer_get_copy_loc(const struct dzn_buffer *buf, VkFormat format, 971 dzn_buffer_get_line_copy_loc(const struct dzn_buffer *buf, VkFormat format, [all...] |
/third_party/mesa3d/src/panfrost/lib/ |
H A D | pan_blend.c | 33 #include "util/format/u_format.h" 615 rt, util_format_name(rt_state->format), in pan_blend_create_shader() 622 util_format_description(rt_state->format); in pan_blend_create_shader() 630 .format[0] = rt_state->format in pan_blend_create_shader() 753 unreachable("Invalid format"); in pan_blend_get_internal_desc() 772 .format = state->rts[rt].format, in pan_blend_get_shader_locked() 827 .rt_formats = { key.format }, in pan_blend_get_shader_locked() 832 GENX(pan_blend_get_internal_desc)(dev, key.format, ke in pan_blend_get_shader_locked() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_dump.c | 58 void (*dump_printf)(struct dump_ctx *ctx, const char *format, ...); 62 dump_ctx_printf(struct dump_ctx *ctx, const char *format, ...) in dump_ctx_printf() argument 66 va_start(ap, format); in dump_ctx_printf() 68 vfprintf(ctx->file, format, ap); in dump_ctx_printf() 70 _debug_vprintf(format, ap); in dump_ctx_printf() 757 str_dump_ctx_printf(struct dump_ctx *ctx, const char *format, ...) in str_dump_ctx_printf() argument 764 va_start(ap, format); in str_dump_ctx_printf() 765 written = vsnprintf(sctx->ptr, sctx->left, format, ap); in str_dump_ctx_printf()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
H A D | vktImageSubresourceLayoutTests.cpp | 71 BufferLevels (VkImageType type, VkFormat format, VkExtent3D levelZero, deUint32 maxLevels, VkImageAspectFlags aspects = 0u); 82 BufferLevels::BufferLevels (VkImageType type, VkFormat format, VkExtent3D levelZero, deUint32 maxLevels, VkImageAspectFlags aspects) in BufferLevels() argument 87 const auto tcuFormat = vk::mapVkFormat(format); in BufferLevels() 99 const auto copyFormat = getDepthCopyFormat(format); in BufferLevels() 104 const auto copyFormat = getStencilCopyFormat(format); in BufferLevels() 230 TCU_THROW(NotSupportedError, "Required format features not supported"); in checkSupport() 235 TCU_THROW(NotSupportedError, "Linear tiling not supported for format"); in checkSupport() 241 TCU_THROW(NotSupportedError, "Required number of mip levels not supported for format"); in checkSupport() 245 TCU_THROW(NotSupportedError, "Required number of layers not supported for format"); in checkSupport() 344 // Test every aspect supported by the image format in iterate() 835 const auto format = testFormats[formatIdx]; createImageSubresourceLayoutTests() local [all...] |
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | genRef.py | 53 return 'include::{}/meta/refpage.{}{}[]'.format( 64 return 'include::{}/api/{}/{}{}\n'.format( 242 s = '{}({})'.format(pageName, man_section) 253 '{} - {}'.format(pageName, pageDesc), 264 print('== {}'.format(title), 335 'For more information, see the {}#{}[{} Specification^]'.format( 412 specLinkSubstitute = r'link:{}#\1[\2^]'.format(specURL) 661 # We do not care the newline format used here. 901 "{} extension".format(ext_type), 1115 # print('name {} -> page {}'.format(pag [all...] |
/third_party/skia/third_party/externals/angle2/src/libGLESv1_CM/ |
H A D | libGLESv1_CM.cpp | 312 GLenum format, in glCompressedTexSubImage2D() 316 return GL_CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, in glCompressedTexSubImage2D() 653 GLenum format, in glReadPixels() 657 return GL_ReadPixels(x, y, width, height, format, type, pixels); in glReadPixels() 736 GLenum format, in glTexImage2D() 740 return GL_TexImage2D(target, level, internalformat, width, height, border, format, type, in glTexImage2D() 770 GLenum format, in glTexSubImage2D() 774 return GL_TexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels); in glTexSubImage2D() 306 glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data) glCompressedTexSubImage2D() argument 649 glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels) glReadPixels() argument 730 glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels) glTexImage2D() argument 764 glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels) glTexSubImage2D() argument
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | unum.cpp | 212 ((const NumberFormat*)fmt)->format(number, res, fp, *status); in unum_formatInt64() 245 ((const NumberFormat*)fmt)->format(number, res, fp, *status); in unum_formatDouble() 256 unum_formatDoubleForFields(const UNumberFormat* format, in unum_formatDoubleForFields() argument 278 ((const NumberFormat*)format)->format(number, res, (FieldPositionIterator*)fpositer, *status); in unum_formatDoubleForFields() 316 ((const NumberFormat*)fmt)->format(numFmtbl, resultStr, fp, *status); in unum_formatDecimal() 355 ((const NumberFormat*)fmt)->format(n, res, fp, *status); in unum_formatDoubleCurrency() 947 ((const NumberFormat*)fmt)->format(*(Formattable::fromUFormattable(number)), res, fp, *status); in unum_formatUFormattable()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | TextureFormatTests.cpp | 116 // Structure containing all the information that tests need to know about the format. 118 wgpu::TextureFormat format; member 124 // Returns a reprensentation of a format that can be used to contain the "uncompressed" values 125 // of the format. That the equivalent format with all channels 32bit-sized. 157 const char* type = utils::GetWGSLColorTextureComponentType(sampleFormatInfo.format); in CreateSamplePipeline() 175 desc.cTargets[0].format = renderFormatInfo.format; in CreateSamplePipeline() 180 // The sampling test uploads the sample data in a texture with the sampleFormatInfo.format. 182 // renderFormatInfo.format forma [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-color-cbdt-table.hh | 283 unsigned int offset, length, format; in copy_glyph_at_idx() local 284 if (unlikely (!get_image_data (idx, &offset, &length, &format))) return_trace (false); in copy_glyph_at_idx() 322 unsigned int *length, unsigned int *format) const in get_image_data() 324 *format = u.header.imageFormat; in get_image_data() 504 unsigned int *format) const in get_image_data() 508 offset, length, format); in get_image_data() 544 unsigned int offset, length, format; in build_lookup() local 545 if (unlikely (!record->get_image_data (old_gid, this, &offset, &length, &format))) continue; in build_lookup()
|
/third_party/python/Doc/tools/extensions/ |
H A D | pyspecific.py | 263 text = label.format(name="``{}``".format(name), 264 args=", ".join("``{}``".format(a) for a in args if a)) 279 .format(name, info['args'], new_info['args']) 288 target = "audit_event_{}_{}".format( 442 text = label.format(deprecated=self.arguments[0], removed=self.arguments[1]) 665 ref = nodes.reference("", nodes.Text("[{}]".format(i)), internal=True) 667 ref['refuri'] = "{}#{}".format(
|
/third_party/protobuf/src/google/protobuf/io/ |
H A D | zero_copy_stream_unittest.cc | 1 // Protocol Buffers - Google's data interchange format 362 options.format = GzipOutputStream::GZIP; in TEST_F() 396 options.format = GzipOutputStream::GZIP; in TEST_F() 427 options.format = GzipOutputStream::GZIP; in TEST_F() 454 options.format = GzipOutputStream::GZIP; in TEST_F() 484 options.format = GzipOutputStream::ZLIB; in TEST_F() 511 options.format = GzipOutputStream::ZLIB; in TEST_F() 525 options.format = GzipOutputStream::GZIP; in TEST_F() 580 options.format = GzipOutputStream::ZLIB; in TEST_F() 590 // ZLIB format shoul in TEST_F() [all...] |
/test/testfwk/arkxtest/uitest/test/ |
H A D | extension_test.cpp | 235 static RetCode PrintLog(UiTestPort &port, int32_t level, const char *format, ...) in PrintLog() argument 238 auto fmt = Text { .data = format, .size = format == nullptr ? 0: strlen(format) }; in PrintLog() 240 va_start(ap, format); in PrintLog() 257 // print with illegal format should cause failure in TEST_F() 259 // print with null format should cause failure in TEST_F() 369 ASSERT_EQ(0, memcmp(errBuf, "Illegal optJson format", msgSizeRecv)); in TEST_F()
|
/test/testfwk/xdevice/plugins/devicetest/driver/ |
H A D | device_test.py | 110 err_msg = ErrorMessage.TestCase.Code_0203010.format(request.get_source_file()) 208 LOG.info("Test list: {}".format(checked_test_list)) 214 err_msg = ErrorMessage.TestCase.Code_0203013.format(request.get_module_name(), test_list) 298 testsuite_file = "{}{}".format(testsuite, suffix) 370 LOG.info("Test suite list: {}".format(checked_testsuite))
|
/third_party/ffmpeg/libavutil/ |
H A D | hwcontext_vdpau.c | 273 av_log(ctx, AV_LOG_ERROR, "Unsupported sw format: %s\n", in vdpau_frames_init() 298 frame->format = AV_PIX_FMT_VDPAU; in vdpau_get_buffer() 356 if (map[i].pix_fmt == dst->format) { in vdpau_transfer_data_from() 363 "Unsupported target pixel format: %s\n", in vdpau_transfer_data_from() 364 av_get_pix_fmt_name(dst->format)); in vdpau_transfer_data_from() 414 if (map[i].pix_fmt == src->format) { in vdpau_transfer_data_to() 421 "Unsupported source pixel format: %s\n", in vdpau_transfer_data_to() 422 av_get_pix_fmt_name(src->format)); in vdpau_transfer_data_to()
|
/third_party/alsa-utils/alsaucm/ |
H A D | dump.c | 627 void dump(struct context *context, const char *format) in dump() argument 634 if (strcasecmp(format, "text") == 0 || in dump() 635 strcasecmp(format, "txt") == 0) { in dump() 639 } else if (strcasecmp(format, "json") == 0) { in dump() 648 fprintf(stderr, "%s: unknown dump format '%s'\n", in dump() 649 context->command, format); in dump()
|
/third_party/EGL/api/ |
H A D | genheaders.py | 168 format('/* Generated on date %s */' % time.strftime('%Y%m%d')), 174 format('#define GL_GLEXT_VERSION %s' % time.strftime('%Y%m%d')), 179 format('#define WGL_WGLEXT_VERSION %s' % time.strftime('%Y%m%d')), 184 format('#define GLX_GLXEXT_VERSION %s' % time.strftime('%Y%m%d')), 189 format('#define EGL_EGLEXT_VERSION %s' % time.strftime('%Y%m%d')),
|