/foundation/multimedia/media_lite/services/player_lite/impl/player_control/player/ |
H A D | liteplayer.h | 57 int32_t SetDataSource(BufferStream &stream); 94 int32_t DoSetDataSource(BufferStream &stream) override;
|
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/ |
H A D | vtp_stream_socket.h | 66 bool Send(std::unique_ptr<IStream> stream) override; 107 bool EncryptStreamPacket(std::unique_ptr<IStream> stream, std::unique_ptr<char[]> &data, ssize_t &len);
|
/foundation/multimedia/audio_lite/services/impl/audio_encoder/include/ |
H A D | audio_encoder.h | 47 uint8_t *buffer = nullptr; /* the virtual address of stream */ 48 uint32_t bufferLen = 0; /* stream length, by bytes */ 103 * Reads stream from a audio source. 105 * @param stream source stream to read from. 109 int32_t ReadStream(AudioStream &stream, bool isBlockingRead);
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/heif_impl/ |
H A D | HeifDecoder.h | 79 virtual bool init(HeifStream* stream, HeifFrameInfo* frameInfo) = 0;
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/include/ |
H A D | png_exif_metadata_accessor.h | 30 PngExifMetadataAccessor(std::shared_ptr<MetadataStream> &stream);
|
/foundation/multimedia/media_lite/services/player_lite/impl/player_control/source/ |
H A D | player_demux.h | 37 int32_t SetSource(BufferStream &stream);
|
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/include/ |
H A D | i_stream_manager.h | 33 virtual void OnStreamReceived(std::unique_ptr<IStream> stream) = 0;
|
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/include/distributedcameramgr/dcamerahdf/ |
H A D | dcamera_provider_callback_impl.h | 41 bool CheckStreamInfo(const DCStreamInfo& stream);
|
/foundation/multimedia/media_lite/services/player_lite/impl/ |
H A D | player_impl.cpp | 949 CHECK_FAILED_RETURN(isStreamSource_, false, -1, "stream source not support loop player"); in SetLoop() 983 AdapterStreamCallback::AdapterStreamCallback(std::shared_ptr<StreamSource> &stream, in AdapterStreamCallback() argument 988 streamSource_ = stream; in AdapterStreamCallback() 1032 std::shared_ptr<StreamSource> stream = process->streamSource_.lock(); in IdleBufferProcess() local 1033 if (stream == nullptr) { in IdleBufferProcess() 1034 MEDIA_ERR_LOG("stream not exist break"); in IdleBufferProcess() 1037 stream->OnBufferAvailable(buffer.idx, 0, info.bufLen); in IdleBufferProcess() 1204 std::shared_ptr<StreamSource> stream = source.GetSourceStream(); in SetStreamSource() local 1205 if (stream.get() == nullptr) { in SetStreamSource() 1210 streamCallback_ = std::make_shared<AdapterStreamCallback>(stream, bufferSource in SetStreamSource() [all...] |
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/effect/ |
H A D | audio_effect_config_parser.cpp | 384 "missing information: stream has no child streamEffectMode"); in LoadPreMode() 413 AUDIO_WARNING_LOG("missing information: stream has no child streamEffectMode"); in LoadPreMode() 419 std::string stream; in LoadPreStreamScenes() local 422 PreStreamScene tmp = {stream, mode, device}; in LoadPreStreamScenes() 428 "the number of stream nodes exceeds limit: %{public}d", AUDIO_EFFECT_COUNT_UPPER_LIMIT); in LoadPreStreamScenes() 433 if (!xmlStrcmp(currNode->name, reinterpret_cast<const xmlChar*>("stream"))) { in LoadPreStreamScenes() 435 AUDIO_WARNING_LOG("missing information: stream has no scene attribute"); in LoadPreStreamScenes() 439 tmp.stream = pStreamType; in LoadPreStreamScenes() 445 AUDIO_WARNING_LOG("wrong name: %{public}s, should be stream", currNode->name); in LoadPreStreamScenes() 451 AUDIO_WARNING_LOG("missing information: preProcess has no child stream"); in LoadPreStreamScenes() 646 std::string stream; LoadPostStreamScenes() local [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | picture_ext_test.cpp | 247 * @tc.desc: Test packing a jpeg image source data and writing it to a jpeg file through an output stream. 258 std::ofstream stream(IMAGE_JPEG_DEST, std::ios::binary); in HWTEST_F() 259 ASSERT_TRUE(stream.is_open()); in HWTEST_F() 260 uint32_t startpc = pack.StartPacking(stream, option); in HWTEST_F() 363 * @tc.desc: Test packing a heif image source data and writing it to a heif file through an output stream. 375 std::ofstream stream(IMAGE_HEIF_DEST, std::ios::binary); in HWTEST_F() 376 ASSERT_TRUE(stream.is_open()); in HWTEST_F() 377 uint32_t startpc = pack.StartPacking(stream, option); in HWTEST_F()
|
/foundation/arkui/ui_lite/frameworks/font/ |
H A D | ui_font_vector.cpp | 164 error = FT_Stream_New(ftLibrary_, &args, &ttcInfos_[i].stream); in RegisterTtcFontInfo() 169 args = {FT_OPEN_STREAM, nullptr, 0, nullptr, ttcInfos_[i].stream, nullptr, 0, nullptr}; in RegisterTtcFontInfo() 215 FT_Stream_Free(ttcInfos_[i].stream, 1); in UnregisterTtcFontInfo() 217 ttcInfos_[i].stream = nullptr; in UnregisterTtcFontInfo() 366 FT_Stream stream = ttcInfos_[fontInfo.ttcIndex].stream; in GetTtfInfoFromTtc() local 367 if (stream == nullptr) { in GetTtfInfoFromTtc() 409 FT_ULong ttcLength = stream->size; in GetTtfInfoFromTtc()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/ |
H A D | dash_media_downloader.cpp | 124 MEDIA_LOG_E("stream " PUBLIC_LOG_D32 " not exist", streamId); in GetSegmentDownloader() 149 MEDIA_LOG_E("UpdateDownloadFinished get stream null id: " PUBLIC_LOG_D32, streamId); in UpdateDownloadFinished() 256 // Save the target stream information and update the downloaded stream information in SelectBitRate() 491 std::shared_ptr<DashStreamDescription> stream = mpdDownloader_->GetStreamByStreamId(downloadStreamId); in GetSegmentToDownload() local 492 if (stream == nullptr) { in GetSegmentToDownload() 493 MEDIA_LOG_E("GetSegmentToDownload streamId: " PUBLIC_LOG_D32 " get stream is null", downloadStreamId); in GetSegmentToDownload() 497 std::shared_ptr<DashSegmentDownloader> segmentDownloader = GetSegmentDownloaderByType(stream->type_); in GetSegmentToDownload() 503 MEDIA_LOG_I("switch stream update streamId from " PUBLIC_LOG_D32 " to " in GetSegmentToDownload() 601 std::shared_ptr<DashStreamDescription> stream in GetNextBitrate() local [all...] |
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/manager/ |
H A D | audio_adapter_manager.cpp | 55 // all stream types for voice call volume type 61 // all stream types for ringtone volume type 71 // all stream types for media volume type 270 ERR_INVALID_PARAM, "Invalid stream type"); in GetMaxVolumeLevel() 277 ERR_INVALID_PARAM, "Invalid stream type"); in GetMinVolumeLevel() 521 AUDIO_INFO_LOG("stream type %{public}d, mute:%{public}d, streamUsage:%{public}d", streamType, mute, streamUsage); in SetStreamMuteInternal() 532 AUDIO_INFO_LOG("Dual tone stream type %{public}d, current active device:[%{public}d] is no speaker, dont mute", in SetStreamMuteInternal() 537 // set stream mute status to mem. in SetStreamMuteInternal() 544 // Achieve the purpose of adjusting the mute status by adjusting the stream volume. in SetStreamMuteInternal() 752 // update volume level and mute status for each stream typ in SetVolumeForSwitchDevice() 1093 AudioStreamType stream = STREAM_MUSIC; GetStreamIDByType() local [all...] |
/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | scene_input_manager.cpp | 151 std::stringstream stream("[");
in DumpTransformInDisplayInfo() 153 stream << transformItem << ",";
in DumpTransformInDisplayInfo() 155 stream << "]";
in DumpTransformInDisplayInfo() 156 return stream.str();
in DumpTransformInDisplayInfo()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/ |
H A D | svg_dom.cpp | 187 std::stringstream stream; in ParseFillAttr() local 188 stream << std::hex << fillColor_.value().GetValue(); in ParseFillAttr() 189 std::string newValue(stream.str()); in ParseFillAttr()
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/benchmarks/benchmark_dcl/ |
H A D | drawing_playback.cpp | 118 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(fPath_.c_str()); in MSKPSrc() local 120 int count = SkMultiPictureDocumentReadPageCount(stream.get()); in MSKPSrc() 128 SkMultiPictureDocumentRead(stream.get(), &fPages_[0], count, &procs); in MSKPSrc()
|
/foundation/multimedia/media_foundation/services/media_monitor/server/src/ |
H A D | ffmpeg_api_wrap.cpp | 187 AVStream *stream = nullptr; in FormatNewStream() local 189 stream = formatNewStreamFunc(s, c); in FormatNewStream() 191 return stream; in FormatNewStream()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/picture/ |
H A D | auxiliary_generator.cpp | 257 static uint32_t CopyToSurfaceBuffer(std::unique_ptr<InputDataStream> &stream, sptr<SurfaceBuffer> &surfaceBuffer) in CopyToSurfaceBuffer() argument 259 uint8_t *src = stream->GetDataPtr(); in CopyToSurfaceBuffer() 260 uint32_t srcSize = stream->GetStreamSize(); in CopyToSurfaceBuffer() 267 IMAGE_LOGD("SurfaceBuffer size: %{public}u, stream size: %{public}u", dstSize, srcSize); in CopyToSurfaceBuffer() 398 IMAGE_LOGE("Convert stream to surface buffer failed! errorCode: %{public}u", errorCode); in GenerateJpegAuxiliaryPicture()
|
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_a2dp_src.cpp | 626 CHECK_AND_RETURN_LOG_RET(info.size() != 0, A2DP_STREAM_ENCODE_SOFTWARE, "empty stream"); in A2dpOffloadSessionRequest() 633 for (auto stream : info) { in A2dpOffloadSessionRequest() 634 streamInfo.sessionId = stream.sessionId; in A2dpOffloadSessionRequest() 635 streamInfo.streamType = stream.streamType; in A2dpOffloadSessionRequest() 636 streamInfo.sampleRate = stream.sampleRate; in A2dpOffloadSessionRequest() 637 streamInfo.isSpatialAudio = stream.isSpatialAudio; in A2dpOffloadSessionRequest()
|
/foundation/multimedia/audio_framework/services/audio_policy/server/src/ |
H A D | audio_policy_manager_stub.cpp | 879 reply.WriteString(supportedEffectConfig.preProcessNew.stream[i].streamEffectMode[j].mode); in PreprocessMode() 880 uint32_t countDev = supportedEffectConfig.preProcessNew.stream[i].streamEffectMode[j].devicePort.size(); in PreprocessMode() 884 reply.WriteString(supportedEffectConfig.preProcessNew.stream[i].streamEffectMode[j].devicePort[k].type); in PreprocessMode() 885 reply.WriteString(supportedEffectConfig.preProcessNew.stream[i].streamEffectMode[j].devicePort[k].chain); in PreprocessMode() 891 reply.WriteString(supportedEffectConfig.preProcessNew.stream[i].scene); in PreprocessProcess() 892 uint32_t countMode = supportedEffectConfig.preProcessNew.stream[i].streamEffectMode.size(); in PreprocessProcess() 902 reply.WriteString(supportedEffectConfig.postProcessNew.stream[i].streamEffectMode[j].mode); in PostprocessMode() 903 uint32_t countDev = supportedEffectConfig.postProcessNew.stream[i].streamEffectMode[j].devicePort.size(); in PostprocessMode() 907 reply.WriteString(supportedEffectConfig.postProcessNew.stream[i].streamEffectMode[j].devicePort[k].type); in PostprocessMode() 908 reply.WriteString(supportedEffectConfig.postProcessNew.stream[ in PostprocessMode() [all...] |
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/vtp_stream_socket_test/ |
H A D | vtp_stream_socket_test.cpp | 763 std::unique_ptr<IStream> stream = vtpStreamSocket->MakeStreamData(data, info); in HWTEST_F() local 764 EXPECT_TRUE(stream == nullptr); in HWTEST_F() 767 stream = vtpStreamSocket->MakeStreamData(data, info); in HWTEST_F() 770 stream = vtpStreamSocket->MakeStreamData(data, info); in HWTEST_F() 773 stream = vtpStreamSocket->MakeStreamData(data, info); in HWTEST_F() 776 stream = vtpStreamSocket->MakeStreamData(data, info); in HWTEST_F() 779 stream = vtpStreamSocket->MakeStreamData(data, info); in HWTEST_F()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/ |
H A D | a2dp_def.h | 77 #define A2DP_STREAM_HANDLES_NUMBER 1 // number of start stream 200 StreamInfo stream; member
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libjpegplugin/include/ |
H A D | jpeg_decoder.h | 85 bool FindMarker(InputDataStream &stream, uint8_t marker);
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/sink/sdl/audio_sink/ |
H A D | sdl_audio_sink_plugin.h | 86 void AudioCallback(void* userdata, uint8_t* stream, int len); // NOLINT: void*
|