Home
last modified time | relevance | path

Searched refs:FrameConfig (Results 1 – 25 of 33) sorted by relevance

12

/ohos5.0/foundation/multimedia/camera_lite/frameworks/
H A Dframe_config.cpp24 int32_t FrameConfig::GetFrameConfigType() in GetFrameConfigType()
29 list<Surface *> FrameConfig::GetSurfaces() in GetSurfaces()
34 void FrameConfig::AddSurface(Surface &surface) in AddSurface()
40 void FrameConfig::RemoveSurface(Surface &surface) in RemoveSurface()
45 void *FrameConfig::GetValue(uint32_t key) in GetValue()
54 void FrameConfig::SetVendorParameter(uint8_t *value, uint32_t len) in SetVendorParameter()
71 void FrameConfig::GetVendorParameter(uint8_t *value, uint32_t len) in GetVendorParameter()
84 void FrameConfig::SetValue(uint32_t key, const void *value) in SetValue()
108 FrameConfig::FrameConfig(int32_t type) : type_(type) in FrameConfig() function in OHOS::Media::FrameConfig
H A Dcamera_impl.h34 FrameConfig *GetFrameConfig(int32_t type) override;
39 int32_t TriggerLoopingCapture(FrameConfig &fc) override;
41 int32_t TriggerSingleCapture(FrameConfig &fc) override;
47 void OnFrameFinished(int32_t ret, FrameConfig &fc);
53 std::list<FrameConfig *> frameConfigs_;
H A Dcamera_impl.cpp40 FrameConfig *CameraImpl::GetFrameConfig(int32_t type) in GetFrameConfig()
96 int32_t CameraImpl::TriggerLoopingCapture(FrameConfig &fc) in TriggerLoopingCapture()
107 FrameConfig *curFc = GetFrameConfig(type); in TriggerLoopingCapture()
156 int32_t CameraImpl::TriggerSingleCapture(FrameConfig &fc) in TriggerSingleCapture()
170 int32_t ret = deviceClient_->TriggerSingleCapture(dynamic_cast<FrameConfig &>(fc)); in TriggerSingleCapture()
202 void CameraImpl::OnFrameFinished(int32_t ret, FrameConfig &fc) in OnFrameFinished()
/ohos5.0/foundation/multimedia/camera_lite/test/unittest/
H A Dcamera_lite_test.cpp353 FrameConfig *fc = new FrameConfig(FRAME_CONFIG_RECORD); in StartRecord()
388 FrameConfig *fc = new FrameConfig(FRAME_CONFIG_PREVIEW); in StartPreview()
425 FrameConfig *fc = new FrameConfig(FRAME_CONFIG_CAPTURE); in Capture()
1044 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_PREVIEW); in HWTEST_F()
1050 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_RECORD); in HWTEST_F()
1056 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_CAPTURE); in HWTEST_F()
1244 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_RECORD); in HWTEST_F()
1312 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_RECORD); in HWTEST_F()
1402 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_RECORD); in HWTEST_F()
1512 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_RECORD); in HWTEST_F()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render_backend/ohos/
H A Drs_render_surface_ohos.cpp37 std::shared_ptr<FrameConfig> frameConfig = std::make_shared<FrameConfig>(); in RSRenderSurfaceOhos()
104 std::shared_ptr<FrameConfig> frameConfig = frame_->frameConfig; in RequestFrame()
158 std::shared_ptr<FrameConfig> frameConfig = frame_->frameConfig; in SetUiTimeStamp()
187 std::shared_ptr<FrameConfig> frameConfig = frame_->frameConfig; in SetDamageRegion()
240 std::shared_ptr<FrameConfig> frameConfig = frame_->frameConfig; in GetSurface()
258 std::shared_ptr<FrameConfig> frameConfig = frame_->frameConfig; in GetColorSpace()
268 std::shared_ptr<FrameConfig> frameConfig = frame_->frameConfig; in SetColorSpace()
278 std::shared_ptr<FrameConfig> frameConfig = frame_->frameConfig; in SetSurfaceBufferUsage()
288 std::shared_ptr<FrameConfig> frameConfig = frame_->frameConfig; in SetSurfacePixelFormat()
298 std::shared_ptr<FrameConfig> frameConfig = frame_->frameConfig; in SetReleaseFence()
[all …]
H A Drender_context_ohos_raster.cpp44 std::shared_ptr<FrameConfig> frameConfig = frame->frameConfig; in CreateSurface()
93 std::shared_ptr<FrameConfig> frameConfig = frame->frameConfig; in DamageFrame()
113 std::shared_ptr<FrameConfig> frameConfig = frame->frameConfig; in SwapBuffers()
/ohos5.0/foundation/multimedia/camera_lite/services/impl/include/
H A Dcamera_device.h43 FrameConfig *fc_ = nullptr;
47 virtual int32_t SetFrameConfig(FrameConfig &fc, uint32_t *streamId) in SetFrameConfig()
68 int32_t SetFrameConfig(FrameConfig &fc, uint32_t *streamId) override;
82 int32_t SetFrameConfig(FrameConfig &fc, uint32_t *streamId) override;
92 int32_t SetFrameConfig(FrameConfig &fc, uint32_t *streamId) override;
101 int32_t SetFrameConfig(FrameConfig &fc, uint32_t *streamId) override;
119 int32_t TriggerLoopingCapture(FrameConfig &fc, uint32_t *streamId);
121 int32_t TriggerSingleCapture(FrameConfig &fc, uint32_t *streamId);
/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-multimedia-camera-photo-guide.md22 | Camera | FrameConfig&amp;&nbsp;GetFrameConfig(int32_t&nbsp;type) | 获取捕获帧类型 |
25 | Camera | int&nbsp;TriggerLoopingCapture(FrameConfig&amp;&nbsp;frameConfig) | 开始循环帧捕获 |
27 | Camera | int32_t&nbsp;TriggerSingleCapture(FrameConfig&amp;&nbsp;frameConfig) | 截图 |
41 | FrameStateCallback | void&nbsp;OnFrameFinished(Camera&amp;&nbsp;camera,&nbsp;FrameConfig&amp;&nbs…
42 | FrameStateCallback | void&nbsp;OnFrameError​(Camera&amp;&nbsp;camera,&nbsp;FrameConfig&amp;&nbsp;…
43 | FrameConfig | int32_t&nbsp;GetFrameConfigType() | 获取帧配置类型 |
44 | FrameConfig | std::list&lt;OHOS::Surface&gt;&nbsp;GetSurfaces() | 获取帧配置的surface |
45 | FrameConfig | void&nbsp;AddSurface(OHOS::AGP::UISurface&amp;&nbsp;surface); | 添加surface |
46 | FrameConfig | void&nbsp;RemoveSurface(OHOS::AGP::UISurface&amp;&nbsp;surface); | 删除surface |
88 void OnFrameFinished(Camera &camera, FrameConfig &fc, FrameResult &result) override
[all …]
H A Dsubsys-multimedia-camera-record-guide.md23 2. 获取录像FrameConfig
32 FrameConfig *fc = new FrameConfig(FRAME_CONFIG_RECORD);
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-multimedia-camera-record-guide.md23 2. Obtain the **FrameConfig** instance for video recording.
31 /* Add the surface to the FrameConfig instance. */
32 FrameConfig *fc = new FrameConfig(FRAME_CONFIG_RECORD);
H A Dsubsys-multimedia-camera-photo-guide.md22 | Camera | FrameConfig&amp;&nbsp;GetFrameConfig(int32_t&nbsp;type) | Obtains the frame configuratio…
25 | Camera | int&nbsp;TriggerLoopingCapture(FrameConfig&amp;&nbsp;frameConfig) | Starts looping-frame…
27 | Camera | int32_t&nbsp;TriggerSingleCapture(FrameConfig&amp;&nbsp;frameConfig) | Starts single-fra…
41 | FrameStateCallback | void&nbsp;OnFrameFinished(Camera&amp;&nbsp;camera,&nbsp;FrameConfig&amp;&nbs…
42 | FrameStateCallback | void&nbsp;OnFrameError​(Camera&amp;&nbsp;camera,&nbsp;FrameConfig&amp;&nbsp;…
43 | FrameConfig | int32_t&nbsp;GetFrameConfigType() | Obtains the frame configuration type.|
44 | FrameConfig | std::list&lt;OHOS::Surface&gt;&nbsp;GetSurfaces() | Obtains a list of surface objec…
45 | FrameConfig | void&nbsp;AddSurface(OHOS::AGP::UISurface&amp;&nbsp;surface); | Adds a surface.|
46 | FrameConfig | void&nbsp;RemoveSurface(OHOS::AGP::UISurface&amp;&nbsp;surface); | Removes a surfac…
88 void OnFrameFinished(Camera &camera, FrameConfig &fc, FrameResult &result) override
[all …]
/ohos5.0/foundation/multimedia/camera_lite/interfaces/kits/
H A Dframe_config.h60 class FrameConfig {
66 FrameConfig() = delete;
73 explicit FrameConfig(int32_t type);
79 ~FrameConfig() {} in ~FrameConfig()
H A Dframe_state_callback.h42 class FrameConfig; variable
72 …virtual void OnFrameFinished(Camera &camera, FrameConfig &frameConfig, FrameResult &frameResult) {} in OnFrameFinished()
82 …virtual void OnFrameError(Camera &camera, FrameConfig &frameConfig, int32_t errorCode, FrameResult… in OnFrameError()
H A Dcamera.h95 virtual FrameConfig *GetFrameConfig(int32_t type) in GetFrameConfig()
114 virtual int32_t TriggerLoopingCapture(FrameConfig &frameConfig) in TriggerLoopingCapture()
138 virtual int32_t TriggerSingleCapture(FrameConfig &frameConfig) in TriggerSingleCapture()
/ohos5.0/docs/en/device-dev/guide/
H A Ddevice-camera-control-demo-videoguide.md18 2. Obtain the **FrameConfig** instance for audio recording.
26 /* Add the surface to the FrameConfig instance. */
27 FrameConfig *fc = new FrameConfig(FRAME_CONFIG_RECORD);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render_backend/
H A Drs_render_surface_frame.h63 typedef struct FrameConfig { struct
64 FrameConfig() in FrameConfig() argument
109 } FrameConfig; argument
118 std::shared_ptr<FrameConfig> frameConfig;
/ohos5.0/docs/zh-cn/device-dev/guide/
H A Ddevice-camera-control-demo-videoguide.md23 2. 获取录像FrameConfig
32 FrameConfig *fc = new FrameConfig(FRAME_CONFIG_RECORD);
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dcamera_component.h59 Media::FrameConfig &frameConfig,
62 Media::FrameConfig &frameConfig,
124 Media::FrameConfig *frameConfig_;
161 Media::FrameConfig *frameConfig_;
170 Media::FrameConfig *GetFrameConfig() const in GetFrameConfig()
H A Dcamera_component.cpp50 Media::FrameConfig &frameConfig, in OnFrameFinished()
100 Media::FrameConfig &frameConfig, in OnFrameError()
238 frameConfig_ = new Media::FrameConfig(Media::FRAME_CONFIG_PREVIEW); in OnCreated()
280 frameConfig_ = new Media::FrameConfig(Media::FRAME_CONFIG_CAPTURE); in CreateNativeViews()
421 Media::FrameConfig *frameConfig = component->GetFrameConfig(); in CaptureFrame()
/ohos5.0/foundation/multimedia/camera_lite/frameworks/passthrough/include/
H A Dcamera_device_client.h34 int32_t TriggerLoopingCapture(FrameConfig &fc);
36 int32_t TriggerSingleCapture(FrameConfig &fc);
/ohos5.0/foundation/multimedia/camera_lite/frameworks/binder/src/
H A Dcamera_device_client.cpp108 int32_t SerilizeFrameConfig(IpcIo &io, FrameConfig &fc, uint32_t maxSurfaceNum) in SerilizeFrameConfig()
154 int32_t CameraDeviceClient::TriggerLoopingCapture(FrameConfig &fc) in TriggerLoopingCapture()
182 int32_t CameraDeviceClient::TriggerSingleCapture(FrameConfig &fc) in TriggerSingleCapture()
312 FrameConfig *fc = static_cast<FrameConfig*>(para->frameConfig); in DeviceClientCallback()
/ohos5.0/foundation/multimedia/camera_lite/frameworks/binder/include/
H A Dcamera_device_client.h39 int32_t TriggerLoopingCapture(FrameConfig &fc);
41 int32_t TriggerSingleCapture(FrameConfig &fc);
/ohos5.0/foundation/multimedia/camera_lite/frameworks/passthrough/src/
H A Dcamera_device_client.cpp63 int32_t CameraDeviceClient::TriggerLoopingCapture(FrameConfig &fc) in TriggerLoopingCapture()
74 int32_t CameraDeviceClient::TriggerSingleCapture(FrameConfig &fc) in TriggerSingleCapture()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render_backend/
H A Ddrawing_context.cpp102 std::shared_ptr<FrameConfig> frameConfig = frame->frameConfig; in AcquireSurfaceInGLES()
130 std::shared_ptr<FrameConfig> frameConfig = frame->frameConfig; in AcquireSurfaceInRaster()
179 std::shared_ptr<FrameConfig> frameConfig = frame->frameConfig; in GetSkColorSpace()
/ohos5.0/foundation/multimedia/camera_lite/services/impl/src/
H A Dcamera_device.cpp96 static int32_t CameraCreateVideoEnc(FrameConfig &fc, in CameraCreateVideoEnc()
198 static CODEC_HANDLETYPE CameraCreateJpegEncProc(FrameConfig &fc, uint32_t srcDev, AvCodecMime codec… in CameraCreateJpegEncProc()
235 static int32_t CameraCreateJpegEnc(FrameConfig &fc, StreamAttr stream, uint32_t srcDev, CODEC_HANDL… in CameraCreateJpegEnc()
296 StreamType streamType, FrameConfig &fc) in StreamAttrInitialize()
432 int32_t RecordAssistant::SetFrameConfig(FrameConfig &fc, uint32_t *streamId) in SetFrameConfig()
544 int32_t PreviewAssistant::SetFrameConfig(FrameConfig &fc, uint32_t *streamId) in SetFrameConfig()
603 int32_t CaptureAssistant::SetFrameConfig(FrameConfig &fc, uint32_t *streamId) in SetFrameConfig()
712 int32_t CallbackAssistant::SetFrameConfig(FrameConfig &fc, uint32_t *streamId) in SetFrameConfig()
852 int32_t CameraDevice::TriggerLoopingCapture(FrameConfig &fc, uint32_t *streamId) in TriggerLoopingCapture()
933 int32_t CameraDevice::TriggerSingleCapture(FrameConfig &fc, uint32_t *streamId) in TriggerSingleCapture()

12