/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetparameter_fuzzer/ |
H A D | recordersetparameter_fuzzer.cpp | 59 Format format; in FuzzRecorderSetParameter() local 61 format.PutIntValue("video_scale_type", intValue); in FuzzRecorderSetParameter() 63 TestRecorder::SetParameter(g_videoRecorderConfig.dataSourceId, format, g_videoRecorderConfig); in FuzzRecorderSetParameter()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/ |
H A D | number_format_module.cpp | 31 jerry_value_t format = jerry_create_external_function(Format); in Init() local 33 JerrySetNamedProperty(baseObj, "format", format); in Init() 36 ReleaseJerryValue(constructor, format, baseObj, VA_ARG_END_FLAG); in Init() 100 HILOG_ERROR(HILOG_MODULE_ACE, "the args num in number format is error"); in Format() 101 return jerry_create_error(JERRY_ERROR_EVAL, reinterpret_cast<const jerry_char_t *>("format invalid value")); in Format() 118 HILOG_ERROR(HILOG_MODULE_ACE, "format number failed"); in Format() 129 NumberFormatModule *format = reinterpret_cast<NumberFormatModule *>(nativePointer); in DeleteNumberFormat() local 130 if (format != nullptr) { in DeleteNumberFormat() 131 delete format; in DeleteNumberFormat() [all...] |
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/demuxer/ |
H A D | demuxer_log_compressor.cpp | 23 #include "meta/format.h" 97 std::string DemuxerLogCompressor::FormatTagSerialize(Format& format) in FormatTagSerialize() argument 100 auto meta = format.GetMeta(); in FormatTagSerialize() 106 switch (format.GetValueType(iter->first)) { in FormatTagSerialize() 139 OHOS::Media::Format format; in StringifyMeta() local 163 format.SetMeta(std::make_shared<Meta>(meta)); in StringifyMeta() 165 MEDIA_LOG_I("[source]: " PUBLIC_LOG_S, FormatTagSerialize(format).c_str()); in StringifyMeta() 167 MEDIA_LOG_I("[track " PUBLIC_LOG_D32 "]: " PUBLIC_LOG_S, trackIndex, FormatTagSerialize(format).c_str()); in StringifyMeta()
|
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/func_sample/mock/ |
H A D | vcodec_mock.h | 42 virtual void OnStreamChanged(std::shared_ptr<FormatMock> format) = 0; 51 virtual void OnStreamChanged(std::shared_ptr<FormatMock> format) = 0; 76 virtual int32_t Configure(std::shared_ptr<FormatMock> format) = 0; 83 virtual int32_t SetParameter(std::shared_ptr<FormatMock> format) = 0; 103 virtual int32_t Configure(std::shared_ptr<FormatMock> format) = 0; 111 virtual int32_t SetParameter(std::shared_ptr<FormatMock> format) = 0; 155 .format = GraphicPixelFormat::GRAPHIC_PIXEL_FMT_RGBA_8888,
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/codec_adapter/ |
H A D | codec_utils.cpp | 173 OMX_VIDEO_CODINGTYPE CodingTypeHstToHdi(const std::string& format) in CodingTypeHstToHdi() argument 175 if (compressHstOmx.find(format) != compressHstOmx.end()) { in CodingTypeHstToHdi() 176 return compressHstOmx.at(format); in CodingTypeHstToHdi() 189 OMX_COLOR_FORMATTYPE FormatHstToOmx(const VideoPixelFormat format) in FormatHstToOmx() argument 191 if (formatHstOmx.find(format) != formatHstOmx.end()) { in FormatHstToOmx() 192 return formatHstOmx.at(format); in FormatHstToOmx() 194 MEDIA_LOG_W("Unknow VideoPixelFormat: " PUBLIC_LOG_U32, static_cast<uint32_t>(format)); in FormatHstToOmx()
|
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/output/ |
H A D | camera_output_capability.h | 74 Profile(CameraFormat format, Size size); 75 Profile(CameraFormat format, Size size, int32_t specId); 76 Profile(CameraFormat format, Size size, Fps fps, std::vector<uint32_t> abilityId); 77 Profile(CameraFormat format, Size size, Fps fps, std::vector<uint32_t> abilityId, int32_t specId); 97 * @brief Get camera format of the profile. 99 * @return camera format of the profile. 129 VideoProfile(CameraFormat format, Size size, std::vector<int32_t> framerates); 130 VideoProfile(CameraFormat format, Size size, std::vector<int32_t> framerates, int32_t specId); 163 DepthProfile(CameraFormat format, DepthDataAccuracy dataAccuracy, Size size);
|
/foundation/multimedia/audio_framework/services/audio_service/test/unittest/ |
H A D | audio_direct_sink_unit_test.cpp | 90 attr.format = HdiAdapterFormat::SAMPLE_S32; in HWTEST_F() 115 attr.format = HdiAdapterFormat::SAMPLE_S32; in HWTEST_F() 141 attr.format = HdiAdapterFormat::SAMPLE_S32; in HWTEST_F() 182 attr.format = HdiAdapterFormat::SAMPLE_S32; in HWTEST_F() 217 attr.format = HdiAdapterFormat::SAMPLE_S32; in HWTEST_F() 245 attr.format = HdiAdapterFormat::SAMPLE_S32; in HWTEST_F() 271 attr.format = HdiAdapterFormat::SAMPLE_S32; in HWTEST_F() 297 attr.format = HdiAdapterFormat::SAMPLE_S32; in HWTEST_F() 315 * @tc.desc : Test audio sink of each format type RenderFrame when audioMonoState_ is true, audioBalanceState_ is 325 attr.format in HWTEST_F() [all...] |
/foundation/multimedia/av_codec/services/services/codec/ipc/ |
H A D | codec_service_stub.cpp | 235 int32_t CodecServiceStub::Configure(const Format &format) in Configure() argument 239 return codecServer_->Configure(format); in Configure() 353 int32_t CodecServiceStub::GetOutputFormat(Format &format) in GetOutputFormat() argument 357 return codecServer_->GetOutputFormat(format); in GetOutputFormat() 374 int32_t CodecServiceStub::SetParameter(const Format &format) in SetParameter() argument 378 return codecServer_->SetParameter(format); in SetParameter() 381 int32_t CodecServiceStub::GetInputFormat(Format &format) in GetInputFormat() argument 385 return codecServer_->GetInputFormat(format); in GetInputFormat() 435 Format format; in Configure() local 436 (void)AVCodecParcel::Unmarshalling(data, format); in Configure() 540 std::string format = data.ReadString(); SetOutputSurface() local 572 Format format; GetOutputFormat() local 609 Format format; SetParameter() local 622 Format format; GetInputFormat() local [all...] |
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/ |
H A D | hdecoder.cpp | 40 int32_t HDecoder::OnConfigure(const Format &format) in OnConfigure() argument 42 configFormat_ = make_shared<Format>(format); in OnConfigure() 59 int32_t ret = SetLowLatency(format); in OnConfigure() 63 SaveTransform(format); in OnConfigure() 64 SaveScaleMode(format); in OnConfigure() 66 (void)SetFrameRateAdaptiveMode(format); in OnConfigure() 68 ret = SetVrrEnable(format); in OnConfigure() 73 return SetupPort(format); in OnConfigure() 76 int32_t HDecoder::SetupPort(const Format &format) in SetupPort() argument 79 if (!format in SetupPort() 300 OnSetParameters(const Format &format) OnSetParameters() argument 326 SaveTransform(const Format &format, bool set) SaveTransform() argument 368 SaveScaleMode(const Format &format, bool set) SaveScaleMode() argument 402 SetVrrEnable(const Format &format) SetVrrEnable() argument [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | image_format_convert_ext_utils.cpp | 52 switch (destParam.format) {
in I010ToP010() 83 switch (srcParam.format) {
in RGBToI420() 109 switch (destParam.format) {
in I420ToYuv() 148 switch (srcParam.format) {
in YuvToI420() 168 switch (destParam.format) {
in I420ToRGB() 192 static bool CalcRGBStride(PixelFormat format, uint32_t width, int &stride)
in CalcRGBStride() argument 194 switch (format) {
in CalcRGBStride() 231 auto bRet = CalcRGBStride(destParam.format, destParam.width, dstStride);
in YuvToRGBParam() 283 srcParam.format = srcFormat;
in YuvTo420ToRGB() 286 destParam.format in YuvTo420ToRGB() [all...] |
H A D | image_format_convert_utils.cpp | 54 static AVPixelFormat findPixelFormat(PixelFormat format) in findPixelFormat() argument 56 auto formatSearch = PixelConvertAdapter::FFMPEG_PIXEL_FORMAT_MAP.find(format); in findPixelFormat() 64 static bool CalcRGBStride(PixelFormat format, uint32_t width, int &stride) in CalcRGBStride() argument 66 if (format == PixelFormat::RGBA_1010102) { in CalcRGBStride() 70 auto avFormat = findPixelFormat(format); in CalcRGBStride() 105 auto bRet = CalcRGBStride(destParam.format, destParam.width, dstStride); in YuvToRGBParam() 151 auto srcformat = findPixelFormat(srcParam.format); in SoftDecode() 152 auto dstformat = findPixelFormat(destParam.format); in SoftDecode() 180 IMAGE_LOGE("Image pixel format conversion failed"); in SoftDecode() 241 midParam.format in P010ToRGBA10101012SoftDecode() [all...] |
/foundation/multimedia/av_codec/test/fuzztest/audioencoderreset_fuzzer/ |
H A D | audio_encoder_reset_demo.cpp | 93 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument 96 (void)format; in OnOutputFormatChanged() 151 void AudioBufferAacEncDemo::Setformat(OH_AVFormat *format) in Setformat() argument 166 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_BITS_PER_CODED_SAMPLE.data(), BIT_PER_CODE_COUNT); in Setformat() 167 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_COMPLIANCE_LEVEL.data(), COMPLEXITY_COUNT); in Setformat() 178 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, OH_BitsPerSample::SAMPLE_S16LE); in Setformat() 190 OH_AVFormat_SetLongValue(format, OH_MD_KEY_CHANNEL_LAYOUT, channelLayout); in Setformat() 191 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), channelCount); in Setformat() 192 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), sampleRate); in Setformat() 193 OH_AVFormat_SetLongValue(format, MediaDescriptionKe in Setformat() 253 Configure(OH_AVFormat *format) Configure() argument [all...] |
/foundation/multimedia/av_codec/test/fuzztest/audioencoder_fuzzer/ |
H A D | audio_encoder_demo.cpp | 93 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument 96 (void)format; in OnOutputFormatChanged() 157 OH_AVFormat *format = OH_AVFormat_Create(); in RunCase() local 158 Setformat(format); in RunCase() 159 DEMO_CHECK_AND_RETURN_RET_LOG(Configure(format) == AVCS_ERR_OK, false, "Fatal: Configure fail"); in RunCase() 167 OH_AVFormat_Destroy(format); in RunCase() 172 void AudioBufferAacEncDemo::Setformat(OH_AVFormat *format) in Setformat() argument 187 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_BITS_PER_CODED_SAMPLE.data(), BIT_PER_CODE_COUNT); in Setformat() 188 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_COMPLIANCE_LEVEL.data(), COMPLEXITY_COUNT); in Setformat() 199 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPL in Setformat() 274 Configure(OH_AVFormat *format) Configure() argument [all...] |
/foundation/multimedia/av_codec/test/fuzztest/audioencoderflush_fuzzer/ |
H A D | audio_encoder_flush_demo.cpp | 93 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument 96 (void)format; in OnOutputFormatChanged() 151 void AudioBufferAacEncDemo::Setformat(OH_AVFormat *format) in Setformat() argument 166 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_BITS_PER_CODED_SAMPLE.data(), BIT_PER_CODE_COUNT); in Setformat() 167 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_COMPLIANCE_LEVEL.data(), COMPLEXITY_COUNT); in Setformat() 178 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, OH_BitsPerSample::SAMPLE_S16LE); in Setformat() 190 OH_AVFormat_SetLongValue(format, OH_MD_KEY_CHANNEL_LAYOUT, channelLayout); in Setformat() 191 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), channelCount); in Setformat() 192 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), sampleRate); in Setformat() 193 OH_AVFormat_SetLongValue(format, MediaDescriptionKe in Setformat() 253 Configure(OH_AVFormat *format) Configure() argument [all...] |
/foundation/multimedia/av_codec/test/fuzztest/audioencoderdescription_fuzzer/ |
H A D | audio_encoder_description_demo.cpp | 93 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument 96 (void)format; in OnOutputFormatChanged() 151 void AudioBufferAacEncDemo::Setformat(OH_AVFormat *format) in Setformat() argument 166 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_BITS_PER_CODED_SAMPLE.data(), BIT_PER_CODE_COUNT); in Setformat() 167 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_COMPLIANCE_LEVEL.data(), COMPLEXITY_COUNT); in Setformat() 178 OH_AVFormat_SetIntValue(format, OH_MD_KEY_BITS_PER_CODED_SAMPLE, OH_BitsPerSample::SAMPLE_S16LE); in Setformat() 190 OH_AVFormat_SetLongValue(format, OH_MD_KEY_CHANNEL_LAYOUT, channelLayout); in Setformat() 191 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), channelCount); in Setformat() 192 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), sampleRate); in Setformat() 193 OH_AVFormat_SetLongValue(format, MediaDescriptionKe in Setformat() 253 Configure(OH_AVFormat *format) Configure() argument [all...] |
/foundation/ability/idl_tool/test/hdi_unittest/base/ |
H A D | test_base.py | 43 self.command = self._command_format.format(self._idl, self._system_attr, self._mode_attr, 96 self.command = self._command_format.format(self._idl, self._system_attr, self._mode_attr, 104 hash_command = self._hash_command_format.format(self._idl, self._package_path, 109 dump_ast_command = self._dump_ast_command_format.format(self._idl, self._package_path, self._command_attr, 215 exec_command("rm -rf {}".format(self.output_dir)) 221 self.command = "".join((self.command, " -c {}".format(idl))) 224 print_success("[ RUN ] {}".format(self.name)) 230 print_success("[ OK ] {} ({}ms)".format(self.name, end_time - start_time)) 232 print_failure("[ FAILED ] {} ({}ms)".format(self.name, end_time - start_time))
|
/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/ |
H A D | log.h | 184 FORMAT_ATTRIBUTE const char* format, ...) in Log() 189 va_start(vl, format); in Log() 190 logger->VLog(logLevel, filename, lineNumber, format, vl); in Log() 196 const BASE_NS::string_view filename, int lineNumber, FORMAT_ATTRIBUTE const char* format, ...) in LogOnce() 201 va_start(vl, format); in LogOnce() 202 logger->VLogOnce(id, logLevel, filename, lineNumber, format, vl); in LogOnce() 208 const BASE_NS::string_view expressionString, FORMAT_ATTRIBUTE const char* format, ...) in LogAssert() 213 va_start(vl, format); in LogAssert() 214 logger->VLogAssert(filename, lineNumber, expression, expressionString, format, vl); in LogAssert() 183 Log(ILogger::LogLevel logLevel, const BASE_NS::string_view filename, int lineNumber, FORMAT_ATTRIBUTE const char* format, ...) Log() argument 195 LogOnce(const BASE_NS::string_view id, ILogger::LogLevel logLevel, const BASE_NS::string_view filename, int lineNumber, FORMAT_ATTRIBUTE const char* format, ...) LogOnce() argument 207 LogAssert(const BASE_NS::string_view filename, int lineNumber, bool expression, const BASE_NS::string_view expressionString, FORMAT_ATTRIBUTE const char* format, ...) LogAssert() argument
|
/foundation/ability/idl_tool/idl_tool_2/ |
H A D | build_hdi_files_info.py | 50 return "<{}:{}:{}: {},'{}'>".format(self.file_name, self.row, self.col, 54 return "{}:{}:{}".format(self.file_name, self.row, self.col) 249 "the gen_dir '{}' is empty, please check input".format( 257 "the package path '{}' is valid, please check input".format( 306 return "{}.{}".format(self.package, self.name) 375 raise Exception("{}: expected package name before '{}'".format( 417 raise Exception("{}: expected package name before '{}'".format( 421 raise Exception("{}: failed to parse package name '{}'".format( 430 cur_idl_detail.version = "{}.{}".format(major_version, minor_version) 438 raise Exception("{}: expected package name before '{}'".format( [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | picture_ext_test.cpp | 84 int32_t format = PIXEL_FORMAT_NV12; in CreatePictureNative() local 85 OH_DecodingOptions_SetPixelFormat(opts, format); in CreatePictureNative() 150 * with the specified format hint. 199 option.format = "image/jpeg"; in HWTEST_F() 232 option.format = "image/jpeg"; in HWTEST_F() 257 option.format = "image/jpeg"; in HWTEST_F() 283 option.format = "image/jpeg"; in HWTEST_F() 315 option.format = "image/heif"; in HWTEST_F() 348 option.format = "image/heif"; in HWTEST_F() 374 option.format in HWTEST_F() 446 PixelFormat format= pixelmap->GetPixelFormat(); HWTEST_F() local 494 PixelFormat format= pixelmap->GetPixelFormat(); HWTEST_F() local 555 Image_MimeType format; HWTEST_F() local 611 Image_MimeType format; HWTEST_F() local [all...] |
/foundation/CastEngine/castengine_wifi_display/services/interaction/scene/ |
H A D | scene_format.cpp | 264 bool SceneFormatParcel::Marshalling(MessageParcel &parcel, const SceneFormat &format) in Marshalling() argument 267 auto dataMap = format.GetFormatMap(); in Marshalling() 314 bool SceneFormatParcel::Unmarshalling(MessageParcel &parcel, SceneFormat &format) in Unmarshalling() argument 323 (void)format.PutUint16Value(key, parcel.ReadUint16()); in Unmarshalling() 326 (void)format.PutBoolValue(key, parcel.ReadBool()); in Unmarshalling() 329 (void)format.PutIntValue(key, parcel.ReadInt32()); in Unmarshalling() 332 (void)format.PutUint32Value(key, parcel.ReadUint32()); in Unmarshalling() 335 (void)format.PutInt64Value(key, parcel.ReadInt64()); in Unmarshalling() 338 (void)format.PutUint64Value(key, parcel.ReadUint64()); in Unmarshalling() 341 (void)format in Unmarshalling() [all...] |
/foundation/multimedia/audio_framework/services/audio_service/server/src/ |
H A D | none_mix_engine.cpp | 365 HdiAdapterFormat NoneMixEngine::GetDirectDeviceFormate(AudioSampleFormat format) in GetDirectDeviceFormate() argument 367 switch (format) { in GetDirectDeviceFormate() 381 int32_t NoneMixEngine::GetDirectFormatByteSize(HdiAdapterFormat format) in GetDirectFormatByteSize() argument 383 switch (format) { in GetDirectFormatByteSize() 397 HdiAdapterFormat format = GetDirectDeviceFormate(streamInfo.format); in InitSink() local 401 if (uChannel_ != targetChannel || uFormat_ != format || sampleRate != uSampleRate_) { in InitSink() 411 return InitSink(targetChannel, format, sampleRate); in InitSink() 414 int32_t NoneMixEngine::InitSink(uint32_t channel, HdiAdapterFormat format, uint32_t rate) in InitSink() argument 425 attr.format in InitSink() [all...] |
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_decoder/ |
H A D | ffmpeg_base_decoder.cpp | 218 int32_t bytePerSample = av_get_bytes_per_sample(static_cast<AVSampleFormat>(outFrame->format)); in ReceiveFrameSucc() 287 Status FfmpegBaseDecoder::InitContext(const std::shared_ptr<Meta> &format) in InitContext() argument 289 format->GetData(Tag::AUDIO_CHANNEL_COUNT, avCodecContext_->channels); in InitContext() 290 format->GetData(Tag::AUDIO_SAMPLE_RATE, avCodecContext_->sample_rate); in InitContext() 291 format->GetData(Tag::MEDIA_BITRATE, avCodecContext_->bit_rate); in InitContext() 293 format->GetData(Tag::AUDIO_CHANNEL_LAYOUT, channelLayout); in InitContext() 311 format->GetData(Tag::AUDIO_MAX_INPUT_SIZE, maxInputSize_); in InitContext() 313 Status ret = SetCodecExtradata(format); in InitContext() 320 *format_ = *format; in InitContext() 412 bool FfmpegBaseDecoder::CheckSampleFormat(const std::shared_ptr<Meta> &format, int32_ argument 450 SetCodecExtradata(const std::shared_ptr<Meta> &format) SetCodecExtradata() argument [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/node/ |
H A D | render_node_create_gpu_images.cpp | 42 if (desc.format == defDesc.format) { in GetDependencyList() 43 depList.format = true; in GetDependencyList() 59 depList.format = true; in GetDependencyList() 82 if (dependencyList.format && (desc.format != dependencyDesc.format)) { in CheckForDescUpdates() 84 desc.format = dependencyDesc.format; in CheckForDescUpdates() 133 const FormatProperties formatProperties = gpuResourceMgr.GetFormatProperties(desc.format); in CheckFormat() [all...] |
/foundation/multimedia/av_codec/test/nativedemo/audio_demo/ |
H A D | avcodec_audio_avbuffer_flac_encoder_demo.cpp | 61 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData)
in OnOutputFormatChanged() argument 64 (void)format;
in OnOutputFormatChanged() 105 OH_AVFormat *format = OH_AVFormat_Create();
in RunCase() local 106 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), CHANNEL_COUNT);
in RunCase() 107 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_SAMPLE_RATE.data(), SAMPLE_RATE);
in RunCase() 108 OH_AVFormat_SetLongValue(format, MediaDescriptionKey::MD_KEY_BITRATE.data(), BITS_RATE);
in RunCase() 109 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_BITS_PER_CODED_SAMPLE.data(), BITS_PER_CODED_SAMPLE);
in RunCase() 110 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), SAMPLE_FORMAT);
in RunCase() 111 OH_AVFormat_SetLongValue(format, MediaDescriptionKey::MD_KEY_CHANNEL_LAYOUT.data(), CHANNEL_LAYOUT);
in RunCase() 112 OH_AVFormat_SetIntValue(format, MediaDescriptionKe in RunCase() 158 Configure(OH_AVFormat *format) Configure() argument [all...] |
/foundation/multimedia/image_effect/frameworks/native/capi/ |
H A D | native_common_utils.cpp | 144 [&ohFormatType](const std::pair<IEffectFormat, ImageEffect_Format> &format) { in SwitchToFormatType() 145 return format.second == ohFormatType; in SwitchToFormatType() 171 for (const auto &format : effectInfo->formats_) { in SwitchToOHEffectInfo() 172 for (auto ipType : format.second) { in SwitchToOHEffectInfo() 182 SwitchToOHFormatType(format.first, ohFormatType); in SwitchToOHEffectInfo() 216 [&formatType](const std::pair<IEffectFormat, std::vector<IPType>> &format) { in IsMatchLookupCondition() 217 return formatType == format.first; in IsMatchLookupCondition() 289 for (const auto &format: FORMAT_TABLE) { in SwitchToEffectInfo() 290 ImageEffect_Format ohFormat = format.second; in SwitchToEffectInfo() 293 effectInfo->formats_.emplace(format in SwitchToEffectInfo() [all...] |