Template-based syntax element prediction
The template-based coding mode in video coding systems addresses inefficiencies in syntax element signaling by deriving values from neighboring blocks, enhancing compression efficiency through reduced overhead and improved coding performance.
Patent Information
- Application Number
- JP2024518154
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-09-27
- Filing Date
- 2022-09-26
- Publication Date
- 2024-10-23
- Estimated Expiration
- 2042-09-26
AI Technical Summary
Existing video coding systems face inefficiencies in signaling syntax elements, leading to increased overhead and reduced coding efficiency due to excessive flagging of coding modes.
Implementing a template-based coding mode that infers or predicts syntax element values from neighboring blocks, reducing the need for explicit signaling by using template matching to identify similar blocks and derive syntax elements.
Reduces signaling overhead and enhances coding efficiency by allowing syntax elements to be inferred from neighboring blocks, thereby improving compression performance.
Smart Images

Figure 2024538534000001_ABST
Abstract
Description
[Technical field]
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims the benefit of European Patent Application No. 21306335.7, filed September 27, 2021, the disclosure of which is incorporated herein by reference in its entirety. [Background technology]
[0002] Video coding systems may be used to compress digital video signals to, for example, reduce the storage and / or transmission bandwidth required for such signals. Video coding systems may include, for example, block-based, wavelet-based, and / or object-based systems. Summary of the Invention
[0003] Disclosed herein are systems, methods, and means for signaling syntax elements. Syntax element values for a block may be inferred, derived, and / or predicted from a previously coded block (e.g., a previously decoded block or a previously encoded block) whose template samples (e.g., an L-shaped group of pixels surrounding the block) match the template samples of the current block.
[0004] In an embodiment, the video decoder may determine whether a template-based coding mode may be enabled for a current block. Based on a determination that a template-based coding mode is enabled for the current block, a neighboring block (e.g., a decoded block) may be identified based on template sample values of the current block. Values of one or more syntax elements of the current block may be obtained based on the identified neighboring blocks. The current block may be decoded (e.g., reconstructed) based on the values of the syntax elements.
[0005] In an embodiment, the video encoder may determine whether a template-based coding mode may be enabled for a current block. Based on the determination that a template-based coding mode is enabled for the current block, a neighboring block (e.g., a decoded block) may be identified based on template sample values of the current block. Values of one or more syntax elements of the current block may be obtained based on the identified neighboring blocks. The current block may be encoded based on the values of the syntax elements.
[0006] In an embodiment, a video encoder may determine whether to use a template-based coding mode for a current block. Based on a determination to use the template-based coding mode for the current block, signaling a syntax element of the current block may be omitted. The current block may be coded based on the template-based coding mode. For example, a neighboring block (e.g., a coding block) may be identified based on a template sample value of the current block. Values of one or more syntax elements of the current block may be obtained based on the identified neighboring block (e.g., a coding block). The current block may be coded based on the values of the syntax elements.
[0007] The embodiments may be performed by a device having a processor. The device may be an encoder or a decoder. The embodiments may be performed by a computer program product stored on a non-transitory computer-readable medium and including program code instructions. The embodiments may be performed by a computer program including program code instructions. The video data may include information indicative of a template matching prediction mode. The video data may include a bitstream as described herein.
[0008] The systems, methods, and means described herein may involve a decoder. In some embodiments, the systems, methods, and means described herein may involve an encoder. In some embodiments, the systems, methods, and means described herein may involve a signal (e.g., from an encoder and / or received by a decoder). A computer-readable medium may include instructions for causing one or more processors to perform the methods described herein. A computer program product may include instructions that, when executed by one or more processors, may cause the one or more processors to perform the methods described herein. [Brief description of the drawings]
[0009] [Figure 1A] FIG. 1 is a system diagram illustrating an example communication system in which one or more disclosed embodiments may be implemented. [Figure 1B] 1 is a system diagram illustrating an example wireless transmit / receive unit (WTRU) that may be used within the communications system illustrated in FIG. 1A, according to one embodiment. [Figure 1C] FIG. 1B is a system diagram illustrating an example Radio Access Network (RAN) and an example Core Network (CN) that may be used within the communication system illustrated in FIG. 1A, according to one embodiment. [Figure 1D] FIG. 1B is a system diagram illustrating a further exemplary RAN and a further exemplary CN that may be used within the communication system illustrated in FIG. 1A, according to one embodiment. [Diagram 2] 1 illustrates an exemplary video encoder. [Diagram 3] 1 illustrates an exemplary video decoder. [Figure 4] 1 illustrates an example of a system in which various aspects and embodiments may be implemented. [Diagram 5]An example of template matching prediction (TMP) is illustrated. [Figure 6] 1 illustrates an example of a search for a matching template for a current block within a decoded region. [Figure 7] Illustrated are two example templates, eight-dimensional and four-dimensional, respectively. [Figure 8] 4 illustrates an exemplary flowchart for decoding a current block. [Figure 9] 4 illustrates an exemplary flowchart for encoding a current block. [Figure 10] 4 illustrates an exemplary flowchart for encoding a current block. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] A more detailed understanding may be had from the following description, given by way of example in conjunction with the accompanying drawings, in which:
[0011] 1A is a diagram illustrating an example communication system 100 in which one or more disclosed embodiments may be implemented. The communication system 100 may be a multiple access system that provides content, such as voice, data, video, messaging, broadcasts, etc., to multiple wireless users. The communication system 100 may enable the multiple wireless users to access such content through sharing of system resources, including wireless bandwidth. For example, the communication system 100 may use one or more channel access methods, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal FDMA (OFDMA), Single-Carrier FDMA (SC-FDMA), Zero-Tail Unique-Word DFT-Spread OFDM (ZT UW DTS-s OFDM), Unique Word OFDM (UW-OFDM), Resource Block Filtered OFDM, Filter Bank Multi Carrier (FBMC), etc.
[0012] 1A, communications system 100 may include wireless transmit / receive units (WTRUs) 102a, 102b, 102c, 102d, RAN 104 / 113, CN 106 / 115, Public Switched Telephone Network (PSTN) 108, Internet 110, and other networks 112, although it will be understood that the disclosed embodiments contemplate any number of WTRUs, base stations, networks, and / or network elements. Each of WTRUs 102a, 102b, 102c, 102d may be any type of device configured to operate and / or communicate in a wireless environment. By way of example, the WTRUs 102a, 102b, 102c, 102d, any of which may be referred to as a “station” and / or “STA,” may be configured to transmit and / or receive wireless signals and may include User Equipment (UE), mobile stations, fixed or mobile subscriber units, subscription-based units, pagers, mobile phones, Personal Digital Assistants (PDAs), smartphones, laptops, netbooks, personal computers, wireless sensors, hotspots or Mi-Fi devices, Internet of Things (IoT) devices, watches or other wearable, Head-Mounted Displays (HMDs), vehicles, drones, medical devices and applications (e.g., for remote surgery), industrial devices and applications (e.g., robots and / or other wireless devices operating in an industrial and / or automated processing chain context), consumer electronics devices, devices operating in commercial and / or industrial wireless networks, etc. Any of the WTRUs 102a, 102b, 102c, and 102d may be referred to interchangeably as a UE.
[0013] The communication system 100 may also include a base station 114a and / or a base station 114b. Each of the base stations 114a, 114b may be any type of device configured to wirelessly interface with at least one of the WTRUs 102a, 102b, 102c, 102d to facilitate access to one or more communication networks, such as the CN 106 / 115, the Internet 110, and / or other networks 112. By way of example, the base stations 114a, 114b may be a base transceiver station (BTS), a Node B, an eNode B, a Home Node B, a Home eNode B, a gNB, an NR Node B, a site controller, an access point (AP), a wireless router, etc. Although the base stations 114a, 114b are each depicted as a single element, it will be understood that the base stations 114a, 114b may include any number of interconnected base stations and / or network elements.
[0014] The base station 114a may be part of the RAN 104 / 113, which may also include other base stations and / or network elements (not shown), such as a Base Station Controller (BSC), a Radio Network Controller (RNC), a relay node, etc. The base station 114a and / or the base station 114b may be configured to transmit and / or receive wireless signals on one or more carrier frequencies, which may be referred to as cells (not shown). These frequencies may be licensed spectrum, unlicensed spectrum, or a combination of licensed and unlicensed spectrum. A cell may provide wireless service coverage to a particular geographic area, which may be relatively fixed or may change over time. A cell may be further divided into cell sectors. For example, the cell associated with the base station 114a may be divided into three sectors. Thus, in one embodiment, the base station 114a may include three transceivers, i.e., one transceiver for each sector of the cell. In one embodiment, the base station 114a may employ Multiple-Input Multiple Output (MIMO) technology and may utilize multiple transceivers for each sector of the cell, for example, using beamforming to transmit and / or receive signals in a desired spatial direction.
[0015] The base stations 114a, 114b may communicate with one or more of the WTRUs 102a, 102b, 102c, 102d over an air interface 116, which may be any suitable wireless communication link (e.g., radio frequency (RF), microwave, centimeter wave, micrometer wave, infrared (IR), ultraviolet (UV), visible light, etc.). The air interface 116 may be established using any suitable Radio Access Technology (RAT).
[0016] More specifically, as noted above, the communications system 100 may be a multiple access system and may use one or more channel access schemes, such as, for example, CDMA, TDMA, FDMA, OFDMA, SC-FDMA, etc. For example, the base stations 114a and the WTRUs 102a, 102b, 102c in the RAN 104 / 113 may implement a radio technology such as Universal Mobile Telecommunications System (UMTS) Terrestrial Radio Access (UTRA), which may establish the air interface 115 / 116 / 117 using Wideband CDMA (WCDMA). WCDMA may include communications protocols such as High-Speed Packet Access (HSPA) and / or Evolved HSPA (HSPA+). HSPA may include High-Speed Downlink (DL) Packet Access (HSDPA) and / or High-Speed Uplink Packet Access (HSUPA).
[0017] In one embodiment, the base station 114a and the WTRUs 102a, 102b, 102c may implement a radio technology such as Evolved UMTS Terrestrial Radio Access (E-UTRA), which may establish the air interface 116 using Long Term Evolution (LTE) and / or LTE-Advanced (LTE-A) and / or LTE-Advanced Pro (LTE-A Pro).
[0018] In one embodiment, the base station 114a and the WTRUs 102a, 102b, 102c may implement a radio technology, such as New Radio (NR) radio access, which may establish the air interface 116 using NR technology.
[0019] In one embodiment, the base station 114a and the WTRUs 102a, 102b, 102c may implement multiple radio access technologies. For example, the base station 114a and the WTRUs 102a, 102b, 102c may jointly implement LTE radio access and NR radio access, e.g., using a Dual Connectivity (DC) principle. Thus, the air interface utilized by the WTRUs 102a, 102b, 102c may be characterized by multiple types of radio access technologies and / or transmissions sent to / from multiple types of base stations (e.g., eNBs and gNBs).
[0020] In other embodiments, the base station 114a and the WTRUs 102a, 102b, 102c may implement a wireless technology such as IEEE 802.11 (i.e., Wireless Fidelity, WiFi), IEEE 802.16 (i.e., Worldwide Interoperability for Microwave Access, WiMAX), CDMA2000, CDMA2000 1X, CDMA2000 EV-DO, Interim Standard 2000 (IS-2000), Interim Standard 95 (IS-95), Interim Standard 856 (IS-856), Global System for Mobile communications (GSM), Enhanced Data rates for GSM Evolution (EDGE), GSM EDGE (GERAN), or the like.
[0021] 1A may be, for example, a wireless router, a Home NodeB, a Home eNodeB, or an access point, and may utilize any suitable RAT to facilitate wireless connectivity in a localized area, such as a location of a business, a home, a vehicle, a campus, an industrial facility, an air corridor (e.g., for use by drones), a road, etc. In one embodiment, the base station 114b and the WTRUs 102c, 102d may implement a radio technology such as IEEE 802.11 to establish a Wireless Local Area Network (WLAN). In one embodiment, the base station 114b and the WTRUs 102c, 102d may implement a radio technology such as IEEE 802.15 to establish a Wireless Personal Area Network (WPAN). In yet another embodiment, the base station 114b and the WTRUs 102c, 102d may establish a picocell or a femtocell using a cellular-based RAT (e.g., WCDMA, CDMA2000, GSM, LTE, LTE-A, LTE-A Pro, NR, etc.). As shown in FIG. 1A, the base station 114b may have a direct connection to the Internet 110. Thus, the base station 114b may not need to access the Internet 110 via the CN 106 / 115.
[0022] The RAN 104 / 113 may communicate with the CN 106 / 115, which may be any type of network configured to provide voice, data, application, and / or Voice over Internet Protocol (VoIP) services to one or more of the WTRUs 102a, 102b, 102c, 102d. The data may have various Quality of Service (QoS) requirements, such as, for example, different throughput requirements, latency requirements, error tolerance requirements, reliability requirements, data throughput requirements, mobility requirements, etc. The CN 106 / 115 may provide call control, billing services, mobile location-based services, prepaid calling, Internet connectivity, video distribution, etc., and / or perform high-level security functions such as user authentication. Although not shown in FIG. 1A, it will be appreciated that the RAN 104 / 113 and / or the CN 106 / 115 may communicate directly or indirectly with other RANs employing the same RAT as the RAN 104 / 113 or a different RAT. For example, in addition to being connected to the RAN 104 / 113, which may utilize NR radio technology, the CN 106 / 115 may also communicate with another RAN (not shown) employing GSM, UMTS, CDMA2000, WiMAX, E-UTRA, or WiFi radio technology.
[0023] The CN 106 / 115 may also act as a gateway for the WTRUs 102a, 102b, 102c, 102d to access the PSTN 108, the Internet 110, and / or other networks 112. The PSTN 108 may include a circuit-switched telephone network providing Plain Old Telephone Service (POTS). The Internet 110 may include a global system of interconnected computer networks and devices that use common communication protocols, such as the Transmission Control Protocol (TCP), the User Datagram Protocol (UDP), and / or the Internet Protocol (IP) of the TCP / IP Internet protocol suite. The networks 112 may include wired and / or wireless communication networks owned and / or operated by other service providers. For example, the networks 112 may include another CN connected to one or more RANs, which may employ the same RAT as the RANs 104 / 113 or a different RAT.
[0024] Some or all of the WTRUs 102a, 102b, 102c, 102d in the communications system 100 may include multi-mode capabilities (e.g., the WTRUs 102a, 102b, 102c, 102d may include multiple transceivers for communicating with different wireless networks over different wireless links). For example, the WTRU 102c shown in FIG. 1A may be configured to communicate with a base station 114a, which may use a cellular-based wireless technology, and a base station 114b, which may use an IEEE 802 wireless technology.
[0025] Figure 1B is a system diagram illustrating an example WTRU 102. As shown in Figure 1B, the WTRU 102 may include, among other things, a processor 118, a transceiver 120, a transmit / receive element 122, a speaker / microphone 124, a keypad 126, a display / touchpad 128, non-removable memory 130, removable memory 132, a power source 134, a Global Positioning System (GPS) chipset 136, and / or other peripherals 138. It will be understood that the WTRU 102 may include any sub-combination of the foregoing elements while remaining consistent with an embodiment.
[0026] The processor 118 may be a general purpose processor, a special purpose processor, a conventional processor, a Digital Signal Processor (DSP), multiple microprocessors, one or more microprocessors associated with a DSP core, a controller, a microcontroller, an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) circuit, any other type of Integrated Circuit (IC), a state machine, etc. As suggested above, the processor 118 may include multiple processors. The processor 118 may perform signal coding, data processing, power control, input processing / output processing, and / or any other functionality that enables the WTRU 102 to operate in a wireless environment. The processor 118 may be coupled to a transceiver 120, which may be coupled to a transmit / receive element 122. 1B depicts the processor 118 and the transceiver 120 as separate components, it will be understood that the processor 118 and the transceiver 120 may be integrated together in an electronic package or chip.
[0027] The transmit / receive element 122 may be configured to transmit signals to or receive signals from a base station (e.g., base station 114a) over the air interface 116. For example, in one embodiment, the transmit / receive element 122 may be an antenna configured to transmit and / or receive RF signals. In one embodiment, the transmit / receive element 122 may be: For example, the transmit / receive element 122 may be an emitter / detector configured to transmit and / or receive IR, UV, or visible light signals. In yet another embodiment, the transmit / receive element 122 may be configured to transmit and / or receive both RF and light signals. It will be appreciated that the transmit / receive element 122 may be configured to transmit and / or receive any combination of wireless signals.
[0028] 1B as a single element, the WTRU 102 may include any number of transmit / receive elements 122. More specifically, the WTRU 102 may use MIMO technology. Thus, in one embodiment, the WTRU 102 may include two or more transmit / receive elements 122 (e.g., multiple antennas) for transmitting and receiving wireless signals over the air interface 116.
[0029] The transceiver 120 may be configured to modulate signals transmitted by the transmit / receive element 122 and demodulate signals received by the transmit / receive element 122. As mentioned above, the WTRU 102 may have multi-mode capabilities. Thus, the transceiver 120 may include multiple transceivers to enable the WTRU 102 to communicate via multiple RATs, such as, for example, NR and IEEE 802.11.
[0030] The processor 118 of the WTRU 102 may be coupled to, and may receive user-entered data from, a speaker / microphone 124, a keypad 126, and / or a display / touchpad 128 (e.g., a Liquid Crystal Display (LCD) display unit or an Organic Light-Emitting Diode (OLED) display unit). The processor 118 may also output user data to the speaker / microphone 124, the keypad 126, and / or the display / touchpad 128. In addition, the processor 118 may access information from and store data in any type of suitable memory, such as non-removable memory 130 and / or removable memory 132. The non-removable memory 130 may include a Random-Access Memory (RAM), a Read-Only Memory (ROM), a hard disk, or any other type of memory storage device. The removable memory 132 may include a Subscriber Identity Module (SIM) card, a memory stick, a Secure Digital (SD) memory card, etc. In other embodiments, the processor 118 may access information from and store data in memory that is not physically located on the WTRU 102, such as on a server or home computer (not shown).
[0031] The processor 118 may receive power from the power source 134, but may be configured to distribute and / or control the power to other components in the WTRU 102. The power source 134 may be any suitable device for providing power to the WTRU 102. For example, the power source 134 may include one or more dry batteries (e.g., Nickel-Cadmium (NiCd), Nickel-Zinc (NiZn), Nickel Metal Hydride (NiMH), Lithium-ion (Li-ion), etc.), solar cells, fuel cells, etc.
[0032] The processor 118 may also be coupled to a GPS chipset 136, which may be configured to provide location information (e.g., longitude and latitude) regarding the current location of the WTRU 102. In addition to or in lieu of information from the GPS chipset 136, the WTRU 102 may receive location information over the air interface 116 from a base station (e.g., base stations 114a, 114b) and / or determine its location based on the timing of signals being received from two or more nearby base stations. It will be appreciated that the WTRU 102 may obtain location information by way of any suitable location determination method while remaining consistent with an embodiment.
[0033] The processor 118 may further be coupled to other peripherals 138, which may include one or more software and / or hardware modules that provide additional features, functionality, and / or wired or wireless connectivity. For example, the peripherals 138 may include an accelerometer, an electronic compass, a satellite transceiver, a digital camera (for photos and / or videos), a Universal Serial Bus (USB) port, a vibration device, a television transceiver, a hands-free headset, a Bluetooth® module, a Frequency Modulated (FM) radio unit, a digital music player, a media player, a video game player module, an Internet browser, a Virtual Reality and / or Augmented Reality (VR / AR) device, an activity tracker, and the like. The peripherals 138 may include one or more sensors, which may be one or more of a gyroscope, an accelerometer, a Hall effect sensor, a magnetometer, an orientation sensor, a proximity sensor, a temperature sensor, a time sensor, a geolocation sensor, an altimeter, a light sensor, a touch sensor, a magnetometer, a barometer, a gesture sensor, a biometric sensor, and / or a humidity sensor.
[0034] The WTRU 102 may include a full-duplex radio where the transmission and reception of some or all of the signals (e.g., associated with a particular subframe for both the UL (e.g., for transmission) and the downlink (e.g., for reception)) may be parallel and / or simultaneous. The full-duplex radio may include an interference management unit to reduce and or substantially eliminate self-interference either through hardware (e.g., chokes) or signal processing via a processor (e.g., via a separate processor (not shown) or the processor 118). In one embodiment, the WRTU 102 may include a half-duplex radio for the transmission and reception of either some or all of the signals (e.g., associated with a particular subframe for either the UL (e.g., for transmission) or the downlink (e.g., for reception)).
[0035] 1C is a system diagram illustrating the RAN 104 and the CN 106 according to one embodiment. As mentioned above, the RAN 104 may communicate with the WTRUs 102a, 102b, 102c over the air interface 116 using E-UTRA radio technology. The RAN 104 may also communicate with the CN 106.
[0036] The RAN 104 may include eNode-Bs 160a, 160b, 160c, although it will be understood that the RAN 104 may include any number of eNode-Bs while remaining consistent with an embodiment. The eNode-Bs 160a, 160b, 160c may each include one or more transceivers for communicating with the WTRUs 102a, 102b, 102c over the air interface 116. In an embodiment, the eNode-Bs 160a, 160b, 160c may implement MIMO technology. Thus, the eNode-B 160a may, for example, use multiple antennas to transmit wireless signals to and / or receive wireless signals from the WTRU 102a.
[0037] Each of the eNode-Bs 160a, 160b, 160c may be associated with a particular cell (not shown) and may be configured to handle radio resource management decisions, handover decisions, scheduling of users, etc., in the UL and / or DL. As shown in FIG 1C, the eNode-Bs 160a, 160b, 160c may communicate with one another via an X2 interface.
[0038] 1C may include a Mobility Management Entity (MME) 162, a Serving Gateway (SGW) 164, and a Packet Data network (PDN) Gateway (or PGW) 166. Although each of the foregoing elements is depicted as part of the CN 106, it will be understood that any of these elements may be owned and / or operated by an entity other than the CN operator.
[0039] The MME 162 may be connected to each of the eNode-Bs 162a, 162b, 162c in the RAN 104 via an S1 interface and may function as a control node. For example, the MME 162 may be responsible for authenticating users of the WTRUs 102a, 102b, 102c, activating / deactivating bearers, selecting a particular serving gateway during initial attach of the WTRUs 102a, 102b, 102c, etc. The MME 162 may provide a control plane function for switching between the RAN 104 and other RANs (not shown) that employ other radio technologies, such as GSM and / or WCDMA.
[0040] The SGW 164 may be connected to each of the eNode-Bs 160a, 160b, 160c in the RAN 104 via an S1 interface. The SGW 164 may generally route and forward user data packets to / from the WTRUs 102a, 102b, 102c. The SGW 164 may perform other functions, such as anchoring the user plane during inter-eNodeB handover, triggering paging when DL data is available to the WTRUs 102a, 102b, 102c, managing and storing the context of the WTRUs 102a, 102b, 102c, etc.
[0041] The SGW 164 may be connected to a PGW 166, which may provide the WTRUs 102a, 102b, 102c with access to packet-switched networks, such as the Internet 110, to facilitate communications between the WTRUs 102a, 102b, 102c and IP-enabled devices.
[0042] The CN 106 may facilitate communications with other networks. For example, the CN 106 may provide the WTRUs 102a, 102b, 102c with access to circuit-switched networks, such as the PSTN 108, to facilitate communications between the WTRUs 102a, 102b, 102c and traditional land-line communications devices. For example, the CN 106 may include or communicate with an IP gateway (e.g., an IP multimedia subsystem (IMS) server) that serves as an interface between the CN 106 and the PSTN 108. In addition, the CN 106 may provide the WTRUs 102a, 102b, 102c with access to other networks 112, which may include other wired and / or wireless networks owned and / or operated by other service providers.
[0043] Although the WTRU is illustrated in FIGS. 1A-1D as a wireless terminal, it is contemplated that in certain representative embodiments such a terminal may use a wired communications interface (e.g., temporarily or permanently) with the communications network.
[0044] In an exemplary embodiment, the other network 112 may be a WLAN.
[0045] A WLAN in infrastructure Basic Service Set (BSS) mode may have an Access Point (AP) of the BSS and one or more stations (STAs) associated with the AP. The AP may have access or interface to a Distribution System (DS) or another type of wired / wireless network that carries traffic into and / or out of the BSS. Traffic originating from outside the BSS to a STA may arrive through the AP and be delivered to the STA. Traffic originating from a STA to a destination outside the BSS may be sent to the AP and transmitted to the respective destination. Traffic between STAs within the BSS may be transmitted, for example, through the AP, where the source STA may send traffic to the AP, which may then forward the traffic to the AP. The BSS may deliver the peer-to-peer traffic to the destination STA. Traffic between STAs within a BSS may be considered and / or referred to as peer-to-peer traffic. Peer-to-peer traffic may be transmitted between (e.g., directly between) a source STA and a destination STA in a Direct Link Setup (DLS). In certain representative embodiments, the DLS may use 802.11e DLS or 802.11z Tunneled DLS (TDLS). A WLAN using an Independent BSS (IBSS) mode may not have an AP, and STAs (e.g., all of the STAs) within or using an IBSS may communicate directly with each other. The IBSS mode of communication may be referred to herein as an "ad-hoc" communication mode.
[0046] When using an 802.11ac infrastructure mode of operation or a similar mode of operation, an AP may transmit a beacon on a fixed channel, such as a primary channel. The primary channel may be a fixed width (e.g., a 20 MHz wide bandwidth) or a width that is dynamically set via signaling. The primary channel may be an operating channel of the BSS and may be used by STAs to establish a connection with the AP. In certain representative embodiments, for example, in an 802.11 system, Carrier Sense Multiple Access / Collision Avoidance (CSMA / CA) with collision avoidance may be implemented. With CSMA / CA, STAs (e.g., all STAs), including the AP, may sense the primary channel. If the primary channel is sensed / detected and / or determined to be active by a particular STA, the particular STA may back off. One STA (e.g., only one station) may transmit at any given time in a given BSS.
[0047] A High Throughput (HT) STA may use a 40 MHz wide channel for communication, which may be formed, for example, through a combination of a primary 20 MHz channel and adjacent or non-adjacent 20 MHz channels.
[0048] A Very High Throughput (VHT) STA may support 20 MHz, 40 MHz, 80 MHz, and / or 160 MHz wide channels. The above 40 MHz and / or 80 MHz wide channels may be formed by combining multiple contiguous 20 MHz channels. A 160 MHz channel may be formed by combining eight contiguous 20 MHz channels or by combining two non-contiguous 80 MHz channels, which may be referred to as an 80+80 configuration. For the 80+80 configuration, after channel encoding, the data may pass through a segment parser that may split the data into two streams. Inverse Fast Fourier Transform (IFFT) processing and time domain processing may be performed separately on each stream. The streams may be mapped to two 80 MHz channels and the data may be transmitted by the transmitting STA. At the receiver of the receiving STA, the operations described above for the 80+80 configuration may be reversed and the combined data may be transmitted to the Medium Access Control (MAC).
[0049] Sub-1 GHz operating modes are supported by 802.11af and 802.11ah. Channel operating bandwidths and carriers are reduced in 802.11af and 802.11ah compared to those used in 802.11n and 802.11ac. 802.11af supports 5 MHz, 10 MHz and 20 MHz bandwidths in TV White Space (TVWS) spectrum, and 802.11ah supports 1 MHz, 2 MHz, 4 MHz, 8 MHz and 16 MHz bandwidths using non-TVWS spectrum. According to a representative embodiment, 802.11ah may support meter-type control / machine-type communication, such as MTC devices in macro coverage areas. MTC devices may have specific capabilities, including, for example, support for (e.g., support only for) specific and / or limited bandwidths. MTC devices may include batteries with battery life above a threshold (e.g., to maintain very long battery life).
[0050] WLAN systems that may support multiple channels and channel bandwidths, such as 802.11n, 802.11ac, 802.11af, and 802.11ah, include a channel that may be designated as a primary channel. The primary channel may have a bandwidth equal to the maximum common operating bandwidth supported by all STAs in the BSS. The bandwidth of the primary channel may be set by the STA and / or limited among all STAs operating in the BSS that support the smallest bandwidth operating mode. In an 802.11ah example, the primary channel may be 1 MHz wide for STAs (e.g., MTC type devices) that support (e.g., only) the 1 MHz mode, even if the AP and other STAs in the BSS support 2 MHz, 4 MHz, 8 MHz, 16 MHz, and / or other channel bandwidth operating modes. Carrier sensing and / or Network Allocation Vector (NAV) settings may depend on the state of the primary channel. For example, if the primary channel is busy due to STAs (that only support 1 MHz mode of operation) transmitting to the AP, the entire available frequency band may be considered busy even though most of the frequency band may remain idle and available for use.
[0051] In the United States, the available frequency bands that can be used by 802.11ah are 902MHz to 928MHz. In South Korea, the available frequency bands are 917.5MHz to 923.5MHz. In Japan, the available frequency bands are 916.5MHz to 927.5MHz. The total bandwidth available for 802.11ah is 6MHz to 26MHz depending on the country code.
[0052] 1D is a system diagram illustrating the RAN 113 and the CN 115 according to one embodiment. As mentioned above, the RAN 113 may communicate with the WTRUs 102a, 102b, 102c over the air interface 116 using NR radio technology. The RAN 113 may also communicate with the CN 115.
[0053] The RAN 113 may include gNBs 180a, 180b, 180c, although it will be understood that the RAN 113 may include any number of gNBs while remaining consistent with an embodiment. The gNBs 180a, 180b, 180c may each include one or more transceivers for communicating with the WTRUs 102a, 102b, 102c over the air interface 116. In an embodiment, the gNBs 180a, 180b, 180c may implement MIMO technology. For example, the gNBs 180a, 108b may utilize beamforming to transmit and / or receive signals to the gNBs 180a, 180b, 180c. Thus, the gNB 180a may transmit wireless signals to and / or receive wireless signals from the WTRU 102a using, for example, multiple antennas. In one embodiment, the gNBs 180a, 180b, 180c may implement carrier aggregation technology. For example, the gNB 180a may transmit multiple component carriers to the WTRU 102a (not shown). A subset of these component carriers may be on an unlicensed spectrum, and the remaining component carriers may be on a licensed spectrum. In one embodiment, the gNBs 180a, 180b, 180c may implement Coordinated Multi-Point (CoMP) technology. For example, the WTRU 102a may receive coordinated transmissions from the gNBs 180a and 180b (and / or gNB 180c).
[0054] The WTRUs 102a, 102b, 102c may communicate with the gNBs 180a, 180b, 180c using transmissions associated with a scalable numerology. For example, the OFDM symbol spacing and / or OFDM subcarrier spacing may vary for different transmissions, different cells, and / or different portions of the wireless transmission spectrum. The WTRUs 102a, 102b, 102c may communicate with the gNBs 180a, 180b, 180c using subframes or transmission time intervals (TTIs) of different or scalable lengths (e.g., including different numbers of OFDM symbols and / or lasting different lengths of absolute time).
[0055] The gNBs 180a, 180b, 180c may be configured to communicate with the WTRUs 102a, 102b, 102c in a standalone configuration and / or a non-standalone configuration. In a standalone configuration, the WTRUs 102a, 102b, 102c may communicate with the gNBs 180a, 180b, 180c without accessing another RAN (e.g., eNode-Bs 160a, 160b, 160c, etc.). In a standalone configuration, the WTRUs 102a, 102b, 102c may utilize one or more of the gNBs 180a, 180b, 180c as mobility anchor points. In a standalone configuration, the WTRUs 102a, 102b, 102c may communicate with the gNBs 180a, 180b, 180c using signals in unlicensed bands. In a non-standalone configuration, the WTRUs 102a, 102b, 102c may communicate with and connect to a gNB 180a, 180b, 180c while also communicating with and connecting to another RAN, such as an eNode-B 160a, 160b, 160c. For example, the WTRUs 102a, 102b, 102c may implement DC principles to communicate with one or more gNBs 180a, 180b, 180c and one or more eNode-Bs 160a, 160b, 160c substantially simultaneously. In a non-standalone configuration, the eNode-Bs 160a, 160b, 160c may act as mobility anchors for the WTRUs 102a, 102b, 102c, while the gNBs 180a, 180b, 180c may provide additional coverage and / or throughput for serving the WTRUs 102a, 102b, 102c.
[0056] Each of the gNBs 180a, 180b, 180c may be associated with a particular cell (not shown) and may be configured to handle radio resource management decisions, handover decisions, scheduling of users in the UL and / or DL, support for network slicing, dual connectivity, interworking between NR and E-UTRA, routing of user plane data to User Plane Functions (UPFs) 184a, 184b, routing of control plane information to Access and Mobility Management Functions (AMFs) 182a, 182b, etc. As shown in FIG. 1D, the gNBs 180a, 180b, 180c may communicate with each other via an Xn interface.
[0057] 1D may include at least one AMF 182a, 182b, at least one UPF 184a, 184b, at least one Session Management Function (SMF) 183a, 183b, and possibly a Data Network (DN) 185a, 185b. Although each of the foregoing elements is depicted as part of the CN 115, it will be understood that any of these elements may be owned and / or operated by an entity other than the CN operator.
[0058] The AMFs 182a, 182b may be connected to one or more of the gNBs 180a, 180b, 180c in the RAN 113 via an N2 interface and may function as control nodes. The MF 182a, 182b may be responsible for authenticating users of the WTRUs 102a, 102b, 102c, supporting network slicing (e.g., handling different PDU sessions with different requirements), selecting a particular SMF 183a, 183b, managing registration areas, terminating NAS signaling, mobility management, etc. Network slices may be used by the AMF 182a, 182b to customize the CN support of the WTRUs 102a, 102b, 102c based on the type of service utilizing the WTRUs 102a, 102b, 102c. For example, different network slices may be established for different use cases, such as services relying on ultra-reliable low latency (URLLC) access, services relying on enhanced massive mobile broadband (eMBB) access, services for Machine Type Communication (MTC) access, etc. The AMF 162 may provide a control plane function for switching between the RAN 113 and other RANs (not shown) that employ other radio technologies, such as LTE, LTE-A, LTE-A Pro, and / or non-3GPP access technologies such as WiFi.
[0059] The SMFs 183a, 183b may be connected to the AMFs 182a, 182b in the CN 115 via an N11 interface. The SMFs 183a, 183b may also be connected to the UPFs 184a, 184b in the CN 115 via an N4 interface. The SMFs 183a, 183b may select and control the UPFs 184a, 184b and configure the routing of traffic through the UPFs 184a, 184b. The SMFs 183a, 183b may perform other functions such as managing and assigning UE IP addresses, managing PDU sessions, controlling policy enforcement and QoS, providing downlink data notification, etc. The PDU session type may be IP-based, non-IP-based, Ethernet-based, etc.
[0060] The UPFs 184a, 184b may be connected to one or more of the gNBs 180a, 180b, 180c in the RAN 113 via an N3 interface, which may provide the WTRUs 102a, 102b, 102c with access to packet-switched networks, such as the Internet 110, to facilitate communications between the WTRUs 102a, 102b, 102c and IP-enabled devices. The UPFs 184, 184b may perform other functions, such as routing and forwarding packets, enforcing user plane policies, supporting multi-homed PDU sessions, handling user plane QoS, buffering downlink packets, providing mobility anchoring, etc.
[0061] The CN 115 may facilitate communication with other networks. For example, the CN 115 may include or communicate with an IP gateway (e.g., an IP multimedia subsystem (IMS) server) that serves as an interface between the CN 115 and the PSTN 108. In addition, the CN 115 may provide the WTRUs 102a, 102b, 102c with access to other networks 112, which may include other wired and / or wireless networks owned and / or operated by other service providers. In an embodiment, the WTRUs 102a, 102b, 102c may be connected to local data networks (DNs) 185a, 185b through the UPFs 184a, 184b via an N3 interface to the UPFs 184a, 184b and an N6 interface between the UPFs 184a, 184b and the DNs 185a, 185b.
[0062] 1A-1D and the corresponding description thereof, one or more or all of the functions described herein with respect to one or more of the WTRUs 102a-d, base stations 114a-b, eNode-Bs 160a-c, MME 162, SGW 164, PGW 166, gNBs 180a-c, AMFs 182a-b, UPFs 184a-b, SMFs 183a-b, DNs 185a-b, and / or any other devices described herein may be performed by one or more emulation devices (not shown). The emulation devices may be one or more devices configured to emulate one or more or all of the functions described herein. For example, the emulation devices may be used to test other devices and / or to simulate network and / or WTRU functions.
[0063] The emulation devices may be designed to implement one or more tests of other devices in a lab environment and / or an operator network environment. For example, one or more emulation devices may perform one or more or all functions while fully or partially implemented and / or deployed as part of a wired and / or wireless communication network to test other devices in the communication network. One or more emulation devices may perform one or more or all functions while temporarily implemented / deployed as part of a wired and / or wireless communication network. The emulation devices may be directly coupled to another device for testing purposes and / or may perform testing using terrestrial wireless communication.
[0064] The one or more emulation devices may perform one or more functions, inclusive, while not being implemented / deployed as part of a wired and / or wireless communication network. For example, the emulation devices may be utilized in test scenarios in a test lab and / or in an undeployed (e.g., test) wired and / or wireless communication network to implement testing of one or more components. The one or more emulation devices may be test equipment. Direct RF coupling and / or wireless communication via RF circuitry (which may include, for example, one or more antennas) may be used by the emulation devices to transmit and / or receive data.
[0065] This application describes various aspects, including tools, features, examples, models, approaches, and the like. Many of these aspects are described with specificity and often in a potentially limiting manner to at least illustrate their individual characteristics. However, this is for purposes of clarity of description and does not limit the applicability or scope of the aspects. In fact, all of the different aspects may be combined and interchanged to provide further aspects. Moreover, aspects may similarly be combined and interchanged with aspects described in prior applications.
[0066] Aspects described and contemplated in this application may be implemented in many different forms. Figures 5-7 described herein may provide some examples, but other examples are contemplated. Discussion of Figures 5-7 is not intended to limit the scope of implementations. At least one of the aspects relates generally to video encoding and decoding, and at least one other aspect relates generally to transmitting a generated or encoded bitstream. These and other aspects may be implemented as a method, an apparatus, a computer-readable storage medium having stored thereon instructions for encoding or decoding video data according to any of the described methods, and / or a computer-readable storage medium having stored thereon a bitstream generated according to any of the described methods.
[0067] In this application, the terms "reconstructed" and "decoded" may be used interchangeably, the terms "pixel" and "sample" may be used interchangeably, and the terms "image", "picture", and "frame" may be used interchangeably.
[0068] Various methods are described herein, each of which includes one or more steps or actions for achieving the described method. Unless a specific order of steps or actions is required for proper operation of the method, the order and / or use of specific steps and / or actions may be modified or combined. In addition, terms such as "first", "second", etc. may be used in various embodiments to modify elements, components, steps, operations, etc., such as, for example, "first decode" and "second decode". The use of such terms does not imply a modified ordering of operations, unless specifically required. Thus, in this embodiment, the first decode need not be performed before the second decode, but may occur, for example, before, during, or during an overlapping time with the second decode.
[0069] Various methods and other aspects described herein may be used to modify modules, such as the decoding modules, of the video encoder 200 and decoder 300, as shown in Figures 2 and 3. Moreover, the subject matter disclosed herein may apply to any type, format, or version of video coding, whether described in a standard or recommendation, whether existing or developed in the future, and to any extensions of such standards and recommendations, for example. Unless otherwise indicated or technically impossible, aspects described herein may be used individually or in combination.
[0070] In the embodiments described in this application, various numerical values are used, such as number of bits, bit depth, etc. These and other specific values are provided for purposes of illustrating the embodiments, and the described aspects are not limited to these specific values.
[0071] 2 illustrates an exemplary video encoder. Although variations of the exemplary encoder 200 are contemplated, the encoder 200 is described below for purposes of clarity without describing all contemplated variations.
[0072] Before being encoded, a video sequence may undergo pre-encoding processing (201), such as applying a color transformation to the input color picture (e.g., from RGB 4:4:4 to YCbCr 4:2:0) or performing a remapping of the input picture components to obtain a signal distribution that is more resilient to compression (e.g., using histogram equalization of one of the color components). Metadata may be associated with that pre-processing and attached to the bitstream.
[0073] In the encoder 200, a picture is coded by the encoder elements, as described below. The picture to be coded is divided (202) and processed, for example, in units of coding units (CUs). Each unit is coded, for example, using either intra mode or inter mode. When a unit is coded in intra mode, it performs intra prediction (260). In inter mode, motion estimation (275) and motion compensation (270) are performed. The encoder decides (205) whether to use intra mode or inter mode to code the unit, and indicates the intra / inter decision, for example, by a prediction mode flag. A prediction residual is calculated (210), for example, by subtracting the predicted block from the original image block.
[0074] The prediction residual is then transformed (225) and quantized (230). The quantized transform coefficients, as well as the motion vectors and other syntax elements, are entropy coded (245) to output a bitstream. The encoder can skip the transform and apply quantization directly to the untransformed residual signal. The encoder can bypass both the transform and quantization, i.e., the residual is coded directly without applying a transform or quantization process.
[0075] The encoder decodes the coded block to provide a reference for further prediction. The quantized transform coefficients are decoded as the prediction residual. The decoded prediction residual is dequantized (240) and inverse transformed (250) to obtain a decoded image. The decoded prediction residual and the predicted block are combined (255) to reconstruct an image block. An in-loop filter (265) is applied to the reconstructed picture to perform, for example, deblocking / Sample Adaptive Offset (SAO) filtering to reduce coding artifacts. The filtered image is stored in a reference picture buffer (280).
[0076] Figure 3 illustrates an example of a video decoder. In the exemplary decoder 300, the bitstream is decoded by decoder elements as described below. The video decoder 300 generally performs a decoding path that is the inverse of the encoding path described in Figure 2. The encoder 200 also generally performs video decoding as part of encoding the video data.
[0077] In particular, the decoder input includes a video bitstream, which may be generated by the video encoder 200. The bitstream is first entropy decoded (330) to obtain transform coefficients, motion vectors, and other coded information. Picture partition information indicates how the picture is partitioned. The decoder may then partition the picture according to the decoded picture partition information (335). The transform coefficients are inverse quantized (340) and inverse transformed (350) to decode the prediction residual. The decoded prediction residual and the predicted block are combined (355) to reconstruct an image block. The predicted block may be obtained from intra prediction (360) or from motion compensated prediction (i.e., inter prediction) (375) (370). An in-loop filter (365) is applied to the reconstructed image. The filtered image is stored in a reference picture buffer (380).
[0078] The decoded picture may further undergo post-decoding processing (385), such as an inverse color conversion (e.g., from YCbCr 4:2:0 to RGB 4:4:4) or inverse remapping that performs the inverse of the remapping process performed in the pre-encoding processing (201). The post-decoding processing may use metadata derived in the pre-encoding processing and signaled in the bitstream. In an embodiment, the decoded image (e.g., after application of an in-loop filter (365) and / or after post-decoding processing (385), if post-decoding processing is used) may be sent to a display device for rendering to a user.
[0079] FIG. 4 illustrates an example of a system in which various aspects and embodiments described herein may be implemented. System 400 may be embodied as a device including various components described below and configured to perform one or more of the aspects described herein. Examples of such devices include various electronic devices, such as, but not limited to, personal computers, laptop computers, smartphones, tablet computers, digital multimedia set-top boxes, digital television receivers, personal video recording systems, connected appliances, and servers. Elements of system 400, singly or in combination, may be embodied in a single integrated circuit (IC), multiple ICs, and / or separate components. For example, in at least one embodiment, the processing and encoder / decoder elements of system 400 are distributed across multiple ICs and / or separate components. In various embodiments, system 400 is communicatively coupled to one or more other systems or other electronic devices, for example, via a communication bus or through dedicated input and / or output ports. In various embodiments, system 400 is configured to implement one or more of the aspects described herein.
[0080] The system 400 includes at least one processor 410 configured to execute instructions loaded therein, for example, to implement various aspects described herein. The processor 410 can include embedded memory, input / output interfaces, and various other circuits known in the art. The system 400 includes at least one memory 420 (e.g., a volatile memory device and / or a non-volatile memory device). The system 400 includes a storage device 440, which can include non-volatile memory and / or volatile memory, including, but not limited to, Electrically Erasable Programmable Read-Only Memory (EEPROM), Read-Only Memory (ROM), Programmable Read-Only Memory (PROM), Random Access Memory (RAM), Dynamic Random Access Memory (DRAM), Static Random Access Memory (SRAM), Flash, magnetic disk drives, and / or optical disk drives. Storage devices 440 may include, by way of non-limiting example, internal storage devices, attached storage devices (including removable and non-removable storage devices), and / or network-accessible storage devices.
[0081] The system 400 includes an encoder / decoder module 430 configured to process data to provide, for example, encoded or decoded video, and the encoder / decoder module 430 may include its own processor and memory. The encoder / decoder module 430 represents a module that may be included within a device to perform encoding and / or decoding functions. As is known, a device may include one or both of an encoding module and a decoding module. Additionally, the encoder / decoder module 430 may be implemented as a separate element of the system 400 or may be incorporated within the processor 410 as a combination of hardware and software, as is known to those skilled in the art.
[0082] Program code to be loaded into the processor 410 or the encoder / decoder 430 to perform various aspects described herein may be stored in the storage device 440 and then loaded onto the memory 420 for execution by the processor 410. According to various embodiments, one or more of the processor 410, the memory 420, the storage device 440, and the encoder / decoder module 430 may store one or more of various items during execution of the processes described herein. Such stored items may include, but are not limited to, input video, decoded video or portions of decoded video, bitstreams, matrices, variables, and intermediate or final results from processing of equations, expressions, operations, and operational logic.
[0083] In some embodiments, memory internal to the processor 410 and / or the encoder / decoder module 430 is used to store instructions and provide working memory for processing required during encoding or decoding. However, in other embodiments, memory external to the processing device (e.g., the processing device can be either the processor 410 or the encoder / decoder module 430) is used for one or more of these functions. The external memory can be the memory 420 and / or the storage device 440, e.g., dynamic volatile memory and / or non-volatile flash memory. In some embodiments, an external non-volatile flash memory is used, for example, to store the television's operating system. In at least one embodiment, a high-speed external dynamic volatile memory, such as a RAM, is used as working memory for video encoding and decoding operations.
[0084] Input to the elements of system 400 may be provided through a variety of input devices, as shown in block 445. Such input devices may include, but are not limited to, (i) a radio frequency (RF) section that receives, for example, RF signals transmitted over the air by a broadcast station, (ii) a component (COMP) input (or a set of COMP inputs), (iii) a Universal Serial Bus (USB) input, and / or (iv) a High Definition Multimedia Interface (HDMI) input. Other examples include composite video, not shown in FIG. 4.
[0085] In various embodiments, the input devices of block 445 have associated respective input processing elements as known in the art. For example, the RF section may be associated with elements suitable for (i) selecting a desired frequency (also referred to as selecting a signal or band-limiting a signal to a band of frequencies), (ii) down-converting the selected signal, (iii) band-limiting again to a narrower frequency band to select a signal frequency band, which in certain embodiments may be referred to as a channel (for example), (iv) demodulating the down-converted band-limited signal, (v) performing error correction, and / or (vi) demultiplexing to select a desired data packet stream. The RF section of various embodiments includes one or more elements for performing these functions, such as a frequency selector, a signal selector, a band limiter, a channel selector, a filter, a down-converter, a demodulator, an error corrector, and a demultiplexer. The RF section may include a tuner to perform various of these functions, including, for example, down-converting a received signal to a lower frequency (e.g., an intermediate frequency or near-baseband frequency) or to baseband. In one set-top box embodiment, the RF section and its associated input processing elements receive RF signals transmitted over a wired (e.g., cable) medium and perform frequency selection by filtering, down-converting, and filtering again to a desired frequency band. Various embodiments rearrange the order of the above-described (and other) elements, remove some of these elements, and / or add other elements to perform similar or different functions. Adding elements may include inserting elements between existing elements, such as, for example, inserting amplifiers and analog-to-digital converters. In various embodiments, the RF section includes an antenna.
[0086] The USB and / or HDMI terminals may include respective interface processors for connecting the system 400 to other electronic devices via USB and / or HDMI connections. It should be appreciated that various aspects of the input processing, e.g., Reed-Solomon error correction, may be implemented, for example, in a separate input processing IC or in the processor 410, as desired. Similarly, aspects of the USB or HDMI interface processing may be implemented, as desired, in a separate interface IC or in the processor 410. For example, the processor 410 and various processing elements, including an encoder / decoder 430, which operates in combination with memory and storage elements, to process the data stream as desired for presentation on an output device by providing a demodulated, error corrected, and demultiplexed stream to various processing elements, including an encoder / decoder 430, which operates in combination with memory and storage elements.
[0087] The various elements of the system 400 may be provided within an integrated housing in which the various elements may be interconnected and transmit data between them using a suitable connection arrangement 425, such as an internal bus known in the art, including an Inter-IC (I2C) bus, wiring, and printed circuit boards.
[0088] The system 400 communicates with the It includes a communication interface 450 that allows for communication with other devices. The communication interface 450 may include, but is not limited to, a transceiver configured to transmit and receive data over a communication channel 460. The communication interface 450 may include, but is not limited to, a modem or a network card, and the communication channel 460 may be implemented in a wired and / or wireless medium, for example.
[0089] Data is streamed or otherwise provided to system 400 in various embodiments using a wireless network such as a Wi-Fi network, e.g., IEEE 802.11 (IEEE refers to the Institute of Electrical and Electronics Engineers). The Wi-Fi signal in these embodiments is received via communication channel 460 and communication interface 450 adapted for Wi-Fi communication. Communication channel 460 in these embodiments is typically connected to an access point or router that provides access to external networks, including the Internet, to enable streaming applications and other over-the-top communications. Other embodiments provide streamed data to system 400 using a set-top box that provides data through an HDMI connection of input block 445. Still other embodiments provide streamed data to system 400 using an RF connection of input block 445. As noted above, various embodiments provide data in a non-streaming manner. In addition, various embodiments use wireless networks other than Wi-Fi, e.g., a cellular network or a Bluetooth network.
[0090] The system 400 can provide output signals to various output devices including a display 475, speakers 485, and other peripheral devices 495. The display 475 in various embodiments includes, for example, one or more of a touch screen display, an organic light-emitting diode (OLED) display, a curved display, and / or a foldable display. The display 475 can be for a television, a tablet, a laptop, a mobile phone, or other device. The display 475 can also be integrated with other components (e.g., as in a smart phone) or can be separate (e.g., an external monitor for a laptop). The other peripheral devices 495 in various embodiments include one or more of a stand-alone digital video disc (or digital versatile disc) (DVD for both terms), a disc player, a stereo system, and / or a lighting system. Various embodiments use one or more peripheral devices 495 that provide functionality based on the output of the system 400. For example, a disc player performs the functionality of playing the output of the system 400.
[0091] In various embodiments, control signals are communicated between system 400 and display 475, speaker 485, or other peripheral devices 495 using signaling such as AV.Link, Consumer Electronics Control (CEC), or other communication protocols that allow control between devices with or without user intervention. Output devices may be communicatively coupled to system 400 via dedicated connections through respective interfaces 470, 480, and 490. Alternatively, output devices may be connected to system 400 via communication interface 450 using communication channel 460. Display 475 and speaker 485 may be integrated into a single unit with other components of system 400 in an electronic device such as, for example, a television. In various embodiments, display interface 470 includes a display driver, such as, for example, a timing controller (TCon) chip.
[0092] Display 475 and speakers 485 may alternatively be separate from one or more of the other components, for example, if the RF portion of input 445 is part of a separate set-top box. In various embodiments in which display 475 and speakers 485 are external components, output signals may be provided via dedicated output connections including, for example, an HDMI port, a USB port, or a COMP output.
[0093] These embodiments may be executed by the processor 410, or by computer software implemented by hardware, or by a combination of hardware and software. As a non-limiting example, these embodiments may be implemented by one or more integrated circuits. The memory 420 may be of any type suitable for the technology environment, and may be implemented using any suitable data storage technology, such as, as non-limiting examples, optical memory devices, magnetic memory devices, semiconductor-based memory devices, fixed memories, and removable memories. The processor 410 may be of any type suitable for the technology environment, and may include, as non-limiting examples, one or more of a microprocessor, a general-purpose computer, a special-purpose computer, and a processor based on a multi-core architecture.
[0094] Various implementations involve decoding. As used herein, "decoding" may encompass all or a portion of the processes performed on a received encoded sequence to provide a final output suitable for, for example, a display. In various embodiments, such processes include processes typically performed by a decoder, such as one or more of entropy decoding, inverse quantization, inverse transform, and differential decoding. In various embodiments, such processes may also or alternatively include processes performed by a decoder in various implementations described herein, such as determining whether a template-based coding mode is enabled for a current block, identifying at least one decoded block based on the identified decoded block and template sample values of the current block based on a determination that the template-based coding mode is enabled for the current block, obtaining a value of at least one syntax element of the current block based on the identified at least one decoded block, reconstructing the current block using the value of the at least one syntax element, etc.
[0095] As a further example, in one embodiment, "decoding" refers to only entropy decoding, while in another embodiment, "decoding" refers to only differential decoding, while in another embodiment, "decoding" refers to a combination of entropy decoding and differential decoding. Whether the phrase "decoding process" is intended to refer to a task subset specifically or to the broader decoding process as a whole will be clear based on the context of the specific description and will be well understood by one of ordinary skill in the art.
[0096] Various implementations involve encoding. Similar to the above discussion regarding "decoding," "encoding" as used herein can encompass, for example, all or part of the processes performed on an input video sequence to produce an encoded bitstream. In various embodiments, such processes include processes typically performed by an encoder, such as one or more of partitioning, differential encoding, transforming, quantizing, and entropy encoding. In various embodiments, such processes also or alternatively include processes performed by an encoder in various implementations described herein, such as, for example, determining whether to use a template-based coding mode for a current block, excluding signaling of at least one syntax element for the current block based on a determination that a template-based coding mode is enabled for the current block, and encoding the current block based on the template-based coding mode.
[0097] As a further example, in one embodiment, "encoding" refers to only entropy encoding, while in another embodiment, "encoding" refers to only differential encoding, while in another embodiment, "encoding" refers to a combination of differential and entropy encoding. Whether the phrase "encoding process" is intended to refer to a task subset specifically or to the broader encoding process as a whole will be clear based on the context of the specific description and will be well understood by one of ordinary skill in the art.
[0098] It should be noted that the syntax elements used herein, such as but not limited to cu_template_based_coding_enabled_flag, cu_intra_template_based_coding_enabled_flag, cu_inter_template_based_coding_enabled_flag, and cu_transform_template_based_coding_enabled_flag, coding syntax for template matching prediction, are descriptive terms and thus do not exclude the use of other syntax element names.
[0099] Where a figure is presented as a flow diagram, it should be understood that the figure also provides a block diagram of the corresponding apparatus. Similarly, where a figure is presented as a block diagram, it should be understood that the figure also provides a flow diagram of the corresponding method / process.
[0100] The implementations and aspects described herein may be implemented, for example, in a method or process, an apparatus, a software program, a data stream, or a signal. Even if discussed in the context of only a single implementation form (e.g., discussed only as a method), the implementation of the discussed features may also be implemented in other forms (e.g., an apparatus or a program). An apparatus may be implemented, for example, in appropriate hardware, software, and firmware. The method may be implemented, for example, in a processor, where a processor generally refers to a processing device, and includes, for example, a computer, a microprocessor, an integrated circuit, or a programmable logic device. Processors also include, for example, communication devices, such as computers, mobile phones, portable / personal digital assistants ("PDAs"), and other devices that facilitate communication of information between end users.
[0101] References to "one embodiment" or "an embodiment" or "one implementation" or "implementation," as well as other variations thereof, mean that a particular feature, structure, characteristic, etc. described in connection with an embodiment is included in at least one embodiment. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" or "in one implementation" or "in an implementation" appearing in various places throughout this application, as well as any other variations thereof, are not necessarily all referring to the same embodiment.
[0102] Additionally, the application may refer to "determining" various information. Determining information may include, for example, one or more of estimating information, calculating information, predicting information, or retrieving information from a memory. Obtaining may include receiving, retrieving, constructing, generating, and / or determining.
[0103] Additionally, the application may refer to "accessing" various information. Accessing information may include, for example, receiving information, retrieving information (e.g., from a memory), storing information, moving information, copying information, computing information, and This may include one or more of determining, predicting the information, or inferring the information.
[0104] Additionally, the application may refer to "receiving" various information. Receiving, like "accessing," is intended to be a broad term. Receiving information may include, for example, one or more of accessing information or retrieving information (e.g., from a memory). Furthermore, "receiving" generally involves in some manner, for example, an operation such as storing information, processing information, transmitting information, moving information, copying information, erasing information, calculating information, determining information, predicting information, or estimating information.
[0105] For example, in the case of "A / B," "A and / or B," and "at least one of A and B," it should be understood that the use of any of the following " / ," "and / or," and "at least one of" is intended to encompass the selection of only the first listed alternative (A), or the selection of only the second listed alternative (B), or the selection of both alternatives (A and B). As a further example, in the case of "A, B, and / or C" and "at least one of A, B, and C," such language is intended to encompass the selection of only the first listed alternative (A), or the selection of only the second listed alternative (B), or the selection of only the third listed alternative (C), or the selection of only the first and second listed alternatives (A and B), or the selection of only the first and third listed alternatives (A and C), or the selection of only the second and third listed alternatives (B and C), or the selection of all three alternatives (A and B and C). This may be expanded as many times as the number of items listed, as would be apparent to one of ordinary skill in the art and related arts.
[0106] Also, as used herein, the term "signaling" means to indicate something, in particular, to a corresponding decoder. An encoder signal may include, for example, a coding function for the input to a block with a precision factor. In this way, in one embodiment, the same parameters are used on both the encoder and decoder sides. Thus, for example, the encoder may transmit a specific parameter to the decoder so that the decoder can use the same specific parameter (explicit signaling). Conversely, if the decoder already has the specific parameter as well as other parameters, it may use signaling without transmitting, simply to allow the decoder to know and select the specific parameter (implicit signaling). By avoiding transmitting any actual function, bit savings are realized in various embodiments. It should be understood that signaling may be achieved in various manners. For example, in various embodiments, one or more syntax elements, flags, etc. are used to signal information to a corresponding decoder. Although the above is about the verb form of the word "signal", the word "signal" may also be used as a noun in this specification.
[0107] As will be apparent to one of ordinary skill in the art, implementations may generate a variety of signals formatted to carry information that may be, for example, stored or transmitted. Information may include, for example, instructions for performing a method or data generated by one of the described implementations. For example, a signal may be formatted to carry a bit stream of the described embodiments. Such a signal may be formatted, for example, as an electromagnetic wave (e.g., using a radio frequency portion of the spectrum) or as a baseband signal. Formatting may include, for example, encoding a data stream and modulating a carrier wave with the encoded data stream. The signal that the signal carries may be, for example, analog or digital information. The signal may be transmitted by a variety of different wired or wireless links, as is known. The signal may be stored in, accessed from, or received from a processor-readable medium.
[0108] Many examples are described herein. Features of the examples may be provided alone or in any combination across various claim categories and types. Furthermore, examples may include one or more of the features, devices, or aspects described herein, alone or in any combination across various claim categories and types. For example, features described herein may be implemented in a bitstream or signal that includes information generated as described herein. The information may enable a decoder to decode the bitstream, encoder, bitstream, and / or decoder according to any of the described embodiments. For example, features described herein may be implemented by generating and / or transmitting and / or receiving and / or decoding a bitstream or signal. For example, features described herein may be implemented in a method, process, apparatus, medium for storing data, medium for storing instructions, or signal. For example, features described herein may be implemented by a TV, a set-top box, a mobile phone, a tablet, or other electronic device that performs decoding. A TV, set-top box, mobile phone, tablet, or other electronic device may display (e.g., using a monitor, screen, or other type of display) the resulting image (e.g., an image from the residual reconstruction of the video bitstream). A TV, set-top box, mobile phone, tablet, or other electronic device may receive a signal that includes the encoded image and perform decoding.
[0109] The syntax element values may be predicted from previously coded blocks whose templates (e.g., L-shaped samples surrounding the block) match the current block template. The embodiments described herein may increase coding gain and / or reduce syntax element signaling.
[0110] For example, the encoder may determine whether to use a template-based coding mode for the current block. Based on the determination to use the template-based coding mode for the current block, the encoder may bypass signaling of at least one syntax element of the current block. The current block may be encoded based on the template-based coding mode. Based on the determination not to use the template-based coding mode for the current block, at least one syntax element of the current block may be included in the bitstream.
[0111] The embodiments may be performed by a device having at least one processor. The device may include an encoder and / or a decoder. The embodiments may be performed by a computer program product stored on a non-transitory computer-readable medium and including program code instructions. The embodiments may be performed by a computer program including program code instructions. The embodiments may be performed by a bitstream including information representing a template matching prediction mode.
[0112] FIG. 5 illustrates an example of template matching prediction (TMP). TMP may be an intra-prediction mode that can copy a prediction block (e.g., best predicted block) from a reconstructed portion of a current frame where a template (e.g., an L-shaped template) matches the current template. In a predefined search range, the encoder can search for a template that is most similar to the current template in the encoded portion of the current frame, and the corresponding block can be used as the prediction block. The encoder can indicate (e.g., signal in the bitstream) the use of the template matching prediction mode, and a prediction operation (e.g., a corresponding prediction operation) can be performed at the decoder side. A block (e.g., a target block) associated with the template can be used to generate a prediction signal. In an embodiment, the prediction signal can be generated by averaging the templates. In an embodiment, the prediction signal can be generated by considering a block with a minimum template difference. The TMP may be implemented with intra sub-partitions (ISP), matrix-weighted intra prediction (MIP), and / or multiple reference line (MRL) intra prediction, and may have interactions with transform tools (e.g., multi transform selection (MTS) and / or low-frequency non-separable transform (LFNST)), and / or may have interactions with a combination of inter- and intra-prediction. An indication such as a coding unit (CU) flag may be signaled to indicate the use of the TMP. This indication may be signaled at different levels in the designed codec (e.g., at the sub-CU level, the transform unit level, the prediction unit level, the slice level).
[0113] To perform the inverse process and reconstruct pixels from the bitstream, syntax elements (e.g., several syntax elements) may be indicated to the decoder. In an embodiment, at the CU level, various indications (e.g., flags) may be signaled to indicate the prediction type, transform type, and other tools that are enabled or disabled. Exemplary CU signaling is shown below (syntax elements are in bold):
[0114] [Table 1]
[0115] The number of syntax elements (e.g., CU, PU, and / or TU) coded at the block level may be proportional to the number of tools used. For example, each tool may have a flag indicating its use. Many tools may signal their parameters if they are used. This may lead to excessive signaling of flags in each block, increasing overhead and reducing the overall gain.
[0116] In an embodiment, syntax elements of a coding block may be inferred, derived, and / or predicted from another decoded block if their templates match (e.g., the template sample values are the same or substantially similar). The syntax elements of a coding block, or a subset of the syntax elements, may be obtained from a decoded block using a matching template.
[0117] It may be determined whether to use a template-based coding mode for the current block. Based on the determination that the template-based coding mode is enabled for the current block, some syntax elements of the current block may be excluded from the bitstream. An indication may be signaled at the beginning of the block syntax structure to indicate the use of the template-based coding mode for the current block. In an embodiment, at the CU level, a flag (e.g., cu_template_based_coding_enabled_flag) may be signaled to indicate whether the template-based coding mode is used to code the current block. If this flag is equal to 1, all (or some) of the other syntax elements may be skipped from the signaling and inferred from the matching block. In an embodiment, flags for intra prediction modes (e.g., intra_mip_flag and intra_subpartitions_mode) may be skipped. The current block may be left out of the bitstream. Based on a determination that the template-based coding mode is disabled for the current block, a syntax element for the current block may be signaled in the bitstream. If a template-based coding enable indication as described herein is not present in the bitstream, the value may be inferred to indicate that template-based coding is disabled. If the template-based coding enable indication indicates that template-based coding is enabled, syntax template deduction as described herein may be used.
[0118] The decoder may determine whether a template-based coding mode is enabled for the current block. The determination may be based on a template-based coding enablement indication, such as cu_template_based_coding_enabled_flag. Based on the determination that the template-based coding mode is enabled for the current block, a neighboring block (e.g., a decoded block) may be identified via template matching. The neighboring block (e.g., a decoded block) may be identified based on template sample values of the identified neighboring block (e.g., a decoded block) and the template sample values of the current block. For example, the neighboring block may be identified by having template samples that match (e.g., identical, closest, or similar template sample values) with the template samples of the current block. A value of at least one syntax element of the current block may be obtained based on the identified neighboring block (e.g., a decoded block). For example, a value of a syntax element, such as a flag of an intra-prediction mode (e.g., intra_mip_flag and intra_subpartitions_mode) for the current block may be inferred, derived, and / or predicted from a corresponding syntax element of the identified neighboring block (e.g., a decoded block). The current block may be decoded (e.g., reconstructed) using the values of the syntax elements obtained via template matching.
[0119] The encoder may determine whether a template-based coding mode is enabled for the current block. This determination may be based on rate-distortion optimization. A template-based coding enablement indication, such as cu_template_based_coding_enabled_flag, may be included in the video data to indicate whether a template-based coding mode is enabled (e.g., for a coding block, for multiple coding blocks, for a sub-block, etc.). Based on a determination that a template-based coding mode is enabled for the current block, one or more syntax elements of the current block may be excluded from the video data (e.g., signaling of the syntax element may be bypassed). The current block may be encoded using values of the syntax elements obtained via template matching.
[0120] An example of CU signaling is shown in the table below.
[0121] [Table 2-1]
[0122] [Table 2-2]
[0123] FIG. 6 illustrates an example of searching for a matching template for a current block (e.g., within the decoded portion). In an embodiment, signaling overhead may be reduced by predicting syntax elements from neighboring blocks (e.g., previously decoded blocks in the decoded portion or previously coded blocks in the coded portion). Neighboring blocks (e.g., decoded blocks or coded blocks) whose templates match the current template may be searched for. In an embodiment, a neighboring block (e.g., a decoded block) may be identified based on template sample values of the neighboring block (e.g., a decoded block) and template sample values of the current block. The template sample values of the identified neighboring block (e.g., a decoded block) may match the template sample values of the current block. For example, the matching template sample values of the neighboring block (e.g., a decoded block) may be the same template sample values, the closest template sample values, or the similar template sample values as the template samples of the current block. A value of at least one syntax element of the current block may be obtained based on the identified at least one neighboring block (e.g., a decoded block). This may be performed on both the encoder side and the decoder side.
[0124] A search in all decoded blocks may not be required to find a matching block. There may be a table that registers the information of the decoded blocks. In an embodiment, the video decoding device and / or the video encoding device may register the syntax element values of the neighboring blocks in a table. The table may be a table of size N, whose entries may be templates for each neighboring block and all (or some) of its syntax elements. This is shown in the table below, where S1, S2, ... are syntax elements that may be used for template-based coding.
[0125] [Table 3]
[0126] Based on the table, the video decoding device and / or video encoding device may obtain a syntax element value of the identified neighboring block that corresponds to the syntax element of the current block. The value of the syntax element of the current block may be obtained based on the syntax element value of the identified neighboring block. In an embodiment, the video decoding device may set the value of the syntax element of the current block to the syntax element value of the identified neighboring block. In an embodiment, the video decoding device may predict the value of the syntax element of the current block based on the syntax element value of the identified neighboring block. In an embodiment, the video decoding device may copy the value of the syntax element of the current block to the syntax element value of the identified neighboring block.
[0127] The table may be updated with new entries when finishing the reconstruction or encoding of a block. The table may be updated with unique templates (e.g., to avoid having redundant information in the table). To have unique templates, the distance between the templates may be measured and information from blocks with large distances may be inserted into the table. The absolute value of the difference or the squared difference may be used as the distance measure.
[0128] In an embodiment, a single candidate may be used. A best neighboring block (e.g., best decoded block) may be identified based on the template sample values of the best identified neighboring block (e.g., best decoded block) and the template sample values of the current block. A value of at least one syntax element of the current block may be obtained based on the best neighboring block (e.g., best decoded block). The value of the syntax element of the best neighboring block (e.g., decoded block) may be used to decode (e.g., reconstruct) the current block.
[0129] A best neighboring block (e.g., best coding block) may be identified based on template sample values of the best identified neighboring block (e.g., best coding block) and template sample values of the current block. A value of at least one syntax element of the current block may be obtained based on the best neighboring block (e.g., best coding block). The value of the syntax element of the best neighboring block may be used to code the current block.
[0130] In an embodiment, multiple candidates may be used. Multiple neighboring blocks (e.g., decoded blocks) may be identified based on the template sample values of the neighboring blocks (e.g., decoded blocks) and the template sample values of the current block. A value of at least one syntax element of the current block may be obtained based on the identified neighboring blocks (e.g., decoded blocks). The value of the at least one syntax element may be used to decode (e.g., reconstruct) the current block. In an embodiment, a first subset of syntax elements of one or more neighboring blocks (e.g., decoded blocks) may be used to decode the current block, and a second subset of syntax elements of one or more other neighboring blocks (e.g., decoded blocks) may be used to decode the current block. The encoder may indicate to the decoder one or more blocks used for prediction. The table may be sorted according to distance to the current template. The encoder may test up to M candidates in the table to find the best candidate and may signal an index of the best neighboring block (e.g., decoded block).
[0131] In an embodiment, a template-based coding mode may be enabled for a class of syntax elements of the current block. Based on a determination that the template-based coding mode is enabled for a class of syntax elements of the current block, a value of the class of the syntax elements of the current block may be obtained based on a corresponding syntax element value of an identified neighboring block (e.g., a decoded block). The current block may be decoded (e.g., reconstructed) based on the value of the class of the syntax elements of the current block.
[0132] In an embodiment, the video encoding device may enable a template-based coding mode for a class of syntax elements of the current block. Based on a determination that the template-based coding mode is enabled for a class of syntax elements of the current block, the class of syntax elements of the current block may be excluded from the video data (e.g., signaling of syntax elements in the class may be bypassed for the current block). The current block may be encoded based on the template-based coding mode. Whether to code the current block using the template-based coding mode may be determined based on rate-distortion optimization.
[0133] The class of syntax elements may include at least one of intra-prediction syntax elements, inter-prediction syntax elements, or transform syntax elements. In an embodiment, the class of syntax elements may include one of intra-prediction syntax elements, inter-prediction syntax elements, or transform syntax elements. In an embodiment, the class of syntax elements may include two of intra-prediction syntax elements, inter-prediction syntax elements, or transform syntax elements. In an embodiment, the class of syntax elements may include all three of intra-prediction syntax elements, inter-prediction syntax elements, or transform syntax elements.
[0134] One or more flags may be signaled to indicate the use of template-based coding modes for intra-prediction syntax elements, inter-prediction syntax elements, and / or transform syntax elements. The use of specific tools such as intra sub-partitioning or sub-block transforms may be indicated. An example of the syntax is shown below:
[0135] [Table 4-1]
[0136] [Table 4-2]
[0137] [Table 4-3]
[0138] [Table 4-4]
[0139] [Table 4-5]
[0140] [Table 4-6]
[0141] In the above example, the template-based coding enable indication may be signaled to indicate whether intra, inter, and / or transform information is predicted (e.g., copied, inferred, derived) from the identified neighboring block (e.g., decoded block). Based on the template-based coding enable indication, intra information, inter information, and / or transform information may be predicted (e.g., copied, inferred, derived) from the identified neighboring block (e.g., decoded block).
[0142] For example, an intra template-based coding enablement indication such as cu_intra_template_based_coding_enabled_flag shown in the exemplary coding unit syntax table above may indicate whether intra prediction information of the current block should be obtained (e.g., predicted, copied, inferred, derived) based on intra prediction information related to a neighboring block identified via template matching. For example, an inter template-based coding enablement indication such as cu_inter_template_based_coding_enabled_flag shown in the exemplary syntax table above may indicate whether inter prediction information of the current block should be obtained (e.g., predicted, copied, inferred, derived) based on inter prediction information related to a neighboring block identified via template matching. For example, a transform template-based coding enablement indication such as cu_transform_template_based_coding_enabled_flag shown in the exemplary syntax table above may indicate whether transform information of the current block should be obtained (e.g., predicted, copied, inferred, derived) based on transform information related to an identified neighboring block. The neighboring block is identified by template matching.
[0143] Although the example indications shown above may be signaled at the CU level, the indications may also be signaled at other levels, such as the slice level, the tile level, the sub-block level, etc.
[0144] In an embodiment, a subset of prediction or transformation information or values may be inferred (e.g., via template inference) from the identified neighboring blocks. In an embodiment, not all syntax values may be inferred based on the identified neighboring blocks via template matching. The values of the syntax elements from the identified neighboring blocks may be used to initialize the entropy coding context of the syntax elements. In an embodiment, the cu_skip_flag entropy coding model may be inferred from the cu_skip_flag values of the CUs above and to the left of the current block. In an embodiment, the entropy coding model may be inferred from the cu_skip_flag values of the identified neighboring blocks.
[0145] When searching for a similar template, the neighboring block (e.g., a decoded block) and the current block may or may not have the same dimensions when calculating a distance measure between the templates. The number of dimensions of the neighboring block (e.g., a decoded block) may be compared to the number of dimensions of the current block. If the number of dimensions of the neighboring block is greater than that of the current block, the template of the neighboring block may be subsampled to be equal to the template size of the current block. The neighboring block may be identified based on template sample values in the subsampled template of the neighboring block and the template sample values of the current block. If the number of dimensions of the current block is greater than that of the neighboring block, the template of the current block may be subsampled to be equal to the template size of the neighboring block. The neighboring block may be identified based on template sample values in the subsampled template of the current block. Distance measures with different template sizes may be used.
[0146] FIG. 7 illustrates an example of two templates with eight and four dimensions, respectively. For two blocks of size N×M and K×L, two distance measures can be provided between the upper template of size N and K, and between the left template of size M and L. For each of the two templates to be compared, the larger dimension can be 2^n times the smaller dimension. This is due to the partitioning types of quad-tree, binary tree and ternary tree. Therefore, to compare two templates, the larger template can be subsampled to the same dimension as the smaller template.
[0147] In some embodiments, both templates (e.g., the template of the current block and the template of the neighboring block) may be subsampled. For example, the templates may be subsampled to a minimum CU size (e.g., 4 pixels) and the templates may be compared regardless of their dimensions. This may simplify the design and reduce the information stored in the template table.
[0148] In some embodiments, the intersections may be compared (e.g., the portion that corresponds to the smallest template may be considered in the calculation). The number of samples used to compare the blocks may be used to weight the template distance function.
[0149] In an embodiment, the template lookup and template table may be limited to the current CTU or CTU line. This may reduce overall complexity and improve coding speed by enabling parallel processing, which may allow CTU lines to be decoded in parallel if there are no dependencies between them. In an embodiment, the template lookup and template table may not be limited to the current CTU or CTU line.
[0150] 8 illustrates an example flowchart 800 for decoding a current block. At 802, it may be determined whether a template-based coding mode is enabled for the current block. At 804, a neighboring block may be identified based on a template sample value of the current block based on a determination that the template-based coding mode is enabled for the current block. At 806, values of syntax elements of the current block may be obtained based on the identified neighboring blocks. At 808, the current block may be decoded based on the values of the syntax elements.
[0151] 9 illustrates an example flowchart 900 for encoding a current block. At 902, it may be determined whether a template-based coding mode is enabled for the current block. At 904, based on a determination that the template-based coding mode is enabled for the current block, neighboring blocks may be identified based on template sample values of the current block. At 906, values of syntax elements of the current block may be obtained based on the identified neighboring blocks. At 908, the current block may be encoded based on the values of the syntax elements.
[0152] 10 illustrates an example flowchart 1000 for encoding a current block. At 1002, it may be determined whether a template-based coding mode is enabled for the current block. At 1004, based on a determination that the template-based coding mode is enabled for the current block, signaling of syntax elements may be omitted for the current block. At 1006, the current block may be encoded based on the template-based coding mode.
[0153] Although the features and elements are described above in certain combinations, one skilled in the art will understand that each feature or element may be used alone or in any combination with the other features and elements. In addition, the methods described herein may be implemented in a computer program, software, or firmware embodied in a computer-readable medium for execution by a computer or processor. Examples of computer-readable media include electronic signals (transmitted over wired or wireless connections) and computer-readable storage media. Examples of computer-readable storage media include, but are not limited to, read-only memory (ROM), random-access memory (RAM), registers, cache memory, semiconductor memory devices, magnetic media such as internal hard disks and removable disks, magneto-optical media, and optical media such as CD-ROM disks and digital versatile disks (DVDs). A processor in association with software may be used to implement a radio frequency transceiver for use in a WTRU, UE, terminal, base station, RNC, or any host computer.
Claims
1. 1. A device for video decoding, comprising: a processor configured to: determine whether a template-based coding mode is enabled for a current block; identify neighboring blocks based on a plurality of template sample values of the current block based on the determination that the template-based coding mode is enabled for the current block; obtain values of syntax elements of the current block based on the identified neighboring blocks; and decode the current block based on the values of the syntax elements.
2. 2. The device of claim 1, wherein the processor is further configured to: register syntax element values of a plurality of neighboring blocks in a table; and obtain, based on the table, syntax element values of the identified neighboring blocks corresponding to the syntax elements of the current block, wherein the values of the syntax elements of the current block are obtained based on the syntax element values of the identified neighboring blocks.
3. 2. The device of claim 1 , wherein the processor is further configured to: obtain a syntax element value of the identified neighboring block that corresponds to the syntax element of the current block; and set the value of the syntax element of the current block to the syntax element value of the identified neighboring block.
4. 2. The device of claim 1, wherein the processor is further configured to: identify a plurality of neighboring blocks based on a plurality of template sample values of the plurality of neighboring blocks and the plurality of template sample values of the current block; and obtain the value of the syntax element of the current block based on the identified plurality of neighboring blocks.
5. the processor compares a dimensionality of the neighboring block with a dimensionality of the current block; and based on the dimensionality of the neighboring block being greater than the current block, sub-sampling a template of the neighboring block to be equal to a template size of the current block, where the neighboring block is identified based on a plurality of template sample values of the sub-sampled template of the neighboring block and the plurality of template sample values of the current block; and based on the dimensionality of the current block being greater than the neighboring block, sub-sampling a template of the neighboring block to be equal to a template size of the current block, where the neighboring block is identified based on a plurality of template sample values of the sub-sampled template of the neighboring block and the plurality of template sample values of the current block.
2. The device of claim 1 , further configured to: sub-sample the template of the current block to be equal to a template size of the neighboring block based on a plurality of template sample values in the sub-sampled template of the current block, the neighboring block being identified based on a plurality of template sample values in the sub-sampled template of the current block.
6. 2. The device of claim 1 , wherein the template-based coding mode is enabled for a class of syntax elements of the current block, and the processor is further configured to: obtain a value of the class of syntax elements of the current block based on corresponding syntax element values of the identified neighboring blocks based on the determination that the template-based coding mode is enabled for the class of syntax elements of the current block; and reconstruct the current block using the value of the class of syntax elements of the current block.
7. 1. A method for video decoding, comprising: determining whether a template-based coding mode is enabled for a current block; identifying neighboring blocks based on a plurality of template sample values of the current block based on the determination that the template-based coding mode is enabled for the current block; obtaining values of syntax elements of the current block based on the identified neighboring blocks; and decoding the current block based on the values of the syntax elements.
8. 8. The method of claim 7, further comprising: registering syntax element values of a plurality of neighboring blocks in a table; and obtaining syntax element values of the identified neighboring blocks corresponding to the syntax elements of the current block based on the table, wherein the values of the syntax elements of the current block are obtained based on the syntax element values of the identified neighboring blocks.
9. 8. The method of claim 7, further comprising: obtaining a syntax element value of the identified neighboring block that corresponds to the syntax element of the current block; and setting the value of the syntax element of the current block to the syntax element value of the identified neighboring block.
10. 8. The method of claim 7, further comprising: identifying a plurality of neighboring blocks based on a plurality of template sample values of the plurality of neighboring blocks and the plurality of template sample values of the current block; and obtaining the value of the syntax element of the current block based on the identified plurality of neighboring blocks.
11. 8. The method of claim 7, further comprising: comparing a dimensionality of the neighboring block with a dimensionality of the current block; and subsampling the template of the neighboring block to be equal to a template size of the current block based on the dimensionality of the neighboring block being greater than the current block, where the neighboring block is identified based on a plurality of template sample values in the subsampled template of the neighboring block and the plurality of template sample values of the current block; and subsampling the template of the current block to be equal to the template size of the neighboring block based on the dimensionality of the current block being greater than the neighboring block, where the neighboring block is identified based on a plurality of template sample values in the subsampled template of the current block.
12. 8. The method of claim 7, further comprising: obtaining a value of the class of syntax elements of the current block based on corresponding syntax element values of the identified neighboring blocks based on the determination that the template-based coding mode is enabled for a class of syntax elements of the current block; and reconstructing the current block using the value of the class of syntax elements of the current block.
13. The device of claim 6 or the method of claim 12, wherein the class of syntax elements includes intra-prediction syntax elements.
14. The device of claim 6 or the method of claim 12, wherein the class of syntax elements includes inter-prediction syntax elements.
15. The device of claim 6 or the method of claim 12, wherein the class of syntax elements comprises transform syntax elements.
16. A computer program product, stored on a non-transitory computer readable medium and comprising program code instructions for implementing the steps of the method according to at least one of claims 7 to 15 when executed by at least one processor.
17. A computer program comprising program code instructions for implementing the steps of the method according to at least one of claims 7 to 15, when the computer program is executed by a processor.
18. 1. A device for video encoding, comprising: a processor configured to: determine whether a template-based coding mode is enabled for a current block; identify neighboring blocks based on a plurality of template sample values of the current block based on the determination that the template-based coding mode is enabled for the current block; obtain values of syntax elements of the current block based on the identified neighboring blocks; and encode the current block based on the values of the syntax elements.
19. 20. The device of claim 18, wherein the processor is further configured to: register syntax element values of a plurality of neighboring blocks in a table; and obtain, based on the table, syntax element values of the identified neighboring blocks that correspond to the syntax elements of the current block, wherein the values of the syntax elements of the current block are obtained based on the syntax element values of the identified neighboring blocks.
20. 20. The device of claim 18, wherein the processor is further configured to: obtain a syntax element value of the identified neighboring block that corresponds to the syntax element of the current block; and set the value of the syntax element of the current block to the syntax element value of the identified neighboring block.
21. 20. The device of claim 18, wherein the processor is further configured to: identify a plurality of neighboring blocks based on a plurality of template sample values of the plurality of neighboring blocks and the plurality of template sample values of the current block; and obtain the value of the syntax element of the current block based on the identified plurality of neighboring blocks.
22. 20. The device of claim 18, wherein the processor is further configured to: compare a dimensionality of the neighboring block to a dimensionality of the current block; and, based on the dimensionality of the neighboring block being greater than the current block, sub-sample the template of the neighboring block to be equal to a template size of the current block, where the neighboring block is identified based on a plurality of template sample values in the sub-sampled template of the neighboring block and the plurality of template sample values of the current block; and, based on the dimensionality of the current block being greater than the neighboring block, sub-sample the template of the current block to be equal to the template size of the neighboring block, where the neighboring block is identified based on a plurality of template sample values in the sub-sampled template of the current block.
23. 20. The device of claim 18, wherein the template-based coding mode is enabled for a class of syntax elements of the current block, and the processor is further configured to: obtain a value of the class of syntax elements of the current block based on corresponding syntax element values of the identified neighboring blocks based on the determination that the template-based coding mode is enabled for the class of syntax elements of the current block; and encode the current block using the value of the class of syntax elements of the current block.
24. 1. A method for video encoding, comprising: determining whether a template-based coding mode is enabled for a current block; identifying neighboring blocks based on a plurality of template sample values of the current block based on the determination that the template-based coding mode is enabled for the current block; obtaining values of syntax elements of the current block based on the identified neighboring blocks; and encoding the current block based on the values of the syntax elements.
25. 25. The method of claim 24, further comprising: registering syntax element values of a plurality of neighboring blocks in a table; and obtaining syntax element values of the identified neighboring blocks corresponding to the syntax elements of the current block based on the table, wherein the values of the syntax elements of the current block are obtained based on the syntax element values of the identified neighboring blocks.
26. 25. The method of claim 24, further comprising: obtaining a syntax element value of the identified neighboring block that corresponds to the syntax element of the current block; and setting the value of the syntax element of the current block to the syntax element value of the identified neighboring block.
27. 25. The method of claim 24, further comprising: identifying a plurality of neighboring blocks based on a plurality of template sample values of the plurality of neighboring blocks and the plurality of template sample values of the current block; and obtaining the value of the syntax element of the current block based on the identified plurality of neighboring blocks.
28. comparing a dimensionality of the neighboring block with a dimensionality of the current block; subsampling a template of the neighboring block to be equal to a template size of the current block based on the dimensionality of the neighboring block being greater than the current block, where the neighboring block is identified based on a plurality of template sample values in the subsampled template of the neighboring block and the plurality of template sample values of the current block; and subsampling the template of the current block to be equal to a template size of the neighboring block based on the dimensionality of the current block being greater than the neighboring block, where the subsampled template of the current block is identified based on the dimensionality of the current block being greater than the neighboring block.
25. The method of claim 24, further comprising: sub-sampling, wherein the neighboring blocks are identified based on a plurality of template sample values in the template.
29. 25. The method of claim 24, further comprising: obtaining a value of the class of the syntax element of the current block based on corresponding syntax element values of the identified neighboring blocks based on the determination that the template-based coding mode is enabled for the class of the syntax element of the current block; and encoding the current block using the value of the class of the syntax element of the current block.
30. 30. The device of claim 23 or the method of claim 29, wherein the class of syntax elements comprises intra-prediction syntax elements.
31. 30. The device of claim 23 or the method of claim 29, wherein the class of syntax elements includes inter-prediction syntax elements.
32. 30. The device of claim 23 or the method of claim 29, wherein the class of syntax elements comprises transform syntax elements.
33. 1. A device for video encoding, comprising: a processor, the processor configured to: determine whether to enable a template-based coding mode for a current block; omit signaling of a syntax element for the current block based on the determination of enabling the template-based coding mode for the current block; and encode the current block based on the template-based coding mode.
34. 34. The device of claim 33, wherein the template-based coding mode is enabled for a class of syntax elements of the current block, and the processor is further configured to: exclude signaling the class of the syntax elements of the current block based on the determination of enabling the template-based coding mode for the class of syntax elements of the current block; and encode the current block based on the template-based coding mode.
35. 1. A method for video encoding, comprising: determining whether to enable a template-based coding mode for a current block; excluding signaling of syntax elements for the current block based on the determination of enabling the template-based coding mode for the current block; and encoding the current block based on the template-based coding mode.
36. 36. The method of claim 35, further comprising: excluding signaling the class of the syntax elements of the current block based on the determination that the template-based coding mode is valid for a class of syntax elements of the current block; and encoding the current block based on a template-based coding mode.
37. The device of claim 33 or the method of claim 35, wherein the decision of whether to enable the template-based coding mode for the current block is based on rate-distortion optimization.
38. 37. The device of claim 34 or the method of claim 36, wherein the class of syntax elements comprises intra-prediction syntax elements.
39. 37. The device of claim 34 or the method of claim 36, wherein the class of syntax elements comprises intra-prediction syntax elements.
40. 37. The device of claim 34 or the method of claim 36, wherein the class of syntax elements comprises intra-prediction syntax elements.
41. A computer program product comprising program code instructions stored on a non-transitory computer readable medium and for implementing the steps of the method according to at least one of claims 24 to 32 and 35 to 40 when executed by a processor.
42. A computer program comprising program code instructions for implementing the steps of the method according to at least one of claims 24 to 32 and 35 to 40, when the computer program is executed by a processor.
43. Video data comprising information representative of an encoded output produced according to one of the methods of any one of claims 24 to 32 and 35 to 40.
Citation Information
Patent Citations
Method and Apparatus of Reordering Motion Vector Prediction Candidate Set for Video Coding
US20200068218A1
Template-based inter prediction techniques based on encoding and decoding latency reduction
US20200374513A1
Illumination compensation flag in frame rate up-conversion with template matching
US20210044821A1
Method and apparatus for intra-prediction in image coding system
US20210297677A1
Methods and apparatus supporting multi-pass video syntax structure for slice data
WO2008156548A1
