# US 2024/0223911 A1 · Video processing method and apparatus

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0223911 A1
- Document ID: US20240223911A1
- Status: Published application
- Kind: A1
- Application number: 18/558,829
- Filed: 2023-01-10
- Published: 2024-07-04
- Earliest claimed: 2022-02-28
- Assignees: Honor Device Co., Ltd.
- Applicants: Honor Device Co., Ltd.
- Inventors: Hantao CUI; Dong ZHANG; Pengpeng ZHANG; Yan MO; Chenqing WANG
- Web page: https://patentgrep.com/patent/US20240223911A1

## CPC

- H04N 23/631: {Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters}
- H04N 23/741: by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors
- G06T 5/50: using two or more images, e.g. averaging or subtraction
- G06T 5/90: Dynamic range modification of images or parts thereof
- H04N 5/2621: {Cameras specially adapted for the electronic generation of special effects during image pickup, e.g. digital cameras, camcorders, video cameras having integrated special effects capability}
- H04N 23/632: {for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters}
- H04N 23/633: {for displaying additional information relating to control or operation of the camera}
- H04N 23/661: Transmitting camera control signals through networks, e.g. control via the Internet
- H04N 23/667: Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
- H04N 23/71: Circuitry for evaluating the brightness variation
- H04N 23/76: by influencing the image signals
- H04N 23/80: Camera processing pipelines; Components thereof
- H04N 23/82: for controlling camera response irrespective of the scene brightness, e.g. gamma correction
- G06T 2207/10016: Video; Image sequence
- G06T 2207/20208: High dynamic range [HDR] image processing
- G06T 2207/20221: Image fusion; Image merging
- H04N 23/841: {to modify gamut}
- H04N 25/46: by combining or binning pixels
- H04N 25/59: by controlling the amount of charge storable in the pixel, e.g. modification of the charge conversion ratio of the floating node capacitance
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Embodiments of this application provide a video processing method and apparatus. The method includes: receiving, by a first device, an operation of enabling photographing in a movie mode, where obtaining, by the first device, a first image sequence based on a camera in response to the operation of enabling photographing; performing, by the first device, encoding based on the first image sequence and first dynamic metadata corresponding to the first brightness scene, to obtain a first HDR video; obtaining, by a second device, the first HDR video from the first device; adjusting, by the second device, a brightness of the first HDR video based on a preset brightness, to obtain a second HDR video; and playing, by the second device, the second HDR video.

## Claims

### Claim 1

A video processing method, applicable to a video processing system, wherein the video processing system comprises a first device and a second device, and the method comprises:
receiving, by the first device, an operation of enabling photographing in a movie mode, wherein the movie mode is a mode for recording a high dynamic range HDR video;
obtaining, by the first device, a first image sequence based on a camera in response to the operation of enabling photographing, wherein the first image sequence corresponds to a first brightness scene;
performing, by the first device, encoding based on the first image sequence and first dynamic metadata corresponding to the first brightness scene, to obtain a first HDR video, wherein the first dynamic metadata comprises a preset brightness;
obtaining, by the second device, the first HDR video from the first device;
adjusting, by the second device, a brightness of the first HDR video based on the preset brightness, to obtain a second HDR video;
playing, by the second device, the second HDR video; and
obtaining, by the first device, a second image sequence based on the camera, wherein the second image sequence corresponds to a second brightness scene, and the first brightness scene is different from the second brightness scene,
wherein the performing, by the first device, encoding based on the first image sequence and first dynamic metadata corresponding to the first brightness scene, to obtain a first HDR video comprises:
performing, by the first device, encoding based on the first image sequence, the second image sequence, the first dynamic metadata corresponding to the first brightness scene, and second dynamic metadata corresponding to the second brightness scene, to obtain the first HDR video.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the adjusting, by the second device, a brightness of the first HDR video based on the preset brightness, to obtain a second HDR video comprises:
determining, by the second device, a brightness ratio, wherein the brightness ratio is a ratio between a peak brightness of the second device and the preset brightness; and
adjusting, by the second device, the brightness of the first HDR video based on the brightness ratio, to obtain the second HDR video.

### Claim 3

(canceled)

### Claim 4 (depends on 1)

The method according to claim 1, wherein before the performing, by the first device, encoding based on the first image sequence and first dynamic metadata corresponding to the first brightness scene, to obtain a first HDR video, the method further comprises:
performing, by the first device, image preprocessing on the first image sequence, to obtain a first image sequence after the image preprocessing;
performing, by the first device, gamma correction processing on the first image sequence after the image preprocessing, to obtain a first image sequence after the gamma correction processing;
performing, by the first device, 3D lookup table processing on the first image sequence after the gamma correction processing, to obtain a first image sequence after the 3D lookup table processing, wherein the first image sequence after the 3D lookup table processing comprises first static metadata corresponding to the first image sequence; and
the performing, by the first device, encoding based on the first image sequence and first dynamic metadata corresponding to the first brightness scene, to obtain a first HDR video comprises: performing, by the first device, encoding based on the first image sequence after the 3D lookup table processing and the first dynamic metadata corresponding to the first brightness scene, to obtain the first HDR video.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the first HDR video comprises the first static metadata and the first dynamic metadata.

### Claim 6 (depends on 5)

The method according to claim 5, further comprising:
decoding, by the second device, the second HDR video into the first image sequence and the first static metadata when it is determined that the second device supports processing of the first static metadata; and
performing, by the second device, encoding based on the first image sequence and the first static metadata, to obtain a third HDR video, wherein the second HDR video is different from the third HDR video.

### Claim 7 (depends on 6)

The method according to claim 6, wherein a type of the first HDR video is an HDR10+ video, a type of the second HDR video is the HDR10+ video, and a type of the third HDR video is an HDR10 video.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the receiving, by the first device, an operation of enabling photographing in a movie mode comprises:
receiving, by the first device, an operation of enabling the movie mode;
displaying, by the first device, a first interface in response to the operation of enabling the movie mode, wherein the first interface comprises a control for recording the HDR video and a control for enabling photographing;
receiving, by the first device, an operation of enabling the control for recording the HDR video when the control for recording the HDR video is in a disabled state;
displaying, by the first device, a second interface in response to the operation for the control for recording the HDR video, wherein the second interface comprises prompt information indicating that a 4K HDR10+ mode is enabled; and
receiving, by the first device, an operation for the control for enabling photographing when the control for recording the HDR video is in an enabled state.

### Claim 9 (depends on 8)

The method according to claim 8, further comprising:
receiving, by the first device, an operation of disabling the control for recording the HDR video when the control for recording the HDR video is in the enabled state; and
displaying, by the first device, a third interface in response to the operation for the control for recording the HDR video, wherein the third interface comprises prompt information indicating that the 4K HDR10+ mode is disabled.

### Claim 10 (depends on 8)

The method according to claim 8, further comprising:
receiving, by the first device, an operation of enabling the movie mode for a first time; and
displaying, by the first device, a fourth interface in response to the operation of enabling the movie mode for the first time, wherein the fourth interface comprises the control for recording the HDR video and prompt information indicating that a 4K HDR10+ video is recorded after the control for recording the HDR video is enabled.

### Claim 11 (depends on 8)

The method according to claim 8, wherein the receiving, by the first device, an operation of enabling photographing in a movie mode comprises:
receiving, by the first device, an operation of enabling the movie mode;
displaying, by the first device, a fifth interface in response to the operation of enabling the movie mode, wherein the fifth interface comprises a control for viewing settings corresponding to a first application and a control for enabling photographing;
receiving, by the first device, an operation for the control for viewing settings corresponding to the first application;
displaying, by the first device, a sixth interface in response to the operation for the control for viewing the settings corresponding to the first application, wherein the sixth interface comprises a first control for recording a video with a 10-bit HDR in the movie mode and switching the video to 4K; and
receiving, by the first device, the operation for the control for enabling photographing when the first control is in an enabled state.

### Claim 12 (depends on 8)

The method according to claim 8, further comprising:
receiving, by the first device, an operation for a control for viewing function details in the first application; and
displaying, by the first device, a seventh interface in response to the operation for the control for viewing the function details in the first application, wherein the seventh interface comprises function details corresponding to the movie mode, and the function details corresponding to the movie mode indicate that a 4K HDR10+ video is allowed to be recorded in the movie mode.

### Claim 13 (depends on 8)

The method according to claim 8, further comprising:
receiving, by the first device, an operation of enabling a second application;
displaying, by the first device, an eighth interface in response to the operation of enabling the second application, wherein the eighth interface comprises the first HDR video and an identifier corresponding to the first HDR video, and the identifier indicates a type of the first HDR video;
receiving, by the first device, an operation for the first HDR video; and
displaying, by the first device, a ninth interface in response to the operation for the first HDR video, wherein the ninth interface comprises the identifier.

### Claim 14 (depends on 1)

The method according to claim 1, wherein after the obtaining, by the second device, the first HDR video from the first device, the method further comprises:
displaying, by the second device, a tenth interface, wherein the tenth interface comprises prompt information indicating that the first HDR video is an HDR10+ video comprising dynamic metadata, a control for allowing receiving of the first HDR video, and a control for rejecting receiving of the first HDR video;
receiving, by the second device, an operation for the control for allowing receiving of the first HDR video; and
displaying, by the second device, an eleventh interface in response to the operation for the control for allowing receiving of the first HDR video, wherein the eleventh interface comprises prompt information indicating to display the first HDR video based on the dynamic metadata.

### Claim 15

A video processing method, applicable to a first device, the method comprising:
receiving, by the first device, an operation of enabling photographing in a movie mode, wherein the movie mode is a mode for recording a high dynamic range HDR video;
obtaining, by the first device, a first image sequence based on a camera in response to the operation of enabling photographing, wherein the first image sequence corresponds to a first brightness scene;
performing, by the first device, encoding based on the first image sequence and first dynamic metadata corresponding to the first brightness scene, to obtain a first HDR video, wherein the first dynamic metadata comprises a preset brightness;
sending, by the first device, the first HDR video to a second device, and
obtaining, by the first device, a second image sequence based on the camera, wherein the second image sequence corresponds to a second brightness scene, and the first brightness scene is different from the second brightness scene,
wherein the performing, by the first device, encoding based on the first image sequence and first dynamic metadata corresponding to the first brightness scene, to obtain a first HDR video comprises:
performing, by the first device, encoding based on the first image sequence, the second image sequence, the first dynamic metadata corresponding to the first brightness scene, and second dynamic metadata corresponding to the second brightness scene, to obtain the first HDR video.

### Claim 16

(canceled)

### Claim 17 (depends on 15)

The method according to claim 15, wherein before the performing, by the first device, encoding based on the first image sequence and first dynamic metadata corresponding to the first brightness scene, to obtain a first HDR video, the method further comprises:
performing, by the first device, image preprocessing on the first image sequence, to obtain a first image sequence after the image preprocessing;
performing, by the first device, gamma correction processing on the first image sequence after the image preprocessing, to obtain a first image sequence after the gamma correction processing; and
performing, by the first device, 3D lookup table processing on the first image sequence after the gamma correction processing, to obtain a first image sequence after the 3D lookup table processing, wherein the first image sequence after the 3D lookup table processing comprises first static metadata corresponding to the first image sequence,
wherein the performing, by the first device, encoding based on the first image sequence and first dynamic metadata corresponding to the first brightness scene, to obtain a first HDR video comprises: performing, by the first device, encoding based on the first image sequence after the 3D lookup table processing and the first dynamic metadata corresponding to the first brightness scene, to obtain the first HDR video.

### Claim 18 (depends on 17)

The method according to claim 17, wherein the first HDR video comprises the first static metadata and the first dynamic metadata.

### Claim at position 19

19-23. (canceled)

### Claim 24

A terminal device, comprising a memory, a processor, and a computer program stored in the memory, wherein the processor, when executing the computer program, causes the terminal device to perform a method, the method comprising:
receiving an operation of enabling photographing in a movie mode, wherein the movie mode is a mode for recording a high dynamic range HDR video;
obtaining a first image sequence based on a camera in response to the operation of enabling photographing, wherein the first image sequence corresponds to a first brightness scene;
performing encoding based on the first image sequence and first dynamic metadata corresponding to the first brightness scene, to obtain a first HDR video, wherein the first dynamic metadata comprises a preset brightness;
sending the first HDR video to a second device; and
obtaining a second image sequence based on the camera, wherein the second image sequence corresponds to a second brightness scene, and the first brightness scene is different from the second brightness scene,
wherein the performing encoding based on the first image sequence and first dynamic metadata corresponding to the first brightness scene, to obtain a first HDR video comprises:
performing encoding based on the first image sequence, the second image sequence, the first dynamic metadata corresponding to the first brightness scene, and second dynamic metadata corresponding to the second brightness scene, to obtain the first HDR video.

### Claim at position 21

25-26. (canceled)

### Claim 27 (depends on 24)

The terminal device according to claim 24, wherein before performing encoding based on the first image sequence and first dynamic metadata corresponding to the first brightness scene, the method further comprises:
performing image preprocessing on the first image sequence, to obtain a first image sequence after the image preprocessing;
performing gamma correction processing on the first image sequence after the image preprocessing, to obtain a first image sequence after the gamma correction processing; and
performing 3D lookup table processing on the first image sequence after the gamma correction processing, to obtain a first image sequence after the 3D lookup table processing, wherein the first image sequence after the 3D lookup table processing comprises first static metadata corresponding to the first image sequence,
wherein the performing, by the first device, encoding based on the first image sequence and first dynamic metadata corresponding to the first brightness scene, to obtain a first HDR video comprises: performing, by the first device, encoding based on the first image sequence after the 3D lookup table processing and the first dynamic metadata corresponding to the first brightness scene, to obtain the first HDR video.

### Claim 28 (depends on 24)

The terminal device according to claim 24, wherein the first HDR video comprises the first static metadata and the first dynamic metadata.
