diff --git a/en/device-dev/subsystems/figures/en-us_image_0000001054101094.png b/en/device-dev/subsystems/figures/en-us_image_0000001200114819.png similarity index 100% rename from en/device-dev/subsystems/figures/en-us_image_0000001054101094.png rename to en/device-dev/subsystems/figures/en-us_image_0000001200114819.png diff --git a/en/device-dev/subsystems/figures/en-us_image_0000001054421113.png b/en/device-dev/subsystems/figures/en-us_image_0000001200115193.png similarity index 100% rename from en/device-dev/subsystems/figures/en-us_image_0000001054421113.png rename to en/device-dev/subsystems/figures/en-us_image_0000001200115193.png diff --git a/en/device-dev/subsystems/subsys-multimedia-camera-overview.md b/en/device-dev/subsystems/subsys-multimedia-camera-overview.md index 34f8ddb97762ff4c28bc609d9505af457b329018..6e3cdaf627fc8fe294b5ccde5f1b2dccada1d47a 100644 --- a/en/device-dev/subsystems/subsys-multimedia-camera-overview.md +++ b/en/device-dev/subsystems/subsys-multimedia-camera-overview.md @@ -1,112 +1,75 @@ -# Camera Overview +# Camera Overview -## Basic Concepts + +## Basic Concepts Camera is one of the services provided by the OpenHarmony multimedia subsystem. The camera module provides recording, preview, and photographing features and supports concurrent stream reading by multiple users. It is considered good practice that you understand the following concepts before starting development: -- Video frame - - A video frame is formed by the stream data of a video image. Video data streams are formed by a series of image data arranged at a fixed time interval. - -- Frame per second \(FPS\) - - FPS is used to represent the frame rate at which images are refreshed during video playback, or the number of frames per second during video playback. A higher frame rate means smoother video playback. - -- Resolution - - Information about each image frame consists of pixels. The number of pixels in an image is presented by the resolution. For example, 1080p \(1920 x 1080\) indicates that the image width is 1920 pixels and the image height is 1080 pixels. - - -## Working Principles - -- Multimedia services - - Multimedia services are started by the **Init** process upon system startup, and media hardware resources \(such as memory, display hardware, image sensors, and codecs\) are initialized and allocated. During the initialization, the configuration file is parsed, which determines the upper limit of capabilities and resources of each service. Generally, the upper limit is configured by original equipment manufacturers \(OEMs\) in the configuration file. The following configuration items are available for the camera service during multimedia service initialization: - - - Memory pool: Memory blocks in the memory pool are accessed and released continuously by all multimedia services. - - Image sensor: sensor type, resolution, ISP, and more - - Image processor: resolution, bit rate, image inversion, and more - - Image encoder: encoding format, bit rate, resolution, and more - - -- Major classes +- Video frame - You can use the **Camera** class and its asynchronous callback classes to configure and access the camera functionalities. The three callback classes correspond to different asynchronous processing scenarios, as described in [Table 1](#table486418149411). + A video frame is formed by the stream data of a video image. Video data streams are formed by a series of image data arranged at a fixed time interval. - **Table 1** Class description +- Frames per second (FPS) - -
| - | -- | -- | -
|---|---|---|
| - | -Configures the static camera capability through the configuration class to use basic camera functionalities. - |
- - | -
| - | -- | -- | -
| - | -- | -- | -
| - | -- | -- | -