/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_decoder/mp3/ |
H A D | ffmpeg_mp3_decoder_plugin.cpp | 94 auto format = basePlugin->GetFormat(); in SetParameter() local 95 format->SetData(Tag::AUDIO_MAX_INPUT_SIZE, GetInputBufferSize()); in SetParameter() 96 format->SetData(Tag::AUDIO_MAX_OUTPUT_SIZE, GetOutputBufferSize()); in SetParameter() 102 auto format = basePlugin->GetFormat(); in GetParameter() local 103 format->SetData(Tag::MIME_TYPE, MediaAVCodec::AVCodecMimeType::MEDIA_MIMETYPE_AUDIO_MPEG); in GetParameter() 104 parameter = format; in GetParameter() 138 Status FFmpegMp3DecoderPlugin::CheckInit(const std::shared_ptr<Meta> &format) in CheckInit() argument 140 format->GetData(Tag::AUDIO_CHANNEL_COUNT, channels); in CheckInit() 141 format->GetData(Tag::AUDIO_SAMPLE_RATE, sampleRate); in CheckInit() 155 CHECK_AND_RETURN_RET_LOG(basePlugin->CheckSampleFormat(format, channel in CheckInit() [all...] |
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_decoder/flac/ |
H A D | ffmpeg_flac_decoder_plugin.cpp | 62 Status FFmpegFlacDecoderPlugin::CheckFormat(const std::shared_ptr<Meta> &format) in CheckFormat() argument 66 format->GetData(Tag::AUDIO_CHANNEL_COUNT, channelCount); in CheckFormat() 67 format->GetData(Tag::AUDIO_SAMPLE_RATE, sampleRate); in CheckFormat() 75 CHECK_AND_RETURN_RET_LOG(basePlugin->CheckSampleFormat(format, channelCount), Status::ERROR_INVALID_PARAMETER, in CheckFormat() 127 auto format = basePlugin->GetFormat(); in SetParameter() local 128 format->SetData(Tag::AUDIO_MAX_INPUT_SIZE, GetInputBufferSize()); in SetParameter() 129 format->SetData(Tag::AUDIO_MAX_OUTPUT_SIZE, GetOutputBufferSize()); in SetParameter() 135 auto format = basePlugin->GetFormat(); in GetParameter() local 136 format->SetData(Tag::MIME_TYPE, MediaAVCodec::AVCodecMimeType::MEDIA_MIMETYPE_AUDIO_FLAC); in GetParameter() 137 parameter = format; in GetParameter() [all...] |
/foundation/multimedia/av_codec/test/unittest/decoder_filter_test/ |
H A D | metadata_filter_unit_test.cpp | 56 std::shared_ptr<Meta> format;
in HWTEST_F() local 60 metaData->OnLinkedResult(inputBufferQueueProducer, format);
in HWTEST_F() 62 EXPECT_EQ(metaData->SetCodecFormat(format), Status::OK);
in HWTEST_F() 63 EXPECT_EQ(metaData->Configure(format), Status::OK);
in HWTEST_F() 76 metaData->SetParameter(format);
in HWTEST_F() 77 metaData->GetParameter(format);
in HWTEST_F() 90 metaData->OnUpdatedResult(format);
in HWTEST_F() 91 metaData->OnUnlinkedResult(format);
in HWTEST_F() 93 EXPECT_EQ(metaData->OnLinked(Pipeline::StreamType::STREAMTYPE_PACKED, format, nullptr), Status::OK);
in HWTEST_F() 94 EXPECT_EQ(metaData->OnUpdated(Pipeline::StreamType::STREAMTYPE_PACKED, format, nullpt in HWTEST_F() [all...] |
/foundation/multimedia/av_codec/services/services/codeclist/ipc/ |
H A D | codeclist_service_stub.cpp | 115 std::string CodecListServiceStub::FindDecoder(const Format &format) in FindDecoder() argument 119 return codecListServer_->FindDecoder(format); in FindDecoder() 122 std::string CodecListServiceStub::FindEncoder(const Format &format) in FindEncoder() argument 126 return codecListServer_->FindEncoder(format); in FindEncoder() 140 Format format; in DoFindDecoder() local 141 (void)AVCodecParcel::Unmarshalling(data, format); in DoFindDecoder() 142 reply.WriteString(FindDecoder(format)); in DoFindDecoder() 148 Format format; in DoFindEncoder() local 149 (void)AVCodecParcel::Unmarshalling(data, format); in DoFindEncoder() 150 reply.WriteString(FindEncoder(format)); in DoFindEncoder() [all...] |
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/ |
H A D | videodec_hdrvivid2sdr_unit_test.cpp | 191 void CheckFormatKey(std::shared_ptr<VideoDecSample> videoDec, std::shared_ptr<FormatMock> format) in CheckFormatKey() argument 193 format = videoDec->GetOutputDescription(); in CheckFormatKey() 204 EXPECT_TRUE(format->GetIntValue(Media::Tag::VIDEO_WIDTH, width)); in CheckFormatKey() 205 EXPECT_TRUE(format->GetIntValue(Media::Tag::VIDEO_HEIGHT, height)); in CheckFormatKey() 206 EXPECT_TRUE(format->GetIntValue(Media::Tag::VIDEO_PIC_WIDTH, pictureWidth)); in CheckFormatKey() 207 EXPECT_TRUE(format->GetIntValue(Media::Tag::VIDEO_PIC_HEIGHT, pictureHeight)); in CheckFormatKey() 208 EXPECT_TRUE(format->GetIntValue(Media::Tag::VIDEO_STRIDE, stride)); in CheckFormatKey() 209 EXPECT_TRUE(format->GetIntValue(Media::Tag::VIDEO_SLICE_HEIGHT, sliceHeight)); in CheckFormatKey() 210 EXPECT_TRUE(format->GetIntValue(OH_MD_KEY_VIDEO_DECODER_OUTPUT_COLOR_SPACE, colorSpace)); in CheckFormatKey() 271 * @tc.desc: 1. key pixel format unse 281 std::shared_ptr<FormatMock> format = FormatMockFactory::CreateFormat(); HWTEST_P() local 329 std::shared_ptr<FormatMock> format = FormatMockFactory::CreateFormat(); HWTEST_P() local 379 std::shared_ptr<FormatMock> format = FormatMockFactory::CreateFormat(); HWTEST_P() local 427 std::shared_ptr<FormatMock> format = FormatMockFactory::CreateFormat(); HWTEST_P() local 497 std::shared_ptr<FormatMock> format = FormatMockFactory::CreateFormat(); HWTEST_P() local 753 std::shared_ptr<FormatMock> format = FormatMockFactory::CreateFormat(); HWTEST_P() local 806 std::shared_ptr<FormatMock> format = FormatMockFactory::CreateFormat(); HWTEST_P() local 876 std::shared_ptr<FormatMock> format = FormatMockFactory::CreateFormat(); HWTEST_P() local 924 std::shared_ptr<FormatMock> format = FormatMockFactory::CreateFormat(); HWTEST_P() local 974 std::shared_ptr<FormatMock> format = FormatMockFactory::CreateFormat(); HWTEST_P() local 1022 std::shared_ptr<FormatMock> format = FormatMockFactory::CreateFormat(); HWTEST_P() local 1092 std::shared_ptr<FormatMock> format = FormatMockFactory::CreateFormat(); HWTEST_P() local 1349 std::shared_ptr<FormatMock> format = FormatMockFactory::CreateFormat(); HWTEST_P() local 1402 std::shared_ptr<FormatMock> format = FormatMockFactory::CreateFormat(); HWTEST_P() local [all...] |
/foundation/arkui/ui_lite/frameworks/dfx/ |
H A D | ui_screenshot.cpp | 41 ImagePixelFormat format, uint32_t stride) override 43 if ((virAddr == nullptr) || ((format != IMAGE_PIXEL_FORMAT_ARGB1555) && 44 (format != IMAGE_PIXEL_FORMAT_ARGB8888)) || (width == 0) || (height == 0)) { 79 WriteBlockToFile(fd, argb8888Addr, virAddr, row, width, format, stride); 83 WriteBlockToFile(fd, argb8888Addr, virAddr, height, width, format, stride); 103 uint32_t width, ImagePixelFormat format, uint32_t stride) const in WriteBlockToFile() 107 if (format == IMAGE_PIXEL_FORMAT_ARGB1555) { in WriteBlockToFile() 112 } else if (format == IMAGE_PIXEL_FORMAT_ARGB8888) { in WriteBlockToFile() 102 WriteBlockToFile(int32_t fd, uint32_t* buffer, uint8_t*& startAddr, uint32_t row, uint32_t width, ImagePixelFormat format, uint32_t stride) const WriteBlockToFile() argument
|
/foundation/multimedia/av_codec/frameworks/native/avcodec/ |
H A D | avcodec_audio_encoder_impl.cpp | 54 Format format; in Init() local 58 return codecService_->Init(type, isMimeType, name, *format.GetMeta()); in Init() 72 int32_t AVCodecAudioEncoderImpl::Configure(const Format &format) in Configure() argument 76 return codecService_->Configure(format); in Configure() 128 int32_t AVCodecAudioEncoderImpl::GetOutputFormat(Format &format) in GetOutputFormat() argument 132 return codecService_->GetOutputFormat(format); in GetOutputFormat() 142 int32_t AVCodecAudioEncoderImpl::SetParameter(const Format &format) in SetParameter() argument 146 return codecService_->SetParameter(format); in SetParameter()
|
H A D | avcodec_audio_decoder_impl.cpp | 54 Format format; in Init() local 57 return codecService_->Init(type, isMimeType, name, *format.GetMeta()); in Init() 71 int32_t AVCodecAudioDecoderImpl::Configure(const Format &format) in Configure() argument 75 return codecService_->Configure(format); in Configure() 127 int32_t AVCodecAudioDecoderImpl::GetOutputFormat(Format &format) in GetOutputFormat() argument 131 return codecService_->GetOutputFormat(format); in GetOutputFormat() 141 int32_t AVCodecAudioDecoderImpl::SetParameter(const Format &format) in SetParameter() argument 145 return codecService_->SetParameter(format); in SetParameter()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_image_info.h | 46 static SkColorType ConvertToSkColorType(const ColorType& format) in ConvertToSkColorType() argument 48 switch (format) { in ConvertToSkColorType() 76 static SkAlphaType ConvertToSkAlphaType(const AlphaType& format) in ConvertToSkAlphaType() argument 78 switch (format) { in ConvertToSkAlphaType() 102 static ColorType ConvertToColorType(const SkColorType& format) in ConvertToColorType() argument 104 switch (format) { in ConvertToColorType() 130 static AlphaType ConvertToAlphaType(const SkAlphaType& format) in ConvertToAlphaType() argument 132 switch (format) { in ConvertToAlphaType()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_decoder/vorbis/ |
H A D | ffmpeg_vorbis_decoder_plugin.cpp | 112 auto format = basePlugin->GetFormat(); in SetParameter() local 113 format->SetData(Tag::AUDIO_MAX_INPUT_SIZE, GetInputBufferSize()); in SetParameter() 114 format->SetData(Tag::AUDIO_MAX_OUTPUT_SIZE, GetOutputBufferSize()); in SetParameter() 115 format->SetData(Tag::MIME_TYPE, MediaAVCodec::AVCodecMimeType::MEDIA_MIMETYPE_AUDIO_VORBIS); in SetParameter() 155 bool FFmpegVorbisDecoderPlugin::CheckSampleFormat(const std::shared_ptr<Meta> &format) in CheckSampleFormat() argument 157 return basePlugin->CheckSampleFormat(format, channels_); in CheckSampleFormat() 160 bool FFmpegVorbisDecoderPlugin::CheckFormat(const std::shared_ptr<Meta> &format) in CheckFormat() argument 162 if (!CheckChannelCount(format) || !CheckSampleRate(format)) { in CheckFormat() 168 bool FFmpegVorbisDecoderPlugin::CheckChannelCount(const std::shared_ptr<Meta> &format) in CheckChannelCount() argument [all...] |
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/media_manager/ |
H A D | reader.cpp | 53 DP_CHECK_ERROR_RETURN_RET_LOG(ret != OK, ERROR_FAIL, "get avsource format failed."); in Create() 67 DP_CHECK_ERROR_RETURN_RET_LOG(ret != static_cast<int32_t>(OK), ERROR_FAIL, "get avsource format failed."); in GetSourceFormat() 150 auto& format = trackFormat.format; in GetTrackMediaInfo() local 151 auto ret = format->GetStringValue(Tag::MIME_TYPE, mediaInfo->codecInfo.mimeType); in GetTrackMediaInfo() 155 ret = format->GetIntValue(Tag::VIDEO_COLOR_RANGE, intVal); in GetTrackMediaInfo() 160 ret = format->GetIntValue(Tag::VIDEO_PIXEL_FORMAT, intVal); in GetTrackMediaInfo() 165 ret = format->GetIntValue(Tag::VIDEO_COLOR_PRIMARIES, intVal); in GetTrackMediaInfo() 170 ret = format->GetIntValue(Tag::VIDEO_COLOR_TRC, intVal); in GetTrackMediaInfo() 175 ret = format in GetTrackMediaInfo() [all...] |
/foundation/multimedia/av_codec/test/moduletest/muxer/NativeAPI/ |
H A D | NativeAVMuxerFuzzTest.cpp | 62 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; in HWTEST_F() local 65 OH_AVMuxer* handle = muxerDemo->NativeCreate(fd, format); in HWTEST_F() 70 format = OH_AVOutputFormat(rand() % 3); in HWTEST_F() 71 handle = muxerDemo->NativeCreate(fd, format); in HWTEST_F() 91 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; in HWTEST_F() local 93 fd = muxerDemo->GetFdByMode(format); in HWTEST_F() 94 OH_AVMuxer* handle = muxerDemo->NativeCreate(fd, format); in HWTEST_F() 122 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; in HWTEST_F() local 124 fd = muxerDemo->GetFdByMode(format); in HWTEST_F() 125 OH_AVMuxer* handle = muxerDemo->NativeCreate(fd, format); in HWTEST_F() 171 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_M4A; HWTEST_F() local 235 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local [all...] |
H A D | NativeAVMuxerParamCheckTest.cpp | 69 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_M4A; in HWTEST_F() local 71 OH_AVMuxer *handle = muxerDemo->NativeCreate(fd, format); in HWTEST_F() 75 handle = muxerDemo->NativeCreate(fd, format); in HWTEST_F() 78 fd = muxerDemo->GetFdByMode(format); in HWTEST_F() 79 handle = muxerDemo->NativeCreate(fd, format); in HWTEST_F() 87 * @tc.name : OH_AVMuxer_Create - format check 93 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_DEFAULT; in HWTEST_F() local 94 int32_t fd = muxerDemo->GetFdByMode(format); in HWTEST_F() 95 OH_AVMuxer *handle = muxerDemo->NativeCreate(fd, format); in HWTEST_F() 100 format in HWTEST_F() 124 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 168 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 211 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 271 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 331 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 378 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 439 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 500 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 527 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 581 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 635 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 689 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 743 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 797 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 851 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 905 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 958 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 1012 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 1066 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 1120 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 1174 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MP3; HWTEST_F() local 1223 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_MPEG_4; HWTEST_F() local 1272 OH_AVOutputFormat format = AV_OUTPUT_FORMAT_AMR; HWTEST_F() local [all...] |
/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/src/ |
H A D | reli_test.cpp | 83 OH_AVFormat *format = OH_AVFormat_Create(); in HWTEST_F() local 84 ASSERT_NE(nullptr, format); in HWTEST_F() 86 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDTH, 1920); in HWTEST_F() 87 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_HEIGHT, 1080); in HWTEST_F() 88 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_FRAME_RATE, 30); in HWTEST_F() 89 ASSERT_EQ(AV_ERR_OK, OH_VideoDecoder_Configure(vdec_, format)); in HWTEST_F() 90 OH_AVFormat_Destroy(format); in HWTEST_F() 109 OH_AVFormat *format = OH_AVFormat_Create(); in HWTEST_F() local 110 ASSERT_NE(nullptr, format); in HWTEST_F() 112 (void)OH_AVFormat_SetIntValue(format, OH_MD_KEY_WIDT in HWTEST_F() [all...] |
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderreset_fuzzer/ |
H A D | audio_decoder_reset_demo.cpp | 54 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument 57 (void)format; in OnOutputFormatChanged() 116 bool ADecBufferDemo::InitFormat(OH_AVFormat *format) in InitFormat() argument 121 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AAC_IS_ADTS.data(), in InitFormat() 123 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in InitFormat() 128 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in InitFormat() 133 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in InitFormat() 141 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in InitFormat() 144 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), channelCount); in InitFormat() 145 OH_AVFormat_SetIntValue(format, MediaDescriptionKe in InitFormat() 263 Configure(OH_AVFormat *format) Configure() argument [all...] |
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderdescription_fuzzer/ |
H A D | audio_decoder_description_demo.cpp | 54 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument 57 (void)format; in OnOutputFormatChanged() 116 bool ADecBufferDemo::InitFormat(OH_AVFormat *format) in InitFormat() argument 121 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AAC_IS_ADTS.data(), in InitFormat() 123 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in InitFormat() 128 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in InitFormat() 133 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in InitFormat() 141 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in InitFormat() 144 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), channelCount); in InitFormat() 145 OH_AVFormat_SetIntValue(format, MediaDescriptionKe in InitFormat() 263 Configure(OH_AVFormat *format) Configure() argument [all...] |
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderflush_fuzzer/ |
H A D | audio_decoder_flush_demo.cpp | 54 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument 57 (void)format; in OnOutputFormatChanged() 116 bool ADecBufferDemo::InitFormat(OH_AVFormat *format) in InitFormat() argument 121 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AAC_IS_ADTS.data(), in InitFormat() 123 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in InitFormat() 128 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in InitFormat() 133 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in InitFormat() 141 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_AUDIO_SAMPLE_FORMAT.data(), in InitFormat() 144 OH_AVFormat_SetIntValue(format, MediaDescriptionKey::MD_KEY_CHANNEL_COUNT.data(), channelCount); in InitFormat() 145 OH_AVFormat_SetIntValue(format, MediaDescriptionKe in InitFormat() 263 Configure(OH_AVFormat *format) Configure() argument [all...] |
/foundation/ability/ability_lite/services/abilitymgr_lite/include/util/ |
H A D | abilityms_log.h | 29 #define HILOG_DEBUG(mod, format, ...)
32 #define HILOG_ERROR(mod, format, ...)
35 #define HILOG_FATAL(mod, format, ...)
38 #define HILOG_INFO(mod, format, ...)
41 #define HILOG_WARN(mod, format, ...)
44 #define HILOG_RACE(mod, format, ...)
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/ |
H A D | bundlems_log.h | 29 #define HILOG_DEBUG(mod, format, ...) 32 #define HILOG_ERROR(mod, format, ...) 35 #define HILOG_FATAL(mod, format, ...) 38 #define HILOG_INFO(mod, format, ...) 41 #define HILOG_WARN(mod, format, ...) 44 #define HILOG_RACE(mod, format, ...)
|
/foundation/multimedia/av_codec/test/moduletest/muxer/Common/include/ |
H A D | AVMuxerDemo.h | 53 int32_t GetFdByMode(OH_AVOutputFormat format); 55 int32_t GetFdByName(OH_AVOutputFormat format, std::string fileName); 56 int32_t InnerGetFdByMode(Plugins::OutputFormat format); 57 int32_t InnerGetFdByName(Plugins::OutputFormat format, std::string fileName); 59 OH_AVMuxer* NativeCreate(int32_t fd, OH_AVOutputFormat format); 71 int32_t InnerCreate(int32_t fd, Plugins::OutputFormat format);
|
/foundation/multimedia/av_codec/services/engine/codec/include/audio/encoder/ |
H A D | audio_ffmpeg_flac_encoder_plugin.h | 30 int32_t Init(const Format &format) override; 47 int32_t CheckFormat(const Format &format); 48 bool CheckBitRate(const Format &format) const; 49 int32_t SetContext(const Format &format); 50 void SetFormat(const Format &format) noexcept;
|
/foundation/multimedia/av_codec/services/engine/common/ |
H A D | codec_utils.cpp | 40 static_cast<AVPixelFormat>(frame->format), static_cast<int32_t>(frame->width), in ConvertVideoFrame() 49 int32_t stride, const Format &format) in WriteYuvDataStride() 53 format.GetIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, height); in WriteYuvDataStride() 54 format.GetIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, fmt); in WriteYuvDataStride() 97 int32_t stride, const Format &format) in WriteRgbDataStride() 100 format.GetIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, height); in WriteRgbDataStride() 153 int32_t WriteSurfaceData(const std::shared_ptr<AVMemory> &memory, struct SurfaceInfo &surfaceInfo, const Format &format) in WriteSurfaceData() argument 157 format.GetIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, height); in WriteSurfaceData() 158 format.GetIntValue(MediaDescriptionKey::MD_KEY_PIXEL_FORMAT, fmt); in WriteSurfaceData() 167 surfaceInfo.surfaceStride, format); in WriteSurfaceData() 48 WriteYuvDataStride(const std::shared_ptr<AVMemory> &memory, uint8_t **scaleData, const int32_t *scaleLineSize, int32_t stride, const Format &format) WriteYuvDataStride() argument 96 WriteRgbDataStride(const std::shared_ptr<AVMemory> &memory, uint8_t **scaleData, const int32_t *scaleLineSize, int32_t stride, const Format &format) WriteRgbDataStride() argument 183 WriteBufferData(const std::shared_ptr<AVMemory> &memory, uint8_t **scaleData, int32_t *scaleLineSize, const Format &format) WriteBufferData() argument 271 IsYuvFormat(VideoPixelFormat &format) IsYuvFormat() argument 277 IsRgbFormat(VideoPixelFormat &format) IsRgbFormat() argument [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;
|