Home
last modified time | relevance | path

Searched refs:streamBuffer (Results 1 - 6 of 6) sorted by relevance

/foundation/multimodalinput/input/util/network/test/
H A Dcircle_stream_buffer_test.cpp41 StreamBuffer streamBuffer; in HWTEST_F() local
42 streamBuffer.wPos_ = 10; in HWTEST_F()
43 streamBuffer.rPos_ = 5; in HWTEST_F()
45 streamBuffer.rPos_ = -5; in HWTEST_F()
47 streamBuffer.wPos_ = 5; in HWTEST_F()
48 streamBuffer.rPos_ = 10; in HWTEST_F()
61 StreamBuffer streamBuffer; in HWTEST_F() local
63 streamBuffer.wPos_ = 20000; in HWTEST_F()
64 streamBuffer.rPos_ = 1; in HWTEST_F()
67 streamBuffer in HWTEST_F()
84 StreamBuffer streamBuffer; HWTEST_F() local
[all...]
/foundation/multimodalinput/input/util/socket/test/
H A Dstream_buffer_test.cpp141 StreamBuffer streamBuffer; in HWTEST_F() local
142 bool retResult = streamBuffer.Write(buf); in HWTEST_F()
156 StreamBuffer streamBuffer; in HWTEST_F() local
157 bool retResult = streamBuffer.Write(buf); in HWTEST_F()
170 StreamBuffer streamBuffer; in HWTEST_F() local
171 bool retResult = streamBuffer.Write(buf); in HWTEST_F()
186 StreamBuffer streamBuffer; in HWTEST_F() local
187 bool retResult = streamBuffer.Write(buf, size); in HWTEST_F()
202 StreamBuffer streamBuffer; in HWTEST_F() local
203 bool retResult = streamBuffer in HWTEST_F()
228 StreamBuffer streamBuffer; HWTEST_F() local
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/mock/
H A Dmock_data_stream.h38 streamBuffer = std::make_shared<uint8_t>(streamSize);
39 outData.inputStreamBuffer = streamBuffer.get();
104 std::shared_ptr<uint8_t> streamBuffer = nullptr; member in OHOS::ImagePlugin::MockInputDataStream
/foundation/multimedia/camera_lite/services/impl/src/
H A Dcamera_device.cpp766 HalBuffer streamBuffer; in StreamCopyProcess() local
767 (void)memset_s(&streamBuffer, sizeof(HalBuffer), 0, sizeof(HalBuffer)); in StreamCopyProcess()
775 if (streamBuffer.size != 0x0) { in StreamCopyProcess()
776 HalCameraQueueBuf(assistant->cameraId_, assistant->streamId_, &streamBuffer); in StreamCopyProcess()
777 (void)memset_s(&streamBuffer, sizeof(HalBuffer), 0, sizeof(HalBuffer)); in StreamCopyProcess()
779 streamBuffer.format = FORMAT_PRIVATE; in StreamCopyProcess()
780 streamBuffer.size = assistant->capSurface_->GetSize(); in StreamCopyProcess()
785 streamBuffer.virAddr = surfaceBuf->GetVirAddr(); in StreamCopyProcess()
787 ret = HalCameraDequeueBuf(assistant->cameraId_, assistant->streamId_, &streamBuffer); in StreamCopyProcess()
800 if (streamBuffer in StreamCopyProcess()
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/
H A Dimage_source.cpp3793 bool GetStreamData(std::unique_ptr<SourceStream>& sourceStream, uint8_t* streamBuffer, uint32_t streamSize)
3795 if (streamBuffer == nullptr) {
3796 IMAGE_LOGE("GetStreamData streamBuffer is nullptr");
3802 bool result = sourceStream->Read(streamSize, streamBuffer, streamSize, readSize);
3819 uint8_t* streamBuffer = sourceStreamPtr_->GetDataPtr();
3821 streamBuffer = new (std::nothrow) uint8_t[streamSize];
3822 if (!GetStreamData(sourceStreamPtr_, streamBuffer, streamSize)) {
3823 delete[] streamBuffer;
3828 BufferSourceStream::CreateSourceStream((streamBuffer + gainMapOffset), (streamSize - gainMapOffset));
3830 delete[] streamBuffer;
[all...]
/foundation/multimodalinput/input/service/event_dispatch/test/
H A Devent_dispatch_test.cpp116 StreamBuffer streamBuffer; in HWTEST_F() local
117 streamBuffer.rwErrorStatus_ = CircleStreamBuffer::ErrorStatus::ERROR_STATUS_READ; in HWTEST_F()
120 streamBuffer.rwErrorStatus_ = CircleStreamBuffer::ErrorStatus::ERROR_STATUS_OK; in HWTEST_F()
1553 StreamBuffer streamBuffer; in HWTEST_F() local
1554 streamBuffer.rwErrorStatus_ = CircleStreamBuffer::ErrorStatus::ERROR_STATUS_READ; in HWTEST_F()
1556 streamBuffer.rwErrorStatus_ = CircleStreamBuffer::ErrorStatus::ERROR_STATUS_READ; in HWTEST_F()

Completed in 10 milliseconds