Home
last modified time | relevance | path

Searched refs:format (Results 251 - 275 of 1671) sorted by relevance

1...<<11121314151617181920>>...67

/foundation/resourceschedule/ffrt/src/dfx/bbox/
H A Dfault_logger_fd_manager.cpp60 void FaultLoggerFdManager::WriteFaultLogger(const char* format, ...) in WriteFaultLogger() argument
69 va_start(args, format); in WriteFaultLogger()
70 std::string formatStr(format); in WriteFaultLogger()
/foundation/ability/idl_tool/test/hdi_unittest/base/
H A Dutil.py33 print("\033[32m{}\033[0m".format(info))
37 print("\033[31m{}\033[0m".format(info))
134 if not compare_file("{}{}".format(first_file_path, files),
135 check_file_name_format.format(second_file_path, files), special_proc_func):
136 print("file ", "{}{}".format(first_file_path, files), "{}{}".format(second_file_path, files), \
152 return exec_command("make --directory={} --jobs=4".format(file_path))
156 return exec_command("make --directory={} clean".format(file_path))
/foundation/multimedia/audio_framework/frameworks/native/audioeffect/src/
H A Daudio_enhance_chain_adapter.cpp42 static pa_sample_format_t ConvertFormat(uint8_t format) in ConvertFormat() argument
44 auto item = FORMAT_CONVERT_MAP.find(format); in ConvertFormat()
113 micSpec->format = ConvertFormat(micConfig.format); in EnhanceChainManagerGetAlgoConfig()
117 ecSpec->format = ConvertFormat(ecConfig.format); in EnhanceChainManagerGetAlgoConfig()
121 micRefSpec->format = ConvertFormat(micRefConfig.format); in EnhanceChainManagerGetAlgoConfig()
/foundation/multimedia/audio_framework/services/audio_service/test/unittest/
H A Dvolume_tools_unit_test.cpp180 AudioSampleFormat format = SAMPLE_S24LE; in HWTEST_F() local
181 int32_t ret = VolumeTools::Process(desc, format, volMaps); in HWTEST_F()
201 AudioSampleFormat format = SAMPLE_S24LE; in HWTEST_F() local
202 int32_t ret = VolumeTools::Process(desc, format, volMaps); in HWTEST_F()
222 AudioSampleFormat format = SAMPLE_S24LE; in HWTEST_F() local
223 int32_t ret = VolumeTools::Process(desc, format, volMaps); in HWTEST_F()
246 AudioSampleFormat format = SAMPLE_S24LE; in HWTEST_F() local
247 int32_t ret = VolumeTools::Process(desc, format, volMaps); in HWTEST_F()
/foundation/multimedia/media_foundation/engine/scene/player/standard/
H A Dhiplayer_impl.cpp112 Format format; in UpdateStateNoLock() local
117 callbackLooper_.OnInfo(INFO_TYPE_STATE_CHANGE, pendingState, format); in UpdateStateNoLock()
121 callbackLooper_.OnInfo(INFO_TYPE_STATE_CHANGE, pipelineStates_, format); in UpdateStateNoLock()
216 Format format; in Prepare() local
217 callbackLooper_.OnInfo(INFO_TYPE_POSITION_UPDATE, 0, format); in Prepare()
494 Format format; in HandleReadyEvent() local
495 callbackLooper_.OnInfo(INFO_TYPE_POSITION_UPDATE, 0, format); in HandleReadyEvent()
557 Format format; in OnEvent() local
558 callbackLooper_.OnInfo(INFO_TYPE_MESSAGE, PlayerMessageType::PLAYER_INFO_VIDEO_RENDERING_START, format); in OnEvent()
562 Format format; in OnEvent() local
672 Format format; DoSeek() local
707 Format format; DoOnReady() local
729 Format format; DoOnComplete() local
761 Format format; SetVolumeToSink() local
859 Format format; SetPlaybackSpeed() local
1098 Format format; NotifyBufferingUpdate() local
1106 Format format; HandleResolutionChangeEvent() local
1125 Format format; HandlePluginEvent() local
1137 Format format; HandlePluginEvent() local
[all...]
/foundation/multimedia/av_codec/test/moduletest/muxer/NativeAPI/
H A DNativeAVMuxerFunctionTest.cpp70 printf("audio format failed!"); in AddAudioTrack()
98 printf("video format failed!"); in AddVideoTrack()
125 printf("cover format failed!"); in AddCoverTrack()
266 printf("audio format failed!"); in AddAudioTrackByFd()
293 printf("audio format failed!"); in AddAudioTrackAACByFd()
319 printf("video format failed!"); in AddVideoTrackByFd()
414 void RunMuxer(const string testcaseName, int threadId, OH_AVOutputFormat format) in RunMuxer() argument
420 int32_t fd = muxerDemo->GetFdByName(format, fileName); in RunMuxer()
427 OH_AVMuxer* handle = muxerDemo->NativeCreate(fd, format); in RunMuxer()
432 if (format in RunMuxer()
591 OH_AVOutputFormat format = formatList[i]; HWTEST_F() local
635 OH_AVOutputFormat format = formatList[i]; HWTEST_F() local
679 OH_AVOutputFormat format = formatList[i]; HWTEST_F() local
729 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local
772 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local
812 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_M4A; HWTEST_F() local
836 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local
861 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_M4A; HWTEST_F() local
909 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local
962 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_M4A; HWTEST_F() local
1016 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local
[all...]
/foundation/multimedia/av_codec/test/moduletest/muxer/InnerAPI/
H A DInnerAVMuxerFunctionTest.cpp415 void RunMuxer(string testcaseName, int threadId, Plugins::OutputFormat format) in RunMuxer() argument
421 int32_t fd = muxerDemo->InnerGetFdByName(format, fileName); in RunMuxer()
428 muxerDemo->InnerCreate(fd, format); in RunMuxer()
431 if (format == Plugins::OutputFormat::MPEG_4) { in RunMuxer()
432 cout << "thread id is: " << threadId << ", format is: " << static_cast<int32_t>(format) << endl; in RunMuxer()
437 cout << "thread id is: " << threadId << ", format is: " << static_cast<int32_t>(format) << endl; in RunMuxer()
580 Plugins::OutputFormat format = formatList[i]; in HWTEST_F() local
581 int32_t fd = muxerDemo->InnerGetFdByName(format, "FUNCTION_001_INNER in HWTEST_F()
628 Plugins::OutputFormat format = formatList[i]; HWTEST_F() local
674 Plugins::OutputFormat format = formatList[i]; HWTEST_F() local
722 Plugins::OutputFormat format = Plugins::OutputFormat::MPEG_4; HWTEST_F() local
765 Plugins::OutputFormat format = Plugins::OutputFormat::MPEG_4; HWTEST_F() local
804 Plugins::OutputFormat format = Plugins::OutputFormat::M4A; HWTEST_F() local
825 Plugins::OutputFormat format = Plugins::OutputFormat::MPEG_4; HWTEST_F() local
847 Plugins::OutputFormat format = Plugins::OutputFormat::M4A; HWTEST_F() local
896 Plugins::OutputFormat format = Plugins::OutputFormat::MPEG_4; HWTEST_F() local
946 Plugins::OutputFormat format = Plugins::OutputFormat::M4A; HWTEST_F() local
1002 Plugins::OutputFormat format = Plugins::OutputFormat::MPEG_4; HWTEST_F() local
[all...]
/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/
H A Dsetparam_test.cpp96 OH_AVFormat *format = OH_AVFormat_Create(); in HWTEST_F() local
97 (void)OH_AVFormat_SetLongValue(format, OH_MD_KEY_BITRATE, -1); in HWTEST_F()
98 EXPECT_EQ(AV_ERR_INVALID_VAL, vEncSample->SetParameter(format)); in HWTEST_F()
99 (void)OH_AVFormat_SetLongValue(format, OH_MD_KEY_BITRATE, LONG_MAX); in HWTEST_F()
100 EXPECT_EQ(AV_ERR_INVALID_VAL, vEncSample->SetParameter(format)); in HWTEST_F()
101 OH_AVFormat_Destroy(format); in HWTEST_F()
125 OH_AVFormat *format = OH_AVFormat_Create(); in HWTEST_F() local
126 (void)OH_AVFormat_SetLongValue(format, OH_MD_KEY_BITRATE, DEFAULT_BITRATE >> 1); in HWTEST_F()
127 EXPECT_NE(AV_ERR_OK, vEncSample->SetParameter(format)); in HWTEST_F()
128 OH_AVFormat_Destroy(format); in HWTEST_F()
249 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
278 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
403 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
429 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
455 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
481 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
756 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
788 OH_AVFormat *format = OH_AVFormat_Create(); HWTEST_F() local
[all...]
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/
H A Dtype_converter.h47 // pixel format
48 static std::optional<PixelFmt> GraphicFmtToFmt(GraphicPixelFormat format);
49 static std::optional<PixelFmt> InnerFmtToFmt(VideoPixelFormat format);
50 static std::optional<GraphicPixelFormat> InnerFmtToDisplayFmt(VideoPixelFormat format);
51 static std::optional<VideoPixelFormat> DisplayFmtToInnerFmt(GraphicPixelFormat format);
H A Dhdecoder.h40 int32_t OnConfigure(const Format &format) override;
41 int32_t SetupPort(const Format &format);
49 int32_t OnSetParameters(const Format &format) override;
53 int32_t SaveTransform(const Format &format, bool set = false);
55 int32_t SaveScaleMode(const Format &format, bool set = false);
103 int32_t SetVrrEnable(const Format &format);
/foundation/multimedia/av_codec/frameworks/native/avcodec/
H A Davcodec_video_decoder_impl.h29 int32_t Configure(const Format &format) override;
39 int32_t GetOutputFormat(Format &format) override;
42 int32_t SetParameter(const Format &format) override;
49 int32_t Init(AVCodecType type, bool isMimeType, const std::string &name, Format &format);
/foundation/multimedia/av_codec/services/engine/common/include/
H A Dcodec_utils.h23 #include "meta/format.h"
69 const Format &format);
71 const Format &format);
74 bool IsYuvFormat(VideoPixelFormat &format);
75 bool IsRgbFormat(VideoPixelFormat &format);
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_encoder/flac/
H A Dffmpeg_flac_encoder_plugin.h54 Status CheckFormat(const std::shared_ptr<Meta> &format);
55 bool CheckBitRate(const std::shared_ptr<Meta> &format) const;
56 Status SetContext(const std::shared_ptr<Meta> &format);
57 void SetFormat(const std::shared_ptr<Meta> &format) noexcept;
/foundation/multimedia/av_codec/services/engine/codec/include/audio/
H A Daudio_codec_adapter.h35 int32_t Configure(const Format &format) override;
49 int32_t SetParameter(const Format &format) override;
51 int32_t GetOutputFormat(Format &format) override;
71 int32_t doConfigure(const Format &format);
/foundation/multimedia/av_codec/services/services/codec/ipc/
H A Di_standard_codec_service.h39 virtual int32_t Configure(const Format &format) = 0;
52 virtual int32_t GetOutputFormat(Format &format) = 0;
55 virtual int32_t SetParameter(const Format &format) = 0;
56 virtual int32_t GetInputFormat(Format &format) = 0;
/foundation/multimedia/av_codec/services/services/codeclist/client/
H A Dcodeclist_client.cpp59 std::string CodecListClient::FindDecoder(const Format &format) in FindDecoder() argument
63 return codecListProxy_->FindDecoder(format); in FindDecoder()
66 std::string CodecListClient::FindEncoder(const Format &format) in FindEncoder() argument
70 return codecListProxy_->FindEncoder(format); in FindEncoder()
/foundation/multimedia/av_codec/test/unittest/common/common_mock/avformat/inner/
H A Davformat_inner_mock.h20 #include "meta/format.h"
26 explicit AVFormatInnerMock(const Format &format) : format_(format) {} in AVFormatInnerMock() argument
27 explicit AVFormatInnerMock(Format &&format) : format_(format) {} in AVFormatInnerMock() argument
/foundation/multimedia/av_codec/test/unittest/filter_test/
H A Dsurface_decoder_unit_test.h56 int32_t Configure(const Format &format) in Configure() argument
96 int32_t GetOutputFormat(Format &format) in GetOutputFormat() argument
108 int32_t SetParameter(const Format &format) in SetParameter() argument
136 void OnOutputFormatChanged(const std::shared_ptr<Meta> &format) in OnOutputFormatChanged() argument
/foundation/multimedia/player_framework/services/services/engine_intf/
H A Di_avcodec_engine.h27 #include "meta/format.h"
38 virtual void OnOutputFormatChanged(const Format &format) = 0;
48 virtual int32_t Configure(const Format &format) = 0;
60 virtual int32_t GetOutputFormat(Format &format) = 0;
62 virtual int32_t SetParameter(const Format &format) = 0;
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/
H A Dpixel_yuv_utils.cpp207 if (info.format == AVPixelFormat::AV_PIX_FMT_NV21 || info.format == AVPixelFormat::AV_PIX_FMT_NV12) { in FillSrcFrameInfo()
212 } else if (info.format == AVPixelFormat::AV_PIX_FMT_P010LE) { in FillSrcFrameInfo()
214 info.format, info.yuvDataInfo.yStride, info.height, 1); in FillSrcFrameInfo()
217 info.format, info.width, info.height, 1); in FillSrcFrameInfo()
231 if (info.format == AVPixelFormat::AV_PIX_FMT_NV21 || info.format == AVPixelFormat::AV_PIX_FMT_NV12) { in FillDstFrameInfo()
236 } else if (info.format == AVPixelFormat::AV_PIX_FMT_P010LE) { in FillDstFrameInfo()
238 info.format, info.yuvDataInfo.yStride, info.height, 1); in FillDstFrameInfo()
241 info.format, inf in FillDstFrameInfo()
663 IsYUVP010Format(PixelFormat format) IsYUVP010Format() argument
744 SetTranslateDataDefault(uint8_t *srcPixels, int32_t width, int32_t height, PixelFormat format, YUVStrideInfo &dstStrides) SetTranslateDataDefault() argument
764 GetYuv420U(uint32_t x, uint32_t y, YUVDataInfo &info, PixelFormat format, const uint8_t *in) GetYuv420U() argument
785 GetYuv420V(uint32_t x, uint32_t y, YUVDataInfo &info, PixelFormat format, const uint8_t *in) GetYuv420V() argument
953 YuvWritePixel(uint8_t *srcPixels, const YUVDataInfo &yuvDataInfo, const PixelFormat &format, const Position &pos, const uint32_t &color) YuvWritePixel() argument
[all...]
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/utils/
H A Dffmpeg_utils.cpp145 // Histreamer pixel format to ffmpeg pixel format
463 bool IsYuvFormat(AVPixelFormat format) in IsYuvFormat() argument
465 return (format == AV_PIX_FMT_YUV420P || format == AV_PIX_FMT_NV12 || format == AV_PIX_FMT_NV21 || in IsYuvFormat()
466 format == AV_PIX_FMT_YUYV422 || format == AV_PIX_FMT_YUV422P || format == AV_PIX_FMT_YUV444P || in IsYuvFormat()
467 format in IsYuvFormat()
471 IsRgbFormat(AVPixelFormat format) IsRgbFormat() argument
[all...]
/foundation/multimedia/av_codec/frameworks/native/capi/avsource/
H A Dnative_avsource.cpp129 Format format; in OH_AVSource_GetSourceFormat() local
130 int32_t ret = sourceObj->source_->GetSourceFormat(format); in OH_AVSource_GetSourceFormat()
135 avFormat->format_ = format; in OH_AVSource_GetSourceFormat()
149 Format format; in OH_AVSource_GetTrackFormat() local
150 int32_t ret = sourceObj->source_->GetTrackFormat(format, trackIndex); in OH_AVSource_GetTrackFormat()
155 avFormat->format_ = format; in OH_AVSource_GetTrackFormat()
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_decoder/ape/
H A Dffmpeg_ape_decoder_plugin.cpp124 auto format = basePlugin->GetFormat(); in SetParameter() local
125 format->SetData(Tag::AUDIO_MAX_INPUT_SIZE, GetInputBufferSize()); in SetParameter()
126 format->SetData(Tag::AUDIO_MAX_OUTPUT_SIZE, GetOutputBufferSize()); in SetParameter()
127 basePlugin->CheckSampleFormat(format, codecCtx->channels); in SetParameter()
189 bool FFmpegAPEDecoderPlugin::CheckChannelCount(const std::shared_ptr<Meta> &format) in CheckChannelCount() argument
191 if (!format->GetData(Tag::AUDIO_CHANNEL_COUNT, channels_)) { in CheckChannelCount()
/foundation/multimedia/av_codec/services/engine/codec/audio/decoder/
H A Daudio_g711mu_decoder_plugin.cpp49 int32_t AudioG711muDecoderPlugin::Init(const Format &format) in Init() argument
51 int32_t checkresult = CheckInit(format); in Init()
57 format_ = format; in Init()
148 int32_t AudioG711muDecoderPlugin::CheckInit(const Format &format) in CheckInit() argument
152 format.GetIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, channels); in CheckInit()
153 format.GetIntValue(MediaDescriptionKey::MD_KEY_SAMPLE_RATE, sampleRate); in CheckInit()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/cj/
H A Dimage_ffi_test.cpp109 int32_t format; in HWTEST_F() local
110 FfiOHOSReceiverGetFormat(imageReceiverId, &format); in HWTEST_F()
117 FfiOHOSImageGetFormat(imageId, &format); in HWTEST_F()
138 int32_t format; in HWTEST_F() local
139 FfiOHOSReceiverGetFormat(imageReceiverId, &format); in HWTEST_F()
146 FfiOHOSImageGetFormat(imageId, &format); in HWTEST_F()

Completed in 15 milliseconds

1...<<11121314151617181920>>...67