Lines Matching refs:preview

3 …cing the preview stream. To enhance user experience, smooth animations can be effectively incorpor…
5 - 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…
96 You can use preview stream snapshots to create a blur effect for mode switching or front/rear camer…
106 2. Obtain a preview stream snapshot.
108 …eId** is the surface ID of the current preview stream, and **size** is the width and height of the…
132 … size: { width: 1920, height: 1080 }, // Obtain the width and height of the preview stream profile.
155 …Define a snapshot component, and place it above the XComponent of the preview stream to block the …
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…
244 …ramestart) of the new preview stream. During this effect, the snapshot component gradually becomes…
272 …To ensure that the preview stream is not exposed during flip, you must also build a blackout compo…
297 this.isShowBlack = true; // Show the blackout component to mask the preview stream.
429 …](../../reference/apis-camera-kit/js-apis-camera.md#onframestart) of the preview stream. Once the …