Video decoding method, computer system, electronic device and storage medium
By using the index signal to notify the increment angle of the chroma component in AV1 video encoding and decoding, the high computational complexity problem caused by direct notification is solved, and more efficient encoding and decoding is achieved.
Patent Information
- Application Number
- CN202180041155.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-08-27
- Filing Date
- 2021-05-19
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2041-05-19
AI Technical Summary
The prior art directly signals the increment angle of the chroma component in AV1 video encoding and decoding, resulting in high computational complexity and difficulty in optimizing computational efficiency.
By signaling the incremental angle of the chrominance component using an index instead of signaling directly, encoding and decoding based on the incremental angle of the luminance component is performed using a predefined mapping table and context cumulative density function.
The computational complexity is reduced, the efficiency of encoding and decoding is improved, and the utilization of computing resources is optimized.
Smart Images

Figure CN115699739B_ABST
Abstract
Description
[0001] Priority information
[0002] This application claims the benefit of priority to U.S. application No. 17 / 004,176, filed on August 27, 2020, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present disclosure generally relates to the field of data processing, and more particularly to a video decoding method, a computer system, an electronic device, and a storage medium. Background Art
[0004] AOMedia Video 1 (AV1) is an open video codec designed for video transmission over the internet. It was developed by the Alliance for Open Media (AOMedia), a consortium founded in 2015 that includes semiconductor companies, video-on-demand providers, video content creators, software developers, and web browser vendors, as a successor to VP9. AV1 specifies 56 angles, eight of which are nominal angles, with the remaining angles specified as increments from the nominal angles. Summary of the Invention
[0005] Embodiments relate to a method, system, and computer-readable medium for encoding and / or decoding video data. According to one aspect, a method for encoding and / or decoding video data is provided. The method may include receiving video data comprising (1) a chroma component having a first nominal angle and a first incremental angle, and (2) a luma component having a second nominal angle and a second incremental angle. An index associated with the first incremental angle may be parsed. The video data may be encoded and / or decoded using intra-frame prediction based on the parsed index.
[0006] According to another aspect, a computer system for encoding and / or decoding video data is provided. The computer system may include one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage devices, and program instructions stored on at least one of the one or more storage devices, the program instructions being for execution by at least one of the one or more processors via at least one of the one or more memories, whereby the computer system is capable of performing a method. The method may include receiving video data comprising (1) a chroma component having a first nominal angle and a first incremental angle, and (2) a luma component having a second nominal angle and a second incremental angle. An index associated with the first incremental angle may be parsed. The video data may be encoded and / or decoded using intra-frame prediction based on the parsed index.
[0007] According to another aspect, a computer-readable medium for encoding and / or decoding video data is provided. The computer-readable medium may include one or more computer-readable storage devices and program instructions stored on at least one of the one or more tangible storage devices, the program instructions being executable by a processor. The program instructions are executable by the processor to perform a method, which may accordingly include receiving video data comprising (1) a chroma component having a first nominal angle and a first incremental angle, and (2) a luma component having a second nominal angle and a second incremental angle. An index associated with the first incremental angle may be parsed. The video data may be encoded and / or decoded using intra-frame prediction based on the parsed index. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] These and other objects, features, and advantages will become apparent from the following detailed description of illustrative embodiments when read in conjunction with the accompanying drawings. Since the illustrations are intended to facilitate a clear understanding by those skilled in the art in conjunction with the detailed description, the various features of the drawings are not drawn to scale. In the drawings:
[0009] Figure 1 illustrates a networked computer environment according to at least one embodiment;
[0010] Figure 2 is a diagram of nominal angles for AV1 according to at least one embodiment;
[0011] Figure 3A and Figure 3B is an exemplary predefined mapping table according to at least one embodiment;
[0012] Figure 4 is an operational flow diagram illustrating steps performed by a program for encoding and decoding video data according to at least one embodiment;
[0013] Figure 5 According to at least one embodiment Figure 1 block diagrams of the internal and external components of computers and servers depicted in;
[0014] Figure 6 According to at least one embodiment, Figure 1 A block diagram of an illustrative cloud computing environment for a computer system depicted in;
[0015] Figure 7 According to at least one embodiment Figure 6 A block diagram of the functional layers of an illustrative cloud computing environment. DETAILED DESCRIPTION
[0016] Detailed embodiments of the claimed structures and methods are disclosed herein; however, it should be understood that the disclosed embodiments are merely illustrative of the claimed structures and methods that may be embodied in various forms. However, these structures and methods may be embodied in many different forms and should not be construed as limited to the exemplary embodiments set forth herein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete and fully convey the scope to those skilled in the art. In the description, details of well-known features and techniques may be omitted to avoid unnecessarily obscuring the presented embodiments.
[0017] Embodiments generally relate to the field of data processing, and more particularly to video encoding and decoding. The exemplary embodiments described below provide a system, method, and computer program for encoding and / or decoding video data using, among other things, delta angles for chroma components, signaled by indices corresponding to delta angles from luma components. Thus, some embodiments have the ability to improve computational capabilities by eliminating the need to signal each delta angle and allowing for real-time calculation of delta angle values.
[0018] As previously mentioned, AOMedia Video 1 (AV1) is an open video codec format designed for video transmission over the Internet. It was developed by the Alliance for Open Media (AOMedia), a consortium founded in 2015 that includes semiconductor companies, video-on-demand providers, video content producers, software development companies, and web browser manufacturers, as a successor to VP9. In AV1, there are a total of 56 directional angles, 8 of which are nominal angles, and the remaining angles are specified as deltas from the nominal angles. However, the delta angle of the directional mode is signaled directly for the chroma component, regardless of its co-located luma prediction mode. Therefore, it may be advantageous to signal the index of the delta angle of the chroma component, rather than directly signaling its delta angle.
[0019] Various aspects are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer-readable media according to various embodiments. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0020] Now refer to Figure 1 , a functional block diagram of a networked computer environment illustrates a video codec system 100 (hereinafter referred to as the "system") for encoding and / or decoding video data by using an index to signal the delta angle of a chroma component based on the delta angle of a luma component (rather than directly signaling the delta angle of the chroma component). It should be understood that Figure 1This is merely an illustration of one implementation and is not intended to imply any limitations on the environments in which different embodiments may be implemented. Many modifications to the depicted environments may be made based on design and implementation requirements.
[0021] System 100 may include a computer 102 and a server computer 114. Computer 102 may communicate with server computer 114 via a communication network 110 (hereinafter referred to as "network"). Computer 102 may include a processor 104 and a software program 108 stored on a data storage device 106, and may be capable of interfacing with a user and communicating with server computer 114. Figure 5 As discussed, computer 102 may include internal components 800A and external components 900A, respectively, and server computer 114 may include internal components 800B and external components 900B, respectively. Computer 102 may be, for example, a mobile device, a phone, a personal digital assistant, a netbook, a laptop, a tablet computer, a desktop computer, or any other type of computing device capable of running programs, accessing a network, and accessing a database.
[0022] The server computer 114 may also operate in a cloud computing service model, such as Software as a Service (SaaS), Platform as a Service (PaaS), or Infrastructure as a Service (IaaS), as described below in conjunction with Figure 6 and Figure 7 The server computer 114 may also be located in a cloud computing deployment model, such as a private cloud, a community cloud, a public cloud, or a hybrid cloud.
[0023] A server computer 114, which can be used to encode and / or decode video data, can run a video codec program 116 (hereinafter referred to as the "program") that can interact with the database 112. The video codec program method will be explained in more detail below in conjunction with Figure 3. In one embodiment, the computer 102 can operate as an input device including a user interface, and the program 116 can run primarily on the server computer 114. In an alternative embodiment, the program 116 can run primarily on one or more computers 102, and the server computer 114 can be used to process and store data used by the program 116. It should be noted that the program 116 can be a stand-alone program or can be integrated into a larger video codec program.
[0024] However, it should be noted that in some cases, processing for program 116 may be shared in any proportion between computer 102 and server computer 114. In another embodiment, program 116 may be executed on more than one computer, server computer, or some combination of computers and server computers (e.g., multiple computers 102 communicating with a single server computer 114 via network 110). For example, in another embodiment, program 116 may be executed on multiple server computers 114 communicating with multiple client computers via network 110. Alternatively, the program may be executed on a network server that communicates with the server and multiple client computers via the network.
[0025] The network 110 may include a wired connection, a wireless connection, a fiber optic connection, or some combination thereof. In general, the network 110 may be any combination of connections and protocols that support communication between the computer 102 and the server computer 114. The network 110 may include various types of networks, such as a local area network (LAN), a wide area network (WAN) (such as the Internet), a telecommunications network (such as a public switched telephone network (PSTN)), a wireless network, a public switched network, a satellite network, a cellular network (e.g., a fifth generation (5G) network, a long term evolution (LTE) network, a third generation (3G) network, a code division multiple access (CDMA) network, etc.), a public land mobile network (PLMN), a metropolitan area network (MAN), a private network, an ad hoc network, an intranet, a fiber-optic-based network, etc., and / or combinations of these or other types of networks.
[0026] Figure 1 The number and arrangement of devices and networks shown in the FIGURES are provided as examples. In practice, there may be Figure 1 Devices and / or networks in addition to, fewer than, different from, or arranged differently from the devices and / or networks shown in FIG. Figure 1 Two or more devices shown in FIG may be implemented in a single device, or Figure 1 The single device shown in FIG100 may be implemented as multiple distributed devices. Additionally or alternatively, one or more devices of system 100 may perform one or more functions described as being performed by another device of system 100.
[0027] Now refer to Figure 2, depicts a diagram 200 illustrating nominal angles for AV1. In AV1, there are eight nominal angles between 45 degrees and 207 degrees, which can include V_PRED, H_PRED, D45_PRED, D135_PRED, D113_PRED, D157_PRED, D203_PRED, and D67_PRED. For each nominal angle, there can be seven smaller angles, making a total of 56 directional angles for AV1. The predicted angle can be represented by the nominal intra-frame angle plus the angle increment.
[0028] According to one or more embodiments, rather than directly signaling the delta angle of the current chroma block, its delta angle may be mapped to an associated index that may be parsed and / or signaled. For example, the index may be mapped to the associated delta angle, and vice versa, according to a predefined mapping table. The mapping between the delta angle and the associated index may depend on the delta angle of the current chroma block and the corresponding (or co-located) luminance block. In one or more embodiments, the context (or cumulative density function) used to entropy encode and / or decode the associated index of the delta angle of the chroma block may depend on whether the nominal angle of the chroma block is equal to (or within a given threshold) the nominal angle of the corresponding luminance block. In one or more embodiments, if the delta angle of the chroma block can only be used when the nominal angle of the chroma block can be equal to (or within a given threshold) the nominal angle of the corresponding luminance block, then only one cumulative density function may be employed.
[0029] According to one or more embodiments, the context (or cumulative density function) used to resolve and / or signal the delta angle of a chroma component may depend on the nominal angle of the corresponding luma block. For example, the context (or cumulative density function) used to resolve and / or signal the delta angle of a chroma component may depend on both the nominal angle of the chroma block and the nominal angle of the corresponding (or co-located) luma block. In one or more embodiments, when the nominal angle of the chroma block and the nominal angle of the corresponding luma block are equal (or within a given threshold), one context (or cumulative density function) may be used to resolve and / or signal the delta angle of the chroma block. Otherwise, another context (or cumulative density function) may be used to resolve and / or signal the delta angle of the chroma block. In one or more embodiments, the context (or cumulative density function) used to resolve and / or signal the delta angle of a chroma component may depend on the delta angle of the corresponding luma block and / or whether the nominal angles of the chroma block and the corresponding luma block can be equal. If the nominal angles of the chroma blocks and the corresponding luma blocks can be equal, then one cumulative density function can be used, and the specific cumulative density function can depend on the delta angle of the corresponding luma block. Otherwise, if the nominal angles of the chroma blocks and the corresponding luma blocks are not equal, then another cumulative density function can be used.
[0030] refer to Figure 3A and Figure 3B , depicts exemplary predefined mapping tables 300A and 300B. The values in the first row may represent the associated index of the delta angle of the chroma block, and the values in the first column may represent the delta angle of the corresponding (or co-located) luma block. The remaining values may represent the delta angles of the chroma blocks. For example, in table 300A, when the delta angle of the luma block may be -9 and the chroma delta angle of the chroma block may be -9, the associated index may be 0. In table 300A, when the delta angle of the luma block may be -3 and the chroma delta angle of the chroma block may be -9, the associated index may be 3.
[0031] Now refer to Figure 4 , depicts an operational flow diagram illustrating the steps of a method 400 for encoding and / or decoding video data. In some embodiments, Figure 4 One or more process blocks of may be executed by computer 102 ( Figure 1 ) and server computer 114 ( Figure 1 ) to execute. In some embodiments, Figure 4 One or more of the process blocks of FIG. 1 may be performed by another device or group of devices separate from or including the computer 102 and the server computer 114 .
[0032] At 402 , method 400 includes receiving video data including (1) a chroma component having a first nominal angle and a first incremental angle, and (2) a luma component having a second nominal angle and a second incremental angle.
[0033] At 404 , method 400 includes resolving and / or signaling an index associated with the first incremental angle.
[0034] At 406 , method 400 includes encoding and / or decoding video data using intra prediction based on the parsed and / or signaled index.
[0035] It should be understood that Figure 4 This is merely an illustration of one implementation and is not meant to imply any limitations on how different embodiments may be implemented. Many modifications to the depicted environments may be made based on design and implementation requirements.
[0036] Figure 5 According to the illustrative embodiment Figure 1 FIG5 is a block diagram of the internal and external components of a computer depicted in FIG5. It should be understood that Figure 5 This is merely an illustration of one implementation and is not intended to imply any limitations on the environments in which different embodiments may be implemented. Many modifications to the depicted environments may be made based on design and implementation requirements.
[0037] Computer 102 ( Figure 1 ) and server computer 114 ( Figure 1 ) may include Figure 5 8. Each of the groups of internal components 800A, 800B and external components 900A, 900B is illustrated in FIG. Each of the groups of internal components 800 includes one or more processors 820 on one or more buses 826, one or more computer-readable RAMs 822 and one or more computer-readable ROMs 824, one or more operating systems 828, and one or more computer-readable tangible storage devices 830.
[0038] The processor 820 is implemented in hardware, firmware, or a combination of hardware and software. The processor 820 is a central processing unit (CPU), a graphics processing unit (GPU), an accelerated processing unit (APU), a microprocessor, a microcontroller, a digital signal processor (DSP), a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), or another type of processing component. In some embodiments, the processor 820 includes one or more processors that can be programmed to perform functions. The bus 826 includes components that allow communication between the internal components 800A and 800B.
[0039] Server computer 114 ( Figure 1 ) on one or more operating systems 828, software programs 108 ( Figure 1 ) and video codec program 116 ( Figure 1 ) are stored on one or more of the respective computer-readable tangible storage devices 830 for execution by one or more of the respective processors 820 via one or more of the respective RAMs 822 (which typically include cache memory). Figure 5 In the embodiment illustrated in , each of the computer-readable tangible storage devices 830 is a magnetic disk storage device of an internal hard drive. Alternatively, each of the computer-readable tangible storage devices 830 is a semiconductor memory device such as ROM 824, EPROM, flash memory, optical disk, magneto-optical disk, solid-state disk, compact disk (CD), digital versatile disk (DVD), floppy disk, disk cartridge, magnetic tape, and / or another type of non-volatile computer-readable tangible storage device that can store computer programs and digital information.
[0040] Each set of internal components 800A, 800B also includes a R / W (read / write) drive or interface 832 to read from or write to one or more portable computer readable tangible storage devices 936 (such as CD-ROMs, DVDs, memory sticks, tapes, magnetic disks, optical disks, or semiconductor storage devices). Software programs, such as software program 108 ( Figure 1) and video codec 116 ( Figure 1 ) can be stored on one or more of the corresponding portable computer-readable tangible storage devices 936, read via the corresponding R / W drive or interface 832 and loaded into the corresponding hard drive 830.
[0041] Each set of internal components 800A, 800B also includes a network adapter or interface 836 (such as a TCP / IP adapter card); a wireless Wi-Fi interface card; or a 3G, 4G, or 5G wireless interface card or other wired or wireless communication link. Server computer 114 ( Figure 1 ) on the software program 108 ( Figure 1 ) and video codec 116 ( Figure 1 ) can be downloaded from an external computer to the computer 102 via a network (eg, the Internet, a local area network, or other wide area network) and a corresponding network adapter or interface 836 ( Figure 1 ) and the server computer 114. The software program 108 and the video codec program 116 on the server computer 114 are loaded from the network adapter or interface 836 into the corresponding hard disk drive 830. The network may include copper wire, fiber optic, wireless transmission, routers, firewalls, switches, gateway computers and / or edge servers.
[0042] Each of the groups of external components 900A, 900B may include a computer display 920, a keyboard 930, and a computer mouse 934. External components 900A, 900B may also include a touch screen, a virtual keyboard, a touchpad, a pointing device, and other human-computer interface devices. Each of the groups of internal components 800A, 800B also includes a device driver 840 to interface with the computer display 920, the keyboard 930, and the computer mouse 934. The device driver 840, the R / W driver or interface 832, and the network adapter or interface 836 comprise hardware and software (stored in the storage device 830 and / or ROM 824).
[0043] It should be understood in advance that although the present disclosure includes a detailed description of cloud computing, the implementation of the teachings recited herein is not limited to a cloud computing environment. Rather, some embodiments can be implemented in conjunction with any other type of computing environment now known or later developed.
[0044] Cloud computing is a service delivery model for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be quickly provisioned and released with minimal management effort or interaction with the service provider. The cloud model can include at least five characteristics, at least three service models, and at least four deployment models.
[0045] Features are as follows:
[0046] On-demand self-service: Cloud consumers can unilaterally and automatically provision computing capacity, such as server time and network storage, as needed without manual interaction with the service provider.
[0047] Broad Network Access: Functionality is available over the network and accessed through standard mechanisms that facilitate use through diverse thin or thick client platforms (e.g., mobile phones, laptops, and PDAs).
[0048] Resource pooling: A provider's computing resources are grouped into resource pools to serve multiple consumers using a multi-tenant model, where different physical and virtual resources are dynamically allocated and reallocated as needed. Typically, consumers cannot control or know the exact location of the provided resources, but may be able to specify a location at a higher level of abstraction (e.g., country, state, or data center), thus providing location independence.
[0049] Rapid elasticity: Capacity can be quickly and elastically provisioned (in some cases automatically) to quickly scale out, and quickly released to quickly scale in. To the consumer, the capacity available for provisioning often appears unlimited, and any quantity can be purchased at any time.
[0050] Measured services: Cloud systems automatically control and optimize resource usage by leveraging metering capabilities at a level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported, providing transparency to both the provider and consumer of the utilized service.
[0051] The service model is as follows:
[0052] Software as a Service (SaaS): The ability provided to consumers is to use the provider's applications running on cloud infrastructure. Applications can be accessed from a variety of client devices through a thin client interface such as a web browser (e.g., web-based email). Aside from possible limited user-specific application configuration settings, the consumer does not manage or control the underlying cloud infrastructure, including networks, servers, operating systems, storage, or even individual application capabilities.
[0053] Platform as a Service (PaaS): The capability provided to consumers is to deploy applications they create or acquire onto cloud infrastructure. These applications are built using programming languages and tools supported by the provider. Consumers do not manage or control the underlying cloud infrastructure, including networks, servers, operating systems, or storage, but do have control over deployed applications and may also have control over the configuration of the application hosting environment.
[0054] Infrastructure as a Service (IaaS): The capabilities provided to consumers are the provision of processing, storage, networking, and other basic computing resources on which consumers can deploy and run arbitrary software, including operating systems and applications. Consumers do not manage or control the underlying cloud infrastructure, but do have control over the operating system, storage, deployed applications, and may have limited control over select networking components (e.g., host firewalls).
[0055] The deployment model is as follows:
[0056] Private cloud: Cloud infrastructure is operated solely by a single organization. It can be managed by that organization or a third party and can exist on-premises or off-premises.
[0057] Community cloud: Cloud infrastructure is shared by several organizations to support a specific community with common concerns (e.g., mission, security requirements, policies, and compliance considerations). It can be managed by the organization or a third party and can exist inside or outside the organization.
[0058] Public cloud: Cloud infrastructure is available to the public or large industry groups and is owned by the organization that sells cloud services.
[0059] Hybrid cloud: A cloud infrastructure is a combination of two or more clouds (private, community, or public) that remain unique entities but are bound together by standardized or proprietary technologies that enable data and application portability (e.g., cloud bursting for load balancing between clouds).
[0060] The cloud computing environment is service-oriented, with a focus on statelessness, loose coupling, modularity, and semantic interoperability. The core of cloud computing is the infrastructure consisting of a network of interconnected nodes.
[0061] refer to Figure 6, depicts an illustrative cloud computing environment 600. As shown, the cloud computing environment 600 includes one or more cloud computing nodes 10, with which a local computing device used by a cloud consumer can communicate, the local computing device being, for example, a personal digital assistant (PDA) or cellular phone 54A, a desktop computer 54B, a laptop computer 54C, and / or an automobile computer system 54N. The cloud computing nodes 10 can communicate with each other. They can be physically or virtually grouped in one or more networks (not shown), such as a private cloud, community cloud, public cloud, or hybrid cloud, or a combination thereof, as described above. This allows the cloud computing environment 600 to provide infrastructure as a service, platform as a service, and / or software as a service, without the cloud consumer needing to maintain resources on a local computing device for the service. It should be understood that Figure 6 The types of computing devices 54A-54N shown are intended to be illustrative only, and cloud computing node 10 and cloud computing environment 600 may communicate with any type of computerized device over any type of network and / or network-addressable connection (e.g., using a web browser).
[0062] refer to Figure 7 , showing a cloud computing environment 600 ( Figure 6 ) provides a set of functional abstraction layers 700. It should be understood in advance that Figure 7 The components, layers, and functions shown in the figure are intended to be illustrative only, and the embodiments are not limited thereto. As depicted in the figure, the following layers and corresponding functions are provided:
[0063] The hardware and software layer 60 includes hardware components and software components. Examples of hardware components include: mainframes 61; servers based on RISC (Reduced Instruction Set Computer) architecture 62; servers 63; blade servers 64; storage devices 65; and network and networking components 66. In some embodiments, software components include network application server software 67 and database software 68.
[0064] Virtualization layer 70 provides an abstraction layer from which examples of the following virtual entities can be provided: virtual servers 71 ; virtual storage 72 ; virtual networks 73 , including virtual private networks; virtual applications and operating systems 74 ; and virtual clients 75 .
[0065] In one example, the management layer 80 may provide the functionality described below. Resource provisioning 81 provides dynamic procurement of computing resources and other resources for performing tasks within a cloud computing environment. Metering and pricing 82 provides cost tracking for the use of resources within the cloud computing environment and provides billing and invoicing for the consumption of these resources. In one example, these resources may include application software licenses. Security provides authentication for cloud consumers and tasks and protects data and other resources. A user portal 83 provides access to the cloud computing environment for consumers and system administrators. Service level management 84 provides for the allocation and management of cloud computing resources to meet the required service levels. Service level agreement (SLA) planning and fulfillment 85 provides for the pre-arrangement and procurement of cloud computing resources, where future demand for cloud computing resources is anticipated according to the SLA.
[0066] Workload layer 90 provides examples of functionality that can utilize a cloud computing environment. Examples of workloads and functionality that can be provided from this layer include: mapping and navigation 91; software development and lifecycle management 92; virtual classroom education delivery 93; data analytics processing 94; transaction processing 95; and video codec 96. Video codec 96 can use indices to signal the delta angle of chroma components based on the delta angle of luma components (rather than directly signaling the delta angle of chroma components) to encode and / or decode video data.
[0067] Some embodiments may be directed to systems, methods, and / or computer-readable media at any possible level of technical detail integration. The computer-readable media may include computer-readable non-volatile storage media having computer-readable program instructions thereon for causing a processor to perform operations.
[0068] The computer readable storage medium can be a tangible device that can save and store instructions used by an instruction execution device. The computer readable storage medium can be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of computer readable storage media includes the following: a portable computer disk, a hard drive, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device (such as a punched card or raised structure in a groove on which instructions are recorded), and any suitable combination of the foregoing. As used herein, a computer readable storage medium is not to be interpreted as being a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagated by a waveguide or other transmission medium (e.g., a light pulse by an optical cable), or an electrical signal transmitted by a wire.
[0069] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to a corresponding computing / processing device, or downloaded to an external computer or external storage device via a network (e.g., the Internet, a local area network, a wide area network, and / or a wireless network). The network can include copper transmission cables, optical transmission fibers, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions to be stored in a computer-readable storage medium within the corresponding computing / processing device.
[0070] The computer readable program code / instruction for performing an operation can be an assembly instruction, an instruction set architecture (ISA) instruction, a machine instruction, a machine-dependent instruction, a microcode, a firmware instruction, a state setting data, a configuration data for an integrated circuit, or a source code or object code written in any combination of one or more programming languages, including object-oriented programming languages (such as Smalltalk, C++, etc.) and procedural programming languages (such as "C" programming language or similar programming languages). The computer readable program instruction can be executed entirely on the user's computer, partially on the user's computer, executed as an independent software package, partially on the user's computer and partially on a remote computer, or completely on a remote computer or server. In the latter case, the remote computer can be connected to the user's computer through any type of network (including a local area network (LAN) or a wide area network (WAN)), or can be connected to an external computer (for example, by using the Internet of an Internet service provider). In some embodiments, an electronic circuit comprising, for example, a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA) can execute the computer readable program instruction to personalize the electronic circuit by utilizing the state information of the computer readable program instruction to perform various aspects or operations.
[0071] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine, so that the instructions, which are executed by the processor of the computer or other programmable data processing device, create a means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, which can direct the computer, programmable data processing device, and / or other equipment to function in a specific manner, so that the computer-readable storage medium having the instructions stored therein comprises such an article of manufacture, which includes instructions for implementing various aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0072] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus, or other device, thereby producing a computer-implemented process, so that the instructions executed on the computer, other programmable apparatus, or other device implement the functions / actions specified in one or more boxes of the flowchart and / or block diagram.
[0073] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functions, and operations of possible implementations of systems, methods, and computer-readable media according to various embodiments. In this regard, each box in the flowchart or block diagram can represent a module, segment, or portion of an instruction, which includes one or more executable instructions for implementing a specified logical function. The method, computer system, and computer-readable medium may include additional boxes, fewer boxes, different boxes, or boxes arranged differently from the boxes depicted in the drawings. In some optional embodiments, the functions indicated in the boxes may not occur in the order indicated in the drawings. For example, two boxes shown in succession may actually be executed simultaneously or substantially simultaneously, or the boxes may sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart illustration, as well as the combination of boxes in the block diagram and / or flowchart illustration, can be implemented by a dedicated hardware-based system that performs the specified function or action or executes a combination of dedicated hardware and computer instructions.
[0074] Obviously, the systems and / or methods described herein can be implemented in various forms of hardware, firmware, or a combination of hardware and software. The actual dedicated control hardware or software code used to implement these systems and / or methods is not a limitation of the embodiments. Therefore, the operation and behavior of the systems and / or methods are described herein without reference to specific software code - it is understood that software and hardware can be designed to implement the systems and / or methods based on the description herein.
[0075] As used herein, the elements, actions or instructions should not be interpreted as being critical or necessary unless explicitly described as such. Moreover, as used herein, the articles "a" and "an" are intended to include one or more projects and can be used interchangeably with "one or more". Furthermore, as used herein, the term "group" is intended to include one or more projects (e.g., related projects, unrelated projects, combinations of related and unrelated projects, etc.) and can be used interchangeably with "one or more". When only one project is intended, the term "one" or similar language is used. Furthermore, as used herein, the terms "has", "have", "having" etc. are intended to be open terms. Furthermore, unless explicitly stated otherwise, the phrase "based on" is intended to mean "based at least in part on".
[0076] The description of the various aspects and embodiments has been presented for illustrative purposes, but the description is not intended to be exhaustive or limited to the disclosed embodiments. Even though combinations of features are listed in the claims and / or disclosed in the specification, these combinations are not intended to limit the disclosure of possible implementations. In fact, many of these features can be combined in ways not specifically listed in the claims and / or disclosed in the specification. Although each dependent claim listed below may be directly dependent on only one claim, the disclosure of possible implementations includes each dependent claim in combination with every other claim in the claim group. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope of the described embodiments. The terms used herein are selected to best explain the principles of the embodiments, the practical application, or technical improvements over technology found in the marketplace, or to enable those of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A video decoding method, characterized in that: The method comprises: receiving video data, the video data comprising a chrominance component having a first nominal angle and a first incremental angle, and a luma component having a second nominal angle and a second incremental angle, wherein the first nominal angle plus the first incremental angle is a predicted angle of the chrominance component, and the second nominal angle plus the second incremental angle is a predicted angle of the luma component; entropy decoding an index indicating the first incremental angle; and decoding the video data using intra prediction based on the entropy decoded index, Wherein, based on the comparison of the first nominal angle and the second nominal angle, a cumulative density function for entropy decoding the index is selected.
2. The method according to claim 1, characterized in that Also includes: The index is mapped to the first incremental angle based on a predefined mapping table.
3. The method according to claim 1, characterized in that Also includes: The index is mapped to the first incremental angle based on the first incremental angle and the second incremental angle.
4. The method according to claim 1, wherein Also includes: The index is entropy decoded based on the first nominal angle and the second nominal angle, wherein a cumulative density function used for entropy decoding the index depends on whether the first nominal angle is equal to the second nominal angle.
5. The method according to claim 4, characterized in that Based on the first nominal angle being equal to the second nominal angle, only one cumulative density function is used.
6. The method according to claim 1, characterized in that A cumulative density function used for entropy decoding the index depends on both the first nominal angle and the second nominal angle.
7. The method according to any one of claims 1 to 6, characterized in that A cumulative density function for entropy decoding the index depends on the second increment angle and on the first nominal angle being equal to the second nominal angle.
8. The method according to claim 7, characterized in that A set of cumulative density functions is used based on the first nominal angle being equal to the second nominal angle, and a cumulative density function is selected from the set of cumulative density functions based on the second incremental angle.
9. A computer system for decoding video data, characterized in that The computer system comprises: one or more computer-readable non-volatile storage media configured to store computer program code; and One or more computer processors configured to access the computer program code and operate according to the instructions of the computer program code, the computer program code comprising: receiving code configured to cause the one or more computer processors to receive video data, the video data comprising a chrominance component having a first nominal angle and a first incremental angle, and a luma component having a second nominal angle and a second incremental angle, the first nominal angle plus the first incremental angle being a predicted angle for the chrominance component, and the second nominal angle plus the second incremental angle being a predicted angle for the luma component; parsing code configured to cause the one or more computer processors to entropy decode an index indicating the first delta angle; decoding code configured to cause the one or more computer processors to decode the video data using intra-frame prediction based on the entropy-decoded index, Wherein, based on the comparison of the first nominal angle and the second nominal angle, a cumulative density function for entropy decoding the index is selected.
10. A video encoding method, characterized in that: The method comprises: Receive video data, the video data comprising a chroma component and a luminance component, the chroma component having a first nominal angle and a first incremental angle, the luminance component having a second nominal angle and a second incremental angle, the first nominal angle plus the first incremental angle being a predicted angle of the chroma component, and the second nominal angle plus the second incremental angle being a predicted angle of the luminance component; performing entropy encoding on an index indicating the first incremental angle; encoding the video data using intra prediction based on the entropy-encoded index, Wherein, based on the comparison of the first nominal angle and the second nominal angle, a cumulative density function is selected for entropy encoding the index.
11. A video encoding device, characterized in that: The device comprises: a receiving module, configured to receive video data, the video data comprising a chroma component and a luminance component, the chroma component having a first nominal angle and a first incremental angle, the luminance component having a second nominal angle and a second incremental angle, the first nominal angle plus the first incremental angle being a predicted angle of the chroma component, and the second nominal angle plus the second incremental angle being a predicted angle of the luminance component; a signaling module configured to entropy encode an index indicating the first incremental angle; An encoding module is configured to encode the video data using intra-frame prediction based on the entropy-encoded index, wherein a cumulative density function for entropy encoding the index is selected based on a comparison of the first nominal angle and the second nominal angle.
12. A method for processing video data, characterized in that: The video data is generated according to the encoding method according to claim 10, or is decoded based on the decoding method according to any one of claims 1 to 8.
13. A method for storing video data, characterized in that: Video data is stored on a non-volatile computer-readable storage medium, wherein the video data is generated according to the encoding method according to claim 10 or decoded based on the decoding method according to any one of claims 1 to 8.
14. An electronic device, characterized in that: include: A memory for storing computer-readable instructions; a processor for reading the computer-readable instructions and executing the method according to any one of claims 1-8, 10, 12-13 as instructed by the computer-readable instructions.
15. A computer-readable storage medium, characterized in that The method comprises instructions, which, when executed on a computer, cause the computer to execute the method according to any one of claims 1 to 8, 10, 12 to 13.