Image coding method and device, computer equipment and storage medium
An image coding and coding technology, applied in the field of data processing, can solve the problems that the system cannot provide coding services, and the multi-platform coding scheme only considers hardware coding, etc., and achieves the effect of improving coding accuracy, improving usability, and improving compatibility.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] figure 1 It is a flow chart of an image encoding method in Embodiment 1 of the present invention. This embodiment is applicable to the situation where an encoder supported by the current device is selected to encode image data. The method can be encoded by the image encoding method provided by the embodiment of the present invention. device, which can be implemented in the form of software and / or hardware, and generally can be integrated into computer equipment. Such as figure 1 As shown, the method of this embodiment specifically includes:
[0026] S110. From at least one standard encoder type, detect a supported encoder type of the current device, where the supported encoder type includes at least a standard software encoder type.
[0027] Standard encoder types are pre-packaged encoder types. Packaged encoders can be edited, for example, to add new encoders, to modify already packaged encoders, or to delete already packaged encoders. The standard encoder type is ...
Embodiment 2
[0038] Figure 2a It is a flow chart of an image encoding method in Embodiment 2 of the present invention, and this embodiment is embodied on the basis of the foregoing embodiments. In at least one standard encoder type, detect the supported encoder type of the current device, which is embodied as: establishing a test sub-process; running at least one encoder of the hardware encoder type through the test sub-process, and testing the image data Perform encoding processing, the standard encoder type includes at least one hardware encoder type and the standard software encoder type; detect the encoding results of the encoders of each of the hardware encoder types, and the encoding results include encoding success results and Encoding failure result: determine the hardware encoder type associated with the encoding success result and the standard software encoder type as the supported encoder type of the current device.
[0039] The method of this embodiment specifically includes:...
Embodiment 3
[0104] image 3 It is a flowchart of an image coding method in Embodiment 3 of the present invention, and this embodiment is a specific application scenario. The method of this embodiment specifically includes:
[0105] S301, the child process detects a list of standard encoder types.
[0106] The list of standard encoder types includes at least one hardware encoder type and standard software encoder types.
[0107] S302, judging whether the detection is successful; if yes, execute S303; otherwise, execute S304.
[0108] Determine whether the detection of any hardware encoder type of the child process is successful. If neither is successful, select an encoder of the standard software encoder type for encoding processing. If at least one hardware encoder type is successfully detected, one of the hardware encoder type encoders is selected for encoding processing.
[0109] In addition, the encoding data format supported by the current device can also be detected at the same ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


