Home
last modified time | relevance | path

Searched refs:OHOS (Results 1 – 25 of 1926) sorted by relevance

12345678910>>...78

/drivers/interface/camera/metadata/
DREADME_zh.md5 ### OHOS\_ABILITY\_CAMERA\_POSITION
8 | OHOS\_ABILITY\_CAMERA\_POSITION | 用于查询相机的位置信息 |
10 | OHOS\_CAMERA\_POSITION\_FRONT | 前置 |
11 | OHOS\_CAMERA\_POSITION\_BACK | 后置 |
12 | OHOS\_CAMERA\_POSITION\_OTHER | 其他 |
15 ### OHOS\_ABILITY\_CAMERA_TYPE
18 | OHOS\_ABILITY\_CAMERA\_TYPE | 用于查询相机的功能类型 |
20 | OHOS\_CAMERA\_TYPE\_WIDE\_ANGLE | 广角镜头 |
21 | OHOS\_CAMERA\_TYPE\_ULTRA\_WIDE | 超广角镜头 |
22 | OHOS\_CAMERA\_TYPE\_TELTPHOTO | 长焦镜头 |
[all …]
/drivers/peripheral/user_auth/hdi_service/interface/
Duser_auth_hdi.h23 namespace OHOS {
26 using IUserAuthInterface = OHOS::HDI::UserAuth::V2_0::IUserAuthInterface;
27 using UserAuthInterfaceService = OHOS::HDI::UserAuth::V2_0::UserAuthInterfaceService;
29 using HdiAuthType = OHOS::HDI::UserAuth::V2_0::AuthType;
30 using HdiExecutorRole = OHOS::HDI::UserAuth::V2_0::ExecutorRole;
31 using HdiExecutorSecureLevel = OHOS::HDI::UserAuth::V2_0::ExecutorSecureLevel;
32 using HdiPinSubType = OHOS::HDI::UserAuth::V2_0::PinSubType;
33 using HdiScheduleMode = OHOS::HDI::UserAuth::V2_0::ScheduleMode;
34 using HdiExecutorRegisterInfo = OHOS::HDI::UserAuth::V2_0::ExecutorRegisterInfo;
35 using HdiExecutorInfo = OHOS::HDI::UserAuth::V2_0::ExecutorInfo;
[all …]
/drivers/peripheral/camera/hal_c/hdi_cif/src/
Dbuffer_producer_wrapper.cpp21 static std::map<int, OHOS::sptr<OHOS::Surface>> g_producerMap;
22 static std::map<GraphicBufferCIF*, OHOS::sptr<OHOS::SurfaceBuffer>> g_surfaceBufferMap;
24 void BindBufferProducer(int id, OHOS::sptr<OHOS::IBufferProducer>& producer) in BindBufferProducer()
26 g_producerMap[id] = OHOS::Surface::CreateSurfaceAsProducer(producer); in BindBufferProducer()
36 OHOS::sptr<OHOS::SurfaceBuffer> sb = nullptr; in BufferProducerRequestBuffer()
38 OHOS::BufferRequestConfig requestConfig = {}; in BufferProducerRequestBuffer()
46 OHOS::sptr<OHOS::Surface> producer = g_producerMap[buffer->streamId]; in BufferProducerRequestBuffer()
50 OHOS::SurfaceError ret = producer->RequestBuffer(sb, fence, requestConfig); in BufferProducerRequestBuffer()
76 OHOS::sptr<OHOS::Surface> producer = g_producerMap[buffer->streamId]; in BufferProducerCancelBuffer()
80 OHOS::sptr<OHOS::SurfaceBuffer> sb = g_surfaceBufferMap[buffer]; in BufferProducerCancelBuffer()
[all …]
/drivers/peripheral/face_auth/hdi_service/include/
Dface_auth_hdi.h27 namespace OHOS {
30 using IFaceAuthInterface = OHOS::HDI::FaceAuth::V2_0::IFaceAuthInterface;
31 using FaceAuthInterfaceStub = OHOS::HDI::FaceAuth::V2_0::FaceAuthInterfaceStub;
32 using AllInOneExecutorStub = OHOS::HDI::FaceAuth::V2_0::AllInOneExecutorStub;
34 using IExecutorCallback = OHOS::HDI::FaceAuth::V2_0::IExecutorCallback;
36 using IAllInOneExecutor = OHOS::HDI::FaceAuth::V2_0::IAllInOneExecutor;
38 using AuthType = OHOS::HDI::FaceAuth::V2_0::AuthType;
39 using ExecutorRole = OHOS::HDI::FaceAuth::V2_0::ExecutorRole;
40 using ExecutorSecureLevel = OHOS::HDI::FaceAuth::V2_0::ExecutorSecureLevel;
41 using DriverCommandId = OHOS::HDI::FaceAuth::V2_0::DriverCommandId;
[all …]
/drivers/peripheral/clearplay/interfaces/include/drm/v1_0/
Dmedia_key_system_types.h46 namespace OHOS {
50 namespace OHOS {
55 using namespace OHOS; variable
121 OHOS::HDI::Drm::V1_0::MediaKeyType mediaKeyType;
128 OHOS::HDI::Drm::V1_0::MediaKeyRequestType requestType;
144 OHOS::HDI::Drm::V1_0::CryptoAlgorithmType type;
147 OHOS::HDI::Drm::V1_0::Pattern pattern;
148 std::vector<OHOS::HDI::Drm::V1_0::SubSample> subSamples;
161 bool MediaKeyRequestInfoBlockMarshalling(OHOS::MessageParcel &data, const OHOS::HDI::Drm::V1_0::Med…
163 bool MediaKeyRequestInfoBlockUnmarshalling(OHOS::MessageParcel &data, OHOS::HDI::Drm::V1_0::MediaKe…
[all …]
/drivers/peripheral/fingerprint_auth/hdi_service/include/
Dfingerprint_auth_hdi.h27 namespace OHOS {
30 using IFingerprintAuthInterface = OHOS::HDI::FingerprintAuth::V2_0::IFingerprintAuthInterface;
31 using FingerprintAuthInterfaceStub = OHOS::HDI::FingerprintAuth::V2_0::FingerprintAuthInterfaceStub;
32 using AllInOneExecutorStub = OHOS::HDI::FingerprintAuth::V2_0::AllInOneExecutorStub;
34 using IExecutorCallback = OHOS::HDI::FingerprintAuth::V2_0::IExecutorCallback;
36 using IAllInOneExecutor = OHOS::HDI::FingerprintAuth::V2_0::IAllInOneExecutor;
38 using AuthType = OHOS::HDI::FingerprintAuth::V2_0::AuthType;
39 using ExecutorRole = OHOS::HDI::FingerprintAuth::V2_0::ExecutorRole;
40 using ExecutorSecureLevel = OHOS::HDI::FingerprintAuth::V2_0::ExecutorSecureLevel;
41 using DriverCommandId = OHOS::HDI::FingerprintAuth::V2_0::DriverCommandId;
[all …]
/drivers/peripheral/camera/test/fuzztest/common/include/
Dcommon.h43 namespace OHOS::Camera {
82 using namespace OHOS::HDI::Camera::V1_0;
95 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
97 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
99 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
101 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
103 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
105 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
107 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
109 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
[all …]
/drivers/peripheral/pin_auth/hdi_service/service/inc/
Dpin_auth_hdi.h26 namespace OHOS {
29 using IPinAuthInterface = OHOS::HDI::PinAuth::V2_0::IPinAuthInterface;
30 using PinAuthInterfaceService = OHOS::HDI::PinAuth::V2_0::PinAuthInterfaceService;
32 using HdiIAllInOneExecutor = OHOS::HDI::PinAuth::V2_0::IAllInOneExecutor;
33 using HdiICollector = OHOS::HDI::PinAuth::V2_0::ICollector;
34 using HdiIVerifier = OHOS::HDI::PinAuth::V2_0::IVerifier;
35 using HdiIExecutorCallback = OHOS::HDI::PinAuth::V2_0::IExecutorCallback;
37 using HdiAuthType = OHOS::HDI::PinAuth::V2_0::AuthType;
38 using HdiExecutorRole = OHOS::HDI::PinAuth::V2_0::ExecutorRole;
39 using HdiExecutorSecureLevel = OHOS::HDI::PinAuth::V2_0::ExecutorSecureLevel;
[all …]
/drivers/hdf_core/adapter/uhdf2/ipc/include/
Dhdf_remote_adapter.h30 class HdfRemoteServiceStub : public OHOS::IPCObjectStub {
34OHOS::MessageParcel &data, OHOS::MessageParcel &reply, OHOS::MessageOption &option) override;
41 class HdfDeathNotifier : public OHOS::IRemoteObject::DeathRecipient {
45 void OnRemoteDied(const OHOS::wptr<OHOS::IRemoteObject> &object) override;
58 OHOS::sptr<OHOS::IRemoteObject> remote_;
59 OHOS::sptr<OHOS::IRemoteObject::DeathRecipient> deathRecipient_;
63 struct HdfRemoteService *HdfRemoteAdapterBind(OHOS::sptr<OHOS::IRemoteObject> binder);
/drivers/hdf_core/adapter/uhdf2/ipc/src/
Dhdf_remote_adapter.cpp41 OHOS::MessageParcel &data, OHOS::MessageParcel &reply, OHOS::MessageOption &option) in OnRemoteRequest()
90 void HdfDeathNotifier::OnRemoteDied(const OHOS::wptr<OHOS::IRemoteObject> &object) /* who = 0 */ in OnRemoteDied()
104 OHOS::MessageParcel *dataParcel = nullptr; in HdfRemoteAdapterOptionalDispatch()
105 OHOS::MessageParcel *replyParcel = nullptr; in HdfRemoteAdapterOptionalDispatch()
108 static OHOS::MessageParcel dummyReply; in HdfRemoteAdapterOptionalDispatch()
120 int flag = sync ? OHOS::MessageOption::TF_SYNC : OHOS::MessageOption::TF_ASYNC; in HdfRemoteAdapterOptionalDispatch()
121 OHOS::MessageOption option(flag); in HdfRemoteAdapterOptionalDispatch()
124 OHOS::sptr<OHOS::IRemoteObject> remote = holder->remote_; in HdfRemoteAdapterOptionalDispatch()
157 std::u16string newDesc = OHOS::Str8ToStr16(std::string(desc)); in SetInterfaceDescriptor()
174 OHOS::sptr<OHOS::IRemoteObject> remote = holder->remote_; in HdfRemoteAdapterAddDeathRecipient()
[all …]
/drivers/peripheral/camera/test/hdi/v1_2/include/
Dhdi_common_v1_2.h40 namespace OHOS::Camera {
79 using namespace OHOS::HDI::Camera::V1_0;
89 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
91 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
93 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
95 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
97 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
99 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
101 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
103 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
[all …]
/drivers/hdf_core/framework/tools/hdi-gen/test/unittest/07_extended_struct_idl/target/foo/v1_0/
Dtypes.h.txt1 namespace OHOS {
5 using namespace OHOS;
15 OHOS::HDI::Foo::V1_0::FooType type;
21 OHOS::HDI::Foo::V1_0::FooType type;
26 bool FooInfoBlockMarshalling(OHOS::MessageParcel &data, const OHOS::HDI::Foo::V1_0::FooInfo& dataBl…
28 bool FooInfoBlockUnmarshalling(OHOS::MessageParcel &data, OHOS::HDI::Foo::V1_0::FooInfo& dataBlock);
30 bool ExtendedFooInfoBlockMarshalling(OHOS::MessageParcel &data, const OHOS::HDI::Foo::V1_0::Extende…
32 bool ExtendedFooInfoBlockUnmarshalling(OHOS::MessageParcel &data, OHOS::HDI::Foo::V1_0::ExtendedFoo…
/drivers/peripheral/camera/test/hdi/v1_1/include/
Dhdi_common_v1_1.h39 namespace OHOS::Camera {
61 using namespace OHOS::HDI::Camera::V1_0;
69 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
71 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
73 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
75 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
77 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
79 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
82 OHOS::HDI::Camera::V1_1::OperationMode_V1_1 mode);
87 OHOS::sptr<OHOS::Camera::ICameraHost> service = nullptr;
[all …]
/drivers/peripheral/camera/hdi_service/v1_0/src/
Dcamera_device_service.cpp19 namespace OHOS::Camera { namespace
21 CameraDeviceService::CameraDeviceService(OHOS::sptr<ICameraDeviceVdi> cameraDeviceServiceVdi) in CameraDeviceService()
30 OHOS::sptr<IStreamOperatorVdi> streamOperatorVdi = nullptr; in GetStreamOperator()
31 …CHECK_IF_PTR_NULL_RETURN_VALUE(cameraDeviceServiceVdi_, OHOS::HDI::Camera::V1_0::INVALID_ARGUMENT); in GetStreamOperator()
32OHOS::sptr<IStreamOperatorVdiCallback> vdiCallbackObj = new StreamOperatorServiceCallback(callback… in GetStreamOperator()
35 return OHOS::HDI::Camera::V1_0::INSUFFICIENT_RESOURCES; in GetStreamOperator()
38 if (ret != OHOS::HDI::Camera::V1_0::NO_ERROR) { in GetStreamOperator()
44 return OHOS::HDI::Camera::V1_0::INSUFFICIENT_RESOURCES; in GetStreamOperator()
49 return OHOS::HDI::Camera::V1_0::INSUFFICIENT_RESOURCES; in GetStreamOperator()
52 return OHOS::HDI::Camera::V1_0::NO_ERROR; in GetStreamOperator()
[all …]
/drivers/peripheral/distributed_camera/hdi_service/include/dstream_operator/
Ddcamera_stream.h26 namespace OHOS {
29 using namespace OHOS::HDI::Camera::V1_0;
30 using namespace OHOS::HDI::DistributedCamera::V1_0;
43 DCamRetCode SetDCameraBufferQueue(const OHOS::sptr<BufferProducerSequenceable> &producer);
57 …void SetSurfaceBuffer(OHOS::sptr<OHOS::SurfaceBuffer>& surfaceBuffer, const DCameraBuffer &buffer);
61 DCamRetCode SurfaceBufferToDImageBuffer(OHOS::sptr<OHOS::SurfaceBuffer> &surfaceBuffer,
62 OHOS::sptr<OHOS::SyncFence> &syncFence);
70 OHOS::sptr<OHOS::Surface> dcStreamProducer_ = nullptr;
71 map<shared_ptr<DImageBuffer>, tuple<OHOS::sptr<OHOS::SurfaceBuffer>, int>> bufferConfigMap_;
/drivers/peripheral/camera/test/hdi/v1_3/include/
Dhdi_common_v1_3.h39 namespace OHOS::Camera {
78 using namespace OHOS::HDI::Camera::V1_0;
86 void DefaultPreview(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
87 void DefaultCapture(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
88 void DefaultSketch(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
89 void DefaultInfosPreview(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
90 void DefaultInfosPreviewV1_2(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
91 void DefaultInfosCapture(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
92 …void DefaultInfosProfessionalCapture(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &in…
93 void DefaultInfosAnalyze(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos);
[all …]
/drivers/peripheral/camera/test/ut/v4l2/
Dcamera_ability_test.cpp31 OHOS::Camera::RetCode CameraAbilityTest::GetSensorOrientation(std::shared_ptr<CameraAbility> &abili… in GetSensorOrientation()
36 int ret = OHOS::Camera::FindCameraMetadataItem(data, OHOS_SENSOR_ORIENTATION, &entry); in GetSensorOrientation()
39 return OHOS::Camera::RC_ERROR; in GetSensorOrientation()
43 return OHOS::Camera::RC_OK; in GetSensorOrientation()
46 OHOS::Camera::RetCode CameraAbilityTest::GetFlashAvailable(std::shared_ptr<CameraAbility> &ability) in GetFlashAvailable()
51 int ret = OHOS::Camera::FindCameraMetadataItem(data, OHOS_ABILITY_FLASH_AVAILABLE, &entry); in GetFlashAvailable()
54 return OHOS::Camera::RC_ERROR; in GetFlashAvailable()
58 return OHOS::Camera::RC_OK; in GetFlashAvailable()
61 OHOS::Camera::RetCode CameraAbilityTest::GetAfAvailable(std::shared_ptr<CameraAbility> &ability) in GetAfAvailable()
66 int ret = OHOS::Camera::FindCameraMetadataItem(data, OHOS_CONTROL_AF_AVAILABLE_MODES, &entry); in GetAfAvailable()
[all …]
Dstream_customer.h42 std::shared_ptr<OHOS::Surface> CreateProducer();
44 OHOS::sptr<OHOS::IBufferProducer> CreateProducer();
48OHOS::Camera::RetCode ReceiveFrameOn(const std::function<void(const unsigned char *, const uint32_…
52 class TestBuffersConsumerListener : public OHOS::IBufferConsumerListener {
72 std::shared_ptr<OHOS::Surface> consumer_ = nullptr;
74 OHOS::sptr<OHOS::IConsumerSurface> consumer_ = nullptr;
/drivers/hdf_core/interfaces/inner_api/hdi/
Diservstat_listener_hdi.h45 namespace OHOS {
81 class IServStatListener : public ::OHOS::IRemoteBroker {
98 class ServStatListenerStub : public ::OHOS::IRemoteStub<IServStatListener> {
115 …::OHOS::MessageParcel &data, ::OHOS::MessageParcel &reply, ::OHOS::MessageOption &option) override;
127 int32_t ServStatListenerStubOnReceive(::OHOS::MessageParcel& data,
128 ::OHOS::MessageParcel& reply, ::OHOS::MessageOption& option);
/drivers/peripheral/camera/test/mpi/include/
Dcommon.h55 namespace OHOS::Camera {
76 OHOS::sptr<StreamOperatorCallback> streamOperatorCallback = nullptr;
77 OHOS::sptr<CameraHostCallback> hostCallback = nullptr;
78 OHOS::sptr<CameraDeviceCallback> deviceCallback = nullptr;
79 OHOS::sptr<IStreamOperator> streamOperator = nullptr;
80 OHOS::sptr<Camera::IOfflineStreamOperator> offlineStreamOperator = nullptr;
81 OHOS::sptr<IStreamOperatorCallback> offlineStreamOperatorCallback = nullptr;
83 std::shared_ptr<OHOS::Camera::CaptureInfo> captureInfo = nullptr;
84 std::vector<std::shared_ptr<OHOS::Camera::StreamInfo>> streamInfos;
85 std::shared_ptr<OHOS::Camera::StreamInfo> streamInfo = nullptr;
[all …]
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/include/
Dbluetooth_a2dp_src_observer.h22 class BluetoothA2dpSrcObserver : public OHOS::Bluetooth::BluetoothA2dpAudioSrcObserverStub {
24 …BluetoothA2dpSrcObserver(OHOS::Bluetooth::BtA2dpAudioCallback *callbacks) : callbacks_(callbacks) … in BluetoothA2dpSrcObserver()
27 void OnConnectionStateChanged(const OHOS::bluetooth::RawAddress &device, int state, int cause);
28 …void OnPlayingStatusChanged(const OHOS::bluetooth::RawAddress &device, int playingState, int error…
30 …(const OHOS::bluetooth::RawAddress &device, const OHOS::Bluetooth::BluetoothA2dpCodecInfo &info, i…
31 void OnMediaStackChanged(const OHOS::bluetooth::RawAddress &device, int action);
34 OHOS::Bluetooth::BtA2dpAudioCallback *callbacks_;
/drivers/external_device_manager/services/native/driver_extension_manager/include/drivers_pkg_manager/
Dpkg_database.h29 namespace OHOS {
51 int64_t Insert(const OHOS::NativeRdb::ValuesBucket &insertValues);
52 int32_t Update(int32_t &changedRows, const OHOS::NativeRdb::ValuesBucket &values,
53 const OHOS::NativeRdb::RdbPredicates &predicates);
54 …int32_t Update(int32_t &changedRows, const OHOS::NativeRdb::ValuesBucket &values, const std::strin…
56 int32_t Delete(const OHOS::NativeRdb::RdbPredicates &rdbPredicates);
58 std::shared_ptr<OHOS::NativeRdb::ResultSet> Query(
59 … const OHOS::NativeRdb::AbsRdbPredicates &predicates, const std::vector<std::string> &columns);
69 std::shared_ptr<OHOS::NativeRdb::RdbStore> store_;
72 class PkgDataBaseCallBack : public OHOS::NativeRdb::RdbOpenCallback {
[all …]
/drivers/external_device_manager/services/native/driver_extension_manager/src/drivers_pkg_manager/
Dpkg_database.cpp19 namespace OHOS { namespace
30 int32_t errCode = OHOS::NativeRdb::E_OK; in InitDB()
31 OHOS::NativeRdb::RdbStoreConfig config(rightDatabaseName); in InitDB()
34 …store_ = OHOS::NativeRdb::RdbHelper::GetRdbStore(config, DATABASE_OPEN_VERSION, sqliteOpenHelperCa… in InitDB()
35 if (errCode != OHOS::NativeRdb::E_OK) { in InitDB()
61 if (ret != OHOS::NativeRdb::E_OK) { in BeginTransaction()
75 if (ret != OHOS::NativeRdb::E_OK) { in Commit()
89 if (ret != OHOS::NativeRdb::E_OK) { in RollBack()
96 int64_t PkgDataBase::Insert(const OHOS::NativeRdb::ValuesBucket &insertValues) in Insert()
105 if (ret != OHOS::NativeRdb::E_OK) { in Insert()
[all …]
/drivers/peripheral/camera/test/demo_3A/
Dstream_customer.cpp19 namespace OHOS::Camera { namespace
28 OHOS::SurfaceBuffer* buffer = consumer_->AcquireBuffer(); in CamFrame()
40 OHOS::Rect damage; in CamFrame()
46 OHOS::sptr<OHOS::SurfaceBuffer> buff = nullptr; in CamFrame()
55 buff->GetExtraData()->ExtraGet(OHOS::Camera::dataSize, gotSize); in CamFrame()
56 buff->GetExtraData()->ExtraGet(OHOS::Camera::isKeyFrame, isKey); in CamFrame()
57 buff->GetExtraData()->ExtraGet(OHOS::Camera::timeStamp, timestamp); in CamFrame()
72 std::shared_ptr<OHOS::Surface> StreamCustomer::CreateProducer() in CreateProducer()
74 sptr<OHOS::IBufferProducer> StreamCustomer::CreateProducer() in CreateProducer()
78 consumer_ = std::shared_ptr<OHOS::Surface>(OHOS::Surface::CreateSurface()); in CreateProducer()
[all …]
/drivers/peripheral/camera/test/demo/
Dstream_customer.cpp19 namespace OHOS::Camera { namespace
28 OHOS::SurfaceBuffer* buffer = consumer_->AcquireBuffer(); in CamFrame()
40 OHOS::Rect damage; in CamFrame()
46 OHOS::sptr<OHOS::SurfaceBuffer> buff = nullptr; in CamFrame()
55 buff->GetExtraData()->ExtraGet(OHOS::Camera::dataSize, gotSize); in CamFrame()
56 buff->GetExtraData()->ExtraGet(OHOS::Camera::isKeyFrame, isKey); in CamFrame()
57 buff->GetExtraData()->ExtraGet(OHOS::Camera::timeStamp, timestamp); in CamFrame()
72 std::shared_ptr<OHOS::Surface> StreamCustomer::CreateProducer() in CreateProducer()
74 sptr<OHOS::IBufferProducer> StreamCustomer::CreateProducer() in CreateProducer()
78 consumer_ = std::shared_ptr<OHOS::Surface>(OHOS::Surface::CreateSurface()); in CreateProducer()
[all …]

12345678910>>...78