Home
last modified time | relevance | path

Searched refs:preview (Results 1 – 25 of 299) sorted by relevance

12345678910>>...12

/ohos5.0/docs/en/application-dev/reference/apis-camera-kit/
H A D_preview_output___callbacks.md6 The PreviewOutput_Callbacks struct describes the callbacks related to preview output.
22 …woutput_onframestart) [onFrameStart](#onframestart) | Callback to report preview output frame star…
23 …previewoutput_onframeend) [onFrameEnd](#onframeend) | Callback to report preview output frame end …
24 …mera.md#oh_previewoutput_onerror) [onError](#onerror) | Callback to report preview output errors.|
38 Callback to report preview output errors.
49 Callback to report preview output frame end events.
60 Callback to report preview output frame start events.
H A Dpreview__output_8h.md6 The **preview_output.h** file declares the preview output concepts.
26 …t_Callbacks](_preview_output___callbacks.md) | Describes the callbacks related to preview output.|
33 …wOutput](_o_h___camera.md#camera_previewoutput) | Defines a struct for the preview output object.|
34 …put_Callbacks](_preview_output___callbacks.md) struct and used to report preview output frame star…
35 …put_Callbacks](_preview_output___callbacks.md) struct and used to report preview output frame end …
36 …utput_Callbacks](_preview_output___callbacks.md) struct and used to report preview output errors.|
37 …amera.md#previewoutput_callbacks) | Defines a struct for the callbacks related to preview output.|
44 …ew_output___callbacks.md) \*callback) | Registers a callback to listen for preview output events.|
45 …___callbacks.md) \*callback) | Unregisters the callback used to listen for preview output events.|
46 …a_PreviewOutput](_o_h___camera.md#camera_previewoutput) \*previewOutput) | Starts preview output.|
[all …]
H A D_camera___output_capability.md20 …e.md) \*\* [previewProfiles](#previewprofiles) | Double pointer to the list of preview profiles. |
21 | uint32_t [previewProfilesSize](#previewprofilessize) | Size of the preview profiles. |
72 Double pointer to the list of preview profiles.
82 Size of the preview profiles.
/ohos5.0/docs/en/application-dev/media/camera/
H A Dcamera-dual-channel-preview.md5 Dual-channel preview means that an application can use two preview streams at the same time. One pr…
9preview (there are two preview streams instead of one preview stream plus one photo stream), you m…
22 ![dual-preview-streams-instructions](figures/dual-preview-streams-instructions.png)
27 …nd preview stream used for image display, create an **XComponent**, obtain the surface ID to creat…
28 - To enable both preview streams to obtain data, configure a camera session for both preview stream…
43 // Obtain the surface ID for the first preview stream.
191 // Add the output of the first preview stream.
193 // Add the output of the second preview stream.
383 // Add the output of the first preview stream.
385 // Add the output of the second preview stream.
[all …]
H A Dnative-camera-preview.md31 … capabilities of which are provided by the UI, offers the surface ID for preview streams. For deta…
33 …ra.md#oh_cameramanager_getsupportedcameraoutputcapability) to obtain the preview capability suppor…
71 …session configuration, and then call **start()** to start outputting the preview stream. If the ca…
80 …mera-kit/_o_h___camera.md#oh_capturesession_stop) to stop outputting the preview stream. If the ca…
91 …pment, you can listen for the preview output stream status, including preview stream start, previe…
93preview start events. This event can be registered when a **PreviewOutput** object is created and …
117preview end events. This event can be registered when a **PreviewOutput** object is created and is…
126 - Register the **'error'** event to listen for preview output errors. The callback function returns…
H A Dcamera-preview.md20 …the capabilities of which are provided by the UI, offers the surface for preview streams. For deta…
24preview stream and video output stream must have the same aspect ratio of the resolution. For exam…
26 …camera-kit/js-apis-camera.md#cameraoutputcapability) class to obtain the preview output capabiliti…
42 …rence/apis-camera-kit/js-apis-camera.md#start11) to start outputting the preview stream. If the ca…
79 …pment, you can listen for the preview output stream status, including preview stream start, previe…
81preview start events. This event can be registered when a **PreviewOutput** object is created and …
94preview end events. This event can be registered when a **PreviewOutput** object is created and is…
107 - Register the **'error'** event to listen for preview output errors. The callback function returns…
H A Dcamera-animation.md5 - Mode switching: Use preview stream snapshots to create a blur effect for transition.
11 - Front/Rear camera switching: Use preview stream snapshots to create a blur-and-flip effect for tr…
17 - Photo capture blackout: Use a blackout component to overlay the preview stream to create a blacko…
52 …t must be the same as those of the XComponent of the preview stream. The layer is above the previe…
106 2. Obtain a preview stream snapshot.
132 … size: { width: 1920, height: 1080 }, // Obtain the width and height of the preview stream profile.
165 @State surfaceId: string ="; // Surface ID of the XComponent of the current preview stream.
176 // Snapshot component is placed above the XComponent of the preview stream.
184 …t must be the same as those of the XComponent of the preview stream. The layer is above the previe…
197 …a takes a snapshot of the preview stream. The snapshot component is displayed, which gradually blu…
[all …]
H A Dnative-camera-preview-imageReceiver.md3 …tain real-time data of the preview stream for secondary processing. For example, you can add a fil…
50 imgSize.width = 1080; // Width of the created preview stream.
51 imgSize.height = 1080; // Height of the created preview stream.
65 4. Create a preview stream based on the surface ID obtained. For details, see step 4 in [Camera Pre…
106 …// Check whether the row stride is the same as the width of the preview stream. If they are differ…
112 … size_t dstBufferSize = size.width * size.height * 1.5; // Camera preview stream in NV21 format.
H A Dcamera-preparation.md3 …s development preparations, device input management, session management, preview, photo capture, a…
30 | Preview | [Preview (ArkTS)](camera-preview.md)| [Preview (C/C++)](native-camera-preview.md)|
31 | Secondary processing of preview streams| - | [Secondary Processing of Preview Streams (C/C++)](n…
H A DReadme-EN.md9 - [Preview (ArkTS)](camera-preview.md)
29 - [Dual-Channel Preview (ArkTS)](camera-dual-channel-preview.md)
40 - [Preview (C/C++)](native-camera-preview.md)
41 - [Secondary Processing of Preview Streams (C/C++)](native-camera-preview-imageReceiver.md)
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-attributes-menu.md17 > - 若组件是可拖动节点,绑定bindContextMenu未指定preview时,菜单弹出会浮起拖拽预览图且菜单选项和预览图不会发生避让。对此,开发者可根据使用场景设置preview或者将目标…
366 Text('preview-image')
384 ![preview-image](figures/preview-image.png)
419 Text('preview-builder')
427 preview: this.MyPreview
436 ![preview-builder](figures/preview-builder.png)
472 Text('preview-builder')
480 preview: this.MyPreview,
548 preview: this.MyPreview,
562 ![preview-builder](figures/menu2.gif)
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/preview/
H A Dmenu_preview_layout_algorithm.cpp45 auto preview = layoutWrapper->GetHostNode(); in Layout() local
46 CHECK_NULL_VOID(preview); in Layout()
47 auto previewPattern = preview->GetPattern<MenuPreviewPattern>(); in Layout()
74 auto preview = layoutWrapper->GetHostNode(); in UpdateLayoutConstraintForPreview() local
75 CHECK_NULL_VOID(preview); in UpdateLayoutConstraintForPreview()
76 auto previewPattern = preview->GetPattern<MenuPreviewPattern>(); in UpdateLayoutConstraintForPreview()
/ohos5.0/docs/en/device-dev/guide/
H A Ddevice-camera-control-example.md23 … and videos in the TF card, copy them to a computer. If you just want to preview photos and videos…
32 …ress **S** to stop the current operation \(including video recording and preview\), and press **Q*…
49 4. Press **3** to start preview. The preview is displayed on the screen. Press **S** to stop previ…
51 …**Figure 5** Serial port logs displayed after the preview command is executed<a name="fig965814812…
52 …/serial-port-logs-displayed-after-the-preview-command-is-executed.png "serial-port-logs-displayed-…
54 The following figure shows the preview.
57 ![](figures/preview-effect.jpg "preview-effect")
/ohos5.0/docs/en/application-dev/quick-start/
H A Ddeveco-studio-user-guide-for-openharmony.md11 …irectional real-time preview**: Bidirectional preview, real-time preview, live preview, component
/ohos5.0/base/print/print_fwk/frameworks/helper/print_helper/src/
H A Dprint_preview_attribute_helper.cpp26 …value PrintPreviewAttributeHelper::MakeJsObject(napi_env env, const PrintPreviewAttribute &preview) in MakeJsObject() argument
31 if (preview.HasResult()) { in MakeJsObject()
32 … NapiPrintUtils::SetUint32Property(env, jsObj, PARAM_PREATTRIBUTE_RESULT, preview.GetResult()); in MakeJsObject()
35 preview.GetPreviewRange(range); in MakeJsObject()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-attributes-menu.md369 Text('preview-image')
387 ![preview-image](figures/preview-image.png)
422 Text('preview-builder')
430 preview: this.MyPreview
439 ![preview-builder](figures/preview-builder.png)
475 Text('preview-builder')
483 preview: this.MyPreview,
551 preview: this.MyPreview,
565 ![preview-builder](figures/menu2.gif)
646 preview: this.MyPreview,
[all …]
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/unittest/src/v1_1/
H A Dcamera_framework_unittest.cpp1107 ASSERT_NE(preview, nullptr);
1108 preview->Release();
1130 ASSERT_EQ(preview, nullptr);
1325 ASSERT_NE(preview, nullptr);
1433 ASSERT_NE(preview, nullptr);
1441 preview->Release();
1504 ASSERT_NE(preview, nullptr);
1538 preview->Release();
1622 ASSERT_NE(preview, nullptr);
1695 ASSERT_NE(preview, nullptr);
[all …]
/ohos5.0/docs/zh-cn/application-dev/media/camera/
H A DReadme-CN.md9 - [预览(ArkTS)](camera-preview.md)
29 - [双路预览(ArkTS)](camera-dual-channel-preview.md)
40 - [预览(C/C++)](native-camera-preview.md)
41 - [预览流二次处理(C/C++)](native-camera-preview-imageReceiver.md)
H A Dcamera-preparation.md30 | 预览 | [预览(ArkTS)](camera-preview.md) | [预览(C/C++)](native-camera-preview.md) |
31 | 预览流二次处理 | - | [预览流二次处理(C/C++)](native-camera-preview-imageReceiver.md) |
/ohos5.0/docs/en/application-dev/web/
H A Dweb-pdf-preview.md5 When preview and load an online PDF file, declare the network access permission in the **module.jso…
43 In the preceding example, whether the side navigation bar is expanded on the PDF preview page is re…
52 - To preview and load an online PDF file:
61 - To preview and load PDF files in the application sandbox, you need to configure the [fileAccess](…
71 - To preview and load a PDF file from an application in either of the following ways (Specifying th…
81 In addition, you can set PDF file preview parameters to control the page status when the page is op…
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/build/
H A Dpreview_common.gni50 "//foundation/arkui/ace_engine/adapter/preview/entrance:preview_entrance_source",
51 "//foundation/arkui/ace_engine/adapter/preview/external:preview_external_source",
52 "//foundation/arkui/ace_engine/adapter/preview/inspector:preview_inspector_source",
53 "//foundation/arkui/ace_engine/adapter/preview/osal:preview_osal_source",
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/doc/
H A D使用说明文档.md73 ![preview](InstructionDoc/previewer1.png)
77 ![preview](InstructionDoc/previewer2.png)
79 - 成功预览后会生成.preview结构:
81 ![preview](InstructionDoc/preview.png)
/ohos5.0/docs/en/application-dev/faqs/
H A Dfaqs-multimedia.md4 ## How do I obtain the frame data of a camera when using the XComponent to display the preview outp…
8 Currently, the API does not support real-time preview of the camera frame data. To obtain the frame…
12 Create a dual-channel preview to obtain the frame data.
14 1. Use the XComponent to create a preview stream.
25 // Add dual-channel preview.
35 ## How do I obtain the preview image of the front camera? (API version 9)
54 3. Obtain the output formats supported by the camera, and create a preview output channel based on …
62 …ession, add the camera input stream and preview output stream to the session, and start the sessio…
196 ## How do I read the preview image of the camera? (API version 10)
200 You can call **ImageReceiver.readLatestImage** to obtain the preview image of the camera.
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/doc/
H A D使用说明文档.md73 ![preview](InstructionDoc/previewer1.png)
77 ![preview](InstructionDoc/previewer2.png)
79 - 成功预览后会生成.preview结构:
81 ![preview](InstructionDoc/preview.png)
/ohos5.0/drivers/hdf_core/adapter/uhdf2/hcs/camera/hal/v4l2/rpi4b/pipeline_core/
H A Dconfig.hcs41 stream_type = "preview";
111 stream_type = "preview";
168 stream_type = "preview";
256 stream_type = "preview";

12345678910>>...12