/foundation/multimedia/image_framework/frameworks/kits/cj/src/ |
H A D | image_receiver_impl.cpp | 37 static bool CheckFormat(int32_t format) in CheckFormat() argument 40 if (imgEnum.numVal == format) { in CheckFormat() 47 int64_t ImageReceiverImpl::CreateImageReceiver(int32_t width, int32_t height, int32_t format, int32_t capacity) in CreateImageReceiver() argument 50 if (!CheckFormat(format)) { in CreateImageReceiver() 54 std::shared_ptr imageReceiver = ImageReceiver::CreateImageReceiver(width, height, format, capacity); in CreateImageReceiver()
|
/foundation/multimedia/media_foundation/tests/unittest/avbuffer/inner/ |
H A D | avbuffer_inner_mock.cpp | 63 Format format; in GetParameter() local 64 format.SetMeta(buffer_->meta_); in GetParameter() 65 auto formatMock = std::make_shared<AVFormatInnerMock>(format); in GetParameter() 69 int32_t AVBufferInnerMock::SetParameter(const std::shared_ptr<FormatMock> &format) in SetParameter() argument 73 auto &formatAVCodec = std::static_pointer_cast<AVFormatInnerMock>(format)->GetFormat(); in SetParameter()
|
/foundation/multimedia/av_codec/test/unittest/common/common_mock/avbuffer/inner/ |
H A D | avbuffer_inner_mock.cpp | 74 Format format; in GetParameter() local 75 format.SetMeta(buffer_->meta_); in GetParameter() 76 auto formatMock = std::make_shared<AVFormatInnerMock>(format); in GetParameter() 80 int32_t AVBufferInnerMock::SetParameter(const std::shared_ptr<FormatMock> &format) in SetParameter() argument 83 auto &formatAVCodec = std::static_pointer_cast<AVFormatInnerMock>(format)->GetFormat(); in SetParameter()
|
/foundation/multimedia/av_codec/test/unittest/demuxer_test/capi/ |
H A D | demuxer_capi_buffer_mock.cpp | 78 OH_AVFormat *format = OH_AVBuffer_GetParameter(avBuffer); in ReadSample() local 79 if (format == nullptr) { in ReadSample() 80 printf("OH_AVBuffer format is nullptr\n"); in ReadSample() 84 OH_AVFormat_GetLongValue(format, OH_MD_KEY_BUFFER_DURATION, &duration); in ReadSample() 85 OH_AVFormat_GetLongValue(format, OH_MD_KEY_DECODING_TIMESTAMP, &dts); in ReadSample() 88 OH_AVFormat_Destroy(format); in ReadSample()
|
/foundation/multimedia/av_codec/test/fuzztest/audiodecoder_fuzzer/ |
H A D | audio_decoder_demo.h | 78 OH_AVErrCode Configure(OH_AVCodec* codec, OH_AVFormat* format, int32_t channel, int32_t sampleRate); 91 OH_AVErrCode SetParameter(OH_AVCodec* codec, OH_AVFormat* format, int32_t channel, int32_t sampleRate); 95 int32_t Configure(OH_AVFormat *format); 104 bool InitFormat(OH_AVFormat *format); 105 bool ConfigVorbisExtraData(OH_AVFormat *format);
|
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/video_codec/video_codec/ |
H A D | codec_callback.cpp | 34 void CodecCallback::OnCodecFormatChange(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnCodecFormatChange() argument 41 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_PIC_WIDTH, &context->sampleInfo->videoWidth); in OnCodecFormatChange() 42 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_PIC_HEIGHT, &context->sampleInfo->videoHeight); in OnCodecFormatChange() 43 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_STRIDE, &context->sampleInfo->videoStrideWidth); in OnCodecFormatChange() 44 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_SLICE_HEIGHT, &context->sampleInfo->videoSliceHeight); in OnCodecFormatChange()
|
/foundation/graphic/graphic_2d/frameworks/bootanimation/src/ |
H A D | boot_video_player.cpp | 104 Media::Format format; in SetVideoSound() local 105 format.PutIntValue(Media::PlayerKeys::CONTENT_TYPE, CONTENT_TYPE_UNKNOWN); in SetVideoSound() 106 format.PutIntValue(Media::PlayerKeys::STREAM_USAGE, STREAM_USAGE_ENFORCED_TONE); in SetVideoSound() 107 format.PutIntValue(Media::PlayerKeys::RENDERER_FLAG, 0); in SetVideoSound() 108 int ret = mediaPlayer_->SetParameter(format); in SetVideoSound()
|
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
H A D | vsp1_lif.c | 90 const struct v4l2_mbus_framefmt *format; in lif_configure_stream() local 96 format = vsp1_entity_get_pad_format(&lif->entity, lif->entity.config, in lif_configure_stream() 103 obth = min(128U, (format->width + 1) / 2 * format->height - 4); in lif_configure_stream() 128 (format->code == 0 ? VI6_LIF_CTRL_CFMT : 0) | in lif_configure_stream()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/shmobile/ |
H A D | shmob_drm_kms.c | 95 const struct shmob_drm_format_info *format; in shmob_drm_fb_create() local 97 format = shmob_drm_format_info(mode_cmd->pixel_format); in shmob_drm_fb_create() 98 if (format == NULL) { in shmob_drm_fb_create() 99 dev_dbg(dev->dev, "unsupported pixel format %08x\n", in shmob_drm_fb_create() 110 if (format->yuv) { in shmob_drm_fb_create() 111 unsigned int chroma_cpp = format->bpp == 24 ? 2 : 1; in shmob_drm_fb_create()
|
/kernel/linux/linux-5.10/drivers/staging/greybus/tools/ |
H A D | lbtest | 58 .format(sys.argv[0]), file=sys.stderr) 69 print("I/O error({0}): {1}".format(e.errno, e.strerror)) 78 print("I/O error({0}): {1}".format(e.errno, e.strerror)) 115 print("I/O error({0}): {1}".format(e.errno, e.strerror)) 157 print("Error: %s " % format(e.strerror), file=sys.stderr)
|
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_lif.c | 91 const struct v4l2_mbus_framefmt *format; in lif_configure_stream() local 97 format = vsp1_entity_get_pad_format(&lif->entity, lif->entity.config, in lif_configure_stream() 104 obth = min(128U, (format->width + 1) / 2 * format->height - 4); in lif_configure_stream() 131 (format->code == 0 ? VI6_LIF_CTRL_CFMT : 0) | in lif_configure_stream()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/renesas/shmobile/ |
H A D | shmob_drm_kms.c | 100 const struct shmob_drm_format_info *format; in shmob_drm_fb_create() local 102 format = shmob_drm_format_info(mode_cmd->pixel_format); in shmob_drm_fb_create() 103 if (format == NULL) { in shmob_drm_fb_create() 104 dev_dbg(dev->dev, "unsupported pixel format %p4cc\n", in shmob_drm_fb_create() 115 if (format->yuv) { in shmob_drm_fb_create() 116 unsigned int chroma_cpp = format->bpp == 24 ? 2 : 1; in shmob_drm_fb_create()
|
/kernel/liteos_a/kernel/common/ |
H A D | los_excinfo.c | 99 VOID WriteExcBufVa(const CHAR *format, va_list arglist) in WriteExcBufVa() argument 105 (g_recordSpace - g_excInfoIndex - 1), format, arglist); in WriteExcBufVa() 114 VOID WriteExcInfoToBuf(const CHAR *format, ...) in WriteExcInfoToBuf() argument 118 va_start(arglist, format); in WriteExcInfoToBuf() 119 WriteExcBufVa(format, arglist); in WriteExcInfoToBuf()
|
/test/testfwk/xdevice/plugins/devicetest/report/ |
H A D | generation.py | 43 msg = self.format(record) 45 msg = "<div class=\"error\">{}</div>".format(msg) 47 msg = "<div class=\"warning\">{}</div>".format(msg) 98 log.info("report is generated in path: {}".format(to_file)) 100 log.error("report generating failed! {}".format(exception))
|
/third_party/elfutils/backends/ |
H A D | s390_corenote.c | 95 .format = 'x', 134 .name = "orig_r2", .type = TYPE_LONG, .format = 'd', \ 147 .type = ELF_T_WORD, .format = 'x', \ 171 .type = BITS == 32 ? ELF_T_WORD : ELF_T_XWORD, .format = 'x', 179 .format = 'd',
|
H A D | i386_corenote.c | 86 .name = "orig_eax", .type = ELF_T_SWORD, .format = 'd', \ 115 { .type = ELF_T_WORD, .offset = 0x0, .format = 'd', .name = "index" }, 116 { .type = ELF_T_WORD, .offset = 0x4, .format = 'x', .name = "base" }, 117 { .type = ELF_T_WORD, .offset = 0x8, .format = 'x', .name = "limit" }, 118 { .type = ELF_T_WORD, .offset = 0xc, .format = 'x', .name = "flags" },
|
/third_party/glslang/ |
H A D | update_glslang_sources.py | 46 print('In {d}: {cmd}'.format(d=directory, cmd=cmd)) 52 raise RuntimeError('Failed to run {} in {}'.format(cmd, directory)) 89 return '{host}{subrepo}'.format( 140 print('Change directory to {d}'.format(d=args.dir)) 146 print('Get {n}\n'.format(n=c.name))
|
H A D | build_info.py | 114 raise Exception('No version number found in {}'.format(changes_file)) 143 return 'unknown hash, {}'.format(formatted) 167 raise Exception("Expected path after {}".format(opt)) 175 raise Exception("Unknown flag {}".format(opt)) 191 print(usage.format(sys.argv[0]))
|
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ |
H A D | IcuData.java | 119 w.format("IcuData{ name=%s, fallback=%s\n", name, hasFallback); in toString() 120 commentLines.forEach(c -> w.format(" # %s\n", c)); in toString() 122 w.format(" %s:\n", p); in toString() 123 rbPathToValues.get(p).forEach(v -> w.format(" %s\n", v)); in toString() 125 w.format("}\n"); in toString()
|
/third_party/node/test/parallel/ |
H A D | test-crypto-dh-stateless.js | 58 format: 'pem' 72 format: 'pem' 87 format: 'pem' 102 format: 'pem' 198 format: 'pem'
|
/third_party/mesa3d/src/mesa/main/ |
H A D | pbo.h | 40 GLenum format, GLenum type, GLsizei clientMemSize, 53 GLenum format, GLenum type, GLsizei clientMemSize, 70 GLenum format, GLenum type, GLsizei clientMemSize, 81 GLenum format, GLenum type, const GLvoid *pixels, 101 GLenum format, GLenum type,
|
/third_party/node/deps/icu-small/source/i18n/unicode/ |
H A D | choicfmt.h | 39 #include "unicode/format.h" 159 * fmt.format(x, str); 305 * parsed with that format,and should be in 309 * @param formatsToCopy The format strings you want to use for each limit. 323 * @param formats Array of format string 363 using NumberFormat::format; 376 virtual UnicodeString& format(double number, 390 virtual UnicodeString& format(int32_t number, 405 virtual UnicodeString& format(int64_t number, 423 virtual UnicodeString& format(cons [all...] |
/third_party/mesa3d/include/vulkan/ |
H A D | vk_android_native_buffer.h | 71 // Gralloc format and usage requested when the buffer was allocated. 72 int format; member 97 typedef VkResult (VKAPI_PTR *PFN_vkGetSwapchainGrallocUsageANDROID)(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage); 99 typedef VkResult (VKAPI_PTR *PFN_vkGetSwapchainGrallocUsage2ANDROID)(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, VkSwapchainImageUsageFlagsANDROID swapchainImageUsage, uint64_t* grallocConsumerUsage, uint64_t* grallocProducerUsage); 107 VkFormat format, 114 VkFormat format,
|
/third_party/icu/icu4c/source/i18n/unicode/ |
H A D | choicfmt.h | 39 #include "unicode/format.h" 159 * fmt.format(x, str); 305 * parsed with that format,and should be in 309 * @param formatsToCopy The format strings you want to use for each limit. 323 * @param formats Array of format string 363 using NumberFormat::format; 376 virtual UnicodeString& format(double number, 390 virtual UnicodeString& format(int32_t number, 405 virtual UnicodeString& format(int64_t number, 423 virtual UnicodeString& format(cons [all...] |
/third_party/libexif/libexif/ |
H A D | exif-log.c | 136 const char *format, ...) in exif_log() 140 va_start (args, format); in exif_log() 141 exif_logv (log, code, domain, format, args); in exif_log() 147 const char *format, va_list args) in exif_logv() 151 log->func (log, code, domain, format, args, log->data); in exif_logv() 135 exif_log(ExifLog *log, ExifLogCode code, const char *domain, const char *format, ...) exif_log() argument 146 exif_logv(ExifLog *log, ExifLogCode code, const char *domain, const char *format, va_list args) exif_logv() argument
|