Abstract:
Embodiments of this application disclose an encoding and decoding method including: Each of multiple viewpoint bitstreams includes a first type bitstream and a second type bitstream; when a first image frame in a first type bitstream of a first viewpoint bitstream is played, receiving a switching request that indicates to play a second viewpoint bitstream; determining a first random access frame that is in a first type bitstream and/or a second type bitstream of the second viewpoint bitstream and whose play moment is after and closest to the first image frame; decoding to obtain the first random access frame based on encoded data of the first random access frame in the second viewpoint bitstream, and decoding to obtain and play an image frame that is in the first type bitstream of the second viewpoint bitstream by using the first random access frame as a reference frame.
Abstract:
A switch-mode power supply includes a first switch circuit, at least one second switch circuit, a switch control circuit, a first inductor switching circuit, a coupled inductor, a voltage input end, and a voltage output end. The coupled inductor in the switch-mode power supply may be connected to the first switch circuit, to implement signal transmission between the coupled inductor and the first switch circuit. Signal transmission between the coupled inductor and the second switch circuit may be implemented under control of the first inductor switching circuit. Alternatively, the signal transmission between the coupled inductor and the second switch circuit may be disconnected under the control of the first inductor switching circuit.
Abstract:
Embodiments of the present invention provide a method for synchronous playback by multiple smart devices, and an apparatus. A first device acquires frame synchronization information at intervals of a preset time, and sends the frame synchronization information to one or more second devices, where the frame synchronization information is frame information of a frame to be played by the first device or frame information of a frame that the first device starts to play currently; and after learning the frame synchronization information sent by the first device, the second device adjusts frame resources played by itself. Because the multiple smart devices that perform synchronous playback are generally in one local area network, a transmission delay of frame information from the first device to the second device can be ignored, thereby improving a synchronization effect among the multiple smart devices.
Abstract:
This application discloses a wireless signal propagation prediction method, and the method includes: obtaining S first sampling points in prediction space, and obtaining a first parameter of the prediction space through calculation based on location information of the S first sampling points and corresponding wireless signal received strength; obtaining a target algorithm based on the first parameter, and generating a wireless signal propagation model of the prediction space based on the target algorithm, the location information of the S first sampling points, and the corresponding wireless signal received strength; and obtaining wireless signal received strength of a terminal at any location in the prediction space based on the wireless signal propagation model of the prediction space. This application further discloses a wireless signal propagation prediction apparatus.
Abstract:
A bandwidth measurement method includes sending a first test packet on a test path that includes a to-be-measured link, sending a second test packet on the test path, setting at least one of a quantity of label layers in a first segment routing (SR) label or a quantity of label layers in a second SR label as a reference quantity of label layers for bandwidth measurement, and determining an available bandwidth on the to-be-measured link based on the reference quantity of label layers in response to the to-be-measured link failing to be congested with first test packets and being congested with second test packets. The first test packet includes the first SR label that indicates a forwarding relationship of the first test packet on the to-be-measured link. The second test packet includes a second SR label that indicates a forwarding relationship of the second test packet on the to-be-measured link.
Abstract:
Embodiments can provide a service orchestration method and apparatus, and a server. In the service orchestration method, a service flowchart can be obtained. The service flowchart may include a plurality of operation model identifiers and a logical connection relationship among the plurality of operation model identifiers. The logical connection relationship may be an execution sequence in the service flowchart. In this method, a scheduling parameter corresponding to each operation model identifier can be obtained. When the scheduling parameter indicates a live network resource for executing the service flowchart, a live network status can be obtained by using a control plane. Based on the obtained live network status, whether the live network resource can be obtained can be verified. When the verification succeeds, based on the logical connection relationship and the scheduling parameter that corresponds to each operation model identifier, executable code for executing the service flowchart can be generated.
Abstract:
This application provides an imaging method and an optical imaging system. One example method includes: obtaining a first modulation parameter, wherein the first modulation parameter is determined based on a first distorted image and a first target image, the first distorted image is an image presented after imaging processing is performed on a training image by using the optical imaging system and a screen, the first target image is an image of the training image, and distortion of the first target image falls within a preset range; and controlling the spatial light modulator to modulate an electrical signal of a to-be-imaged first image based on the first modulation parameter, and to generate an imaging light beam that is incident to human eyes through the lens and the screen.
Abstract:
The technology of this application relates to an encoding method, an encapsulation method, a display method, an apparatus, and an electronic device. The encoding method includes obtaining a to-be-encoded image, determining N encoding scales (N is an integer greater than 1) for the image, determining an encoding parameter corresponding to each of the N encoding scales, to obtain N groups of encoding parameters, and encoding the image N times by using a preset single-scale encoder based on the N groups of encoding parameters to obtain N groups of bitstream data. In this way, the image is encoded to obtain the bitstream data with a small data amount (namely, the bitstream data with a low encoding scale), so that when a network fluctuates, the bitstream data corresponding to the image can arrive at a decoder side with a higher probability, thereby ensuring smoothness of video playing.