/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/ |
H A D | rs_canvas_node.cpp | 68 if (auto recording = recordingCanvas_->GetDrawCmdList()) { in BeginRecording() local 69 recording->SetIsNeedUnmarshalOnDestruct(!IsRenderServiceNode()); in BeginRecording() 109 auto recording = recordingCanvas_->GetDrawCmdList(); in FinishRecording() local 112 if (recording && recording->IsEmpty()) { in FinishRecording() 115 if (recording != nullptr && RSSystemProperties::GetDrawTextAsBitmap()) { in FinishRecording() 117 recording->GenerateCache(); in FinishRecording() 140 auto recording = recordingCanvas->GetDrawCmdList(); in DrawOnNode() local 141 if (recording) { in DrawOnNode() 142 recording->SetIsNeedUnmarshalOnDestruct(!IsRenderServiceNode()); in DrawOnNode() 144 if (recording && recording->IsEmpty()) { in DrawOnNode() [all …]
|
/ohos5.0/docs/en/application-dev/media/audio/ |
H A D | audio-recording-overview.md | 5 …a variety of APIs for you to develop audio recording applications. You can select them based on th… 7 …recording.md): provides ArkTS and JS API to implement audio input. It supports only the PCM format… 9 …for-recording.md): provides a set of standard, cross-platform native audio APIs. It supports audio… 11 - [Using OHAudio for Audio Recording](using-ohaudio-for-recording.md): provides a set of native API… 13 …o the preceding classes, you can also use **AVRecorder** in Media Kit to implement audio recording. 15 …recording.md): provides ArkTS and JS APIs to implement audio recording. It also supports audio inp… 23 - If continuous recording or background recording is required, the application must request a conti… 24 - The application must start recording when it runs in the foreground. It can switch to the backgro…
|
H A D | audio-recording-stream-management.md | 3 …recording application must notice audio stream state changes and perform corresponding operations.… 7 …ng to [Using AudioCapturer for Audio Recording](using-audiocapturer-for-recording.md) or [audio.cr… 24 …an operation, for example, displays a message indicating the end of the recording, by comparing th… 38 ** to obtain information such as the unique ID of the recording stream, UID of the recording st… 59 …e')** to listen for audio recording stream changes. If the application needs to receive a notifica… 83 3. (Optional) Use **off('audioCapturerChange')** to cancel listening for audio recording stream cha… 90 …etCurrentAudioCapturerInfoArray()** to obtain information about the current audio recording stream. 92 … API can be used to obtain the unique ID of the audio recording stream, UID of the audio recording…
|
H A D | using-opensl-es-for-recording.md | 10 …audio development, see [Using OHAudio for Audio Recording (C/C++)](using-ohaudio-for-recording.md). 16 …arty_opensles/blob/master/api/1.0.1/OpenSLES.h) to implement basic audio recording functionalities. 28 …| SL_IID_OH_BUFFERQUEUE | Provides the callback registration interface for audio recording stream … 51 …recording operation, this API adds the idle buffer after recording data storage to the **freeBuffe… 54 …recording operation.<br>The **pContext** parameter indicates the pointer to the audio file to be p… 55 …recording operation, this API obtains the buffer that carries recording data from the **filledBuff… 153 // The recording data can be read from the buffer for subsequent processing. 161 8. Start audio recording. 167 9. Stop audio recording.
|
H A D | using-audiocapturer-for-recording.md | 3 …have extensive audio development experience and want to implement more flexible recording features. 7 …recording process involves creating an **AudioCapturer** instance, configuring audio recording par… 19 1. Set audio recording parameters and create an **AudioCapturer** instance. For details about the p… 82 3. Call **start()** to switch the AudioCapturer to the **running** state and start recording. 96 4. Call **stop()** to stop recording. 183 // Start audio recording. 192 // Start recording. 203 // Stop recording. 212 // Stop recording.
|
H A D | Readme-EN.md | 29 - [Audio Recording Overview](audio-recording-overview.md) 30 - [Using AudioCapturer for Audio Recording](using-audiocapturer-for-recording.md) 31 - [Using OHAudio for Audio Recording (C/C++)](using-ohaudio-for-recording.md) 33 - [Audio Recording Stream Management](audio-recording-stream-management.md) 41 - [Using OpenSL ES for Audio Recording (C/C++)](using-opensl-es-for-recording.md)
|
/ohos5.0/docs/en/application-dev/media/media/ |
H A D | using-avrecorder-for-recording.md | 9  111 // Start recording. 118 // Pause recording. 125 // Resume recording. 132 // Stop recording. 198 // Process of starting recording. 211 // 4. Start recording. 215 // Process of pausing recording. 222 // Process of resuming recording. 229 // Process of stopping recording. [all …]
|
H A D | video-recording.md | 11  119 4. Obtain the surface ID required for video recording. 139 6. Start recording. 147 9. Call **stop()** to stop recording. The AVRecorder enters the **stopped** state again. In additio… 233 // Process of starting recording. 241 // 3. Set recording parameters to complete the preparations. 248 // 6. Start recording. 253 // Process of pausing recording. 261 // Process of resuming recording. 271 // 1. Stop recording. [all …]
|
/ohos5.0/docs/en/readme/ |
H A D | multimedia.md | 9 - Audio playback and recording 10 - Video playback and recording 11 - Photographing and recording \(with cameras\) 22 …andard system, the media component invokes Gstreamer to support audio/video playback and recording. 24 - **Camera**: provides camera operation APIs for preview, photographing, and video recording. 28 …pen-source GStreamer engine that supports streaming media, audio and video playback, and recording. 54 ├── media_lite # Playback and recording module for the smal… 57 │ ├── interfaces # Playback and recording module APIs for the… 58 │ └── services # Playback and recording service implementat… 59 ├── media_standard # Playback and recording module for the stan… [all …]
|
/ohos5.0/docs/en/application-dev/media/camera/ |
H A D | native-camera-recording.md | 3 …ction of the camera application, video recording is the process of cyclic frame capture. To smooth… 35 …oProfiles** in the **CameraOutputCapability** class. Then, define video recording parameters and u… 73 5. Start video recording. 85 6. Stop video recording. 100 …an listen for the status of the video output stream, including recording start, recording end, and… 102 …recording start events. This event can be registered when a VideoOutput instance is created and is… 127 …recording end events. This event can be registered when a VideoOutput instance is created and is t…
|
H A D | camera-recording.md | 3 …ction of the camera application, video recording is the process of cyclic frame capture. To smooth… 47 …kit/js-apis-camera.md#cameraoutputcapability) class. Then, define video recording parameters and u… 71 …// Define video recording parameters. The ratio of the resolution width (videoFrameWidth) to the r… 89 // Set video recording parameters. 111 4. Start video recording. 113 …eference/apis-media-kit/js-apis-media.md#start9) of the **AVRecorder** instance to start recording. 133 5. Stop video recording. 135 …ia-kit/js-apis-media.md#stop9-3) of the **AVRecorder** instance to stop recording, and then call [… 158 …an listen for the status of the video output stream, including recording start, recording end, and… 160 …recording start events. This event can be registered when a **VideoOutput** instance is created an… [all …]
|
H A D | camera-overview.md | 3 …o implement basic operations, such as preview, photo capture, and video recording. It can also per… 31 …uch as image display (preview), photo saving (photo capture), and video recording. During the impl… 33 …recording scenario, the recording service creates a video surface and provides it to the camera se…
|
/ohos5.0/docs/en/application-dev/reference/apis-media-kit/ |
H A D | _o_h___recorder_info.md | 6 The **OH_RecorderInfo** struct describes the recording file information. 22 | char \* [url](#url) | URL of the recording file.| 24 …reen_capture.md#oh_containerformattype) [fileFormat](#fileformat) | Format of the recording file.| 38 Format of the recording file. 49 URL of the recording file.
|
H A D | js-apis-media-sys.md | 699 Starts recording. This API uses a promise to return the result. 783 Pauses recording. This API uses a promise to return the result. 947 Stops recording. This API uses a promise to return the result. 1146 Subscribes to video recording error events. After an error event is reported, you must handle the e… 1190 | prepared | string | The video recording parameters are set.| 1191 | playing | string | Video recording is in progress. | 1192 | paused | string | Video recording is paused. | 1193 | stopped | string | Video recording is stopped. | 1198 Describes the video recording parameters. 1200 …recording from audio and video recording. (For audio-only recording, use [AVRecorder](js-apis-medi… [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/ |
H A D | rs_extended_modifier.cpp | 129 …ptr<Drawing::DrawCmdList> MakePiexlMapDrawCmdList(std::shared_ptr<Drawing::DrawCmdList>& recording, in MakePiexlMapDrawCmdList() argument 135 …if (recording->GetOpItemSize() > LONGTEXT_WATER_LINE && recording->CountTextBlobNum() > LONGTEXT_W… in MakePiexlMapDrawCmdList() 155 recording->Playback(*tmpCanvas, nullptr); in MakePiexlMapDrawCmdList() 202 auto recording = recordingCanvas->GetDrawCmdList(); in FinishDrawing() local 203 if (!recording) { in FinishDrawing() 211 auto pixelMapDrawCmdList = MakePiexlMapDrawCmdList(recording, ctx); in FinishDrawing() 221 recording->GenerateCache(); in FinishDrawing() 225 return recording; in FinishDrawing()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/ |
H A D | drawing__record__cmd_8h.md | 6 The **drawing_record_cmd.h** file declares the functions related to a recording command object. 26 …recording. This function must be used in pair with [OH_Drawing_RecordCmdUtilsFinishRecording](_dra… 27 …recording. This function must be called after [OH_Drawing_RecordCmdUtilsBeginRecording](_drawing.m…
|
/ohos5.0/docs/zh-cn/application-dev/media/audio/ |
H A D | audio-recording-overview.md | 7 - [AudioCapturer](using-audiocapturer-for-recording.md):用于音频输入的的ArkTS/JS API,仅支持PCM格式,需要应用持续读取音频数据进… 9 - [OpenSL ES](using-opensl-es-for-recording.md):一套跨平台标准化的音频Native API,同样提供音频输入原子能力,仅支持PCM格式,适用于从其他嵌… 11 - [OHAudio](using-ohaudio-for-recording.md):用于音频输入的Native API,此API在设计上实现归一,同时支持普通音频通路和低时延通路。仅支持PCM格… 15 - [AVRecorder](../media/using-avrecorder-for-recording.md):用于音频录制的ArkTS/JS API,集成了音频输入录制、音频编码和媒体封装的…
|
H A D | Readme-CN.md | 29 - [音频录制开发概述](audio-recording-overview.md) 30 - [使用AudioCapturer开发音频录制功能](using-audiocapturer-for-recording.md) 31 - [使用OHAudio开发音频录制功能(C/C++)](using-ohaudio-for-recording.md) 33 - [音频录制流管理](audio-recording-stream-management.md) 41 - [使用OpenSL ES开发音频录制功能(C/C++)](using-opensl-es-for-recording.md)
|
/ohos5.0/docs/en/device-dev/subsystems/ |
H A D | subsys-multimedia-camera-record-guide.md | 23 2. Obtain the **FrameConfig** instance for video recording. 36 3. Start and stop video recording. 39 stateCallback->camera_->TriggerLoopingCapture(*fc); // Start recording. 40 stateCallback->camera_->StopLoopingCapture(); // Stop recording.
|
/ohos5.0/docs/en/device-dev/guide/ |
H A D | device-camera-control-demo-videoguide.md | 18 2. Obtain the **FrameConfig** instance for audio recording. 31 3. Start and stop video recording. 34 stateCallback->camera_->TriggerLoopingCapture(*fc); // Start recording. 35 stateCallback->camera_->StopLoopingCapture(); // Stop recording.
|
/ohos5.0/drivers/interface/input/v1_0/ |
H A D | InputTypes.idl | 97 unsigned long[] eventType; /**< Bitmap for recording the supported event types */ 98 unsigned long[] absCode; /**< Bitmap for recording the supported absolute coordinates */ 99 unsigned long[] relCode; /**< Bitmap for recording the supported relative coordinates */ 100 unsigned long[] keyCode; /**< Bitmap for recording the supported keycodes */ 101 unsigned long[] ledCode; /**< Bitmap for recording the supported indicators */ 102 unsigned long[] miscCode; /**< Bitmap for recording other supported functions */ 103 unsigned long[] soundCode; /**< Bitmap for recording supported sounds or alerts */ 104 unsigned long[] forceCode; /**< Bitmap for recording the supported force functions */ 105 unsigned long[] switchCode; /**< Bitmap for recording the supported switch functions */
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/input_v1_0/foo/input/v1_0/ |
H A D | InputTypes.idl | 97 unsigned long[] eventType; /**< Bitmap for recording the supported event types */ 98 unsigned long[] absCode; /**< Bitmap for recording the supported absolute coordinates */ 99 unsigned long[] relCode; /**< Bitmap for recording the supported relative coordinates */ 100 unsigned long[] keyCode; /**< Bitmap for recording the supported keycodes */ 101 unsigned long[] ledCode; /**< Bitmap for recording the supported indicators */ 102 unsigned long[] miscCode; /**< Bitmap for recording other supported functions */ 103 unsigned long[] soundCode; /**< Bitmap for recording supported sounds or alerts */ 104 unsigned long[] forceCode; /**< Bitmap for recording the supported force functions */ 105 unsigned long[] switchCode; /**< Bitmap for recording the supported switch functions */
|
/ohos5.0/docs/en/application-dev/reference/apis-audio-kit/ |
H A D | _o_h___audio_capturer___callbacks___struct.md | 8 …details, see [Using OHAudio for Audio Recording](../../media/audio/using-ohaudio-for-recording.md). 25 …fines a function pointer to the callback function used to process audio recording stream events. | 26 …fines a function pointer to the callback function used to process audio recording interruption eve… 27 …r) | Defines a function pointer to the callback function used to process audio recording errors. | 45 Defines a function pointer to the callback function used to process audio recording errors. 52 | error | Audio recording error result defined by [OH_AudioStream_Result](_o_h_audio.md#oh_audiostr… 63 Defines a function pointer to the callback function used to process audio recording interruption ev… 105 Defines a function pointer to the callback function used to process audio recording stream events.
|
/ohos5.0/docs/zh-cn/application-dev/media/media/ |
H A D | Readme-CN.md | 13 - 录制<!--media-recording-arkts--> 14 - [使用AVRecorder录制音频(ArkTS)](using-avrecorder-for-recording.md) 15 - [使用AVRecorder录制视频(ArkTS)](video-recording.md) 26 - 录屏<!--media-recording-c-->
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/ |
H A D | cmd_list_helper.h | 76 auto recording = static_cast<const RecordingType&>(recorded); in AddRecordedToCmdList() local 77 if (recording.GetCmdList() == nullptr) { in AddRecordedToCmdList() 81 return AddChildToCmdList(cmdList, recording.GetCmdList()); in AddRecordedToCmdList() 94 auto recording = std::static_pointer_cast<RecordingType>(recorded); in AddRecordedToCmdList() local 95 if (recording->GetCmdList() == nullptr) { in AddRecordedToCmdList() 99 return AddChildToCmdList(cmdList, recording->GetCmdList()); in AddRecordedToCmdList() 112 auto recording = static_cast<const RecordingType*>(recorded); in AddRecordedToCmdList() local 113 if (recording->GetCmdList() == nullptr) { in AddRecordedToCmdList() 117 return AddChildToCmdList(cmdList, recording->GetCmdList()); in AddRecordedToCmdList()
|