Abstract:
A method and device for acquiring a media file. The method includes receiving an acquiring instruction, where the acquiring instruction instructs to acquire a media file, and multiple cue points are preset in the media file; acquiring, according to the acquiring instruction, one or more cue points from the multiple cue points preset in the media file; determining cue point data, corresponding to the one or more cue points, in the media file; and downloading the cue point data, where the cue point data is used to present a segment of content of the media file, so that a user determines whether to acquire all or a part of data of the media file.
Abstract:
A motor vehicle self-driving method comprises obtaining a first positioning mode and a first driving route; obtaining second vehicle information of a second motor vehicle, where the second vehicle information includes a second positioning mode and a second driving route; determining whether the first driving route overlaps with the second driving route; when the first driving route overlaps with the second driving route, comparing positioning precision of the first positioning mode with positioning precision of the second positioning mode; determining a positioning mode with higher positioning precision in the first positioning mode and the second positioning mode as a target positioning mode; determining a target driving parameter based on the target positioning mode; and controlling the first motor vehicle and the second motor vehicle to drive based on the target driving parameter.
Abstract:
An image processing method and apparatus. The image processing method includes: obtaining encoded data of a first region and a neighboring region neighboring to the first region in a two-dimensional planar image, where the two-dimensional planar image is an image obtained by mapping a spherical panorama image, and the first region and the neighboring region have an overlapping region; determining a pixel value of a pixel in an image of the first region; determining a pixel value of a pixel in an image of the neighboring region; and determining a target pixel value of a pixel in the overlapping region based on the pixel value of the pixel of the first region in the overlapping region and the pixel value of the pixel of the neighboring region in the overlapping region.
Abstract:
A wearable electronic device includes a sensor module, a processor, a display controller, and a display, where the sensor is configured to: collect data, generate a sensor signal that represents a feature of data of currently collected data, and send the sensor signal to the processor, the processor is configured to: determine, according to the received sensor signal, a manner to display that is corresponding to the feature of data represented by the sensor signal and is of the display, generate a display control signal, and send the display control signal to the display controller, and the display controller is configured to control, according to the display control signal, the display to display.
Abstract:
A video coding mechanism is disclosed. The mechanism includes obtaining a coding tree unit including luma samples and chroma samples. The mechanism partitions the luma samples and the chroma samples according to a common coding tree when a size of a first coding tree node exceeds a threshold. The mechanism also partitions the luma samples with a luma coding sub-tree when a size of a second coding tree node is equal to or less than the threshold. The mechanism also chroma samples with a chroma coding sub-tree when a size of a third coding tree node is equal to or less than the threshold. The luma coding sub-tree contains a different set of split modes than the chroma coding sub-tree.
Abstract:
Embodiments of the present invention disclose a method and an apparatus for acquiring a video bitstream, and relate to the field of information technologies, which can improve network bandwidth utilization. The method includes: firstly, acquiring, by a terminal, a minimum bit rate corresponding to a parameter of the terminal; then, sending, by the terminal, a video bitstream acquiring request to a server, and when receiving the video bitstream acquiring request sent by the terminal, sending, by the server, an MPD to the terminal; and finally, receiving, by the terminal, the MPD sent by the server, and acquiring a video bitstream according to the MPD and the minimum bit rate. The embodiments of the present invention are applicable to a case in which a user downloads video data by using a terminal.
Abstract:
The present invention provides a data sharing method and apparatus, and a terminal. The method includes: acquiring shared data, where the shared data is data used to be shared with another person; determining a privacy degree of the shared data; determining a sharing group of the shared data according to the privacy degree, where the sharing group is a group that receives the shared data and includes a terminal allowed to obtain the shared data; and sending the shared data to the sharing group. In this way, in a case in which privacy degrees are different, that is, shared data is different, the shared data is sent to different sharing groups.
Abstract:
A user permission allocation method includes acquiring currently collected facial feature information of a user; determining a difference degree of the current facial feature information of the user according to the acquired facial feature information of the user and facial feature information included in stored standard sample information; and allocating a user permission to the user according to the determined difference degree. Compared with a manner of using a fixed face threshold, a difference degree of current facial feature information of the user is determined, and when a user permission is allocated to the user, an external factor that affects the collected facial feature information is used as a reference factor, which means that a higher difference degree of the collected facial feature information indicates a lower user permission allocated to the user, so that the user permission of the user is dynamically allocated.
Abstract:
Embodiments of the present invention provide multi-view video coding and coding methods and corresponding apparatuses. The multi-view video coding method includes: minimizing an error between a currently coded view image and a warped view image of a front view image to obtain an optimal warping offset; calculating disparity information between the front view image and the currently coded view image by using the optimal warping offset, a camera parameter of a view, and depth image information of the front view image; and calculating the warped view image of the front view image by using the disparity information and the front view image, and predicting a current view image by using the warped view image as a prediction signal.
Abstract:
A method and an apparatus for binarizing an intra prediction mode are provided. The method includes: acquiring an intra prediction mode of a luma component; if the intra prediction mode of the luma component is one kind of prediction mode in M, modifying a value of a serial number of a prediction mode Luma Angle of a chroma component to I; sequencing all prediction modes of the chroma component according to a preset rule; and performing binarization on the modified Luma Angle, and sending the binarized Luma Angle to a decoding end. A method for coding an intra prediction mode and a method and an apparatus for decoding an intra prediction mode are further provided. According to the present invention, coding efficiency is improved.