/foundation/multimedia/av_codec/test/moduletest/demuxer/src/ |
H A D | api_test.cpp | 166 OH_AVFormat *format = OH_AVSource_GetSourceFormat(nullptr); in HWTEST_F() local 167 ASSERT_EQ(nullptr, format); in HWTEST_F() 177 OH_AVFormat *format = OH_AVSource_GetTrackFormat(nullptr, 0); in HWTEST_F() local 178 ASSERT_EQ(nullptr, format); in HWTEST_F() 190 OH_AVFormat *format = OH_AVSource_GetTrackFormat(source, -1); in HWTEST_F() local 191 ASSERT_EQ(nullptr, format); in HWTEST_F() 531 OH_AVFormat *format; in HWTEST_F() local 534 format = OH_AVSource_GetSourceFormat(source); in HWTEST_F() 535 ASSERT_NE(format, nullptr); in HWTEST_F() 536 format in HWTEST_F() 547 OH_AVFormat *format; HWTEST_F() local [all...] |
/foundation/multimedia/av_codec/test/fuzztest/hwdecoder_fuzzer/ |
H A D | videodec_sample.cpp | 91 void VdecFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in VdecFormatChanged() argument 95 OH_AVFormat_GetIntValue(format, OH_MD_KEY_WIDTH, ¤tWidth); in VdecFormatChanged() 96 OH_AVFormat_GetIntValue(format, OH_MD_KEY_HEIGHT, ¤tHeight); in VdecFormatChanged() 130 OH_AVFormat *format = OH_AVFormat_Create(); in ConfigureVideoDecoder() local 131 if (format == nullptr) { in ConfigureVideoDecoder() 132 cout << "Fatal: Failed to create format" << endl; in ConfigureVideoDecoder() 135 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, defaultWidth); in ConfigureVideoDecoder() 136 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, defaultHeight); in ConfigureVideoDecoder() 137 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_ROTATION, defaultRotation); in ConfigureVideoDecoder() 138 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_PIXEL_FORMA in ConfigureVideoDecoder() 496 OH_AVFormat *format = OH_AVFormat_Create(); SetParameter() local [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | plurfmt.cpp | 207 PluralFormat::format(const Formattable& obj, in format() function in PluralFormat 215 return format(obj, obj.getDouble(), appendTo, pos, status); in format() 223 PluralFormat::format(int32_t number, UErrorCode& status) const { in format() function in PluralFormat 226 return format(Formattable(number), number, result, fpos, status); in format() 230 PluralFormat::format(double number, UErrorCode& status) const { in format() function in PluralFormat 233 return format(Formattable(number), number, result, fpos, status); in format() 238 PluralFormat::format(int32_t number, in format() function in PluralFormat 242 return format(Formattable(number), (double)number, appendTo, pos, status); in format() 246 PluralFormat::format(double number, in format() function in PluralFormat 250 return format(Formattabl in format() 254 PluralFormat::format(const Formattable& numberObject, double number, format() function in PluralFormat 352 setNumberFormat(const NumberFormat* format, UErrorCode& status) setNumberFormat() argument [all...] |
/third_party/libsnd/tests/ |
H A D | misc_test.c | 50 static void zero_data_test (const char *filename, int format) ; 51 static void filesystem_full_test (int format) ; 227 zero_data_test (const char *filename, int format) in zero_data_test() argument 231 switch (format & SF_FORMAT_TYPEMASK) in zero_data_test() 243 sfinfo.format = format ; in zero_data_test() 262 filesystem_full_test (int format) in filesystem_full_test() argument 265 (void) format ; in filesystem_full_test() 291 sfinfo.format = format ; in filesystem_full_test() [all...] |
/third_party/mesa3d/src/amd/common/ |
H A D | ac_surface_modifier_test.c | 32 enum pipe_format format; member 70 unsigned w, unsigned h, enum pipe_format format, in get_addr_from_coord_base() 80 din.bpp = util_format_get_blocksizebits(format); in get_addr_from_coord_base() 135 input.bpp = util_format_get_blocksizebits(entry->format); in generate_hash() 147 entry->h, entry->format, in generate_hash() 155 entry->h, entry->format, in generate_hash() 209 enum pipe_format format, in test_modifier() 212 unsigned elem_bits = util_logbase2(util_format_get_blocksize(format)); in test_modifier() 238 .format = format, in test_modifier() 69 get_addr_from_coord_base(ADDR_HANDLE addrlib, const struct radeon_surf *surf, unsigned w, unsigned h, enum pipe_format format, bool rb_aligned, bool pipe_aligned) get_addr_from_coord_base() argument 205 test_modifier(const struct radeon_info *info, const char *name, struct ac_addrlib *addrlib, uint64_t modifier, enum pipe_format format, struct u_vector *test_entries) test_modifier() argument [all...] |
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dvx_formats.c | 28 #include "util/format/u_format.h" 63 /* FIXME: expand format table to describe whether the format is supported 207 * We map this to the V3D RGB4 texture format, which really, is ABGR4 with 224 v3dX(get_format)(VkFormat format) in get_format() argument 227 if (format < ARRAY_SIZE(format_table) && format_table[format].supported) in get_format() 228 return &format_table[format]; in get_format() 230 switch (format) { in get_format() 234 return &format_table_4444[VK_ENUM_OFFSET(format)]; in get_format() 242 get_internal_type_bpp_for_output_format(uint32_t format, uint32_t *type, uint32_t *bpp) get_internal_type_bpp_for_output_format() argument 372 format_supports_tlb_resolve(const struct v3dv_format *format) format_supports_tlb_resolve() argument 380 format_supports_blending(const struct v3dv_format *format) format_supports_blending() argument 440 get_internal_depth_type(VkFormat format) get_internal_depth_type() argument 487 const struct v3dv_format *format = v3dX(get_format)(vk_format); get_internal_type_bpp_for_image_aspects() local [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | plurfmt.cpp | 207 PluralFormat::format(const Formattable& obj, in format() function in PluralFormat 215 return format(obj, obj.getDouble(), appendTo, pos, status); in format() 223 PluralFormat::format(int32_t number, UErrorCode& status) const { in format() function in PluralFormat 226 return format(Formattable(number), number, result, fpos, status); in format() 230 PluralFormat::format(double number, UErrorCode& status) const { in format() function in PluralFormat 233 return format(Formattable(number), number, result, fpos, status); in format() 238 PluralFormat::format(int32_t number, in format() function in PluralFormat 242 return format(Formattable(number), (double)number, appendTo, pos, status); in format() 246 PluralFormat::format(double number, in format() function in PluralFormat 250 return format(Formattabl in format() 254 PluralFormat::format(const Formattable& numberObject, double number, format() function in PluralFormat 352 setNumberFormat(const NumberFormat* format, UErrorCode& status) setNumberFormat() argument [all...] |
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_helpers.c | 28 #include "util/format/format_utils.h" 202 enum pipe_format format = input[i].src_format; in util_lower_uint64_vertex_elements() local 210 if (format >= PIPE_FORMAT_R64_UINT && in util_lower_uint64_vertex_elements() 211 format <= PIPE_FORMAT_R64G64B64A64_UINT) { in util_lower_uint64_vertex_elements() 213 format = MAX2(format, PIPE_FORMAT_R64G64B64_UINT); in util_lower_uint64_vertex_elements() 215 format = MIN2(format, PIPE_FORMAT_R64G64_UINT); in util_lower_uint64_vertex_elements() 218 switch (format) { in util_lower_uint64_vertex_elements() 237 format in util_lower_uint64_vertex_elements() 527 util_clamp_color(enum pipe_format format, const union pipe_color_union *color) util_clamp_color() argument [all...] |
/third_party/pulseaudio/src/tests/ |
H A D | mix-test.c | 94 switch (ss->format) { in compare_block() 137 uint16_t uu = PA_MAYBE_UINT16_SWAP(ss->format != PA_SAMPLE_S16NE, *u); in compare_block() 151 float uu = ss->format == PA_SAMPLE_FLOAT32NE ? *u : PA_READ_FLOAT32RE(u); in compare_block() 165 uint32_t uu = PA_MAYBE_UINT32_SWAP(ss->format != PA_SAMPLE_S32NE, *u); in compare_block() 179 uint32_t uu = PA_MAYBE_UINT32_SWAP(ss->format != PA_SAMPLE_S24_32NE, *u); in compare_block() 193 uint32_t uu = ss->format == PA_SAMPLE_S24LE ? PA_READ24LE(u) : PA_READ24BE(u); in compare_block() 217 switch (ss->format) { in generate_block() 228 if (ss->format == PA_SAMPLE_S16RE) { in generate_block() 241 if (ss->format == PA_SAMPLE_S24_32RE || ss->format in generate_block() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiGranularityTests.cpp | 62 : format (vkFormat) in AttachmentInfo() 72 VkFormat format; member 87 void checkFormatSupport (const VkFormat format); 122 void GranularityInstance::checkFormatSupport (const VkFormat format) in checkFormatSupport() argument 127 format, VK_IMAGE_TYPE_2D, in checkFormatSupport() 142 VK_FORMAT_UNDEFINED, // VkFormat format; in initAttachmentDescriptions() 154 checkFormatSupport(it->format); in initAttachmentDescriptions() 155 attachmentDescription.format = it->format; in initAttachmentDescriptions() 175 it->format, // VkForma in initImages() 461 VkFormat format = VkFormat(formatIdx); createGranularityQueryTests() local [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/tools/ |
H A D | expect.py | 77 return False, 'Non-zero return code: {ret}\n'.format( 96 return False, 'Non empty stdout: {out}\n'.format(out=status.stdout) 105 return False, 'Non empty stderr: {err}\n'.format(err=status.stderr) 127 return False, 'Extra files generated: {}'.format(generated_files) 317 'Expected substring not found:\n{exp}'.format( 355 'With diff:\n{diff}'.format( 369 'Expected matching regex pattern:\n{exp}'.format( 413 'Expected substring not found:\n{exp}'.format( 440 'Unexpected substring found:\n{unexp}'.format( 485 'Expected:\n{exp}'.format( [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/tools/ |
H A D | expect.py | 77 return False, 'Non-zero return code: {ret}\n'.format( 96 return False, 'Non empty stdout: {out}\n'.format(out=status.stdout) 105 return False, 'Non empty stderr: {err}\n'.format(err=status.stderr) 127 return False, 'Extra files generated: {}'.format(generated_files) 317 'Expected substring not found:\n{exp}'.format( 355 'With diff:\n{diff}'.format( 369 'Expected matching regex pattern:\n{exp}'.format( 413 'Expected substring not found:\n{exp}'.format( 440 'Unexpected substring found:\n{unexp}'.format( 485 'Expected:\n{exp}'.format( [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | plurfmt.cpp | 207 PluralFormat::format(const Formattable& obj, in format() function in PluralFormat 215 return format(obj, obj.getDouble(), appendTo, pos, status); in format() 223 PluralFormat::format(int32_t number, UErrorCode& status) const { in format() function in PluralFormat 226 return format(Formattable(number), number, result, fpos, status); in format() 230 PluralFormat::format(double number, UErrorCode& status) const { in format() function in PluralFormat 233 return format(Formattable(number), number, result, fpos, status); in format() 238 PluralFormat::format(int32_t number, in format() function in PluralFormat 242 return format(Formattable(number), (double)number, appendTo, pos, status); in format() 246 PluralFormat::format(double number, in format() function in PluralFormat 250 return format(Formattabl in format() 254 PluralFormat::format(const Formattable& numberObject, double number, format() function in PluralFormat 352 setNumberFormat(const NumberFormat* format, UErrorCode& status) setNumberFormat() argument [all...] |
/third_party/tzdata/ |
H A D | strftime.c | 79 ** C99 and later require this format. 87 ** C99 and later require this format. 119 strftime_l(char *restrict s, size_t maxsize, char const *restrict format, in strftime_l() argument 124 return strftime(s, maxsize, format, t); in strftime_l() 129 strftime(char *restrict s, size_t maxsize, char const *restrict format, in strftime() argument 137 p = _fmt(format, t, s, s + maxsize, &warn); in strftime() 145 fprintf(stderr, "strftime format \"%s\" ", format); in strftime() 164 _fmt(const char *format, const struct tm *t, char *pt, in _fmt() argument 169 for ( ; *format; in _fmt() 610 _conv(int n, const char *format, char *pt, const char *ptlim) _conv() argument [all...] |
/third_party/python/Parser/ |
H A D | asdl.py | 49 return 'Module({0.name}, {0.dfns})'.format(self) 57 return 'Type({0.name}, {0.value})'.format(self) 65 return 'Constructor({0.name}, {0.fields})'.format(self) 82 return "{}{} {}".format(self.type, extra, self.name) 92 return 'Field({0.type}{1})'.format(self, extra) 94 return 'Field({0.type}, {0.name}{1})'.format(self, extra) 103 return 'Sum({0.types}, {0.attributes})'.format(self) 105 return 'Sum({0.types})'.format(self) 114 return 'Product({0.fields}, {0.attributes})'.format(self) 116 return 'Product({0.fields})'.format(sel [all...] |
/third_party/spirv-tools/test/tools/ |
H A D | expect.py | 77 return False, 'Non-zero return code: {ret}\n'.format( 96 return False, 'Non empty stdout: {out}\n'.format(out=status.stdout) 105 return False, 'Non empty stderr: {err}\n'.format(err=status.stderr) 127 return False, 'Extra files generated: {}'.format(generated_files) 332 'Expected substring not found:\n{exp}'.format( 370 'With diff:\n{diff}'.format( 384 'Expected matching regex pattern:\n{exp}'.format( 428 'Expected substring not found:\n{exp}'.format( 455 'Unexpected substring found:\n{unexp}'.format( 500 'Expected:\n{exp}'.format( [all...] |
/foundation/multimedia/av_codec/services/services/codec/server/ |
H A D | codec_param_checker.h | 21 #include "meta/format.h" 34 static int32_t CheckConfigureValid(Media::Format &format, const std::string &codecName, CodecScenario scenario); 35 static int32_t CheckParameterValid(const Media::Format &format, Media::Format &oldFormat, 37 static std::optional<CodecScenario> CheckCodecScenario(const Media::Format &format, AVCodecType codecType, 41 static void MergeFormat(const Media::Format &format, Media::Format &oldFormat);
|
/foundation/multimedia/player_framework/services/services/avcodeclist/ipc/ |
H A D | i_standard_avcodeclist_service.h | 31 virtual std::string FindVideoDecoder(const Format &format) = 0;
32 virtual std::string FindVideoEncoder(const Format &format) = 0;
33 virtual std::string FindAudioDecoder(const Format &format) = 0;
34 virtual std::string FindAudioEncoder(const Format &format) = 0;
|
/foundation/multimedia/player_framework/services/services/engine_intf/ |
H A D | i_avcodeclist_engine.h | 27 #include "meta/format.h"
34 virtual std::string FindVideoDecoder(const Format &format) = 0;
35 virtual std::string FindVideoEncoder(const Format &format) = 0;
36 virtual std::string FindAudioDecoder(const Format &format) = 0;
37 virtual std::string FindAudioEncoder(const Format &format) = 0;
|
/kernel/linux/linux-5.10/tools/include/asm/ |
H A D | bug.h | 10 #define WARN(condition, format...) ({ \ 13 __WARN_printf(format); \ 36 #define WARN_ONCE(condition, format...) ({ \ 41 if (WARN(!__warned, format)) \
|
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_formats.h | 13 * dpu_get_dpu_format_ext() - Returns dpu format structure pointer. 14 * @format: DRM FourCC Code 15 * @modifiers: format modifier array from client, one per plane 18 const uint32_t format, 24 * dpu_find_format - validate if the pixel format is supported 25 * @format: dpu format 29 * Return: false if not valid format, true on success 31 static inline bool dpu_find_format(u32 format, const u32 *supported_formats, in dpu_find_format() argument 38 if (format in dpu_find_format() [all...] |
/kernel/linux/linux-6.6/tools/include/asm/ |
H A D | bug.h | 10 #define WARN(condition, format...) ({ \ 13 __WARN_printf(format); \ 36 #define WARN_ONCE(condition, format...) ({ \ 41 if (WARN(!__warned, format)) \
|
/kernel/uniproton/src/om/include/ |
H A D | prt_err_external.h | 46 #define OS_ERROR_LOG_REPORT(traceLevel, format, ...) 50 #define OS_LOG_REPORT_DBG(format, ...) OS_ERROR_LOG_REPORT(OS_ERR_LEVEL_HIGH, (format), ##__VA_ARGS__) 53 #define OS_LOG_REPORT_DBG(format, ...)
|
/third_party/ffmpeg/libavfilter/ |
H A D | framepool.h | 43 * @param format format of each frame in this pool 50 enum AVPixelFormat format, variable 61 * @param format format of each frame in this pool 68 enum AVSampleFormat format, variable 84 * @param format format of each frame in this pool 91 enum AVPixelFormat *format, 99 * @param format forma [all...] |
/third_party/bounds_checking_function/src/ |
H A D | vswscanf_s.c | 35 * that corresponds to a type specifier in format. 36 * The format argument controls the interpretation of the input fields and 37 * has the same form and function as the format argument for the scanf function. 42 * format Format control string, see Format Specifications. 54 int vswscanf_s(const wchar_t *buffer, const wchar_t *format, va_list argList) in vswscanf_s() argument 61 if (buffer == NULL || format == NULL) { in vswscanf_s() 67 SecClearDestBufW(buffer, format, argList); in vswscanf_s() 72 retVal = SecInputSW(&fStr, format, argList); in vswscanf_s()
|