Home
last modified time | relevance | path

Searched refs:format (Results 2051 - 2075 of 14664) sorted by relevance

1...<<81828384858687888990>>...587

/foundation/multimedia/image_framework/frameworks/kits/cj/src/
H A Dimage_receiver_impl.cpp37 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 Davbuffer_inner_mock.cpp63 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 Davbuffer_inner_mock.cpp74 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 Ddemuxer_capi_buffer_mock.cpp78 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 Daudio_decoder_demo.h78 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 Dcodec_callback.cpp34 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 Dboot_video_player.cpp104 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 Dvsp1_lif.c90 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 Dshmob_drm_kms.c95 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 Dlbtest58 .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 Dvsp1_lif.c91 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 Dshmob_drm_kms.c100 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 Dlos_excinfo.c99 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 Dgeneration.py43 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 Ds390_corenote.c95 .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 Di386_corenote.c86 .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 Dupdate_glslang_sources.py46 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 Dbuild_info.py114 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 DIcuData.java119 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 Dtest-crypto-dh-stateless.js58 format: 'pem'
72 format: 'pem'
87 format: 'pem'
102 format: 'pem'
198 format: 'pem'
/third_party/mesa3d/src/mesa/main/
H A Dpbo.h40 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 Dchoicfmt.h39 #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 Dvk_android_native_buffer.h71 // 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 Dchoicfmt.h39 #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 Dexif-log.c136 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

Completed in 12 milliseconds

1...<<81828384858687888990>>...587