Home
last modified time | relevance | path

Searched refs:stream (Results 176 - 200 of 263) sorted by relevance

1234567891011

/foundation/multimedia/media_lite/services/player_lite/impl/player_control/player/
H A Dliteplayer.h57 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 Dvtp_stream_socket.h66 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 Daudio_encoder.h47 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 DHeifDecoder.h79 virtual bool init(HeifStream* stream, HeifFrameInfo* frameInfo) = 0;
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/include/
H A Dpng_exif_metadata_accessor.h30 PngExifMetadataAccessor(std::shared_ptr<MetadataStream> &stream);
/foundation/multimedia/media_lite/services/player_lite/impl/player_control/source/
H A Dplayer_demux.h37 int32_t SetSource(BufferStream &stream);
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/include/
H A Di_stream_manager.h33 virtual void OnStreamReceived(std::unique_ptr<IStream> stream) = 0;
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/include/distributedcameramgr/dcamerahdf/
H A Ddcamera_provider_callback_impl.h41 bool CheckStreamInfo(const DCStreamInfo& stream);
/foundation/multimedia/media_lite/services/player_lite/impl/
H A Dplayer_impl.cpp949 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 Daudio_effect_config_parser.cpp384 "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 Dpicture_ext_test.cpp247 * @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 Dui_font_vector.cpp164 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 Ddash_media_downloader.cpp124 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 Daudio_adapter_manager.cpp55 // 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 Dscene_input_manager.cpp151 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 Dsvg_dom.cpp187 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 Ddrawing_playback.cpp118 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 Dffmpeg_api_wrap.cpp187 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 Dauxiliary_generator.cpp257 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 Dbluetooth_a2dp_src.cpp626 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 Daudio_policy_manager_stub.cpp879 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 Dvtp_stream_socket_test.cpp763 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 Da2dp_def.h77 #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 Djpeg_decoder.h85 bool FindMarker(InputDataStream &stream, uint8_t marker);
/foundation/multimedia/media_foundation/engine/plugin/plugins/sink/sdl/audio_sink/
H A Dsdl_audio_sink_plugin.h86 void AudioCallback(void* userdata, uint8_t* stream, int len); // NOLINT: void*

Completed in 24 milliseconds

1234567891011