Sub-partitioning associated with template matching
By sub-partitioning inter-coded video blocks and refining motion vectors based on reconstructed samples, the video decoding device addresses the challenges of motion vector determination in existing video coding systems, resulting in improved compression efficiency.
Patent Information
- Application Number
- PCT/EP2024/076872
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-10-02
- Filing Date
- 2024-09-25
- Publication Date
- 2025-04-10
AI Technical Summary
Existing video coding systems face challenges in efficiently encoding and decoding inter-coded video blocks, particularly in accurately determining motion vectors across varying sub-partitions.
A video decoding device configures sub-partitioning of inter-coded video blocks into multiple sub-partitions, where each sub-partition is reconstructed using a motion vector. The device refines motion vectors for subsequent sub-partitions based on reconstructed samples from previous sub-partitions.
This approach enhances the accuracy of motion vector determination and improves the efficiency of video coding by allowing for adaptive sub-partitioning and refined motion estimation, leading to better compression performance.
Smart Images

Figure EP2024076872_10042025_PF_FP_ABST
Abstract
Description
SUB-PARTITIONING ASSOCIATED WITH TEMPLATE MATCHINGCROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application claims the benefit of European Patent Application No. 23306652.1 , filed Oct. 2, 2023, the disclosure of which is incorporated herein by reference in its entirety.BACKGROUND
[0002] Video coding systems may be used to compress digital video signals, e.g., to reduce the storage and / or transmission bandwidth needed for such signals. Video coding systems may include, for example, block-based, wavelet-based, and / or object-based systems.SUMMARY
[0003] Disclosed herein are systems, methods and instrumentalities associated with video coding (e.g., encoding and decoding). According to embodiments of the present disclosure, a video decoding device may be configured to obtain an inter-coded video block associated with a current picture and divide the inter-coded video block into at least a first sub-partition and a second sub-partition. The video decoding device may reconstruct the first sub-partition based on a first motion vector associated with the inter-coded video block, determine a second motion vector based on the first motion vector and one or more reconstructed samples of the first sub-partition, and reconstruct the second sub-partition based on the second motion vector.
[0004] In examples, the first sub-partition may have a different shape or a different size than the second sub-partition. In examples, the shape of at least one of the first sub-partition or the second subpartition may be determined based on the shape of the inter-coded video block. In examples, the shape of at least one of the first sub-partition or the second sub-partition is determined based on a prediction mode used for the inter-coded video block.
[0005] In examples, the video decoding device may be further configured to receive a video bitstream, wherein the shape of at least one of the first sub-partition or the second sub-partition may be signaled in the video bitstream. In examples, the first sub-partition may be used as a template to determine the second motion vector. In examples, the second motion vector may be determined by refining the first motion vector based on the one or more reconstructed samples of the first sub-partition. In examples, the second motion vector may be determined by refining the first motion vector based on a subset of reconstructed samples of the first sub-partition.
[0006] In examples, the inter-coded video block may be further divided into a third sub-partition and the video decoding device may be further configured to determine a third motion vector based on thesecond motion vector and one or more reconstructed samples of the second sub-partition, and reconstruct the third sub-partition based on the third motion vector.
[0007] According to embodiments of the present disclosure, a video encoding device may be configured to obtain an inter-coded video block associated with a current picture and divide the interceded video block into at least a first sub-partition and a second sub-partition. The video encoding device may reconstruct the first sub-partition based on a first motion vector associated with the inter-coded video block, determine a second motion vector based on the first motion vector and one or more reconstructed samples of the first sub-partition, and reconstruct the second sub-partition based on the second motion vector.
[0008] In examples, the shape of at least one of the first sub-partition or the second sub-partition may be determined based on the shape of the inter-coded video block or a prediction mode used for the interceded video block. In examples, the first sub-partition may be used as a template to determine the second motion vector.
[0009] A computer program product may be stored on a non-transitory computer readable medium and may comprise program code instructions for implementing (e.g., when the instructions are executed by a processor) the steps of a method performed by the video decoding device or the encoding device described herein.
[0010] Video data may comprise information representative of a non-square video block encoded by the video encoding device described herein.BRIEF DESCRIPTION OF THE DRAWINGS
[0011] FIG. 1A is a system diagram illustrating an example communications system in which one or more disclosed embodiments may be implemented.
[0012] FIG. 1 B 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 an embodiment.
[0013] FIG. 1C is a system diagram illustrating an example radio access network (RAN) and an example core network (CN) that may be used within the communications system illustrated in FIG. 1A according to an embodiment.
[0014] FIG. 1 D is a system diagram illustrating a further example RAN and a further example CN that may be used within the communications system illustrated in FIG. 1A according to an embodiment.
[0015] FIG. 2 is a diagram illustrating an example video encoder.
[0016] FIG. 3 is a diagram illustrating an example video decoder.
[0017] FIG. 4 is a diagram illustrating an example of a system in which various aspects and examples may be implemented.
[0018] FIG. 5 is a diagram illustrating an example template for a video block.
[0019] FIG. 6 is a diagram illustrating an example of deriving reference samples based on sub-block motion information.
[0020] FIG. 7 is a diagram illustrating an example of a block template.
[0021] FIG. 8a and FIG. 8b are diagrams illustrating examples of sub-partitions for a CU.
[0022] FIG. 9 is a diagram illustrating examples of sub-partitioning.
[0023] FIG. 10 is another diagram illustrating examples of sub-partitioning.DETAILED DESCRIPTION
[0024] A more detailed understanding can be had from the following description, given by way of example in conjunction with the accompanying drawings.
[0025] FIG. 1A is a diagram illustrating an example communications system 100 in which one or more disclosed embodiments can be implemented. The communications system 100 can be a multiple access system that provides content, such as voice, data, video, messaging, broadcast, etc., to multiple wireless users. The communications system 100 can enable multiple wireless users to access such content through the sharing of system resources, including wireless bandwidth. For example, the communications systems 100 can employ 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 multicarrier (FBMC), and the like.
[0026] As shown in FIG. 1A, the communications system 100 can include wireless transmit / receive units (WTRUs) 102a, 102b, 102c, 102d, a RAN 104 / 113, a ON 106 / 115, a public switched telephone network (PSTN) 108, the Internet 110, and other networks 112, though it will be appreciated that the disclosed embodiments contemplate any number of WTRUs, base stations, networks, and / or network elements. Each of the WTRUs 102a, 102b, 102c, 102d can 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 can be referred to as a "station” and / or a "STA”, can be configured to transmit and / or receive wireless signals and can include a user equipment (UE), a mobile station, a fixed or mobile subscriber unit, a subscription-based unit, a pager, a cellular telephone, a personal digital assistant (PDA), a smartphone, a laptop, a netbook, a personal computer, a wireless sensor, a hotspot or Mi-Fi device, anInternet of Things (loT) device, a watch or other wearable, a head-mounted display (HMD), a vehicle, a drone, a medical device and applications (e.g., remote surgery), an industrial device and applications (e.g., a robot and / or other wireless devices operating in an industrial and / or an automated processing chain contexts), a consumer electronics device, a device operating on commercial and / or industrial wireless networks, and the like. Any of the WTRUs 102a, 102b, 102c and 102d can be interchangeably referred to as a UE.
[0027] The communications systems 100 can also include a base station 114a and / or a base station 114b. Each of the base stations 114a, 114b can 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 the other networks 112. By way of example, the base stations 114a, 114b can be a base transceiver station (BTS), a Node-B, an eNode B, a Home Node B, a Home eNode B, a gNB, a NR NodeB, a site controller, an access point (AP), a wireless router, and the like. While the base stations 114a, 114b are each depicted as a single element, it will be appreciated that the base stations 114a, 114b can include any number of interconnected base stations and / or network elements.
[0028] The base station 114a can be part of the RAN 104 / 113, which can also include other base stations and / or network elements (not shown), such as a base station controller (BSC), a radio network controller (RNC), relay nodes, etc. The base station 114a and / or the base station 114b can be configured to transmit and / or receive wireless signals on one or more carrier frequencies, which can be referred to as a cell (not shown). These frequencies can be in licensed spectrum, unlicensed spectrum, or a combination of licensed and unlicensed spectrum. A cell can provide coverage for a wireless service to a specific geographical area that can be relatively fixed or that can change over time. The cell can further be divided into cell sectors. For example, the cell associated with the base station 114a can be divided into three sectors. Thus, in one embodiment, the base station 114a can include three transceivers, i.e., one for each sector of the cell. In an embodiment, the base station 114a can employ multiple-input multiple output (MIMO) technology and can utilize multiple transceivers for each sector of the cell. For example, beamforming can be used to transmit and / or receive signals in desired spatial directions.
[0029] The base stations 114a, 114b can communicate with one or more of the WTRUs 102a, 102b, 102c, 102d over an air interface 116, which can 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 can be established using any suitable radio access technology (RAT).
[0030] More specifically, as noted above, the communications system 100 can be a multiple access system and can employ one or more channel access schemes, such as CDMA, TDMA, FDMA, OFDMA, SC-FDMA, and the like. For example, the base station 114a in the RAN 104 / 113 and the WTRUs 102a, 102b, 102c can implement a radio technology such as Universal Mobile Telecommunications System (UMTS) Terrestrial Radio Access (UTRA), which can establish the air interface 115 / 116 / 117 using wideband CDMA (WCDMA). WCDMA can include communication protocols such as High-Speed Packet Access (HSPA) and / or Evolved HSPA (HSPA+). HSPA can include High-Speed Downlink (DL) Packet Access (HSDPA) and / or High-Speed UL Packet Access (HSUPA).
[0031] In an embodiment, the base station 114a and the WTRUs 102a, 102b, 102c can implement a radio technology such as Evolved UMTS Terrestrial Radio Access (E-UTRA), which can establish the air interface 116 using Long Term Evolution (LTE) and / or LTE-Advanced (LTE-A) and / or LTE-Advanced Pro (LTE-A Pro).
[0032] In an embodiment, the base station 114a and the WTRUs 102a, 102b, 102c can implement a radio technology such as NR Radio Access, which can establish the air interface 116 using New Radio (NR).
[0033] In an embodiment, the base station 114a and the WTRUs 102a, 102b, 102c can implement multiple radio access technologies. For example, the base station 114a and the WTRUs 102a, 102b, 102c can implement LTE radio access and NR radio access together, for instance using dual connectivity (DC) principles. Thus, the air interface utilized by WTRUs 102a, 102b, 102c can be characterized by multiple types of radio access technologies and / or transmissions sent to / from multiple types of base stations (e.g., an eNB and a gNB).
[0034] In other embodiments, the base station 114a and the WTRUs 102a, 102b, 102c can implement radio technologies 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), and the like.
[0035] The base station 114b in FIG. 1 A can be a wireless router, Home Node B, Home eNode B, or access point, for example, and can utilize any suitable RAT for facilitating wireless connectivity in a localized area, such as a place of business, a home, a vehicle, a campus, an industrial facility, an air corridor (e.g., for use by drones), a roadway, and the like. In one embodiment, the base station 114b and the WTRUs 102c, 102d can implement a radio technology such as IEEE 802.11 to establish a wirelesslocal area network (WLAN). In an embodiment, the base station 114b and the WTRUs 102c, 102d can 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 can utilize a cellular-based RAT (e.g., WCDMA, CDMA2000, GSM, LTE, LTE-A, LTE-A Pro, NR etc.) to establish a picocell or femtocell. As shown in FIG. 1A, the base station 114b can have a direct connection to the Internet 110. Thus, the base station 114b can not be required to access the Internet 110 via the CN 106 / 115.
[0036] The RAN 104 / 113 can be in communication with the CN 106 / 115, which can be any type of network configured to provide voice, data, applications, and / or voice over internet protocol (VoIP) services to one or more of the WTRUs 102a, 102b, 102c, 102d. The data can have varying quality of service (QoS) requirements, such as differing throughput requirements, latency requirements, error tolerance requirements, reliability requirements, data throughput requirements, mobility requirements, and the like. The CN 106 / 115 can provide call control, billing services, mobile location-based services, pre-paid 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 can be in direct or indirect communication with other RANs that employ 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 can be utilizing a NR radio technology, the CN 106 / 115 can also be in communication with another RAN (not shown) employing a GSM, UMTS, CDMA 2000, WiMAX, E-UTRA, or WiFi radio technology.
[0037] The CN 106 / 115 can also serve as a gateway for the WTRUs 102a, 102b, 102c, 102d to access the PSTN 108, the Internet 110, and / or the other networks 112. The PSTN 108 can include circuit- switched telephone networks that provide plain old telephone service (POTS). The Internet 110 can include a global system of interconnected computer networks and devices that use common communication protocols, such as the transmission control protocol (TCP), user datagram protocol (UDP) and / or the internet protocol (IP) in the TCP / IP internet protocol suite. The networks 112 can include wired and / or wireless communications networks owned and / or operated by other service providers. For example, the networks 112 can include another CN connected to one or more RANs, which can employ the same RAT as the RAN 104 / 113 or a different RAT.
[0038] Some or all of the WTRUs 102a, 102b, 102c, 102d in the communications system 100 can include multi-mode capabilities (e.g., the WTRUs 102a, 102b, 102c, 102d can include multiple transceivers for communicating with different wireless networks over different wireless links). Forexample, the WTRU 102c shown in FIG. 1A can be configured to communicate with the base station 114a, which can employ a cellular-based radio technology, and with the base station 114b, which can employ an IEEE 802 radio technology.
[0039] FIG. 1 B is a system diagram illustrating an example WTRU 102. As shown in FIG. 1 B, the WTRU 102 can include 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, among others. It will be appreciated that the WTRU 102 can include any subcombination of the foregoing elements while remaining consistent with an embodiment.
[0040] The processor 118 can be a general purpose processor, a special purpose processor, a conventional processor, a digital signal processor (DSP), a plurality of microprocessors, one or more microprocessors in association with a DSP core, a controller, a microcontroller, Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) circuits, any other type of integrated circuit (IC), a state machine, and the like. The processor 118 can perform signal coding, data processing, power control, input / output processing, and / or any other functionality that enables the WTRU 102 to operate in a wireless environment. The processor 118 can be coupled to the transceiver 120, which can be coupled to the transmit / receive element 122. While FIG. 1 B depicts the processor 118 and the transceiver 120 as separate components, it will be appreciated that the processor 118 and the transceiver 120 can be integrated together in an electronic package or chip.
[0041] The transmit / receive element 122 can be configured to transmit signals to, or receive signals from, a base station (e.g., the base station 114a) over the air interface 116. For example, in one embodiment, the transmit / receive element 122 can be an antenna configured to transmit and / or receive RF signals. In an embodiment, the transmit / receive element 122 can be an emitter / detector configured to transmit and / or receive IR, UV, or visible light signals, for example. In yet another embodiment, the transmit / receive element 122 can be configured to transmit and / or receive both RF and light signals. It will be appreciated that the transmit / receive element 122 can be configured to transmit and / or receive any combination of wireless signals.
[0042] Although the transmit / receive element 122 is depicted in FIG. 1 B as a single element, the WTRU 102 can include any number of transmit / receive elements 122. More specifically, the WTRU 102 can employ MIMO technology. Thus, in one embodiment, the WTRU 102 can include two or more transmit / receive elements 122 (e.g., multiple antennas) for transmitting and receiving wireless signals over the air interface 116.
[0043] The transceiver 120 can be configured to modulate the signals that are to be transmitted by the transmit / receive element 122 and to demodulate the signals that are received by the transmit / receive element 122. As noted above, the WTRU 102 can have multi-mode capabilities. Thus, the transceiver 120 can include multiple transceivers for enabling the WTRU 102 to communicate via multiple RATs, such as NR and IEEE 802.11 , for example.
[0044] The processor 118 of the WTRU 102 can be coupled to, and can receive user input data from, the speaker / microphone 124, the keypad 126, and / or the display / touchpad 128 (e.g., a liquid crystal display (LCD) display unit or organic light-emitting diode (OLED) display unit). The processor 118 can also output user data to the speaker / microphone 124, the keypad 126, and / or the display / touchpad 128. In addition, the processor 118 can access information from, and store data in, any type of suitable memory, such as the non-removable memory 130 and / or the removable memory 132. The nonremovable memory 130 can include random-access memory (RAM), read-only memory (ROM), a hard disk, or any other type of memory storage device. The removable memory 132 can include a subscriber identity module (SIM) card, a memory stick, a secure digital (SD) memory card, and the like. In other embodiments, the processor 118 can access information from, and store data in, memory that is not physically located on the WTRU 102, such as on a server or a home computer (not shown).
[0045] The processor 118 can receive power from the power source 134, and can be configured to distribute and / or control the power to the other components in the WTRU 102. The power source 134 can be any suitable device for powering the WTRU 102. For example, the power source 134 can include one or more dry cell batteries (e.g., nickel-cadmium (NiCd), nickel-zinc (NiZn), nickel metal hydride (NiMH), lithium-ion (Li-ion), etc.), solar cells, fuel cells, and the like.
[0046] The processor 118 can also be coupled to the GPS chipset 136, which can 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, the information from the GPS chipset 136, the WTRU 102 can 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 the signals being received from two or more nearby base stations. It will be appreciated that the WTRU 102 can acquire location information by way of any suitable location-determination method while remaining consistent with an embodiment.
[0047] The processor 118 can further be coupled to other peripherals 138, which can 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 can include an accelerometer, an e-compass, a satellite transceiver, a digital camera (for photographs and / or video), a universal serial bus (USB) port, avibration 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 can include one or more sensors, the sensors can 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.
[0048] The WTRU 102 can include a full duplex radio for which transmission and reception of some or all of the signals (e.g., associated with particular subframes for both the UL (e.g., for transmission) and downlink (e.g., for reception) can be concurrent and / or simultaneous. The full duplex radio can include an interference management unit to reduce and or substantially eliminate self-interference via either hardware (e.g., a choke) or signal processing via a processor (e.g., a separate processor (not shown) or via processor 118). In an embodiment, the WTRU 102 can include a half-duplex radio for which transmission and reception of some or all of the signals (e.g., associated with particular subframes for either the UL (e.g., for transmission) or the downlink (e.g., for reception)).
[0049] FIG. 1C is a system diagram illustrating the RAN 104 and the CN 106 according to an embodiment. As noted above, the RAN 104 can employ an E-UTRA radio technology to communicate with the WTRUs 102a, 102b, 102c over the air interface 116. The RAN 104 can also be in communication with the CN 106.
[0050] The RAN 104 can include eNode-Bs 160a, 160b, 160c, though it will be appreciated that the RAN 104 can include any number of eNode-Bs while remaining consistent with an embodiment. The eNode-Bs 160a, 160b, 160c can each include one or more transceivers for communicating with the WTRUs 102a, 102b, 102c over the air interface 116. In one embodiment, the eNode-Bs 160a, 160b, 160c can implement MIMO technology. Thus, the eNode-B 160a, for example, can use multiple antennas to transmit wireless signals to, and / or receive wireless signals from, the WTRU 102a.
[0051] Each of the eNode-Bs 160a, 160b, 160c can be associated with a particular cell (not shown) and can be configured to handle radio resource management decisions, handover decisions, scheduling of users in the UL and / or DL, and the like. As shown in FIG. 1 C, the eNode-Bs 160a, 160b, 160c can communicate with one another over an X2 interface.
[0052] The CN 106 shown in FIG. 1 C can include a mobility management entity (MME) 162, a serving gateway (SGW) 164, and a packet data network (PDN) gateway (or PGW) 166. While each of theforegoing elements are depicted as part of the CN 106, it will be appreciated that any of these elements can be owned and / or operated by an entity other than the CN operator.
[0053] The MME 162 can be connected to each of the eNode-Bs 162a, 162b, 162c in the RAN 104 via an S1 interface and can serve as a control node. For example, the MME 162 can be responsible for authenticating users of the WTRUs 102a, 102b, 102c, bearer activation / deactivation, selecting a particular serving gateway during an initial attach of the WTRUs 102a, 102b, 102c, and the like. The MME 162 can 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.
[0054] The SGW 164 can be connected to each of the eNode Bs 160a, 160b, 160c in the RAN 104 via the S1 interface. The SGW 164 can generally route and forward user data packets to / from the WTRUs 102a, 102b, 102c. The SGW 164 can perform other functions, such as anchoring user planes during inter-eNode B handovers, triggering paging when DL data is available for the WTRUs 102a, 102b, 102c, managing and storing contexts of the WTRUs 102a, 102b, 102c, and the like.
[0055] The SGW 164 can be connected to the PGW 166, which can 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.
[0056] The CN 106 can facilitate communications with other networks. For example, the CN 106 can 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 can include, or can 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 can provide the WTRUs 102a, 102b, 102c with access to the other networks 112, which can include other wired and / or wireless networks that are owned and / or operated by other service providers.
[0057] Although the WTRU is described in FIGS. 1 A-1 D as a wireless terminal, it is contemplated that in certain representative embodiments that such a terminal can use (e.g., temporarily or permanently) wired communication interfaces with the communication network.
[0058] In representative embodiments, the other network 112 can be a WLAN.
[0059] A WLAN in Infrastructure Basic Service Set (BSS) mode can have an Access Point (AP) for the BSS and one or more stations (STAs) associated with the AP. The AP can have an access or an interface to a Distribution System (DS) or another type of wired / wireless network that carries traffic in to and / or out of the BSS. Traffic to STAs that originates from outside the BSS can arrive through the APand can be delivered to the STAs. Traffic originating from STAs to destinations outside the BSS can be sent to the AP to be delivered to respective destinations. Traffic between STAs within the BSS can be sent through the AP, for example, where the source STA can send traffic to the AP and the AP can deliver the traffic to the destination STA. The traffic between STAs within a BSS can be considered and / or referred to as peer-to-peer traffic. The peer-to-peer traffic can be sent between (e.g., directly between) the source and destination STAs with a direct link setup (DLS). In certain representative embodiments, the DLS can use an 802.11e DLS or an 802.11z tunneled DLS (TDLS). A WLAN using an Independent BSS (IBSS) mode cannot have an AP, and the STAs (e.g., all of the STAs) within or using the IBSS can communicate directly with each other. The IBSS mode of communication can sometimes be referred to herein as an "ad-hoc” mode of communication.
[0060] When using the 802.11ac infrastructure mode of operation or a similar mode of operations, the AP can transmit a beacon on a fixed channel, such as a primary channel. The primary channel can be a fixed width (e.g., 20 MHz wide bandwidth) or a dynamically set width via signaling. The primary channel can be the operating channel of the BSS and can be used by the STAs to establish a connection with the AP. In certain representative embodiments, Carrier Sense Multiple Access with Collision Avoidance (CSMA / CA) can be implemented, for example in in 802.11 systems. For CSMA / CA, the STAs (e.g., every STA), including the AP, can sense the primary channel. If the primary channel is sensed / detected and / or determined to be busy by a particular STA, the particular STA can back off. One STA (e.g., only one station) can transmit at any given time in a given BSS.
[0061] High Throughput (HT) STAs can use a 40 MHz wide channel for communication, for example, via a combination of the primary 20 MHz channel with an adjacent or nonadjacent 20 MHz channel to form a 40 MHz wide channel.
[0062] Very High Throughput (VHT) STAs can support 20MHz, 40 MHz, 80 MHz, and / or 160 MHz wide channels. The 40 MHz, and / or 80 MHz, channels can be formed by combining contiguous 20 MHz channels. A 160 MHz channel can be formed by combining 8 contiguous 20 MHz channels, or by combining two non-contiguous 80 MHz channels, which can be referred to as an 80+80 configuration. For the 80+80 configuration, the data, after channel encoding, can be passed through a segment parser that can divide the data into two streams. Inverse Fast Fourier Transform (IFFT) processing, and time domain processing, can be done on each stream separately. The streams can be mapped on to the two 80 MHz channels, and the data can be transmitted by a transmitting STA. At the receiver of the receiving STA, the above described operation for the 80+80 configuration can be reversed, and the combined data can be sent to the Medium Access Control (MAC).
[0063] Sub 1 GHz modes of operation are supported by 802.11af and 802.11ah. The channel operating bandwidths, and carriers, are reduced in 802.11af and 802.11ah relative to those used in 802.11n, and 802.11 ac. 802.11af supports 5 MHz, 10 MHz and 20 MHz bandwidths in the TV White Space (TVWS) spectrum, and 802.11 ah supports 1 MHz, 2 MHz, 4 MHz, 8 MHz, and 16 MHz bandwidths using non-TVWS spectrum. According to a representative embodiment, 802.11ah can support Meter Type Control / Machine-Type Communications, such as MTC devices in a macro coverage area. MTC devices can have certain capabilities, for example, limited capabilities including support for (e.g., only support for) certain and / or limited bandwidths. The MTC devices can include a battery with a battery life above a threshold (e.g., to maintain a very long battery life).
[0064] WLAN systems, which can support multiple channels, and channel bandwidths, such as 802.11n, 802.11 ac, 802.11af, and 802.11ah, include a channel which can be designated as the primary channel. The primary channel can have a bandwidth equal to the largest common operating bandwidth supported by all STAs in the BSS. The bandwidth of the primary channel can be set and / or limited by a STA, from among all STAs in operating in a BSS, which supports the smallest bandwidth operating mode. In the example of 802.11 ah, the primary channel can be 1 MHz wide for STAs (e.g., MTC type devices) that support (e.g., only support) a 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 can depend on the status of the primary channel. If the primary channel is busy, for example, due to a STA (which supports only a 1 MHz operating mode), transmitting to the AP, the entire available frequency bands can be considered busy even though a majority of the frequency bands remains idle and can be available.
[0065] In the United States, the available frequency bands, which can be used by 802.11 ah, are from 902 MHz to 928 MHz. In Korea, the available frequency bands are from 917.5 MHz to 923.5 MHz. In Japan, the available frequency bands are from 916.5 MHz to 927.5 MHz. The total bandwidth available for 802.11 ah is 6 MHz to 26 MHz depending on the country code.
[0066] FIG. 1 D is a system diagram illustrating the RAN 113 and the CN 115 according to an embodiment. As noted above, the RAN 113 can employ an NR radio technology to communicate with the WTRUs 102a, 102b, 102c over the air interface 116. The RAN 113 can also be in communication with the CN 115.
[0067] The RAN 113 can include gNBs 180a, 180b, 180c, though it will be appreciated that the RAN 113 can include any number of gNBs while remaining consistent with an embodiment. The gNBs 180a, 180b, 180c can each include one or more transceivers for communicating with the WTRUs 102a, 102b,102c over the air interface 116. In one embodiment, the gNBs 180a, 180b, 180c can implement MIMO technology. For example, gNBs 180a, 108b can utilize beamforming to transmit signals to and / or receive signals from the gNBs 180a, 180b, 180c. Thus, the gNB 180a, for example, can use multiple antennas to transmit wireless signals to, and / or receive wireless signals from, the WTRU 102a. In an embodiment, the gNBs 180a, 180b, 180c can implement carrier aggregation technology. For example, the gNB 180a can transmit multiple component carriers to the WTRU 102a (not shown). A subset of these component carriers can be on unlicensed spectrum while the remaining component carriers can be on licensed spectrum. In an embodiment, the gNBs 180a, 180b, 180c can implement Coordinated Multi-Point (CoMP) technology. For example, WTRU 102a can receive coordinated transmissions from gNB 180a and gNB 180b (and / or gNB 180c).
[0068] The WTRUs 102a, 102b, 102c can communicate with gNBs 180a, 180b, 180c using transmissions associated with a scalable numerology. For example, the OFDM symbol spacing and / or OFDM subcarrier spacing can vary for different transmissions, different cells, and / or different portions of the wireless transmission spectrum. The WTRUs 102a, 102b, 102c can communicate with gNBs 180a, 180b, 180c using subframe or transmission time intervals (TTIs) of various or scalable lengths (e.g., containing varying number of OFDM symbols and / or lasting varying lengths of absolute time).
[0069] The gNBs 180a, 180b, 180c can be configured to communicate with the WTRUs 102a, 102b, 102c in a standalone configuration and / or a non-standalone configuration. In the standalone configuration, WTRUs 102a, 102b, 102c can communicate with gNBs 180a, 180b, 180c without also accessing other RANs (e.g., such as eNode-Bs 160a, 160b, 160c). In the standalone configuration, WTRUs 102a, 102b, 102c can utilize one or more of gNBs 180a, 180b, 180c as a mobility anchor point. In the stand al one con figuration, WTRUs 102a, 102b, 102c can communicate with gNBs 180a, 180b, 180c using signals in an unlicensed band. In a non-standalone configuration WTRUs 102a, 102b, 102c can communicate with / connect to gNBs 180a, 180b, 180c while also communicating with / connecting to another RAN such as eNode-Bs 160a, 160b, 160c. For example, WTRUs 102a, 102b, 102c can 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 the non-standalone configuration, eNode- Bs 160a, 160b, 160c can serve as a mobility anchor for WTRUs 102a, 102b, 102c and gNBs 180a, 180b, 180c can provide additional coverage and / or throughput for servicing WTRUs 102a, 102b, 102c.
[0070] Each of the gNBs 180a, 180b, 180c can be associated with a particular cell (not shown) and can be configured to handle radio resource management decisions, handover decisions, scheduling of users in the UL and / or DL, support of network slicing, dual connectivity, interworking between NR and E-UTRA, routing of user plane data towards User Plane Function (UPF) 184a, 184b, routing of control plane information towards Access and Mobility Management Function (AMF) 182a, 182b and the like. As shown in FIG. 1 D, the gNBs 180a, 180b, 180c can communicate with one another over an Xn interface.
[0071] The CN 115 shown in FIG. 1 D can 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. While each of the foregoing elements are depicted as part of the CN 115, it will be appreciated that any of these elements can be owned and / or operated by an entity other than the CN operator.
[0072] The AMF 182a, 182b can be connected to one or more of the gNBs 180a, 180b, 180c in the RAN 113 via an N2 interface and can serve as a control node. For example, the AMF 182a, 182b can be responsible for authenticating users of the WTRUs 102a, 102b, 102c, support for network slicing (e.g., handling of different PDU sessions with different requirements), selecting a particular SMF 183a, 183b, management of the registration area, termination of NAS signaling, mobility management, and the like. Network slicing can be used by the AMF 182a, 182b in order to customize CN support for WTRUs 102a, 102b, 102c based on the types of services being utilized WTRUs 102a, 102b, 102c. For example, different network slices can be established for different use cases such as services relying on ultrareliable low latency (URLLC) access, services relying on enhanced massive mobile broadband (eMBB) access, services for machine type communication (MTC) access, and / or the like. The AMF 162 can 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.
[0073] The SMF 183a, 183b can be connected to an AMF 182a, 182b in the CN 115 via an N11 interface. The SMF 183a, 183b can also be connected to a UPF 184a, 184b in the CN 115 via an N4 interface. The SMF 183a, 183b can select and control the UPF 184a, 184b and configure the routing of traffic through the UPF 184a, 184b. The SMF 183a, 183b can perform other functions, such as managing and allocating UE IP address, managing PDU sessions, controlling policy enforcement and QoS, providing downlink data notifications, and the like. A PDU session type can be IP-based, non-IP based, Ethernet-based, and the like.
[0074] The UPF 184a, 184b can be connected to one or more of the gNBs 180a, 180b, 180c in the RAN 113 via an N3 interface, which can 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 UPF 184, 184b can perform other functions, such as routingand forwarding packets, enforcing user plane policies, supporting multi-homed PDU sessions, handling user plane QoS, buffering downlink packets, providing mobility anchoring, and the like.
[0075] The CN 115 can facilitate communications with other networks. For example, the CN 115 can include, or can 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 can provide the WTRUs 102a, 102b, 102c with access to the other networks 112, which can include other wired and / or wireless networks that are owned and / or operated by other service providers. In one embodiment, the WTRUs 102a, 102b, 102c can be connected to a local Data Network (DN) 185a, 185b through the UPF 184a, 184b via the N3 interface to the UPF 184a, 184b and an N6 interface between the UPF 184a, 184b and the DN 185a, 185b.
[0076] In view of Figures 1A-1 D, and the corresponding description of Figures 1A-1 D, one or more, or all, of the functions described herein with regard to one or more of: WTRU 102a-d, Base Station 114a-b, eNode-B 160a-c, MME 162, SGW 164, PGW 166, gNB 180a-c, AMF 182a-b, UPF 184a-b, SMF 183a-b, DN 185a-b, and / or any other device(s) described herein, can be performed by one or more emulation devices (not shown). The emulation devices can be one or more devices configured to emulate one or more, or all, of the functions described herein. For example, the emulation devices can be used to test other devices and / or to simulate network and / or WTRU functions.
[0077] The emulation devices can be designed to implement one or more tests of other devices in a lab environment and / or in an operator network environment. For example, the one or more emulation devices can perform the one or more, or all, functions while being fully or partially implemented and / or deployed as part of a wired and / or wireless communication network in order to test other devices within the communication network. The one or more emulation devices can perform the one or more, or all, functions while being temporarily implemented / deployed as part of a wired and / or wireless communication network. The emulation device can be directly coupled to another device for purposes of testing and / or can performing testing using over-the-air wireless communications.
[0078] The one or more emulation devices can perform the one or more, including all, functions while not being implemented / deployed as part of a wired and / or wireless communication network. For example, the emulation devices can be utilized in a testing scenario in a testing laboratory and / or a nondeployed (e.g., testing) wired and / or wireless communication network in order to implement testing of one or more components. The one or more emulation devices can be test equipment. Direct RF coupling and / or wireless communications via RF circuitry (e.g., which can include one or more antennas) can be used by the emulation devices to transmit and / or receive data.
[0079] This application describes a variety of aspects, including tools, features, examples, models, approaches, etc. Many of these aspects are described with specificity and, at least to show the individual characteristics, are often described in a manner that can sound limiting. However, this is for purposes of clarity in description, and does not limit the application or scope of those aspects. Indeed, all of the different aspects can be combined and interchanged to provide further aspects. Moreover, the aspects can be combined and interchanged with aspects described in earlier filings as well.
[0080] The aspects described and contemplated in this application can be implemented in many different forms. The figures provided herein can provide some examples, but other examples are contemplated. The discussion of the figures does not limit the breadth of the implementations. At least one of the aspects generally relates to video encoding and decoding, and at least one other aspect generally relates to transmitting a bitstream generated or encoded. These and other aspects can be implemented as a method, an apparatus, a computer readable medium (e.g., storage medium) comprising (e.g., having stored thereon) instructions for encoding or decoding video data according to any of the methods described, and / or a computer readable storage medium having stored thereon a bitstream generated according to any of the methods described. When referred to herein, a bitstream can refer to transmitted data, but can also refer to data that is stored, generated, and / or accessed without being transmitted (e.g., non-transitory data).
[0081] In the present application, the terms "reconstructed” and "decoded” can be used interchangeably, the terms "pixel” and "sample” can be used interchangeably, the terms "image,” "picture” and "frame” can be used interchangeably.
[0082] Various methods are described herein, and each of the methods comprises 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 can be modified or combined. Additionally, terms such as "first”, "second”, etc. can be used in various examples to modify an element, component, step, operation, etc., such as, for example, a "first decoding” and a "second decoding”. Use of such terms does not imply an ordering to the modified operations unless specifically required. So, in this example, the first decoding need not be performed before the second decoding, and can occur, for example, before, during, or in an overlapping time period with the second decoding.
[0083] Various methods and other aspects described in this application can be used to modify modules, for example, decoding modules, of a video encoder 200 and decoder 300 as shown in FIG. 2 and FIG. 3. Moreover, the subject matter disclosed herein can be applied, for example, to any type, format or version of video coding, whether described in a standard or a recommendation, whether pre-existing or future-developed, and extensions of any such standards and recommendations. Unless indicated otherwise, or technically precluded, the aspects described in this application can be used individually or in combination.
[0084] Various numeric values are used in examples described in the present application. These and other specific values are for purposes of describing examples and the aspects described are not limited to these specific values.
[0085] FIG. 2 is a diagram showing an example video encoder. Variations of example encoder 200 are contemplated, but the encoder 200 is described below for purposes of clarity without describing all expected variations.
[0086] Before being encoded, the video sequence can go through pre-encoding processing 201 , for example, applying a color transform to the input color picture (e.g., conversion from RGB 4:4:4 to YCbCr 4:2:0), or performing a remapping of the input picture components in order to get a signal distribution more resilient to compression (for instance using a histogram equalization of one of the color components). Metadata can be associated with the pre-processing, and attached to the bitstream.
[0087] In the encoder 200, a picture is encoded by the encoder elements as described below. The picture to be encoded is partitioned 202 and processed in units of, for example, coding units (CUs). Each unit is encoded using, for example, either an intra or inter mode. When a unit is encoded in an intra mode, it performs intra prediction 260. In an inter mode, motion estimation 275 and compensation 270 are performed. The encoder decides 205 which one of the intra mode or inter mode to use for encoding the unit, and indicates the intra / inter decision by, for example, a prediction mode flag. Prediction residuals are calculated, for example, by subtracting 210 the predicted block from the original image block.
[0088] The prediction residuals are then transformed 225 and quantized 230. The quantized transform coefficients, as well as 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 non-transformed residual signal. The encoder can bypass both transform and quantization, i.e., the residual is coded directly without the application of the transform or quantization processes.
[0089] The encoder decodes an encoded block to provide a reference for further predictions. The quantized transform coefficients are de-quantized 240 and inverse transformed 250 to decode prediction residuals. Combining 255 the decoded prediction residuals and the predicted block, an image block is reconstructed. In-loop filters 265 are applied to the reconstructed picture to perform, for example, deblocking / SAO (Sample Adaptive Offset) filtering to reduce encoding artifacts. The filtered image is stored at a reference picture buffer (280).
[0090] FIG. 3 is a diagram showing an example of a video decoder. In example decoder 300, a bitstream is decoded by the decoder elements as described below. Video decoder 300 generally performs a decoding pass reciprocal to the encoding pass as described in FIG. 2. The encoder 200 also generally performs video decoding as part of encoding video data.
[0091] In particular, the input of the decoder includes a video bitstream, which can be generated by video encoder 200. The bitstream is first entropy decoded 330 to obtain transform coefficients, motion vectors, and other coded information. The picture partition information indicates how the picture is partitioned. The decoder can therefore divide 335 the picture according to the decoded picture partitioning information. The transform coefficients are de-quantized 340 and inverse transformed 350 to decode the prediction residuals. Combining 355 the decoded prediction residuals and the predicted block, an image block is reconstructed. The predicted block can be obtained 370 from intra prediction 360 or motion-compensated prediction (i.e., inter prediction) 375. In-loop filters 365 are applied to the reconstructed image. The filtered image is stored at a reference picture buffer 380.
[0092] The decoded picture can further go through post-decoding processing 385, for example, an inverse color transform (e.g., conversion from YCbCr 4:2:0 to RGB 4:4:4) or an inverse remapping performing the inverse of the remapping process performed in the pre-encoding processing 201. The post-decoding processing can use metadata derived in the pre-encoding processing and signaled in the bitstream. In an example, the decoded images (e.g., after application of the in-loop filters 365 and / or after post-decoding processing 385, if post-decoding processing is used) can be sent to a display device for rendering to a user.
[0093] FIG. 4 is a diagram showing an example of a system in which various aspects and examples described herein can be implemented. System 400 can be embodied as a device including the various components described below and is configured to perform one or more of the aspects described in this document. Examples of such devices, include, but are not limited to, various electronic devices such as personal computers, laptop computers, smartphones, tablet computers, digital multimedia set top boxes, digital television receivers, personal video recording systems, connected home appliances, and servers. Elements of system 400, singly or in combination, can be embodied in a single integrated circuit (IC), multiple ICs, and / or discrete components. For example, in at least one example, the processing and encoder / decoder elements of system 400 are distributed across multiple ICs and / or discrete components. In various examples, the system 400 is communicatively coupled to one or more other systems, or other electronic devices, via, for example, a communications bus or through dedicated input and / or output ports. In various examples, the system 400 is configured to implement one or more of the aspects described in this document.
[0094] The system 400 includes at least one processor 410 configured to execute instructions loaded therein for implementing, for example, the various aspects described in this document. Processor 410 can include embedded memory, input output interface, and various other circuitries as 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). 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 drive, and / or optical disk drive. The storage device 440 can include an internal storage device, an attached storage device (including detachable and non-detachable storage devices), and / or a network accessible storage device, as non-limiting examples.
[0095] System 400 includes an encoder / decoder module 430 configured, for example, to process data to provide an encoded video or decoded video, and the encoder / decoder module 430 can include its own processor and memory. The encoder / decoder module 430 represents module(s) that can be included in a device to perform the encoding and / or decoding functions. As is known, a device can include one or both of the encoding and decoding modules. Additionally, encoder / decoder module 430 can be implemented as a separate element of system 400 or can be incorporated within processor 410 as a combination of hardware and software as known to those skilled in the art.
[0096] Program code to be loaded onto processor 410 or encoder / decoder 430 to perform the various aspects described in this document can be stored in storage device 440 and subsequently loaded onto memory 420 for execution by processor 410. In accordance with various examples, one or more of processor 410, memory 420, storage device 440, and encoder / decoder module 430 can store one or more of various items during the performance of the processes described in this document. Such stored items can include, but are not limited to, the input video, the decoded video or portions of the decoded video, the bitstream, matrices, variables, and intermediate or final results from the processing of equations, formulas, operations, and operational logic.
[0097] In some examples, memory inside of the processor 410 and / or the encoder / decoder module 430 is used to store instructions and to provide working memory for processing that is needed during encoding or decoding. In other examples, however, a memory external to the processing device (for example, 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, for example, a dynamic volatile memory and / or a non-volatile flash memory. In severalexamples, an external non-volatile flash memory is used to store the operating system of, for example, a television. In at least one example, a fast external dynamic volatile memory such as a RAM is used as working memory for video encoding and decoding operations.
[0098] The input to the elements of system 400 can be provided through various input devices as indicated in block 445. Such input devices include, but are not limited to, (i) a radio frequency (RF) portion that receives an RF signal transmitted, for example, over the air by a broadcaster, (ii) a Component (COMP) input terminal (or a set of COMP input terminals), (iii) a Universal Serial Bus (USB) input terminal, and / or (iv) a High Definition Multimedia Interface (HDMI) input terminal. Other examples, not shown in FIG. 4, include composite video.
[0099] In various examples, the input devices of block 445 have associated respective input processing elements as known in the art. For example, the RF portion can 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) downconverting the selected signal, (iii) band-limiting again to a narrower band of frequencies to select (for example) a signal frequency band which can be referred to as a channel in certain examples, (iv) demodulating the downconverted and band-limited signal, (v) performing error correction, and / or (vi) demultiplexing to select the desired stream of data packets. The RF portion of various examples includes one or more elements to perform these functions, for example, frequency selectors, signal selectors, band-limiters, channel selectors, filters, downconverters, demodulators, error correctors, and demultiplexers. The RF portion can include a tuner that performs various of these functions, including, for example, downconverting the received signal to a lower frequency (for example, an intermediate frequency or a near-baseband frequency) or to baseband. In one set-top box example, the RF portion and its associated input processing element receives an RF signal transmitted over a wired (for example, cable) medium, and performs frequency selection by filtering, downconverting, and filtering again to a desired frequency band. Various examples rearrange the order of the above-described (and other) elements, remove some of these elements, and / or add other elements performing similar or different functions. Adding elements can include inserting elements in between existing elements, such as, for example, inserting amplifiers and an analog-to-digital converter. In various examples, the RF portion includes an antenna.
[0100] The USB and / or HDMI terminals can include respective interface processors for connecting system 400 to other electronic devices across USB and / or HDMI connections. It is to be understood that various aspects of input processing, for example, Reed-Solomon error correction, can be implemented, for example, within a separate input processing IC or within processor 410 as necessary. Similarly,aspects of USB or HDMI interface processing can be implemented within separate interface ICs or within processor 410 as necessary. The demodulated, error corrected, and demultiplexed stream is provided to various processing elements, including, for example, processor 410, and encoder / decoder 430 operating in combination with the memory and storage elements to process the datastream as necessary for presentation on an output device.
[0101] Various elements of system 400 can be provided within an integrated housing, Within the integrated housing, the various elements can be interconnected and transmit data therebetween using suitable connection arrangement 425, for example, an internal bus as known in the art, including the Inter-IC (I2C) bus, wiring, and printed circuit boards.
[0102] The system 400 includes communication interface 450 that enables communication with other devices via communication channel 460. The communication interface 450 can include, but is not limited to, a transceiver configured to transmit and to receive data over communication channel 460. The communication interface 450 can include, but is not limited to, a modem or network card and the communication channel 460 can be implemented, for example, within a wired and / or a wireless medium.
[0103] Data is streamed, or otherwise provided, to the system 400, in various examples, using a wireless network such as a Wi-Fi network, for example IEEE 802.11 (IEEE refers to the Institute of Electrical and Electronics Engineers). The Wi-Fi signal of these examples is received over the communications channel 460 and the communications interface 450 which are adapted for Wi-Fi communications. The communications channel 460 of these examples is typically connected to an access point or router that provides access to external networks including the Internet for allowing streaming applications and other over-the-top communications. Other examples provide streamed data to the system 400 using a set-top box that delivers the data over the HDMI connection of the input block 445. Still other examples provide streamed data to the system 400 using the RF connection of the input block 445. As indicated above, various examples provide data in a non-streaming manner. Additionally, various examples use wireless networks other than Wi-Fi, for example a cellular network or a Bluetooth® network.
[0104] The system 400 can provide an output signal to various output devices, including a display 475, speakers 485, and other peripheral devices 495. The display 475 of various examples includes one or more of, for example, a touchscreen 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 cell phone (mobile phone), or other device. The display 475 can also be integrated with other components (for example, as in a smart phone), or separate (for example, an external monitor for a laptop). The otherperipheral devices 495 include, in various examples, one or more of a stand-alone digital video disc (or digital versatile disc) (DVD, for both terms), a disk player, a stereo system, and / or a lighting system. Various examples use one or more peripheral devices 495 that provide a function based on the output of the system 400. For example, a disk player performs the function of playing the output of the system 400.
[0105] In various examples, control signals are communicated between the system 400 and the display 475, speakers 485, or other peripheral devices 495 using signaling such as AV. Link, Consumer Electronics Control (CEC), or other communications protocols that enable device-to-device control with or without user intervention. The output devices can be communicatively coupled to system 400 via dedicated connections through respective interfaces 470, 480, and 490. Alternatively, the output devices can be connected to system 400 using the communications channel 460 via the communications interface 450. The display 475 and speakers 485 can be integrated in a single unit with the other components of system 400 in an electronic device such as, for example, a television. In various examples, the display interface 470 includes a display driver, such as, for example, a timing controller (T Con) chip.
[0106] The display 475 and speakers 485 can 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 examples in which the display 475 and speakers 485 are external components, the output signal can be provided via dedicated output connections, including, for example, HDMI ports, USB ports, or COMP outputs.
[0107] The examples can be carried out by computer software implemented by the processor 410 or by hardware, or by a combination of hardware and software. As a non-limiting example, the examples can be implemented by one or more integrated circuits. The memory 420 can be of any type appropriate to the technical environment and can be implemented using any appropriate data storage technology, such as optical memory devices, magnetic memory devices, semiconductor-based memory devices, fixed memory, and removable memory, as non-limiting examples. The processor 410 can be of any type appropriate to the technical environment, and can encompass one or more of microprocessors, general purpose computers, special purpose computers, and processors based on a multi-core architecture, as non-limiting examples.
[0108] Various implementations include decoding. "Decoding”, as used in this application, can encompass all or part of the processes performed, for example, on a received encoded sequence in order to produce a final output suitable for display. In various examples, such processes include one or more of the processes typically performed by a decoder, for example, entropy decoding, inverse quantization,inverse transformation, and differential decoding. In various examples, such processes also, or alternatively, include processes performed by a decoder of various implementations described in this application.
[0109] As further examples, in one example "decoding” refers only to entropy decoding, in another example "decoding” refers only to differential decoding, and in another example "decoding” refers to a combination of entropy decoding and differential decoding. Whether the phrase "decoding process” is intended to refer specifically to a subset of operations or generally to the broader decoding process will be clear based on the context of the specific descriptions and is believed to be well understood by those skilled in the art.
[0110] Various implementations include encoding. In an analogous way to the above discussion about "decoding”, "encoding” as used in this application can encompass all or part of the processes performed, for example, on an input video sequence in order to produce an encoded bitstream. In various examples, such processes include one or more of the processes typically performed by an encoder, for example, partitioning, differential encoding, transformation, quantization, and entropy encoding. In various examples, such processes also, or alternatively, include processes performed by an encoder of various implementations described in this application.
[0111] As further examples, in one example "encoding” refers only to entropy encoding, in another example "encoding” refers only to differential encoding, and in another example "encoding” refers to a combination of differential encoding and entropy encoding. Whether the phrase "encoding process” is intended to refer specifically to a subset of operations or generally to the broader encoding process will be clear based on the context of the specific descriptions and is believed to be well understood by those skilled in the art.
[0112] Note that syntax elements as used herein are descriptive terms. As such, they do not preclude the use of other syntax element names.
[0113] When a figure is presented as a flow diagram, it should be understood that it also provides a block diagram of a corresponding apparatus. Similarly, when a figure is presented as a block diagram, it should be understood that it also provides a flow diagram of a corresponding method / process.
[0114] The implementations and aspects described herein can be implemented in, for example, a method or a process, an apparatus, a software program, a data stream, or a signal. Even if only discussed in the context of a single form of implementation (for example, discussed only as a method), the implementation of features discussed can also be implemented in other forms (for example, an apparatus or program). An apparatus can be implemented in, for example, appropriate hardware,software, and firmware. The methods can be implemented in, for example, a processor, which refers to processing devices in general, including, for example, a computer, a microprocessor, an integrated circuit, or a programmable logic device. Processors also include communication devices, such as, for example, computers, cell phones, portable / personal digital assistants ("PDAs"), and other devices that facilitate communication of information between end-users.
[0115] Reference to "one example” or "an example” or "one implementation” or "an implementation”, as well as other variations thereof, means that a particular feature, structure, characteristic, and so forth described in connection with the example is included in at least one example. Thus, the appearances of the phrase "in one example” or "in an example” or "in one implementation” or "in an implementation”, as well any other variations, appearing in various places throughout this application are not necessarily all referring to the same example.
[0116] Additionally, this application can refer to "determining” various pieces of information. Determining the information can include one or more of, for example, estimating the information, calculating the information, predicting the information, or retrieving the information from memory. Obtaining can include receiving, retrieving, constructing, generating, and / or determining.
[0117] Further, this application can refer to "accessing” various pieces of information. Accessing the information can include one or more of, for example, receiving the information, retrieving the information (for example, from memory), storing the information, moving the information, copying the information, calculating the information, determining the information, predicting the information, or estimating the information.
[0118] Additionally, this application can refer to "receiving” various pieces of information. Receiving is, as with "accessing”, intended to be a broad term. Receiving the information can include one or more of, for example, accessing the information, or retrieving the information (for example, from memory). Further, "receiving” is typically involved, in one way or another, during operations such as, for example, storing the information, processing the information, transmitting the information, moving the information, copying the information, erasing the information, calculating the information, determining the information, predicting the information, or estimating the information.
[0119] It is to be appreciated that the use of any of the following "and / or”, and "at least one of, for example, in the cases of “A / B”, "A and / or B” and "at least one of A and B”, is intended to encompass the selection of the first listed option (A) only, or the selection of the second listed option (B) only, or the selection of both options (A and B). As a further example, in the cases of "A, B, and / or C” and "at least one of A, B, and C”, such phrasing is intended to encompass the selection of the first listed option (A)only, or the selection of the second listed option (B) only, or the selection of the third listed option (C) only, or the selection of the first and the second listed options (A and B) only, or the selection of the first and third listed options (A and C) only, or the selection of the second and third listed options (B and C) only, or the selection of all three options (A and B and C). This can be extended, as is clear to one of ordinary skill in this and related arts, for as many items as are listed.
[0120] Also, as used herein, the word "signal” refers to, among other things, indicating something to a corresponding decoder. In this way, in an example the same parameter is used at both the encoder side and the decoder side. Thus, for example, an encoder can transmit (explicit signaling) a particular parameter to the decoder so that the decoder can use the same particular parameter. Conversely, if the decoder already has the particular parameter as well as others, then signaling can be used without transmitting (implicit signaling) to simply allow the decoder to know and select the particular parameter. By avoiding transmission of any actual functions, a bit savings is realized in various examples. It is to be appreciated that signaling can be accomplished in a variety of ways. For example, one or more syntax elements, flags, and so forth are used to signal information to a corresponding decoder in various examples. While the preceding relates to the verb form of the word "signal”, the word "signal” can also be used herein as a noun.
[0121] As will be evident to one of ordinary skill in the art, implementations can produce a variety of signals formatted to carry information that can be, for example, stored or transmitted. The information can include, for example, instructions for performing a method, or data produced by one of the described implementations. For example, a signal can be formatted to carry the bitstream of a described example. Such a signal can be formatted, for example, as an electromagnetic wave (for example, using a radio frequency portion of spectrum) or as a baseband signal. The formatting can include, for example, encoding a data stream and modulating a carrier with the encoded data stream. The information that the signal carries can be, for example, analog or digital information. The signal can be transmitted over a variety of different wired or wireless links, as is known. The signal can be stored on, or accessed or received from, a processor-readable medium.
[0122] Many examples are described herein. Features of examples can be provided alone or in any combination, across various claim categories and types. Further, examples can 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 can be implemented in a bitstream or signal that includes information generated as described herein. The information can allow a decoder to decode a bitstream, the encoder, bitstream, and / or decoder according to any of the embodimentsdescribed. For example, features described herein can be implemented by creating and / or transmitting and / or receiving and / or decoding a bitstream or signal. For example, features described herein can be implemented a method, process, apparatus, medium storing instructions (e.g., computer-readable medium), medium storing data, or signal. For example, features described herein can be implemented by a TV, set-top box, cell phone, tablet, or other electronic device that performs decoding. The TV, set- top box, cell phone, tablet, or other electronic device can display (e.g., using a monitor, screen, or other type of display) a resulting image (e.g., an image from residual reconstruction of the video bitstream). The TV, set-top box, cell phone, tablet, or other electronic device can receive a signal including an encoded image and perform decoding.
[0123] Merge candidates may be reordered with template matching (TM). The reordering may be applied in a regular merge mode, a TM merge mode, and / or an affine merge mode (e.g., excluding a subblock-based temporal motion vector prediction (SbTMVP) candidate). For the TM merge mode, merge candidates may be reordered before a refinement process.
[0124] In an example of adaptive reordering of merge candidates with template matching (ARMC-TM), an initial merge candidate list may be constructed based on an order (e.g., based on spatial, TMVPs, non-adjacent, HMVPs, pairwise, and / or virtual merge candidates). The candidates in this initial list may be divided into multiple subgroups. For a TM merge mode and / or an adaptive decoder-side motion vector refinement (DMVR) mode, a merge candidate in the initial list may be refined based on TM or multi-pass DMVR. Merge candidates in a (e.g., each) subgroup may be reordered to generate a reordered merge candidate list. The reordered merge candidate list may be obtained based on TM costs. An index of a selected merge candidate in the reordered merge candidate list may be signaled to a decoder. In some scenarios (e.g., for simplification purposes), the merge candidates in one or more subgroups (e.g., in the last subgroup but not the first subgroup) may not be reordered. One or more zero candidates (e.g., all motion vector candidates that are equal to (0,0)) from an ARMC reordering process may be excluded during the construction of a merge motion vector candidates list. The subgroup size may be set to a first value (e.g., to 5) for a regular merge mode and / or a TM merge mode. The subgroup size may be set to a second value (e.g., to 3) for an affine merge mode.
[0125] The TM cost of a merge candidate during the reordering process may be measured by a sum of absolute difference (SAD) between the samples of a template of the current block and the corresponding reference samples. The template may include a set of reconstructed samples neighboring the current block. The reference samples associated with the template may be located based on motion information of the merge candidate. If the merge candidate utilizes a bi-directional prediction, thereference samples of the template of the merge candidate may be generated based on bi-prediction, for example, as illustrated by FIG. 5.
[0126] If multi-pass DMVR is used to derive a refined motion associated with an initial merge candidate list, a first pass of multi-pass DMVR (e.g., only a first pass at the PU level) may be applied in a reordering operation. If TM is used to derive the refined motion, a template size may be set 1 . An above or left template (e.g., only the above or left template) may be used during the motion refinement of TM if the block is flat (e.g., with block width greater than 2 times of height) or narrow (e.g., with height greater than 2 times of width). TM may be extended to be performed with a 1 / 16-pel MVD precision. A first number of (e.g., four) merge candidates may be reordered with refined motion in the TM merge mode.
[0127] For subblock-based merge candidates with subblock size equal to Wsub x Hsub, the above template may include multiple sub-templates with a size of Wsub x 1. The left template may include multiple sub-templates with a size of 1 x Hsub. As shown in FIG. 6, motion information of the subblocks in a first row and / or a first column of a current block may be used to derive the reference samples of a (e.g., each) sub-template.
[0128] In a reordering process, a candidate may be considered redundant if a cost difference between the candidate and its predecessor is inferior to a lambda value (e.g., |D1-D2| < A, where D1 and D2 may be the costs obtained during a first ARMC ordering and A may be a Lagrangian parameter used as part of a RD criterion at an encoder side).
[0129] One or more of the following may be performed. A minimum cost difference between a candidate and its predecessor among (e.g., all) the candidates on a list may be determined. If the minimum cost difference is superior (e.g., greater) or equal to A, the list may be considered diverse enough and the reordering may be stopped. If the minimum cost difference is inferior to (e.g., smaller than) A, the candidate may be considered redundant and moved to another position on the list. This other position may be the first position where the candidate may be considered diverse enough compared to its predecessor.
[0130] The operations described above may stop after a number of iterations if the minimum cost difference is not inferior to A. The operations may be applied to a regular, TM, bilateral matching (BM) and / or affine merge mode. Similar operations may be applied during merge MMVD (merge with MVD) and / or sign motion vector difference (MVD) prediction, which may use ARMC for reordering.
[0131] The value of A may be set equal to the A of a rate distortion criterion used to select the best merge candidate at the encoder side (e.g., for low delay configuration). The value of A may be set to the value of A corresponding to another quantization parameter (QP) for a random access configuration. Aset of A values corresponding to a (e.g., each) signaled QP offset may be provided in a sequence parameter set (SPS) or in a slice header for the QP offsets that may not be present in the SPS.
[0132] The ARMC design described herein may be applicable to an adaptive motion vector prediction (AMVP) mode. AMVP candidates may be reordered based on TM costs. For a TM for advanced motion vector prediction (TM-AMVP) mode, an initial AMVP candidate list may be constructed and refined based on TM to obtain a refined AMVP candidate list. An MVP candidate may be skipped if the MVP candidate has a TM cost larger than a threshold (e.g., equal to five times of the cost of the first MVP candidate).
[0133] TM may be applied to a geometry partition mode (GPM). If the GPM is enabled for a CU, a CU-level flag (e.g., GPM-TM flag) may be signaled to indicate whether TM may be applied to one or more (e.g., both) geometric partitions. Motion information for a (e.g., each) geometric partition may be refined based on TM. If TM is chosen, a template may be constructed using left, above, or left and above neighboring samples based on a partition angle, as shown in T able 1 below. The motion information may be refined by minimizing the difference between a current template and a template in a reference picture, for example, using the same search pattern of a merge mode with half-pel interpolation filtering disabled.
[0134] Table 1 shows an example of a template for 1st and / or 2nd geometric partitions. In the table, A may represent the use of above samples, L may represent the use of left samples, and L+A may represent the use of left and above samples.Table 1 - Examples of templates for 1st and 2nd geometric partitions
[0135] Besides GPM-TM, GPM-MMVD may allow signaling MVDs information to correct selected motion vector candidates. The GPM-MMVD and / or GPM-TM may be exclusively enabled for a GPM CU via GPM-MMVD syntax signaling. If GPM-MMVD control flags (e.g., two GPM-MMVD control flags) are equal to false (e.g., signaling that GPM-MMVD is disabled for two GPM partitions), a GPM-TM flag may be signaled to indicate whether TM may be applied to GPM partitions (e.g., two GPM partitions). If at least one GPM-MMVD flag is equal to true, the value of the GPM-TM flag may be set to false.
[0136] In TM based reordering for GPM split modes, the respective TM cost values of the GPM split modes may be computed based on motion information of a current GPM block. The GPM split modesmay be reordered (e.g., in an ascending order) based on the TM cost values (e.g., based on SAD). An index (e.g., determined using a Golomb-Rice code) may be signaled (e.g., instead of signaling a GPM split mode itself) to indicate where a GPM split modes is located on a reordering list.
[0137] The reordering for the GPM split modes may be a multi-step (e.g., two-step) process performed after reference templates of multiple (e.g., two) GPM partitions in a coding unit are generated. A GPM partition edge may be extended into the reference templates of the GPM partitions, resulting in multiple (e.g., 64) reference templates, and the respective TM cost for each reference template may be computed. The GPM split modes may be reordered based on the TM costs (e.g., in an ascending order), and one or more (e.g., the best 32) split modes may be marked as being available.
[0138] The edge on a template may be extended from a current CU, as shown in FIG. 7, but a GPM blending process may not be used in the template area across the edge. An index may be signaled (e.g., after reordering is performed based on ascending TM costs) to indicate the position of a split mode on a reordering list.
[0139] A BCE (bi-prediction with CU based weighting) index for a merge coded CU may be derived based on a TM cost (e.g., instead of being derived from the BCW indexes of neighboring blocks). The TM cost values may be calculated with different bi-prediction weights based on a selected merge candidate. The bi-prediction weight with a minimum TM cost value may be used to predict the merge coded CU.
[0140] When calculating a TM cost associated with bi-predicted weights, one or more rules may be applied, for example, as follows. An inherited bi-prediction weight and its neighboring weights (e.g., ±1) may be considered because the inherited bi-predicted weight may be more accurate than others. For example, if the inherited bi-predicted weight is 4, weights {3, 4, 5} may be used in the TM cost calculation.
[0141] The TM cost associated with an inherited BCW index may be multiplied with a value, such as, e.g., 0.90625, reducing the cost by 3 / 32. The TM cost of an equal weight may be multiplied with a value, such as, e.g., 0.90625, since bi-predicted samples may be used for a bi-directional optical flow (BDOF), and the BDOF may be (e.g., only) applied to a CU with equal weights.
[0142] TM based BCW index derivation may be applied to CUs coded in a regular merge mode, a TM mode, an adaptive decoder-side motion vector refinement mode, and / or an MMVD mode. The biprediction weights for a merge mode may be extended (e.g., from {-2, 3, 4, 5, 10} to {1 , 2, 3, 4, 5, 6, 7}). Negative bi-predicted weights for a non-merge mode (e.g., {-2, 10}) may be replaced with positive weights (e.g., {1 , 7}).
[0143] Intra sub-partitions (ISP) may divide (e.g., vertically or horizontally) intra-predicted blocks (e.g., comprising luma samples) into sub-partitions (e.g., 2 or 4 sub-partitions) based on a block size. FIG. 8a shows examples of sub-partitions for 4x8 and 8x4 CUs, and FIG. 8b shows examples of sub-partitions for CU sizes other than 4x8, 8x4, or 4x4. A minimum block size for ISP may be 4x8 or 8x4. If the size of a block is greater than 4x8 (or 8x4), the block may be divided into 4 sub-partitions. An M*128 (with M<64) and / or 128*N (with N<64) ISP block may be problematic for a 64x64 VDPU (video and data processing unit) when ISP is used. For example, when a single tree is used, an Mx128 CU may include an Mx128 luma tree block (TB) and multiple (e.g., two) M / 2x64 chroma TBs. If ISP is used for the CU, the luma TB may be divided into four Mx32 TBs (e.g., via a horizontal split), where each TB may be smaller than 64x64. In some ISP implementations, however, chroma blocks may not be divided and therefore a chroma component may have a size greater than 32x32. A similar issue may exist for a 128xN CU when ISP is used, which, like the Mx128 CU, may be problematic for a 64x64 decoder pipeline (e.g., the aforementioned ISP block sizes may prevent the decoder from processing each VDPU in parallel). To solve these problems, CU sizes may be restricted to a maximum of 64x64, as shown in FIG. 8a and FIG. 8b, and a sub-partition (e.g., every sub-partition) may include at least 16 samples.
[0144] In ISP, the prediction of a subblock (e.g., a 1xN or 2xN subblock) of a coding block may not depend on the reconstructed samples of previously decoded subblocks (e.g.,1xN or 2xN subblocks) of the coding block. As a result, the minimum width of prediction for a subblock may be four samples. For example, an 8xN (N > 4) block coded using ISP with a vertical split may be split into multiple (e.g., two) prediction regions. A (e.g., each) prediction region may have a size of 4xN and four transforms of size 2xN. A 4xN coding block coded using ISP with a vertical split may be predicted using a full 4xN block, and four transforms of size 1xN may be performed. Although transform sizes of 1xN and 2xN may be allowed, the transform of blocks in a 4xN region may be performed in parallel. For example, if a 4xN prediction region includes four 1xN transforms, no transform may be performed in the horizontal direction and a transform may be performed (e.g., as a single 4xN transform) in the vertical direction. If a 4xN prediction region includes two 2xN transform blocks, the transform operation of the two 2xN blocks in a (e.g., each) direction (e.g., horizontal or vertical direction) may be conducted in parallel. As a result, no delay may be introduced in processing these smaller blocks compared to larger (e.g., 4x4 regular-coded) intra blocks. Table 2 below shows examples of entropy-coding coefficient group sizes.Table 2 - Examples of entropy-coding coefficient group sizes
[0145] For a (e.g., each) sub-partition, reconstructed samples may be obtained by adding a residual signal to a prediction signal. The residual signal may be generated via at least entropy decoding, inverse quantization, and / or inverse transform. The reconstructed sample values of a (e.g., each) sub-partition may be available to generate a prediction for a next sub-partition. The sub-partition may be processed repeatedly. A first sub-partition to be processed may include a top-left sample of a CU, and may continue downwards (e.g., via a horizontal split) or rightwards (e.g., via a vertical split). As a result, reference samples used to generate the sub-partition prediction signals may be located at the left and / or above sides of a line. Multiple (e.g., all) sub-partitions may share a same intra mode. An interaction of ISP with other coding tools may be as follows.
[0146] If a block has a multiple reference line (MRL) index (e.g., other than 0), an ISP coding mode may be inferred to be 0 (e.g., ISP mode information may not be sent to a decoder). The sizes of entropy coding subblocks may be modified so that they may include 16 samples, as shown in Table 2. The modified sizes may affect (e.g., only affect) blocks produced by ISP, in which a dimension may include fewer than 4 samples. In (e.g., all) other cases, entropy coding coefficient groups may keep a 4x4 dimension.
[0147] One or more sub-partitions may have a non-zero coded block flag (CBF), which may indicate if there are coefficients (e.g., from transformed residual) to encode for the block. Let n represent the number of sub-partitions. If the first n-1 sub-partitions have produced a zero CBF, the CBF of the n-th sub-partition may be inferred to be 1 . Restrictions associated with transform sizes may be imposed. For example, ISP transforms with a length larger than 16 points may use DCT-II.
[0148] If a CU uses the ISP coding mode, a multi-transform selection (MTS) CU flag may be set to 0 and not be sent to a decoder. An encoder may not perform RD tests for different transforms available for a sub-partition. The transform choice for the ISP mode may be fixed. The transform choice for the ISP mode may be selected based on the intra mode, processing order, and / or block size utilized in the ISPmode. Hence, minimal (e.g., no) signaling may be used. For example, let t_H and t_V represent the horizontal and vertical transforms selected for a w*h sub-partition, respectively, where w may be the width of the sub-partition and h may be the height of the sub-partition. The transforms may be selected as follows. If w=1 or h=1 , no horizontal or vertical transform may be selected. If w>4 and w<16, t_H may be set to DST-VII; otherwise, t_H may be set to DCT-II. If h>4 and h<16, t_V may be set DST-VII; otherwise, t_V may be set to DCT-II.
[0149] In ISP, multiple (e.g., 67) intra modes may be allowed. A Position Dependent Prediction Combination (PDPC) may be applied if the corresponding width and / or height of a block includes (e.g., at least) 4 samples. Reference sample filtering (e.g., reference smoothing) and / or intra interpolation filter selection may no longer be performed. A cubic (e.g., DCT-IF) filter may be used for fractional position interpolation in the ISP mode.
[0150] TM based tools may generate dependency on neighboring reconstructed samples. For example, without template matching, inter tools may be computed without reconstructing neighboring blocks. With template matching, an inter CU may no longer be reconstructed in parallel with (e.g., fully parallel to) other inter CUs. The dependency on neighboring reconstructed samples introduced by these TM tools may be removed. A block may be reconstructed in multiple steps (e.g., similar to the ISP mode) instead of using neighboring samples as a template, and a first partition may be used as a template during the reconstruction. Using such a technique, compression performance and / or efficiency may be improved, even if it is used with the TM tools.
[0151] A motion vector associated with a block may be refined by sub-partitioning the block. A first sub-partition of the block may be predicted and reconstructed based on signaled information (e.g., a motion vector signaled in a bitstream) and one or more prediction tools (e.g., affine, GPM, and / or BCW). The reconstructed samples of the first sub-partition may then be used as a template to refine the motion vector for a next sub-partition.
[0152] FIG. 9 illustrates an example in which a first partition (shown in grey) may be predicted using one or more regular coding tools, and subsequent partitions (shown in white) may use the reconstructed samples of previously decoded areas / partitions to refine a prediction. The shape of a sub-partition may depend on a coding unit (CU) size. For example, if the width of the CU is larger than its height, the CU may be split horizontally, as shown in the left example of FIG. 9. If the height of the CU is greater than its width, the CU may be split vertically, as shown in the center example of FIG. 9. If the weight and height are identical (e.g., the CU is square), as shown in the right example of FIG. 9, a quadtree partition may be used for the block. An indication (e.g., a flag) may be signaled to indicate which split directionmay be used. For example, if the indication is signaled with a value of 1 , a CU may be split horizontally, and if the indication is signaled with a value of 0, the CU may be split vertically.
[0153] As shown in the center example of FIG. 9, partitions (e.g., sub-partitions) may or may not all have the same size. This may be because, if multiple (e.g., all) partitions after a first partition use the same motion vector (e.g., Mv1 shown in FIG. 9), a larger transform may be applied. Therefore, when using a horizontal split and / or a vertical split, the block size of the first partition may be fixed (e.g., to 4 columns) or may be size-dependent (e.g., to width / 4 columns), and subsequent partitions may have the same size as previously coded partition(s) (e.g., partition 1 may have the same size as partition 0, partition 2 may have the same size as partition 0 + partition 1 , etc.). A similar technique may be applied during a quad-tree split, for example, by reconstructing partitions until a full row, a full column, or a full square is completed, and then repeating the process to other rows, columns, or squares.
[0154] In some examples, sub-partitions may be obtained as 4x4 blocks to improve the result of refinement. In some examples, the shape of a sub-partition may be signaled (e.g., as one of a set of sub-partition shapes including, for example, vertical only, horizontal only, horizontal and vertical and square, or any combination thereof, depending on a block size). In some examples, the shape of a subpartition may depend on the prediction mode applied. In some examples (e.g., if a block uses GPM), the shape of a sub-partition may be selected as the shape for which a template crosses a split line. For example, if a split line crosses the top of a block, a horizontal split may be selected. If the split line crosses the left of the block, a vertical split may be selected. As another example, conversely split logic may be applied to select the shape of a sub-partition. For example, if a split line crosses the left of a block, a horizontal split may be selected, and if the split line crosses the top of the block, a vertical split may be selected.
[0155] In some examples, the coding order of a block may be set such that the template used may correspond to a sub-partition inside the block (e.g., such a sub-partition may hold more information than a sub-partition located at an edge of the block). The reconstruction order of sub-partitions may then be adjusted accordingly.
[0156] In some examples, different splits may be applied based on a block size or dimension. For example, if the width of a block is under a threshold value (e.g., equal or under 4), a vertical split may be performed to split the block into two partitions (e.g., instead of 4 partitions that may be obtained with a regular split tree). Similarly, if the height of the block is under the threshold value, a horizontal split may be performed to split the block into two partitions (e.g., instead of 4 partitions that may be obtained with a regular split tree). In some examples, inter sub-partitioning (e.g., when the relevant coding unit ispredicted using an inter mode) may be de-activated for smaller blocks (e.g., for 8x4, 4x8 and / or blocks smaller than 8x4 or 4x8). In some examples, ternary splits and / or asymmetric splits may be used for some or all block sizes, as shown in FIG. 10. In some examples, ternary splits and / or asymmetric splits may be used for intra sub-partitioning (e.g., when the relevant coding unit is predicted using an intra mode).
[0157] In some examples, refinement may be performed around a selected motion vector. For example, let Mv0= (xO, yO) represent a motion vector used on a CU. Candidates that may be used to refine MvO may include Mv1= (xO+a, yO+b), where a and b may have a value in the range of -5 to +5. A motion vector (e.g., a final motion vector) used to predict the sub-partitions after a first sub-partition may be the motion vector that generates a minimum cost (e.g., a MSE or SATD cost) between the samples of the first sub-partition predicted using the motion vector and the reconstructed samples of the first subpartition.
[0158] A refinement computation may use a subset of the samples in a sub-partition (e.g., instead of the entire sub-partition). For example, a number (e.g., two) of the closest columns (e.g., assuming a vertical split is performed) may be used for a template. In some examples, a motion vector may be refined at the same pixel precision as the precision of MvO (e.g., if MvO is full-pel, the motion vector may be refined at full-pel). The refinement may also be done at a finer precision compared to MvO (e.g., if MvO is full-pel, the motion vector may be refined at half-pel or less). The motion vector may also be refined with adaptive precisions (e.g., quarter-pel, half-pel, and / or full-pel precision), and a syntax element may be signaled in a bitstream to indicate which precision may be applied.
[0159] In some examples (e.g., as shown in the left example of FIG. 9), refinement may be performed for a (e.g., each) subsequent sub-partition. For example, partition 1 may use reconstructed samples of partition 0 as a template to find a refined motion vector. Partition 1 may then be predicted and / or reconstructed, and partition 2 may use the reconstructed samples of partition 1 as a template to find a refined motion vector. These operations may be repeated until multiple (e.g., all) sub-partitions are predicted. In some examples, if a sub-partitioning other than a vertical or horizontal sub-partitioning is used (e.g., as shown in the right example of FIG. 9), the template used for refinement may include left and upper samples. In some examples, if an inter sub-partition is used on top of BCW, a motion vector may not be refined and the weights used to blend two predictions Mv0_L0 and Mv0_L1 , where Mv0_L0 and Mv0_L1 may be the motion vectors associated with lists L0 and L1 , may be refined to replace an existing BCW with template matching. This technique may be extended if more than two lists are used.
[0160] In some examples, candidates that may be tested for Mv refinement may include not only a selected candidate but also one or more candidates from a merge list. For example, the first N candidates (e.g., N=6) may be tested on the template of a first partition. In some examples, a signaled motion vector with no refinement may be stored (e.g., as a stored motion vector) for a block that may use inter sub- partitioning, for example, to reduce parsing dependencies. In some examples, a refined motion vectors may be stored for a (e.g., each) sub-partition.
[0161] In some examples, inter sub-partitioning may replace one or more template tools and the same signaling used for a template-based tool may be used (e.g., when a slice level flag is turned on). In some examples, a syntax element (e.g., an additional flag) may be included in a bitstream to indicate whether a tool may use inter sub-partitioning.
Claims
CLAIMS1. A video decoding device, comprising: a processor configured to: obtain an inter-coded video block associated with a current picture; divide the inter-coded video block into at least a first sub-partition and a second sub-partition; reconstruct the first sub-partition based on a first motion vector associated with the inter-coded video block; determine a second motion vector based on the first motion vector and one or more reconstructed samples of the first sub-partition; and reconstruct the second sub-partition based on the second motion vector.
2. The video decoding device of claim 1 , wherein the first sub-partition has a different shape or a different size than the second sub-partition.
3. The video decoding device of claim 1 or claim 2, wherein the shape of at least one of the first sub-partition or the second sub-partition is determined based on the shape of the inter-coded video block.
4. The video decoding device of claim 1 or claim 2, wherein the shape of at least one of the first sub-partition or the second sub-partition is determined based on a prediction mode used for the inter-coded video block.
5. The video decoding device of claim 1 or claim 2, wherein the processor is further configured to receive a video bitstream, and wherein the shape of at least one of the first sub-partition or the second sub-partition is signaled in the video bitstream.
6. The video decoding device of any of claims 1-5, wherein the first sub-partition is used as a template to determine the second motion vector.
7. The video decoding device of any of claims 1-6, wherein the second motion vector is determined by refining the first motion vector based on the one or more reconstructed samples of the first sub-partition.
8. The video decoding device of claim 7, wherein the second motion vector is determined by refining the first motion vector based on a subset of reconstructed samples of the first sub-partition.
9. The video decoding device of any of claims 1-8, wherein the inter-coded video block is further divided into a third sub-partition and wherein the processor is further configured to:determine a third motion vector based on the second motion vector and one or more reconstructed samples of the second sub-partition; and reconstruct the third sub-partition based on the third motion vector.
10. A video decoding method, comprising: obtaining an inter-coded video block associated with a current picture; dividing the inter-coded video block into at least a first sub-partition and a second sub-partition; reconstructing the first sub-partition based on a first motion vector associated with the inter-coded video block; determining a second motion vector based on the first motion vector and one or more reconstructed samples of the first sub-partition; and reconstructing the second sub-partition based on the second motion vector.11 . The video decoding method of claim 10, wherein the first sub-partition has a different shape or a different size than the second sub-partition.
12. The video decoding method of claim 10 or claim 11, wherein the shape of at least one of the first sub-partition or the second sub-partition is determined based on the shape of the inter-coded video block.
13. The video decoding method of claim 10 or claim 11, wherein the shape of at least one of the first sub-partition or the second sub-partition is determined based on a prediction mode used for the inter-coded video block.
14. The video decoding method of claim 10 or claim 11, further comprising receiving a video bitstream, wherein the shape of at least one of the first sub-partition or the second sub-partition is signaled in the video bitstream.
15. The video decoding method of any of claims 10-14, wherein the first sub-partition is used as a template to refine the second motion vector.
16. The video decoding method of any of claims 10-15, wherein the second motion vector is determined by refining the first motion vector based on the one or more reconstructed samples of the first sub-partition.
17. The video decoding method of claim 16, wherein the second motion vector is determined by refining the first motion vector based on a subset of reconstructed samples of the first sub-partition.
18. The video decoding method of any of claims 10-17, further comprising: dividing the inter-coded video block further into a third sub-partition;determining a third motion vector based on the second motion vector and one or more reconstructed samples of the second sub-partition; and reconstructing the third sub-partition based on the third motion vector.
19. A video encoding device, comprising: a processor configured to: obtain an inter-coded video block associated with a current picture; divide the inter-coded video block into at least a first sub-partition and a second sub-partition; reconstruct the first sub-partition based on a first motion vector associated with the inter-coded video block; determine a second motion vector based on the first motion vector and one or more reconstructed samples of the first sub-partition; and reconstruct the second sub-partition based on the second motion vector.
20. The video encoding device of claim 19, wherein the shape of at least one of the first sub-partition or the second sub-partition is determined based on the shape of the inter-coded video block or a prediction mode used for the inter-coded video block.21 . The video encoding device of claim 19 or claim 20, wherein the first sub-partition is used as a template to determine the second motion vector.
22. A video encoding method, comprising: obtaining an inter-coded video block associated with a current picture; dividing the inter-coded video block into at least a first sub-partition and a second sub-partition; reconstructing the first sub-partition based on a first motion vector associated with the inter-coded video block; determining a second motion vector based on the first motion vector and one or more reconstructed samples of the first sub-partition; and reconstructing the second sub-partition based on the second motion vector.
23. The video encoding method of claim 22, wherein the shape of at least one of the first sub-partition or the second sub-partition is determined based on the shape of the inter-coded video block or a prediction mode used for the inter-coded video block.
24. The video encoding method of claim 22 or claim 23, wherein the first sub-partition is used as a template to determine the second motion vector.
25. A computer program product stored on a non-transitory computer readable medium and comprising program code instructions for implementing the steps of a method according to any one of claims 10-18 or claims 22-24 when executed by a processor.
26. Video data comprising information representative of the non-square video block encoded according to the method of any of claims 22-24.
Citation Information
Patent Citations
Refinement of internal sub-blocks of a coding unit
US20200195925A1
Method, device, and medium for video processing
WO2022262693A1
Method, apparatus, and medium for video processing
WO2023072283A1