SYMMETRIC MOTION VECTOR DIFFERENCE CODING

Information

  • Patent Application
  • 20230125740
  • Publication Number
    20230125740
  • Date Filed
    December 15, 2022
    a year ago
  • Date Published
    April 27, 2023
    a year ago
Abstract
Bi-directional optical flow (BDOF) may be bypassed, for a current coding block, based on whether symmetric motion vector difference (SMVD) is used in motion vector coding for the current coding block. A coding device (e.g., an encoder or a decoder) may determine whether to bypass BDOF for the current coding block based at least in part on an SMVD indication for the current coding block. The coding device may obtain the SMVD indication that indicates whether SMVD is used in motion vector coding for the current coding block. If SMVD indication indicates that SMVD is used in the motion vector coding for the current coding block, the coding device may bypass BDOF for the current coding block. The coding device may reconstruct the current coding block without performing BDOF if it determines to bypass BDOF for the current coding block.
Description
BACKGROUND

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 block-based, wavelet-based, and/or object-based systems. The systems employ video coding techniques, such as bi directional motion compensated prediction (MCP), which may remove temporal redundancies by exploiting temporal correlations between pictures. Such techniques may increase the complexity of computations performed during encoding and/or decoding.


SUMMARY

Bi-directional optical flow (ROOF) may be bypassed for a current coding block, based on whether symmetric motion vector difference (SMVD) is used in motion vector coding for the current coding block.


A coding device (e.g., an encoder or a decoder) may determine that BDOF is enabled. The cooing device may determine whether to bypass BDOF fox the currant coding block based at least in part on an SMVD indication for the current ceding block. The coding device may obtain the SMVD indication that indicates whether SMVD is used in motion vector coding for the current coding block. If SMVD indication indicates that SMVD is used in the motion vector coding for the current coding block, the coding device may bypass BDOF for the current coding block. The coding device may reconstruct the current coding block without performing BDOF if it determines to bypass BDOF for the current coding block.


A motion vector difference (MVD) for the current coding block may indicate a difference between a motion vector predictor (MVP) for the current coding block and a motion vector (MV) for the current coding block. The MVP for the current coding block may be determined based on an MV of a spatial neighboring block of the current coding block and/or a temporal neighboring block of the current coding block.


If an SMVD indication indicates SMVD is used for the motion vector coding for the current coding block, the coding device may receive a first motion vector coding information associated with a first reference picture list. The coding device may determine a second motion vector coding information associated with a second reference picture list based on the first motion vector coding information associated with the first reference picture list and that the MVD emaciated with the first reference picture list and the MVD associated with the second reference picture list are symmetric.


In an example, if the SMVD indication indicates SMVD is used for the motion vector coding for the current coding block, the coding device may parse a first MVD associated with a first reference picture list in a bitstream. The coding device may determine a second MVD associated with a second reference picture list based on the first MVD and that the first MVD and the second MVD are symmetric to each other.


If the coding device determines not to bypass BDOF for the current coding block, the coding device may refine a motion vector of a (e.g., each) sub-block of the current coding block based at least in part on gradients associated with a location in the current coding block.


The coding device may receive a sequence-level SMVD indication that indicates whether SMVD is enabled for a sequence of pictures. If SMVD is enabled for the sequence of pictures, the coding device may obtain the SMVD indication associated with the current coding block based on the sequence-level SMVD indication.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1A is a system diagram illustrating an example communications system in which one or more disclosed embodiments may be implemented.



FIG. 1B 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.



FIG. 1C is a system diagram illustrating an example redo 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.



FIG. 1D 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.



FIG. 2 is a diagram of an example block-based hybrid video encoding framework for an encoder.



FIG. 3 is a diagram of an example block-based video decoding framework for a decoder.



FIG. 4 is a diagram of an example video encoder with support of bi-prediction with CU weights (e.g., GBi).



FIG. 5 is a diagram of an example module with support for bi-prediction with CU weights for an encoder.



FIG. 6 is a diagram of an example block-based video decoder with support for bi-prediction with CU weights.



FIG. 7 is a diagram of an example module with support for bi-prediction with CU weights fa a decoder.



FIG. 8 illustrates an example bidirectional optical flow.



FIG. 9 illustrates an example four-parameter affine mode.



FIG. 10 illustrates an example six-parameter affine mode.



FIG. 11 illustrates an example non-affine motion symmetric MVD (e.g., MVD1=MVD0).



FIG. 12 illustrates an example motion vector difference (MVD) search point(s) (e.g., for merge mode MVD).



FIG. 13 illustrates an example affine motion symmetric MVD.





DETAILED DESCRIPTION

A more detailed understanding may be had from the following description, given by way of example in conjunction with the accompanying drawings.



FIG. 1A is a diagram illustrating an example communications system 100 in which one or more disclosed embodiments may be implemented. The communications system 100 may be a multiple access system that provides content, such as voice, data, video, messaging, broadcast, etc., to multiple wireless users. The communications system 100 may enable multiple wireless users to access such content through the sharing of system resources, including wireless bandwidth. For example, the communications systems 100 may 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.


As shown in FIG. 1A, the communications system 100 may include wireless transmit/receive units (WTRUs) 102a, 102b, 142c, 102d, a RAN 104/113, a CN 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 may be any type of device configured to operate and/or communicate in a wireless environment. By way of example, the WTRUs 142a, 102b, 102c, 102d, any of which may be referred to as a “station” and/or a “STA”, may be configured to transmit and/or receive wireless signals and may include a user equipment (UE), a mobile station, a fixed or mobile subscriber unit, a subscription-baaed 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, an Internet of Things (IoT) 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 may be interchangeably referred to as a UE. The cooing device may be or may include a WTRU.


The communications systems 100 may also include a base station 114a and/or a base station 114b. Each of the base stations 114a, 114b may be any type of device configured to wirelessly interface with at least one of the WTRUs 102a, 102b, 102c, 102d to facilitate access to one or more communication networks, such as the CN 106/115, the Internet 110, and/or the other networks 112. By way of example, the base stations 114a, 114b may be a base transceiver station (BTS), a Node-B, an eNode B, a Home Node B, a Home eNode B, a gNB, 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 may include any number of interconnected base stations and/or network elements.


The base station 114a may be part of the RAN 104/113, which may also include other base stations and/or network elements (rot 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 may be configured to transmit and/or receive wireless signals on one or more carrier frequencies, which may be referred to as a cell (not shown). These frequencies may be in licensed spectrum, unlicensed spectrum, or a combination of licensed and unlicensed spectrum. A cell may provide coverage for a wireless service to a specific geographical area that may be relatively fixed or that may change over time. The cell may further be divided into cell sectors. For example, the cell associated with the base station 114a may be divided into three sectors. Thus, in one embodiment, the base station 114a may include three transceivers, i.e., one for each sector of the cell. In an embodiment, the base station 114a may employ multiple-input multiple output (MIMO) technology and may utilize multiple transceivers for each sector of the cell. For example, beamforming may be used to transmit and/or receive signals in desired spatial directions.


The base stations 114a, 114b may communicate with one or more of the WTRUs 102a, 102b, 102c, 102d over an air interface 116, which may be any suitable wireless communication ink (e.g., radio frequency (RF), microwave, centimeter wave, micrometer wave, infrared (IR), ultraviolet (UV), visible light, etc.). The air interface 116 may be established using any suitable radio access technology (RAT).


More specifically, as noted above, the communications system 100 may be a multiple access system and may employ one or more channel access schemes, such as CDMA, TDMA, FDMA, OFDMA, SC-FDMA, and the like. For example, the backs station 114a in the RAN 104/113 and the WTRUs 102a, 102b, 102c may implement a radio technology such as Universal Mobile Telecommunications System (UMTS) Terrestrial Radio Access (UTRA), which may establish the air interface 115/116/117 using wideband CDMA (WCDMA). WCDMA may include communication protocols such as High-Speed Packet Access (HSPA) and/or Evolved HSPA (HSPA+). HSPA may include High-Speed Downlink (DL) Packet Access (HSDPA) and/or High-Speed UL Packet Access (HSUPA).


In an embodiment, the base station 114a and the WTRUs 102a, 102b, 102c may implement a radio technology such as Evolved UMTS Terrestrial Radio Access (E-UTRA), which may establish the air interface 116 using Long Term Evolution (LTE) and/or LTE-Advanced (LTE-A) and/or LTE-Advanced Pro (LTE-A Pro).


In an embodiment, the base station 114a and the WTRUs 102a, 102b, 102c may implement a radio technology such as NR Radio Access, which may establish the air interface 116 using New Radio (NR).


In an embodiment, the base station 114a and the WTRUs 102a, 102b, 102c may implement multiple radio access technologies. For example, the base station 114a and the WTRUs 102a, 102b, 102c may implement LTE radio access and NR radio mess together, for instance using dual connectivity (DC) principles. Thus, the air interface utilized by WTRUs 102a, 102b, 102c may be characterizes by multiple types of radio access technologies and/or transmissions sent to/from multiple types of base stations (e.g., a eNB and a gNB).


In other embodiments, the base station 114a and the WTRUs 102a, 102b, 102c may 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 1×, 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


The base station 114b in FIG. 1A may be a wireless router, Home Node B, Home eNode B, or access point, tor example, and may 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 may implement a radio technology such as IEEE 802.11 to establish a wireless local area network (WLAN), in an embodiment, the base station 114b and the WTRUs 102c, 102d may implement a radio technology such as IEEE 802.15 to establish a wireless personal area network (WPAN). In yet another embodiment, the base station 114b and the WTRUs 102c, 102d may 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 may have a direct connection to the Internet 110. Thus, the base station 114b may not be required to access the Internet 110 via the CN 106/115.


The RAN 104/113 may be in communication with to CN 106/115, which may 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 may 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 may 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 may 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, m addition to being connected to the RAN 104/113, which may be utilizing a NR radio technology, the CN 106/115 may also be in communication with another RAN (not shown) employing a GSM, UMTS, CDMA 2000, WiMAX, E-UTRA, or WiFi radio technology.


The CN 106/115 may 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 may include circuit-switched telephone networks that provide plain old telephone service (POTS). The Internet 110 may include a global system of interconnected computer networks and devices that use common communication protocols, such as the transmission control protocol (TCP), user datagram protocol (UDP) and/or the Internet protocol (IP) in the TCP/IP Internet protocol suite. The networks 112 may include wired and/or wireless communications networks owned and/or operated by other service providers For example, the networks 112 may include another CN connected to one or more RANG, which may employ the same RAT as the RAN 104/113 or a different RAT.


Some or all of the WTRUs 102a, 102b, 102n, 102d in the communications system 100 may include multi-mode capabilities (e.g., the WTRUs 102a, 102b, 102c, 102d may include multiple transceivers for communicating with different wireless networks over different wireless links). For example, the WTRU 102c shown in FIG. 1A may be configured to communicate with the base station 114a, which may employ a cellular-based radio technology, and with the base station 114b, which may employ an IEEE 802 radio technology.



FIG. 1B is a system diagram illustrating an example WTRU 102. As shown in FIG. 18, the WTRU 102 may 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 may include any sub-combination of the foregoing elements while remaining consistent with an embodiment.


The processor 118 may 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 Ike. The processor 118 may 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 may be coupled to the transceiver 120, which may be coupled to the transmit/receive element 122. While FIG. 18 depicts the processor 118 and the transceiver 120 as separate components, it will be appreciated that the processor 118 and the transceiver 120 may be integrated together in an electronic package or chip.


The transmit/receive element 122 may 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 may be an antenna configured to transmit and/or receive RF signals, in an embodiment, the transmit/receive element 122 may be an emitter/detector configured to transmit and/or receive IR, UV, or visible light signals, fa example. In yet another embodiment, the transmit/receive element 122 may be configured to transmit and/or receive both RF and light signals. It will be appreciated that the transmit/receive element 122 may be configured to transmit and/or receive any combination of wireless signals.


Although the transmit/receive element 122 is depicted in FIG. 18 as a single element, the WTRU 102 may include any number of transmit/receive elements 122. More specifically, the WTRU 102 may employ MIMO technology. Thus, in one embodiment, the WTRU 102 may include two or more transmit/receive elements 122 (e.g., multiple antennas) for transmitting and receiving wireless signals over the air interface 116.


The transceiver 120 may 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 may have multi-mode capabilities. Thus, the transceiver 120 may include multiple transceivers for enabling the WTRU 102 to communicate via multiple RATs, such as NR and IEEE 802.11, for example.


The processor 118 of the WTRU 102 may be coupled to, and may 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 may also output user data to the speaker/microphone 124, the keypad 126, and/or the display/touchpad 128. In addition, the processor 118 may access information from, and store data in, any type of suitable memory, such as the non-removable memory 130 and/or the removable memory 132. The non-removable memory 130 may include random-access memory (RAM), read-only memory (ROM), a hard disk, or any other type of memory storage device. The removable memory 132 may include a subscriber identity module (SIM) card, a memory stick, a secure digital (SD) memory card, and the like. In other embodiments, the processor 118 may access information from, and store data in, memory that is not physically located on the WTRU 102, such as on a server or a home computer (not shown).


The processor 118 may receive power from the power source 134, and may be configured to distribute and/or control the power to the other components in the WTRU 102. The power source 134 may be any suitable device for powering the WTRU 102. For example, the power source 134 may 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 coils, and the like.


The processor 118 may also be coupled to the GPS chipset 136, which may be configured to provide location information (e.g., longitude and latitude) regarding the current location of the WTRU 102. In addition to, or in lieu of, the information from the GPS chipset 136, the WTRU 102 may receive location information over the air interface 116 from a base station (e.g., base stations 114a, 114b) and/or determine its location based on the timing of the signals being received from two or more nearby base stations. It will be appreciated that the WTRU 102 may acquire location information by way of any suitable location-determination method while remaining consistent with an embodiment.


The processor 118 may further be coupled to other peripherals 138, which may include one or more software and/or hardware modules that provide additional features, functionality and/or wired or wireless connectivity. For example, the peripherals 138 may include an accelerometer, an e-compass, a satellite transceiver, a digital camera (for photographs and/or video), a universal serial bus (USB) port, a vibration device, a television transceiver, a hands free headset, a Bluetooth® module, a frequency modulated (FM) radio unit, a digital music player, a media player, a video game player module, an Internet browser, a Virtual Reality and/or Augmented Reality (VR/AR) device, an activity tracker, and the like. The peripherals 138 may include one or more sensors, the sensors may be one or more of a gyroscope, an accelerometer, a hall effect sensor, a magnetometer, an orientation sensor, a proximity sensor, a temperature sensor, a time sensor; a geolocation sensor; an altimeter, a light sensor, a touch sensor, a magnetometer, a barometer, a gesture sensor, a biometric sensor, and/or a humidity sensor.


The WTRU 102 may 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) may be concurrent and/or simultaneous. The full duplex radio may include an interference management unit to reduce and or substantially criminate 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 WRTU 102 may include a half-duplex radio for which transmission and reception of some or ail of the signals (e.g., associated with particular subframes for either the UL (e.g., tor transmission) or the downlink (e.g., for reception)).



FIG. 1C is a system diagram illustrating the RAN 104 and the CN 108 according to an embodiment. As noted above, the RAN 104 may employ an E-UTRA radio technology to communicate with the WTRUs 102a, 102b, 102c over the air interface 116. The RAN 104 may also be in communication with the CN 106.


The RAN 104 may include eNode-Bs 180a, 160b, 160c, though it will be appreciated that the RAN 104 may include any number of eNode-Bs while remaining consistent with an embodiment. The eNode-Bs 160a, 160b, 160c may each include one or more transceivers for communicating with the WTRUs 102a, 102b, 102c over the air interface 116. In one embodiment, the eNode-Bs 160a, 160b, 160c may implement MIMO technology. Thus, the eNode-B 160a, tor example, may use multiple antennas to transmit wireless signals to, and/or receive wireless signals from, the WTRU 102a.


Each of the eNode-Bs 160a, 160b, 160c may be associated with a particular cell (not shown) and may be configured to handle radio resource management decisions, handover decisions, scheduling of users in the UL and/or DL, and the like. As shown in FIG. 1C, the eNode-Bar 160a, 160b, 160c may communicate with one another over an X2 interface.


The CN 106 shown in FIG. 1C may include a mobility management entity (MME) 162, a serving gateway (SGW) 164, and a packet data network (PDN) gateway (or PGW) 166. White each of the foregoing elements are depicted as pert of the CN 106, it will be appreciated that any of these elements may be owned and/or operated by an entity other than the CN operator.


The MME 162 may be connected to each of the eNode-Bs 162a, 162b, 162c in the RAN 104 via an S1 interface and may serve as a control node. For example, the MME 162 may 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 may provide a control plane function for switching between the RAN 104 and other RANs (not shown) that employ other radio technologies, such as GSM and/or WCDMA.


The SGW 164 may be connected to each of the eNode Be 160a, 16013, 160c in the RAN 104 via the S1 interface. The SGW 164 may generally route and forward user data packets to/from the WTRUs 102a, 102b, 102c. The SGW 164 may perform other functions, such as anchoring user planes during inter-eNode B handovers, triggering paging when DL date is available for the WTRUs 102a, 102b, 102c, managing and storing contexts of the WTRUs 102a, 102b, 102c, and the like.


The SGW 164 may be connected to the PGW 166, which may provide the WTRUs 102a, 102b. 102c with access to packet-switched networks, such as the Internet 110, to facilitate communications between the WTRUs 102a, 102b, 102c and IP-enabled devices.


The CN 106 may facilitate communications with other networks. For example, the CN 106 may provide the WTRUs 102a, 102b, 102c with access to circuit-switched networks, such as the PSTN 108, to facilitate communications between the WTRUs 102a, 102b, 102c and traditional land-line communications devices. For example, the CN 106 may include, or may 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 106. In addition, the CN 106 may provide the WTRUs 102a, 102b, 102c with access to the other networks 112, which may include other wired and/or wireless networks that are owned and/or operated by other service providers.


Although the WTRU is described in FIGS. 1A-1D as a wireless terminal, it is contemplated that in certain representative embodiments that such a terminal may use (e.g., temporarily or permanently) wired communication interfaces with the communication network.


In representative embodiments, the other network 112 may be a WLAN.


A WLAN in Infrastructure Basic Service Set (BSS) mode may have an Access Point (AP) for the BSS and one or more stations (STAs) associated with the AP. The AP may have an access a 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 may arrive through the AP and may be delivered to the STAs. Traffic originating from STAs to destinations outside the BSS may be sent to the AP to be delivered to respective destinations. Traffic between STAs within the BSS may be sent through the AP, for example, where the source STA may send traffic to the AP and the AP may deliver the traffic to the destination STA. The traffic between STAs within a BSS may be considered and/or referred to as peer-to-peer traffic. The peer-to-peer traffic may be sent between (e.g., directly between) the source and destination STAs with a died link setup (DLS). In certain representative embodiments, the DLS may use an 802.11e DLS or an 802.11z tunneled DLS (TDLS). A WLAN using an Independent BSS (IBSS) mode may not have an AP, and the STAs (e.g., at of the STAs) within or using the IBSS may communicate directly with each other. The IBSS mode of communication may sometimes be referred to herein as an “ad-hoc” mode of communication.


When using the 802.11ac infrastructure mode of operation or a similar mode of operations, the AP may transmit a beacon on a fixed channel, such as a primary channel. The primary channel may be a fixed width (e.g., 20 MHz wide bandwidth) or a dynamically set width via signaling. The primary channel may be the operating channel of the BSS and may 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) may be implemented, for example in in 802.11 systems. For CSMA/CA, the STAs (e.g., every STA), including the AP, may sense the primary channel. If the primary channel is sensed/detected and/or determined to be busy by a particular STA, the particular STA may back off. One STA (e.g., only one station) may transmit at any given time in a given BSS.


High Throughput (HT) STAs may 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.


Very High Throughput (VHT) STAs may support 20 MHz, 40 MHz, 80 MHz, and/or 160 MHz wide channels. The 40 MHz, and/or 80 MHz, channels may be formed by combining contiguous 20 MHz channels. A 160 MHz channel may be formed by combining 8 contiguous 20 MHz channels, or by combining two non-contiguous 80 MHz channels, which may be referred to as an 80+80 configuration. For the 80+80 configuration, the data, after channel encoding, may be passed through a segment parser that may divide the data into two streams. Inverse Fast Fourier Transform (IFFY) processing, and time domain processing, may be done on each stream separately. The streams may be mapped on to the two 80 MHz channels, and the data may be transmitted by a transmitting STA. At the receiver of the receiving STA, the above described operation for the 80+80 configuration may be reversed, and the combined data may be cent to the Medium Access Control (MAC).


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.11ac. 802.11af supports 5 MHz, 10 MHz and 20 MHz bandwidths in the TV White Space (TVWS) spectrum, and 802.11ah supports 1 MHz, 2 MHz, 4 MHz, 8 MHz, and 16 MHz bandwidths using non-TVWS spectrum. According to a representative embodiment, 802.11ah may support Meter Type Control/Machine-Type Communications, such as MTC devices in a macro coverage area. MTC devices may have certain capabilities, for example, limited capabilities including support for (e.g., only support for) certain and/or limited bandwidths. The MTC devices may include a battery with a battery life above a threshold (e.g., to maintain a very long battery life).


WLAN systems, which may support multiple channels, and channel bandwidths, such as 802.11n, 802.11ac, 802.11af, and 802.11ah, include a channel which may be designated as the primary channel. The primary channel may have a bandwidth equal to the largest common operating bandwidth supported by all STAs in the BSS. The bandwidth of the primary channel may 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.11ah, the primary channel may 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 may 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 may be considered busy even though a majority of the frequency bands remains idle and may be available.


In the United States, the available frequency bands, which may be used by 802.11ah, 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.11ah is 6 MHz to 25 MHz depending on the country code.



FIG. 1D is a system diagram illustrating the RAN 113 and the CN 115 according to an embodiment. As noted above, the RAN 113 may employ an NR radio technology to communicate with the WTRUs 102a, 102b, 102c over the air interface 116. The RAN 113 may also be in communication with the CN 115.


The RAN 113 may include gNBs 180a, 180b, 180c, though it will be appreciated that the RAN 113 may include any number of gNBs while remaining consistent with an embodiment. The gNBs 180a, 180b, 180c may each include one or more transceivers for communicating WA the WTRUs 102a, 102b, 102c over the air interface 116. In one embodiment, the gNBs 180a, 180b, 180c may implement MIMO technology. For example, gNBs 180a. 108b may utilize beamforming to transmit signals to and/or receive signals from the gNBs 180a, 180b, 180c. Thus, the gNB 180a, for example, may 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 may implement carrier aggregation technology. For example, the gNB 180a may transmit multiple component carriers to the WTRU 102a (not shown). A subset of these component carriers may be on unlicensed spectrum while the remaining component carriers may be on licensed spectrum. In an embodiment, the gNBs 180a, 180b, 180c may implement Coordinated Multi-Point (CoMP) technology. For example, WTRU 102a may receive coordinated transmissions from gNB 180a and gNB 180b (and/or gNB 180c).


The WTRUs 102a, 102b, 102c may communicate with gNBs 180a, 180b, 180c using transmissions associated with a scalable numerology. For example, the OFDM symbol spacing and/or OFDM subcarrier spacing may vary for different transmissions, different cells, and/or different portions of the wireless transmission spectrum. The WTRUs 102a, 102b, 102c may communicate with 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).


The gNBs 180a, 180b, 180c may be configured to communicate with the WTRUs 102a, 102b. 102c in a standalone configuration and/or a non-standalone configuration. In the standalone configuration, WTRUs 102a, 102b, 102c may 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 may utilize one or more of gNBs 180a, 180b, 180c as a mobility anchor point. In the standalone configuration, WTRUs 102a, 102b, 102c may communicate with gNBs 180a, 180b, 180c using signals in an unlicensed band. In a non-standalone configuration WTRUs 102a, 102b, 102c may 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 may implement DC principles to communicate with one or more gNBs 180a, 180b, 180c and one or more eNode-Bs 160a, 160b, 160c substantially simultaneously. In the non-standalone configuration, eNode-Bs 160a, 160b, 160c may serve as a mobility anchor for WTRUs 102a, 102b, 102c and gNBs 180a, 180b, 180c may provide additional coverage and/or throughput for servicing WTRUs 102a, 102b, 102c.


Each of the gNBs 180a, 180b, 180c may be associated with a particular cell (not shown) and may be configured to handle radio resource management decisions, handover decisions, scheduling of users in the UL and/or DL, support 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. 1D, the gNBs 180a, 180b, 180c may communicate with one another over an Xn interface.


The CN 115 shown in FIG. 1D may include at least one AMF 182a, 182b, at least one UPF 184a, 184b, at least one Session Management Function (SMF) 183a, 183b, and possibly a Data Network (DN) 185a, 185b. While each of the foregoing elements are depicted as part of the CN 115, it will be appreciated that any of these elements may be owned and/or operated by an entity other than the CN operator.


The AMF 182a, 182b may be connected to one or more of the gNBs 180a, 180b, 180c in the RAN 113 via an N2 interface and may serve as a control node. For example, the AMF 182a, 182b may 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 may 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 may be established for different use cases such as services relying on ultra-reliable low latency (URLLC) access, services relying on enhanced massive mobile broadband (eMBB) access, services for machine type communication (MTC) access, and/or the like. The AMF 162 may provide a central 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.


The SMF 183a, 183b may be connected to an AMF 182a, 182b in the CN 115 via an N11 interface. The SMF 183a, 193b may also be connected to a UPF 184a, 184b in the CN 115 via an N4 interface. The SMF 183a, 183b may select and control the UPF 184a, 184b and configure the routing of traffic through the UPF 184a, 184b. The SMF 183a, 183b may 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 may be IP-based, non-IP based, Ethernet-based, and the like.


The UPF 184a, 184b may be connected to one or more of the gNBs 180a, 180b, 180c in the RAN 113 via an N3 interface, which may provide the WTRUs 102a, 102b, 102c with access to packet-switched networks, such as the Internet 110, to facilitate communications between the WTRUs 102a, 102b, 102c and IP-enabled devices. The UPF 184, 184b may perform other functions, such as routing and forwarding packets, enforcing user plane policies, supporting multi-homed PDU sessions, handling user plane QoS, buffering downlink packets, providing mobility anchoring, and the like.


The CN 115 may facilitate communications with other networks. For example, the CN 115 may include, or may communicate with, an IP gateway (e.g., an IP multimedia subsystem (IMS) server) that serves as an interface between the CN 115 aid the PSTN 108. In addition, the CN 115 may provide the WTRUs 102a, 102b, 102c with access to the other networks 112, which may 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 may 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.


In view of FIGS. 1A-1D, and the corresponding description of FIGS. 1A-1D, one or more, or all, of the functions descried herein with regard to one or more of: WTRU 102a-d, Base Station 114a-b, eNode-B 160a-c, MME 162, SGW 164, PGW 165, gNB 180a-c, AMF 182a-b, UPF 184a-b, SMF 183a-b, DN 185a-b, and/or any other device(s) described herein, may be performed by one or more emulation devices (not shaven). The emulation devices may be one or more devices configured to emulate one or more, or all, of the functions described herein For example, the emulation devices may be used to test other devices and/or to simulate network and/or WTRU functions.


The emulation devices may 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 may 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 may 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 may be directly coupled to another device for purposes of testing and/or may performing testing using over-the-air wireless communications.


The one or more emulation devices may perform the one a more, including all, functions while not being implemented/deployed as pert of a wired and/or wireless communication network. For example, the emulation devices may be utilized in a testing scenario in a testing laboratory and/or a non-deployed (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 may be test equipment. Direct RF coupling and/or wireless communications via RF circuitry (e.g., which may include one or more antennas) may be used by the emulation devices to transmit and/or receive data.


Video coding systems may be used to compress digital video signals, which may reduce the storage needs and/or the transmission bandwidth of video signals. Video coding systems may include block-based, wavelet-based, and/or object-based systems. Block-based video coding systems may include MPEG-1/2/4 part 2, H.264/MPEG-4 part 10 AVC, VC-1, High Efficiency Video Coding (HEVC) and/or Versatile Video Coding (VVC).


Block-based video coding systems may include a block-based hybrid video coding framework FIG. 2 is a diagram of an example block-based hybrid video encoding framework for an encoder. An encoder may include a WTRU. An input video signal 202 may be processed block-by-block. Block sizes (e.g., extended block sizes, such as a coding unit (CU)) may compress high resolution (e.g. 1080p and beyond) video signals. For example, a CU may include 64×64 pixels or more. A CU may be partitioned into prediction units (PUs), and/or separate predictions may be used. For an input video block (e.g., macroblock (MB) and/or a CU), spatial prediction 260 and/or temporal prediction 262 may be performed. Spatial prediction 260 (e.g., intra prediction) may use pixels from samples of coded neighboring blocks (e.g., reference samples) in the video picture/site to predict the current video block. The spatial prediction 260 may reduce spatial redundancy, for example, that may be inherent in the video signal. Motion prediction 262 (e.g., inter prediction and/or temporal prediction) may use reconstructed pixels from the coded video pictures, for example, to predict the current video block. The motion prediction 262 may reduce temporal redundancy, for example, that may be inherent in the video signal. Motion prediction signals for a video block may be signaled by one or more motion vectors and/or may indicate the amount and/or the direction of motion between the current block and/or the current block's reference block. If multiple reference pictures are supported for a (e.g., each) video block, the video block's reference picture index may be sent. The reference picture index may be used to identify from which reference picture in a reference picture store 264 the motion prediction signal may derive.


After the spatial prediction 260 and/or motion prediction 262, a mode decision block 280 in the encoder may determine a prediction mode (e.g., the best prediction mode), for example, based on a rate-distortion optimization. The prediction block may be subtracted from a current video block 216 and/or the prediction residual may be de-correlated using a transform 204 and/or a quantization 206 to achieve a bit-rate, such as a target bit rate. The quantized residual coefficients may be inverse quantized at quantization 210 and/or inverse transformed at transform 212, for example, to form the reconstructed residual, which may be added to the prediction block 226, for example, to form a reconstructed video block. In-loop filtering (e.g., a de-blocking filter and/or adaptive loop filters) may be applied at loop filter 266 on the reconstructed video block before the reconstructed video block may be put in the reference picture store 264 and/or used to code video blocks (e.g., future video blocks). To form the output video bit-stream 220, coding mode (e.g., inter or intra), prediction mode information, motion information, and/or quantized residual coefficients may be sent (e.g., may all be sent) to an entropy coding module 208, for example, to be compressed and/or packed to form the bit-stream.



FIG. 3 is a diagram of an example block-based video decoding framework for a decoder. A decoder may include a WTRU. A video bit-stream 302 (e.g., the video bit-stream 220 in FIG. 2) may be unpacked (e.g., first unpacked) and/or entropy decoded at an entropy decoding module 308. The coding mode and prediction information may be sent to a spatial prediction module 360 (e.g., if intra coded) and/or to a motion compensation prediction module 362 (e.g., if inter coded and/or temporal coded) to form a prediction block. Residual transform coefficients may be sent to an inverse quantization module 310 and/or to an inverse transform module 312, e.g., to reconstruct the residual block. The prediction block and/or the residual block may be added together at 326. The reconstructed block may go through in-loop filtering at a loop filter 366, for example, before the reconstructed block is stored in a reference picture store 364. The reconstructed video 320 in the reference picture store 364 may be sent to a display device and/or used to predict video blocks (e.g., future video blocks).


The use of bi-directional motion compensated prediction (MCP) in video codecs may remove temporal redundancies by exploiting temporal correlations relations between pictures. A bi-prediction signal may be formed by combining two uni-prediction signals using a weight value (e.g., 0.5). In certain videos, illuminance characteristics may change rapidly from one reference picture to another. Thus, prediction techniques may compensate for variations in illuminance over time (e.g., fading transitions) by applying global or local weights and offset values to one or may sample values in the reference pictures.


MCP in a bi-promotion mode may be performed using CU weights. As an example, MCP may be performed using bi-prediction with CU weights. An example of bi-prediction with CU weights (BCW) may include generalized bi-prediction (GBi). A bi-prediction signal may be calculated based on one or more of weight(s), motion-compensated predation signal(s) corresponding to a motion vector associated with a reference picture list(s), and/or the like. In an example, the prediction signal at sample x (as given) in a bi-prediction mode may be calculated using Eq. 1.






P[x]=w0*PG[x+v0]=w1*P1[x+v1]  Eq. 1


P[x] may denote the resulting prediction signal of a sample x located at a picture position x Pi[x+yi] may denote the motion-compensated prediction signal of x using the motion vector (MV) vi for i-th list (e.g., list 0, list 1, etc.), w0 and w1 may denote the two weight values that are applied on a prediction signal(s) for a block and/or CU. As an example, w0 and w1 may denote the two weight values shared across the samples in a block and/or CU. A variety of prediction signals may be obtained by adjusting the weight value(s). As shown in Eq. 1, a variety of prediction signals may be obtained by adjusting weight values w0 and w1.


Some configurations of weight values w0 and w1 may indicate prediction such as uni-prediction and/or bi-prediction. For example, (w0, w1)=(1, 0) may be used in associated with uni-prediction with reference list L0. (w0, w1)=(0, 1) may be used in association with uni-prediction with reference list L1. (w0, w1)=(0.5, 0.5) may be used in association with the bi-prediction with two reference lists (e.g., L1 and L2).


Weight(s) may be signaled at the CU level. In an example, the weight values w0 and w1 may be signaled per CU. Bi-prediction may be performed with the CU weights. A constraint for the weights may be applied to a pair of weights. The constraint may be preconfigured. For example, the constraint for the weights may include w0+w1=1. A weight may be signaled. The signaled weight may be used to determine another weight. For example, with the constraint for CU weights, only one weight may be signaled. Signaling overhead may be reduced. Examples of pairs of weights may include {(4/8, 4/8), (3/8, 5/8), (5/8, 3/8), (−2/8, 10/8), (10/8, −2/8)}.


A weight may be derived based on a constraint for the weights, for example, when unequal weights are to be used. A coding device may receive a weight indication and determine a first weight based on the weight indication. The coding device may derive a second weight based on the determined first weight and the constraint for the weights.


Eq. 2 may be used. In an example, Eq. 2 may be produced based on Eq. 1 and the constraint of w0+w1=1.






P[x]=(1−w1)*P0[x+v0]+w1*P1[x+v1]  Eq. 2


Weight values (e.g., w1 and/or w0) may be discretized. Weight signaling overhead may be reduced. In an example, bi-prediction CU weight value w1 may be discretized. The discretized weight value w1 may include, for example, one or more of −2/8, 2/8, 3/8, 4/8, 5/8, 6/8, 10/8, and/or the like. A weight indication may be used to indicate weights to be used for a CU, for example, for bi-prediction. An example of the weight indication may include a weight index. In an example, each weight value may be indicated by an index value.



FIG. 4 is a diagram of an example video encoder with support of BCW (e.g., GBi). An encoding device as described in the example shown in FIG. 4 may be or may include a WTRU. The encoder may include a mode demon module 404, spatial prediction module 406, a motion prediction module 408, a transform module 410, a quantization module 412, an inverse quantization module 416, an inverse transform module 418, a loop fitter 420, a reference picture store 422 and an entropy coding module 414. In examples, some or ail of the encoder's modules or components (e.g., the spatial prediction module 406) may be the same as, or similar to, those described in connection with FIG. 2. In addition, the spatial prediction module 406 and the motion prediction module 408 may be pixel-domain prediction modules. Thus, an input video bit-stream 402 may be processed in a similar manner as the input video bit-stream 202, to output video bit-stream 424. The motion prediction module 408 may further include support of bi-prediction with CU weights. As such, the motion prediction module 408 may combine two separate prediction signals in a weighted-averaging manner. Further, the selected weight index may be signaled in the input video bitstream 402.



FIG. 5 is a diagram of an example module with support for bi-prediction with CU weights for an encoder. FIG. 5 illustrates a block diagram of an estimation module 500. The estimation module 500 may be employed in a motion prediction module of an encoder, such as the motion prediction module 408. The estimation module 500 may be used in connection with BCW (e.g., GBi). The estimation module 500 may include a weight value estimation module 502 and a motion estimation module 504. The estimation module 500 may utilize a twostep process to generate inter prediction signal, such as a final inter prediction signal. The motion estimation module 504 may perform motion estimation using reference picture(s) received from a reference picture store 506 and by searching two optimal motion vectors (MVs) pointing to (e.g., two) reference blocks. The weight value estimation module 502 may search for the optimal weight index to minimize the weighted bi-prediction error between the current video block and bi-prediction prediction. The prediction signal of the generalized bi-prediction may be computed as a weighted average of the two prediction blocks.



FIG. 6 is a diagram of an example block-based video decoder with support for bi-prediction with CU weights. FIG. 6 illustrates a block diagram of an example video decoder that may decode a bit-stream from an encoder. The encoder may support BCW anchor share some similarities with the encoder described in connection with FIG. 4. A decoder as described in the example shown in FIG. 6 may include a WTRU. As shown in FIG. 6, the decoder may include an entropy decoder 604, a spatial prediction module 606, a motion prediction module 608, a reference picture store 610, an inverse quantization module 612, an inverse transform module 614 and a loop filter module 618. Some or all of the decoders modules may be the same as, or similar to, those described in connection with FIG. 3. For example, the prediction block and/or residual block may be added together at 618. A video bit-stream 602 may be processed to generate the reconstructed video 620 that may be sent to a display device and/or used to predict video blocks (e.g., future video blocks). The motion prediction module 608 may further include support for BCW. The coding mode and/or prediction information may be used to derive a prediction signal using either spatial prediction or MCP with support for BCW. For BCW, the block motion information and/or weight value (e.g., in the form of an index indicating a weight value) may be received and decoded to generate the prediction block.



FIG. 7 is a diagram of an example module with support for bi-pre diction with CU weights for a decoder. FIG. 7 illustrates a block diagram of a prediction module 700. The prediction module 700 may be employed in a motion prediction module of a decoder, such as the motion prediction module 608. The prediction module 700 may be used in co section with BCW. The prediction module 700 may include a weighted averaging module 702 and a motion compensation module 704, which may receive one or more references pictures torn a reference picture store 706. The prediction module 700 may use the block motion information and weight value to compute a prediction signal of BCW as a weighted average of (e.g., two) motion compensated prediction blocks.


Bi-prediction in video coding may be based on a combination of multiple (e.g., two) temporal prediction blocks. In examples, CU and block may be used interchangeably. The temporal prediction blocks may be combined, in an example, two temporal prediction blocks that are obtained from the reference pictures that are reconstructed may be combined using averaging. Bi-prediction may be based on block-based motion compensation. A relatively small motion may be observed between the (e.g., two) prediction blocks in bi-prediction.


Bi-directional optical flow (BDOF) may be used, for example, to compensate the relatively small motion observed between prediction blocks. BDOF may be applied to compensate for such motion for a sample inside a block, in an example, BDOF may compensate for such motion for individual samples inside a block. This may increase the efficiency of motion compensated prediction.


BDOF may include refining motion vectors) associated with a block. In examples, BDOF may include sample-wise motion refinement that is performed on top of block-based motion-compensated predictions when bi-prediction is used. BDOF may include deriving refined motion vector(s) for a sample. As an example of BDOF, the derivation of the refined motion vector for individual samples in a block may be based on the optical flow model.


BDOF may include refining a motion vector of a sub-block associated with a block based on one or more of the following: a location in a block; gradients (e.g., horizontal, vertical, and/or the like) associated with the location in the block; sample values associated with a corresponding reference picture list for the location; and/or the like. Eq. 3 may be used for deriving refined motion vector for a sample. As shown in Eq. 3, l(k)(x, y) may denote the sample value at the coordinate (x, y) of the prediction block, derived from the reference picture list k (k=0, 1), ∂1(k)(x, y)/∂x and ∂l(k)(x, y)/∂y may be the horizontal and vertical gradients of the sample. The motion refinement (vx, vy) at (x, y) may be derived using Eq. 3. Eq. 3 may be based on an assumption that the optical flow model is valid.















I

(
k
)


(

x
,
y

)




t


+


v
x

·





I

(
k
)


(

x
,
y

)




x



+


v
y

·





I

(
k
)


(

x
,
y

)




y




=
0




Eq
.

3








FIG. 8 illustrates an example bidirectional optical flaw. In FIG. 8, (MVx0, MVy0) and (MVx1, MVy1) may indicate block-level motion vectors. The block-level motion vectors may be used to generate prediction blocks l(0) and l(1). The motion refinement parameters (vx, vy) at the sample location (x, y) may be calculated, for example, by minimizing the difference Δ between the motion vector values of the sample(s) after motion refinement (e.g., motion vector between the current picture and the backward reference picture A and motion vector between the current picture and the forward reference picture B in FIG. 8). The difference Δ between the motion vector values of the samples after motion refinement may be calculated use, for example, Eq. 4.










Δ

(

x
,
y

)

=



I

(
0
)


(

x
,
y

)

-


I

(
1
)


(

x
,
y

)

+


v
x

(






I

(
3
)


(

x
,
y

)




x


+





I

(
0
)


(

x
,
y

)




x



)

+


v
y

(






I

(
1
)


(

x
,
y

)




y


+





I

(
0
)


(

x
,
y

)




y



)






Eq
.

4







It may be assumed that the motion refinement is consistent for the samples, for example inside one unit (e.g., a 4×4 block). Such assumption may support the regularity of the derived motion refinement. The value of (vx*, vy*) may be derived, for example, by minimizing Δ inside the 6×6 window Ω around each 4×4 block, as shown in Eq. 5










(


v
x


,

v
y



)

=



arg

min


(


v
x

,

v
y


)








(

i
,
j

)


e

Ω




Δ
2

(

i
,
j

)







Eq
.

5







In examples, BDOF may include a progressive technique which may optimize the motion refinement in the horizontal direction (e.g., first) and in the vertical direction (e.g., second), e.g., to be used in association with Eq. 5. This may result in Eq. 6.






v
x=(S1+r)>m?clip3(−thBIO,thBIO,−(S3>>└log2(S1+r)┘)):0






v
y=(S5+r)>m?clip3(−thBIO,thBIO,−((S6−vxS2)>>└log2(S5+r)┘)):0  Eq. 6


where └·┘ may be the floor function that outputs the greatest value that is less than or equal to the input. thBIO may be the motion refinement value (e.g., threshold value) to prevent the error propagation, e.g., due to coding noise and irregular local motion. As an example, the motion refinement value may be 21B-B0. The values of S1, S2, S3, S5 and S6 may be calculated, for example, as shown in Eq. 7 and Eq. 8






S
1(i,j)ϵΩψx(i,j)·ψx(i,j), S3(i,j)ϵΩθ(i,j)·ψx(i,j)·2L S2(i,j)ϵΩψx(i,j)·ψy(i,j) S5(i,j)ϵΩψy(i,j)·ψy(i,j)·2 S6(i,j)ϵΩθ(i,j)·ψy(i,j)·2L+1  Eq. 7


where











ψ
x

(

i
,
j

)

=






I

(
1
)





x




(

i
,
j

)


+





I

(
0
)





x




(

i
,
j

)







Eq
.

8











ψ
y

(

i
,
j

)

=






I

(
1
)





y




(

i
,
j

)


+





I

(
0
)





y




(

i
,
j

)










θ

(

i
,
j

)

=



I

(
2
)


(

i
,
j

)

-


I

(
0
)


(

i
,
j

)






The BDOF gradients in Eq. 8 in the horizontal and vertical directions may be obtained by calculating the difference between multiple neighboring samples at a sample position of the L0/L1 prediction block. In an example, the difference may be calculated between two neighboring samples horizontally or vertically depending on the director of the gradient being derived at one sample position of each L0/L1 prediction block, for example, using Eq. 9.

















I

(
k
)





x




(

i
,
j

)


=


(



I

(
k
)


(


i
+
1

,
j

)

-


I

(
k
)


(


i
-
1

,
j

)


)


4












I

(
k
)





y




(

i
,
j

)


=


(



I

(
k
)


(

i
,

j
+
1


)

-


I

(
k
)


(

i
,

j
-
1


)


)


4








k
=
0

,
1







Eq
.

9







In Eq. 7, L may be the bit-depth increase for the internal BDOF, e.g., to keep data precision. L may be set to 5. The regulation parameters r and m in Eq. 6 may be defined as shown in Eq. 10 (e.g., to avoid division by a smaller value).






r=500·4BD-8






m=700·4BD-8  Eq. 10


BD may be the bit depth of the input video. The bi-prediction signal (e.g., final bi-prediction signal) of the current CU may be calculated by interpolating the L0/L1 prediction samples along the motion trajectory, e.g., based on the optical flow Eq. 3 and the motion refinement derived by Eq. 6. The bi-prediction signal of the current CU may be calculated using Eq. 11.













pred
BIO

(

x
,
y

)

=


(



I

(
0
)


(

x
,
y

)

+


I

(
1
)


(

x
,
y

)

+
b
+

o
offset


)


shift






Eq
.

11









b
=


rnd

(


(


v
x

(






I

(
1
)


(

x
,
y

)




x


-





I

(
0
)


(

x
,
y

)




x



)

)

/

2

L
+
1



)

+

rnd

(


(


v
y

(






I

(
1
)


(

x
,
y

)




y


-





I

(
0
)


(

x
,
y

)




y



)

)

/

2

L
+
1



)






shift and ooffset may be the offset and right shift that is applied to combine the L0 and L1 prediction signals for bi-prediction, which may be set equal to 15−BD and 1<<(14−BD)+2·(1<<13), respectively; rnd(·) may be a rounding function that rounds the input value to the closest integer value.


There may be various types of motions within a particular video, such as zoom in/out, rotation, perspective motions and other irregular motions. A translational motion model and/or an affine motion model may be applied for MCP. The affine motion model may be bur-parameter and/or six-parameter. A first flag for (e.g., each) inter coded CU may be signaled to indicate whether the translational motion model or the affine motion model is applied for inter prediction. It the affine motion model is applied, a second flag may be sent to indicate whether the model is four-parameter or six-parameter.


The four-parameter affine motion model may include two parameters for translation movement in the horizontal and vertical directions, one parameter for a zoom motion in the horizontal and vertical directions and/or one parameter for a rotation motion in the horizontal and vertical directions. A horizontal zoom parameter may be equal to a vertical zoom parameter. A horizontal rotation parameter may be equal to a vertical rotation parameter. The four-parameter affine motion model may be coded using two motion vectors at two control point positions defined at the top-left and top right corners of a (e.g., current) CU.



FIG. 9 illustrates an example four-parameter affine mode. FIG. 9 illustrates an example affine motion field of a block. As shown in FIG. 9, the block may be described by two control pant motion vectors (V0, V1). Based on a control point motion, the motion field (vx, vy) of one affine coded block may be described in Eq. 12.













?

=




?

w

x

-



?

w

y

+

v

0

x









?

=




?

w

x

-



?

w

y

+

v

0

y









Eq
.

12










?

indicates text missing or illegible when filed




In Eq. 12, (v0x, v0y) may be a motion vector of the top-left corner control point. (v1x, v1y) may be a motion vector of the top-right tuner control point, w may be the width of CU. The motion field of an affine coded CU may be derived at a 4×4 block level. For example, (vx, vy) may be derived for each of the 4×4 blocks within a current CU and applied to a corresponding 4×4 block.


The fax parameters may be estimated iteratively. The motion vector pairs at step k may be denoted as {(v0xk, v0yk), (v1xk, v1yk)}, the original luminance signal as l(i,j), and the prediction luminance signal as l′k(i, j). The spatial gradient gxk(i, j) and gyk(i, j) may be derived using a Sobel filter applied on the prediction signal l′k(i, j) in the horizontal and vertical directions, respectively. The derivative of Eq. 1 may be represented as Eq. 13.









{






dv
x
k

(

x
,
y

)

=


c
*
x

-

d
*
y

+
a









dv
y
k

(

x
,
y

)

=


d
*
x

+

c
*
y

+
b









Eq
.

13







In Eq. 13, (a, b) may be delta translational parameters and (c, d) may be delta zoom and rotation parameters at step k. The delta MV at control points may be derived with its coordinates as Eq. 14 and Eq. 15. For example, (0, 0), (w, 0) may be coordinates for top-left and top-right control points, respectively.









{





dv

0

x

k

=



v

0

x


k
+
1


-

v

0

x

k


=
a








dv

0

y

k

=



v

0

y


k
+
1


-

v

0

y

k


=
b









Eq
.

14












{





dv

1

x

k

=


(


v

1

x


k
+
1


-

v

1

x

k


)

=


c
*
w

+
a









dv

1

y

k

=


(


v

1

y


k
+
1


-

v

1

y

k


)

=


d
*
w

+
b










Eq
.

15







Based on an optical flow equation, the relationship between the change of luminance and the spatial gradient and temporal movement may be formulated as Eq. 16.






l′
k(i,j)−l(i,j)=gxk(i,j)*dvxk(i,j)+gyk(i,j)*dvyk(i,j)  Eq. 16


Substituting dvxk(i, j) and dvyk(i, j) with Eq. 13 may produce Eq. 17 for parameters (a, b, c, d).






l′
k(i,j)−l(i,j)=(gxk(i,j)*i+gyk(i,j)*j)*c+(−gxk(i,j)*j+gyk(i,j)*i)*d+gxk(i,j)*a+gyk(i,j)*b  Eq. 17


If the samples in the CU satisfy Eq. 17, the parameter set (a, b, c, d) may be derived using, for example, the feast square calculation. The motion vectors at two control points {(v0xk+1, v0yk+1), (v1xk+1, v1yk+1)} at step (k+1) may be derived with Eqs. 14 and 15, and they may be rounded to a specific precision (e.g., ¼ pel). Using the iteration, the motion vectors at two control paints may be reined until it converges when parameters (a, b, c, d) may be zeros or the iteration times meet a pre-defined limit.


The six-parameter affine motion model may include two parameters for translation movement in the horizontal and vertical directions, one parameter for a zoom motion, one parameter for a rotation motion in the horizontal direction, one parameter for a zoom motion and/or one parameter for a rotation motion in the vertical direction. The six-parameter affine motion model may be coded with three motion vectors at three control points. FIG. 10 illustrates an example six-parameter affine mode. As shown in FIG. 10, three control points for the six-parameter affine coded CU may be defined at the top-left, top-right and/or bottom left corners of CU. The motion at the top-left control point may be related to a translational motion. The motion at the top-right control point may be related to rotation and zoom motions in the horizontal direction. The motion at the bottom-left control paint may be related to rotation and zoom motions in the vertical direction. In the six-parameter affine motion model, the rotation and zoom motions in the horizontal direction may nor be same as those motions in the vertical direction. In an example, the motion vector of each sub-block (vi, vj) may be derived from Eqs. 18 and 19 using three notion vectors as control points:










v
x

=


v

0

x


+


(


v

1

x


-

v

0

x



)

*

x
w


+


(


v

2

x


-

v

0

x



)

*

y
h







Eq
.

18













v
y

=


v

0

y


+


(


v

2

y


-

v

0

y



)

*

x
w


+


(


v

2

y


-

v

0

y



)

*

y
h







Eq
.

19







In Eqs. 18 and 19, (v2x, v2y) may be a motion vector of the bottom-left control point. (x, y) may be a center position of a sub-block, w and h may be a width and height of a CU.


The six parameters of the six-parameter affine model may be estimated, for example, in a similar way. For example, Eq. 20 may be produced based on Eq. 13.









{






dv
x
k

(

x
,
y

)

=


c
*
x

+

d
*
y

+
a









dv
y
k

(

x
,
y

)

=


e
*
x

+

f
*
y

+
b









Eq
.

20







In Eq. 20, for step k, (a, b) may be delta translation parameters. (c, d) may be delta zoom and rotation parameters for the horizontal direction (e, f) may be delta zoom and rotation parameters for the vertical direction. For example, Eq. 21 may be produced based on Eq. 16.






l′
k(i,j)−l(i,j)=(gxk(i,j)*i)*c+(gxk(i,j)*j)*d+(gyk(i,j)*i)*e+(gyk(i,j)*j)*f+gxk(i,j)*a+gyk(i,j)*b  Eq. 21


The parameter set (a, b, e, d, e, f) may be derived using the least square calculation by considering the samples within the CU. The motion vector of the top-left control point (v0xk+1,v0yk+1) may be catenated using Eq. 14. The motion vector of the top-right control point (v1xk+1,v1yk+1) may be calculated using Eq. 22. The motion vector of the top-right control point (v2xk+1,v2yk+1) may be calculated using Eq. 23.









{





dv

1

x

k

=


(


v

1

x


k
+
1


-

v

1

x

k


)

=


c
*
w

+
a









dv

1

y

k

=


(


v

1

y


k
+
1


-

v

1

y

k


)

=


e
*
w

+
b










Eq
.

22












{





dv

2

x

k

=


(


v

2

x


k
+
1


-

v

2

x

k


)

=


d
*
h

+
a









dv

2

y

k

=


(


v

2

y


k
+
1


-

v

2

y

k


)

=


f
*
h

+
b










Eq
.

23







There may be a symmetric MV difference for bi-prediction. In some examples, the motion vector in forward reference picture and backward reference picture may be symmetric, e.g., due to the continuity of motion trajectory in bi-prediction.


SMVD may be an inter coding mode. With SMVD, the MVD of a first reference picture list (e.g., reference picture list 1) may be symmetric to the MVD of a second reference picture list (e.g., reference picture list 0). The motion vector coding information (e.g., MVD) of one reference picture list may be signaled, and the motion vector information of another reference picture list may not be signaled. The motion vector information of another reference picture list may be determined, for example, based on the signaled motion vector information and that the motion vector information of the reference pictures lists is symmetric. In an example, the MVD of reference picture list 0 may be signaled and the MVD of List 1 may not be signaled. The MV coded with this mode may be calculated using Eq. 24A.









{





(


mvx
0

,

mvy
0


)

=

(



mvpx
0

+

mvdx
0


,


mvpy
0

+

mvdy
0



)








(


mvx
1

,

mvy
1


)

=

(



mvpx
1

-

mvdx
0


,


mvpy
1

-

mvdy
0



)










Eq
.

24


A







where the subscripts indicate the reference picture list 0 or 1, x indicates horizontal direction and y indicates vertical direction.


As shown in Eq. 24A, an MVD for the current ceding block may indicate a difference between an MVP for the current coding block and an MV for the current coding block. A person of skilled in the art would appreciate that an MVP may be determined based on an MV of a spatial neighboring block(s) of the current coring block and/or a temporal neighboring block for the current coding block. Eq. 24A may be illustrated in FIG. 11. FIG. 11 illustrates an example non-affine motion symmetric MVD (e.g., MVD1=MVD0). As shown in Eq. 24A and illustrated in FIG. 11, the MV of a current coding block may be equal to the sum of the MVP for the current coding block and the MVD of the current coding block (or negative MVD depending on the reference picture list). As shown in Eq. 24A and illustrated in FIG. 11, the MVD of reference picture list 1 (MVD1) may be equal to negative of the MVD of reference picture list 0 (MVD0) for SMVD. The MV predictor (MVP) of reference picture list 0 (MVP0) may or may not be symmetric to the MVP of reference picture list 1 (MVP1). The MVP0 may or may not be equal to negative of the MVP1. As shown in Eq. 24A, the MV of a current coding block may be equal to the sum of the MVP for the current coding block and the MVD of the current coding block. The MV of reference picture list 0 (MVD) may not be equal to negative of the MV of reference picture list 1 (MV1) based of Eq. 24A. The MV of reference picture list 0 MV0 may or may not be symmetric to the MV of reference picture list 1 MV1.


SMVD may be available for b-prediction in the case that: reference picture list 0 includes a forward reference picture and reference picture list 1 includes a backward reference picture; or reference picture list 0 includes a backward reference picture and reference picture list 1 includes a forward reference picture.


With SMVD, the reference picture indices of reference picture list 0 and list 1 may not be signaled. They may be derived as follows. If reference picture list 0 includes a forward reference picture and reference picture list 1 includes a backward reference picture, the reference picture index in list 0 may be set to the nearest forward reference picture to the current picture, and, the reference picture index of list 1 may be set to the nearest backward reference picture to the current picture If reference picture list 0 includes a backward reference picture and reference picture list 1 includes a forward reference picture, the reference picture index in list 0 may be set to the nearest backward reference picture to the current picture, and, the reference picture index of list 1 may be set to the nearest forward reference picture to the current picture.


For SMVD, a reference picture index may not need to be signaled for either list. One set of MVD for one reference picture list (e.g. list 0) may be signaled. Signaling overhead may be reduced for bi-prediction coding.


In a merge mode, motion information may be derived and/or be used (e.g., directly used) to genera the prediction samples of the current CU. A merge mode with motion vector difference (MMVD) may be used. A merge flag may be signaled to specify whether MMVD is used for a CU. A MMVD flag may be signaled after sending a skip flag.


In MMVD, after a merge candidate is selected, the merge candidate may be refined by MVD information. The MVD information may be signaled. The MVD information may include one a more of a merge candidate flag, a distance index to specify nation magnitude, and/or an index for indication of motion direction. In MMVD, one of multiple candidates (e.g., the first two) candidates in the merge list may be selected to be used as the MV basis. The merge candidate flag may indicate which candidate is used.


The distance index may specify motion magnitude information and/or may indicate a pre-defined offset from the starting point (e.g., from the candidate selected to be the MV basis). FIG. 12 illustrates an example motion vector difference (MVD) search point(s). As shown in FIG. 12, the center points may be the starting point MVs. As shown in FIG. 12, the patterns in the dots may indicate different searching orders (e.g., from dots nearest the center MVs to the ones further away from the center MVs). As shown in FIG. 12, an offset may be added to the horizontal component and/or vertical component of the starting point MV. Example relation of distance index and predefined offset is shown in Table 1.









TABLE 1







Example relation of distance index and pre-defined offset















Distance IDX
0
1
2
3
4
5
6
7





Offset (e.g., in unit
¼
½
1
2
4
8
16
32


of luma sample)

















The direction index may represent the direction of the MVD relative to the starting point. The direction index may represent any of the four directions as shown in Table 2. The meaning of MVD sign may vary according to the information of the starting point MV or MVs. When the starting pant has a uni-prediction MV or a pair of bi-prediction MVs with both lists pointing to the same side of the currant picture, the sign in Table 1 may specify the sign of the MV offset added to the starting MV or MVs. For example, when the picture order counts (POCs) of two references are both larger than the POC of the current picture, or are both smaller than the POC of the current picture, the sign may specify the sign of the MV offset added to the staling MV or MVs. When the starting point has a pair of bi-prediction MVs with both lists pointing to the different sides of the current picture (e.g., when the POC of one reference is larger than the POC of the current picture, and the POC of the other reference is smaller than the POC of the current picture), the sign in Table 2 may specify the sign of MV offset added to the list 0 MV component of the starting point MV, and the sign of the MV offset added to the bit MV may have the opposite value.









TABLE 2







Example sign of MV offset specified by direction index













Directon IDX
00
01
10
11







x-axis
+

N/A
N/A



y-axis
NA
N/A
+











A symmetric mode for bi-prediction coding may be used. One or we features described herein may be used in association with the symmetric mode for bi-prediction coding, e.g., which, in examples, may increase coding efficiency and/or reduce complexity. The symmetric mode may include SMVD. One or more features described herein may be associated with synergizing SMVD with one or more other coding tools, e.g., bi-prediction with CU weights (BCW or BPWA), BDOF, and/or affirm mode. One or more features described herein may be used in encoding (e.g., encoder optimization), which may include fast motion estimation for translational and/or affine motion.


SMVD coding features may include one or more of restrictions, signaling, SMVD search features, and/or the like.


The application of SMVD mode may be based on the CU size. For example, a restriction may disallow the SMVD for a relatively small CU (e.g., a CU having an area that is no greater than 64). A restriction may disallow the SMVD for a relatively large CU (e.g., a CU bigger than 32×32). If a restriction disallows the SMVD for a CU, symmetric MVD signaling may be skipped or disabled for the CU, and/or a coding device (e.g., an encoder) may not search symmetric MVD.


The application of SMVD mode may be based on the POC distances between the current picture and reference pictures. The coding efficiency of SMVD may decrease for relatively large POC distance (e.g., POC distance greater than or equal to 8). SMVD may be disabled if the POC distance between a reference picture (e.g., any reference picture) to the anent picture is relatively large. If SMVD is disabled, the symmetric MVD signaling may be skipped or disabled, and/or a coding device (e.g., an encoder) may not search symmetric MVD.


The application of SMVD mode may be restricted to one or more temporal layers. In an example, a lower temporal layer may refer to reference pictures that have larger POC distance from the current picture, with a hierarchical GOP structure. The coding efficiency of the SMVD may decrease for a lower temporal layer. SMVD coding may be disavowed for relatively low temporal layers (e.g., temporal layer 0 and 1). It SMVD is disallowed, the symmetric MVD signaling may be skipped or disabled, and/or a coding device (e.g., an encoder) may not search symmetric MVD.


In SMVD coding, the MVD of one of the reference picture lists may be signaled (e.g., explicitly signaled). In an example, a coding device (e.g., a decoder) may parse a first MVD associated with a first reference picture list in a bitstream. The coding device may determine a second MVD associated with a second reference picture list based on the first MVD and that the first MVD and the second MVD are symmetric to each other.


The coding deice (e.g., the decoder) may identify the MVD of which reference picture list is signaled, for example, whether the MVD of reference picture list 0 or reference picture list 1 is signaled. In examples, the MVD of reference picture list 0 may be signaled (e.g., always signaled). The MVD of reference picture list 1 may be obtained (e.g., derived).


The reference picture list whose MVD is signaled (e.g., explicitly signaled) may be selected. One or more of the following may apply. An indication (e.g., a flag) may be signaled to indicate which reference picture list is selected. The reference picture list with a smaller POC distance to a current picture may be selected. If the POC distances for the reference picture lists are the same, a reference picture list may be predetermined to break the tie. For example, reference picture list 0 may be selected if the POC distances for the reference picture lists are the same.


The MVP index for a reference picture list (e.g., one reference picture list) may be signaled. In some examples, the indices of MVP candidates for both reference picture lists may be signaled (e.g., explicitly signaled). The MVP index for a reference picture list may be signaled (e.g., only the MVP index for one reference picture list), for example to reduce signaling overhead. The MVP index for the other reference picture list may be derived, for example as described herein. LX may be the reference picture list whose MVP index is signaled (e.g., explicitly signaled), and i may be the signaled MVP index, mvp′ may be derived from the MVP of LX as shown in Eq. 24.










(


mvpx


,

mvpy



)

=

(



mvpx
LLX

×



POC

1
-
LX


-

POC
curr




POC
LX

-

POC
curr




,


mvpy
LLX

×



POC

1
-
LX


-

POC
curr




POC
LX

-

POC
curr





)





Eq
.

24







where POCLX, POC1-LX, and POCcurr may be the POC of list LX reference picture, list (1-LX) reference picture, and current picture, respectively. And from the reference picture list (1-LX)'s MVP list, the MVP that is closest to mvp′ may be selected, e.g., as shown in Eq. 25,









j
=

arg



min
j

(




"\[LeftBracketingBar]"



mvpx

j
,

1
-
LX



-

mvpx





"\[RightBracketingBar]"


+



"\[LeftBracketingBar]"



mvpy

j
,

1
-
LX



-

mvpy





"\[RightBracketingBar]"



)






Eq
.

25







where j may be the MVP index of reference picture list (1-LX). LX may be the reference picture list whose MVD is signaled (e.g., explicitly signaled).


Table 3 shows an example CU syntax that may support symmetric MVD signaling for a non-affine coding mode.









TABLE 3







Example coding unit syntax that may support SMVD









Descriptor











coding_unit( x0, y0, cbWidth, cbHeight, treeType ) {



...



   if( slice_type = = B )



    inter_pred_idc[ x0 ][ y0 ]
ae(v)


   if( sps_affine_enabled_flag && cbWidth >= 16 && cbHeight >= 16 ) {



    inter_affine_flag[ x0 ][ y0 ]
ae(v)


    if( sps_affine_type_flag && inter_affine_flag[ x0 ][ y0 ] )



     cu_affine_type_flag[ x0 ][ y0 ]
ae(v)


   }



   if( inter_pred_idc[ x0 ][ y0 ] == PRED_Btext missing or illegible when filed  &&



    refIdxSymL0 > -1 && refidxSymL1 > -1 && inter_affine_flag[ x0 ][ y0 ] == 0 )



    sym_mvd_flag[ x0 ][ y0 ]
ae(v)


   if( inter_pred_idc[ x0 ][ y0 ] = PRED_L1 ) {



    if( num_ref_idx_I0_active_minus1 > 0 && text missing or illegible when filed sym_mvd_flag[ x0 ][ y0 ] )



     ref_idx_I0[ x0 ][ y0 ]
ae(v)


    mvd_coding(x0, y0, 0, 0 )



    if( MotionModelidc[ x0 ][ y0 ] > 0 )



     mvd_coding( x0, y0, 0, 1 )



    if(MotionModelidc[ x0 ][ y0 ] > 1 )



     mvd_coding( x0, y0, 0, 2 )



    mvp_I0_flag[ x0 ][ y0 ]
ae(v)


   } else {



    MvdL0[ x0 ][ y0 ][ 0 ] = 0



    MvdL0[ x0 ][ y0 ][ 1 ] = 0



   }



   if( inter_pred_idc[ x0 ][ y0 ] != PRED_L0 ) {



    if( num_ref_idx_I1_active_minus1 > 0 && !sym_mvd_flag[ x0 ][ y0 ] )



     ref_idx_I1[ x0 ][ y0 ]
ae(v)


    if( mvd_I1_zero_flag && inter_pred_idc[ x0 ][ y0 ] = = PRED_BI ) {



     ...



    } else {



     if( !sym_mvd_flag[ x0 ][ y0 ] ) {



      mvd_coding( x0, y0, 1, 0 )



     if( MotionModelidc[ x0 ][ y0 ] > 0 )



      mvd_coding( x0, y0, 1, 1 )



     if(MotionModelidc[ x0 ][ y0 ] > 1 )



      mvd_coding( x0, y0, 1, 2 )



    }



    mvp_I1_flag[ x0 ][ y0 ]
ae(v)


   } else {



    MvdL1[ x0 ][ y0 ][ 0 ] = 0



    MvdL1[ x0 ][ y0 ][ 1 ] = 0



   }



   ...



  }



 }



 ...



}






text missing or illegible when filed indicates data missing or illegible when filed







For example, an indication, such an the sym_mvd_flag flag may indicate whether SMVD is used in motion vector coding for the current coding beck (e.g., bi-prediction, coded CU).


An indication, such as refldxSymL0, may indicate the reference picture index in reference picture list 0. The rsfldxSymL0 indication being set to −1 may indicate that SMVD is not applicable, and the sym_mvd_flag may be absent.


An indication, such as refldxSymL1, may indicate the reference picture index in reference picture list 1. The refldxSymL1 indication having a value of −1 may indicate that SMVD is not applicable, and the sym_mvd_flag may be absent.


In examples, SMVD may be applicable when reference picture list 0 includes a forward reference picture and reference picture list 1 includes a backward reference picture, or when reference picture list 0 includes a backward reference picture and reference picture list 1 includes a forward reference picture. Otherwise, SMVD may not be applicable. For example, when SMVD is not applicable, signaling of the SMVD indication (e.g., the sym_mvd_flag flag at the CU level), may be skipped. A coding device (e.g., a decoder) may perform one or more condition checks. As shown in Table 3, two condition checks may be performed (e.g. refldxSymL0>−1 and refldxSymL1>−1). The one or more condition checks may be performed to determine whether the SMVD indication is used. As shown in Table 3, two condition checks may be performed (e.g. refldxSymL0>−1 and refldxSymL1>−1) to determine whether the SMVD indication is received In an example, in order for a decoder to check these conditions, the decoder may wait for the construction of the reference picture lists of the current picture (e.g., list0 and list1) before certain CU parsing. In some instances, even if both of the two checked conditions (e.g. refldxSymL0>−1 and refldxSymL1>−1) are true, an encoder may not use the SMVD to the CU (e.g., to save the encoding complexity).


An SMVD indication may be at CU level and associated with a current coding block. The CU-level SMVD indication may be obtained based a higher level indication. In examples, the presence of the CU-level SMVD indication (e.g., the sym_mvd_flag flag), may be controlled (e.g., alternatively or additionally) by a higher level indication. For example, a SMVD enabled indication, such as the sym_mvd_enabled_flag flag may be signaled at the slice level, tile level, the group level, or at the picture parameter set (PPS) level, at the sequence parameter set (SPS) level, and/or in any syntax level, where the reference picture lists are shared by CUs associated with the syntax level. For example, a shoe level flag can be placed in the slice header. In an example, a coding device (e.g., a decoder) may receive a sequence-level SMVD indication indicating whether SMVD is enabled for a sequence of pictures. If SMVD is enabled for the sequence, the coding device may obtain an SMVD indication associated with the current coding block based on the sequence-level SMVD indication.


With the higher-level SMVD enablement indication, such as the sym_mvd_enabled_flag flag, the CU-level parsing may be performed without checking the one of more conditions (e.g., described herein). The SMVD can be enabled or disabled at the higher level than CU level (e.g. at the discretion of the encoder). Table 4 shows example syntax that may support SMVD mode.









TABLE 4







Example coding unit syntax that checks


the high-level SMVD enabled indication









Descriptor











coding_unit( x0, y0, cbWidth, cbHeight, treeType ) {



...



   if( slice, type = = B )



    inter_pred_idc[ x0 ][ y0 ]
ae(v)


   if(sps_affine_enabled_flag && cbWidth >= 16 && cbHeight >= 16 ) {



    inter_affine_flag[ x0 ][ y0 ]
ae(v)


    if( sps_affine_type_flag && inter_affne flag[ x0 ][ y0 ] )



     cu_affine_type_flag[ x0 ][ y0 ]
ae(v)


}



   if( inter_pred_idc[ x0 ][ y0 ] == PRED_BI &&



    sym_mvd_enabled_flag && inter_affine_flag[ x0 ][ y0 ] = 0 )



    sym_mvd_flag[ x0 ][ y0 ]
ae(v)


   if_inter_pred_idc[ x0 ][ y0 ] != PRED_L1 ) {



    if_num_ref_idx_I0_active_minus1 > 0 && !sym_mvd_flag[ x0 ][ y0 ] )



     ref_idx_I0[ x0 ][ y]
ae(v)


    mvd_coding( x0, y0, 0, 0 )



    if( MotionModelidc[ x0 ][ y0 ] > 0 )



     mvd_coding( x0, y0, 0, 1 )



    if(MotionModelidc[ x0 ][ y0 ] > 1 )



     mvd_coding( x0, y0, 0, 2 )



    mvp_I0_flag[ x0 ][ y0 ]
ae(v)


   } else {



    MvdL0[ x0 ][ y0 ][ 0 ] = 0



    MvdL0[ x0 ][ y0 ][ 1 ] = 0



   }



   if( inter_pred_idc[ x0 ][ y0 ] = PRED_L0 ) {



    if( num_ref_idx_I1_active_minus1 > 0 && !sym_mvd_flag[ x0 ][ y0 ] )



     ref_idx_I1[ x0 ][ y0 ]
ae(v)


    if( mvd_I1_zero_flag && inter_pred_idc[ x0 ][ y0 ] = = PRED_Btext missing or illegible when filed  ) {



     ...



    } else {



     if( !sym_mvd_flag[ x0 ][ y0 ] ) {



      mvd_coding( x0, y0, 1, 0 )



     if( MotionModelidc[ x0 ][ y0 ] > 0 )



      mvd_coding( x0, y0, 1, 1 )



     if(MotionModelidc[ x0 ][ y0 ] > 1 )



      mvd_coding( x0, y0, 1, 2 )



    }



    mvp_I1_flag[ x0 ][ y0 ]
ae(v)


   } else {



    MvdL1[ x0 ][ y0 ][ 0 ] = 0



    MvdL1[ x0 ][ y0 ][ 1 ] = 0



   }



   ...



  }



 }



 ...



}






text missing or illegible when filed indicates data missing or illegible when filed







There may be different ways for a coding device (e.g., an encoder) to determine whether to enable SMVD, and set the value of the sym_mvd_enabled_flag accordingly). One of more examples herein may be combined to determine whether to enable SMVD, and set the value of the sym_mvd_enabled_flag accordingly. For example, the encoder may determine whether to enable SMVD by checking the reference picture lists. If both forward and backward reference picture are present, the sym_mvd_enabled_flag flag may be set equal to true to enable SMVD. For example, the encoder may determine whether to enable SMVD based on the temporal distance(s) between the current picture and the forward and/or backward reference picture(s). When a reference picture is tar away from current picture, SMVD mode may not be effective. If ether the forward or backward reference picture is far away from the current picture, the encoder may disable SMVD. A coding device may set the value of the high-level SMVD enablement indication based on value (e.g., a threshold value) for temporal distances between a current picture and a reference picture. For example, to reduce the encoding complexity, the encoder may use (e.g., only use) the higher level control flag to enable SMVD for pictures having forward and backward reference pictures such that the maximum temporal distance of these two reference pictures to the current picture is smaller than a value (e.g., a threshold value). For example, the encoder may determine whether to enable SMVD based on a temporal layer (e.g., of the current picture). A relatively low temporal layer may indicate that the reference picture is far away from the current picture, and in that case SMVD may not be effective. The encoder may determine that the current picture belongs to a relatively low temporal layer (e.g., lower than a threshold, such as 1, 2), and may disable SMVD for such a current picture. For example, the sym_mvd_enabled_flag may be set to false to disable SMVD. For example, the encoder may determine whether to enable SMVD based on the statistics of previously coded pictures at the same temporal layer as the temporal layer of the current picture. The statistics may include the average POC distance for bi-prediction coded CUs (e.g., the average of the distance(s) between the current picture(s) and the temporal center of two reference pictures of the current picture(s)). R0, R1 may be the reference pictures fa bi-prediction coded CU, poc(x) may be the POC of picture x. The POC distance distance (CUl) of two reference pictures and current picture (current_picture) may be calculated using Eq. 26. The average POC distance for bi-prediction coded CUs AvgDist may be calculated using Eq. 27.





Distance(CUl)=|2*poc(current_picture)−poc(R0)−poc(R1)|  Eq. 26





AvgDist=ΣCUlϵbi-pred Distance(CUl)/N  Eq. 27


Variable N may indicate the total number of bi-prediction coded CU's that may have both forward and backward reference pictures. As an example, if AvgDist is smaller than a value (e.g., a predefined threshold), sym_mvd_enabled_flag may be set by the encoder to true to enable SMVD; otherwise, sym_mvd_enabled_flag may be set to false to disable SMVD.


In some examples, MVD value(s) may be signaled. In some examples, a combination of direction index end distance index may be signaled; and MVD value(s) may not be signaled. Example direction table and example distance table as shown in Table 1 and Table 2 may be used for signaling and deriving the MVD information. For example, a combination of distance index 0 and direction index 0 may indicate MVD (1/2, 0).


A search for symmetric MVD may be performed, e.g., after uni-prediction search and bi-prediction search. A uni-prediction search may be used to search for an optimal MV panting to a reference block for uni-prediction. A bi-prediction search may be used to search for two optimal MVs pointing to two reference blocks for bi-prediction. The search may be performed to find a candidate symmetric MVD, e.g., the best symmetric MVD. In an example, a set of search points may be iteratively evaluated, for the symmetric MVD search. An iteration may include evaluation of a set of search points. The set of search points may form a search pattern centered around, for example, a best MV of a previous iteration. For the first iteration, the search pattern may be centered around the initial MV. The selection of an initial MV may affect overall results. A set of initial MV candidates may be evaluated. The initial MV for the symmetric MVD search may be determined, for example, based on rate-distortion cost. In an example, the MV candidate with the lowest rate-distortion cost may be chosen to be the initial MV for the symmetric MVD search. The rate-distortion cost may be estimated, for example, by summing the bi-prediction error and the weighted rate of MVD coding for reference picture list 0. The set of initial MV candidates may include one or more of the MV(s) obtained from uni-prediction search, the MV(s) obtained from the bi-prediction search, and the MVs from the advanced motion vector predictor (AMVP) list. At least one MV may be obtained for each reference picture from uni-prediction search.


Early termination may be applied, e.g., to reduce complexity. Early termination may be applied (e.g., by an encoder) if bi-prediction cost is larger than a value (e.g., a threshold value). In examples, e.g., before initial MV selection, the search for symmetric MVD may be terminated if the rate-distortion cost for the MV obtained from the bi-prediction search is larger than a value (e.g., a threshold value). For example, the value may be set to a multiple of (e.g., 1.1 times) the uni-prediction cost. In examples, e.g., after initial MV selection, the symmetric MVD search may be terminated if the rate-distortion cost associated with the initial MV is higher than a value (e.g., a threshold value). For example, the value may be set to a multiple of (e.g., 1.1 times of) the lowest among Lei-prediction cost and bi-prediction cost.


There may be interaction between SMVD mode and other coding tools. One or more of the following may be performed: symmetric affine MVD coding; combine SMVD with bi-prediction with CU weights (BCW or BPWA); or combine SMVD with BDOF.


Symmetric affine MVD coding may be used. Affine motion model parameters may be represented by control point motion vectors. 4-parameter affine model may be represented by two control point MVs and 6-parameter affine model may be represented by three control point MVs. An example shown in Eq. 12 may be a 4-parameter affirm motion model represented by two control point MVs, e.g., the top-left control point MV (v0) and top-right control point MV (v1). The top-left control point MV may represent the translational motion. The top-left control point MV may have corresponding symmetric MVs, for example, associated with forward and backward reference pictures following the motion trajectory. SMVD mode may be applied to the top-left control point. The other control point MVs may represent a combination of zoom, rotate, and/or shear mapping. SMVD may not be applied to the other control point MVs.


SMVD may be applied to the top-lent control point (e.g., only to the top-left control point), and the other control point MVs may be set to their respective MV predictor(s).


An MVD of a control pant associated with a first reference picture list may be signaled. An MVP(s) of a contra point(s) associated with a second reference picture list(s) may be obtained based on the MVD of the control point associated with the first reference picture list and that the MVD of the control point associated with the first reference picture list is symmetric to an MVD of a control pant associated with the second reference picture list. In examples, when symmetric affine MVD mode is applied, the MVD of a control point associated with reference picture list 0 may be signaled (e.g., only the control point MVD of reference picture list 0 may be signaled). MVPs of control points associated with reference picture list 1 may be derived based on the symmetric property. The MVPs of control points associated with reference picture list 1 may not be signaled.


The control point MVs associated with reference picture lists may be derived. The control point MVs for control point 0 (top-left) of reference picture list 0 and reference picture list 1, may be derived, for example, using Eq. 28.









{





(


mvx

0
,
0


,

mvy

0
,
0



)

=

(



mvpx

0
,
0


+

mvdx

0
,
0



,


mvpy

0
,
0


+

mvdy

0
,
0




)








(


mvx

1
,
0


,

mvy

1
,
0



)

=

(



mvpx

1
,
0


-

mvdx

0
,
0



,


mvpy

1
,
0


-

mvdy

0
,
0




)









Eq
.

28







Eq. 28 may be illustrated in FIG. 13. FIG. 13 illustrates an example affine motion symmetric MVD. As shown in Eq. 28 and illustrated in FIG. 13, the top left control point MV of a current coding block may be equal to the sum of the MVP for the top left control point of the current coding block and the MVD for the top left control point of the current coding block (or negative MVP depending on the reference picture list). As shown in Eq. 28 and illustrated in FIG. 13, the top left control point MVD associated with reference picture list 1 may be equal to negative of top left control point MVD associated with reference picture list 0 for symmetric affine MVD coding.


The MVs for other control points may be derived using at least the affine MVP prediction, for example, as shoran in Eq. 29.









{





(


mvx

0
,
j


,

mvy

0
,
j



)

=

(



mvpx

0
,
j


+

mvdx

0
,
j


+

mvdx

0
,
0



,


mvpy

0
,
j


+

mvdy

0
,
j


+

mvdy

0
,
0




)








(


mvx

1
,
j


,

mvy

1
,
j



)

=

(



mvpx

1
,
j


-

mvdx

0
,
0



,


mvpy

1
,
j


-

mvdx

0
,
0




)









Eq
.

29







In Eqs. 28-30, the first dimension of the subscripts may indicate the reference picture list. The second dimension of the subscripts may indicate the control point index.


The translational MVD (e.g., mvdx0,0, mvdy0,0) of a first reference picture list may be applied to the top-left control point MV derivation of a second reference picture list (e.g., mvx1,0, mvy1,0). The translational MVD (e.g., mvdx0,0, mvdy0,0) of the first reference picture list may not be applied to other control point MV derivation of the second reference picture list (e.g., mvx1,j, mvy1,j). In some examples of symmetric affine MVD derivation, the translational MVD (mvdx0,0, mvdy0,0) of reference picture list 0 may be applied (e.g., only applied) to the top-left contra point MV derivation of reference picture list 1. The other control-point MVs of list 1 may be the same as the corresponding predictor(s), for example, as shown in Eq 30.









{





(


mvx

0
,
j


,

mvy

0
,
j



)

=

(



mvpx

0
,
j


+

mvdx

0
,
j


+

mvdx

0
,
0



,


mvpy

0
,
j


+

mvdy

0
,
j


+

mvdy

0
,
0




)








(


mvx

1
,
j


,

mvy

1
,
j



)

=

(


mvpx

1
,
j


,

mvpy

1
,
j



)









Eq
.

30







Table 5 shows example syntax that may be used for signaling the use of SMVD in combination with affine mode (e.g., symmetric affine MVD coding).









TABLE 5







Coding unit syntax for combined SMVD and affine mode









Descriptor





coding_unit( x0, y0, cbWidth, cbHeight, freeType ) {



...



   if( slice_type = = B )



    inter_pred_idc[ x0 ][ y0 ]
ae(v)


   if( sps_affine_enabled_flag && cbWidth >= 16 && cbHeight >= 16) {



    inter_affine_flag[ x0 ][ y0 ]
ae(v)


    if( sps_affine_type_flag && inter_affine_flag[ x0 ][ y0 ] )



     cu_affine_type_flag[ x0 ][ y0 ]
ae(v)


   }



   if( inter_pred_idc[ x0 ][ y0 ] == PRED_Btext missing or illegible when filed  && sym_mvd_enabled_flag)



    sym_mvd_flag[ x0 ][ y0 ]
ae(v)


   if_inter_pred_idc[ x0 ][ y0 ] != PRED_L1 ) }



    if(num_ref_idx_I0_active_minus1 > 0 && !sym_mvd_flag[ x0 ][ y0 ] )



     ref_idx_I0[ x0 ][ y0 ]
ae(v)


    mvd_coding( x0, y0, 0, 0 )



    if( MotionModelidc[ x0 ][ y0 ] > 0 )



     mvd_coding( x0, y0, 0, 1 )



    if(MotionModelidc[ x0 ][ y0 ] > 1 )



     mvd_coding( x0, y0, 0, 2 )




    mvp_I0_flag[ x0 ][ y0 ]




   } else {



    MvdL0[ x0 ][ y0 ][ 0 ] = 0



    MvdL0[ x0 ][ y0 ][ 1 ] = 0



   }



   if( inter_pred_idc[ x0 ][ y0 ] != PRED_L0 ) {



    if( num_ref_idx_I1_active_minus1 > 0 && !sym_mvd_flag[ x0 ][ y0 ] )




     ref_idx_I1[ x0 ][ y0 ]

ae(v)


    if( mvd_I1_zero_flag && inter_pred_idc[ x0 ][ y0 ] = = PRED_B text missing or illegible when filed ) {



     ...



    } else {



     if( !sym_mvd_flag[ x0 ][ y0 ] ) {



      mvd_coding( x0, y0, 1, 0 )



     if( MotionModelidc[ x0 ][ y0 ] > 0 )



      mvd_coding( x0, y0, 1, 1 )



     if(MotionModelidc[ x0 ][ y0 ] > 1 )



      mvd_coding( x0, y0, 1, 2 )



    }




    mvp_I1_flag[ x0 ][ y0 ]

ae(v)


   } else {



    MvdL1[ x0 ][ y0 ][ 0 ] = 0



    MvdL1[ x0 ][ y0 ][ 1 ] = 0



   }



   ...



  }



 }



 ...



}






text missing or illegible when filed indicates data missing or illegible when filed







Whether affine SMVD is used may be determined, for example, based on an inter-affine indication and/or an SMVD indication. For example, when inter-affine indication inter_affine_flag is 1 and SMVD indication sym_mvd_flag[x0][y0] is 1, affine SMVD may be applied. When inter-affine indication inter_affine_flag is 0 and SMVD indication sym_mvd_flag[x0][y0] is 1, non-affine motion SMVD may be applied, if SMVD indication sym_mvd_flag[x0][y0] is 0, SMVD may not be applied.


The MVDs of the control points in a reference picture list (e.g., reference picture list 0) may be signaled. In an example, the MVD value(s) of a subset of the control points in a reference picture list may be signaled. For example, the MVD of the top-left control point in reference picture list 0 may be signaled. The signaling of the MVDs of the other control points in reference picture list 0 may be skipped, and, for example, the MVDs of these control points may be set to 0. The MVs of the other control points may be derived based on the MVD of the top-left control point in reference picture list 0. For example, the MVs of the control points, whose MVDs are not signaled, may be derived as shown in Eq. 31.









{





(


mvx

0
,
j


,

mvy

0
,
y



)

=

(



mvpx

0
,
j


+

mvdx

0
,
0



,


mvpy

0
,
j


+

mvdy

0
,
0




)








(


mvx

1
,
j


,

mvy

1
,
y



)

=

(



mvpx

1
,
j


-

mvdx

0
,
0



,


mvpy

1
,
j


-

mvdx

0
,
0




)









Eq
.

31







Table 6 shows example syntax that may be used for signaling the information related to SMVD mode in combination with affine mode.









TABLE 6







Example coding unit syntax for combined SMVD and affine mode









Descriptor











coding_unit( x0, y0, cbWidth, cbHeight, freeType ) {



...



   if( slice_type = = B )
ae(v)


    inter_pred_idc[ x0 ][ y0 ]



   if( sps_affine_enabled_flag && cbWidth >= 16 && cbHeight >= 16) {



    inter_affine_flag[ x0 ][ y0 ]



    if( sps_affine_type_flag && inter_affine_flag[ x0 ][ y0 ] )



     cu_affine_type_flag[ x0 ][ y0 ]



   }



   if( inter_pred_idc[ x0 ][ y0 ] == PRED_Btext missing or illegible when filed  && sym_mvd_enabled_flag)



    sym_mvd_flag[ x0 ][ y0 ]
ae(v)


   if_inter_pred_idc[ x0 ][ y0 ] = PRED_L1 ) }



    if(num_ref_idx_I0_active_minus1 > 0 && !sym_mvd_flag[ x0 ][ y0 ] )



     ref_idx_I0[ x0 ][ y0 ]
ae(v)


    mvd_coding( x0, y0, 0, 0 )



    if( MotionModelidc[ x0 ][ y0 ] > 0 && !sym_mvd_flag[ x0 ][ y0 ])



     mvd_coding( x0, y0, 0, 1 )



    if(MotionModelidc[ x0 ][ y0 ] > 1 && !sym_mvd_flag[ x0 ][ y0 ])



     mvd_coding( x0, y0, 0, 2 )



    mvp_I0_flag[ x0 ][ y0 ]
ae(v)


   } else {



    MvdL0[ x0 ][ y0 ][ 0 ] = 0



    MvdL0[ x0 ][ y0 ][ 1 ] = 0



   }



   if( inter_pred_idc[ x0 ][ y0 ] = PRED_L0 ) {



    if( num_ref_idx_I1_active_minus1 > 0 && !sym_mvd_flag[ x0 ][ y0 ] )




     ref_idx_I1[ x0 ][ y0 ]

ae(v)


    if( mvd_I1_zero_flag && inter_pred_idc[ x0 ][ y0 ] = = PRED_B text missing or illegible when filed ) {



     ...



    } else {



     if( !sym_mvd_flag[ x0 ][ y0 ] ) {



      mvd_coding( x0, y0, 1, 0 )



     if( MotionModelidc[ x0 ][ y0 ] > 0 )



      mvd_coding( x0, y0, 1, 1 )



     if(MotionModelidc[ x0 ][ y0 ] > 1 )



      mvd_coding( x0, y0, 1, 2 )



    }




    mvp_I1_flag[ x0 ][ y0 ]

ae(v)


   } else {



    MvdL1[ x0 ][ y0 ][ 0 ] = 0



    MvdL1[ x0 ][ y0 ][ 1 ] = 0



   }



   ...



  }



 }



 ...



}






text missing or illegible when filed indicates data missing or illegible when filed







An indication, such as a top left MVD only flag, may indicate whether only the MVD of the top-left control point in a reference picture list (e.g., reference picture list 0) is signaled, or whether the MVDs of the control points in the reference picture list are signaled. This indication may be signaled at the CU level. Table 7 shows example syntax that may be used for signaling the information related to SMVD mode in combination with affine mode









TABLE 7







Example coding unit syntax for combined SMVD and affne mode









Descriptor











coding_unit( x0, y0, cbWidth, cbHeight, freeType ) {



...



   if( slice_type = = B )



    inter_pred_idc[ x0 ][ y0 ]



   if( sps_affine_enabled_flag && cbWidth >= 16 && cbHeight > 16) {
ae(v)


    inter_affine_flag[ x0 ][ y0 ]



    if( sps_affine_type_flag && inter_affine_flag[ x0 ][ y0 ] )
ae(v)


     cu_affine_type_flag[ x0 ][ y0 ]



   }
ae(v)


   if( inter_pred_idc[ x0 ][ y0 ] == PRED_Btext missing or illegible when filed  && sym_mvd_enabled_flag)



    sym_mvd_flag[ x0 ][ y0 ]
ae(v)


   if( inter_pred_idc[ x0 ][ y0 ] == PRED_Btext missing or illegible when filed  && sym_mvd_enabled_flag)



    top_left_mvd_only_flag[ x0 ][ y0 ]



   if( inter_pred_idc[ x0 ][ y0 ] != PRED_L1 ) {



    if(num_ref_idx_I0_active_minus1 > 0 && !sym_mvd_flag[ x0 ][ y0 ] )



     ref_idx_I0[ x0 ][ y0 ]
ae(v)


    mvd_coding( x0, y0, 0, 0 )



    if( MotionModelidc[ x0 ][ y0 ] > 0 && !sym_mvd_flag[ x0 ][ y0 ]



     && ! top_left_mvd_only_flag[ x0 ][ y0 ])



     mvd_coding( x0, y0, 0, 1 )



    if( MotionModelidc[ x0 ][ y0 ] > 1 && !sym_mvd_flag[ x0 ][ y0 ]



     && ! top_left_mvd_only_flag[ x0 ][ y0 ])



     mvd_coding( x0, y0, 0, 2 )



    mvp_I0_flag[ x0 ][ y0 ]
ae(v)


   } else {



    MvdL0[ x0 ][ y0 ][ 0 ] = 0



    MvdL0[ x0 ][ y0 ][ 1 ] = 0



   }



   if( inter_pred_idc[ x0 ][ y0 ] != PRED_L0 ) {



    if( num_ref_idx_I1_active_minus1 > 0 && !sym_mvd_flag[ x0 ][ y0 ] )




     ref_idx_I1[ x0 ][ y0 ]

ae(v)


    if( mvd_I1_zero_flag && inter_pred_idc[ x0 ][ y0 ] = = PRED_B text missing or illegible when filed ) {



     ...



    } else {



     if( !sym_mvd_flag[ x0 ][ y0 ] ) {



      mvd_coding( x0, y0, 1, 0 )



     if( MotionModelidc[ x0 ][ y0 ] > 0 )



      mvd_coding( x0, y0, 1, 1 )



     if(MotionModelidc[ x0 ][ y0 ] > 1 )



      mvd_coding( x0, y0, 1, 2 )



    }




    mvp_I1_flag[ x0 ][ y0 ]

ae(v)


   } else {



    MvdL1[ x0 ][ y0 ][ 0 ] = 0



    MvdL1[ x0 ][ y0 ][ 1 ] = 0



   }



   ...



  }



 }



 ...



}






text missing or illegible when filed indicates data missing or illegible when filed







In examples, a combination of direction index and distance index, as described herein with respect to MMVD, may be signaled. Example direction table and example distance table are shown in Table 1 and Table 2. For example, a combination of distance index 0 and direction index 0 may indicate MVD (1/2, 0).


In examples, an indication (e.g., a flag) may be signaled to indicate which reference picture list's MVDs are Signaled. The other reference picture list's MVDs may not be signaled; they may be derived.


One or more restrictions described herein for translational motion symmetric MVD coding may be applied to affirm motion symmetric MVD coding, for example, to reduce complexity and/or reduce signaling overhead.


With the symmetric affirm MVD mode, signaling overhead may be reduced. Coding efficiency may be improved.


Bi-predictive motion estimation may be used to search for a symmetric MVD for an affine model. In an example, to find a symmetric MVD for affirm model (e.g., the best symmetric MVD for affine model), the bi-predictive motion estimation may be applied after uni-prediction search. The reference pictures for reference picture list 0 and/or reference picture list 1 may be derived as described herein. The initial control point MVs may be selected torn one or more of the uni-prediction searching results, bi-prediction searching results, and/or the MVs from the affine AMVP list. A control point MV (e.g., the control point MV with the lowest rate-distortion cost) may be selected to be the initial MV. A coding device (e.g., the encoder) may check one or more cases: in a first case, symmetric MVD may be signaled for reference picture list 0, and control point MVs for reference picture list 1 may be derived based on symmetric mapping (using Eq. 28 and/or Eq 29); in a second case, symmetric MVD for reference picture list 1 may be signaled, and control point MVs for reference picture list 0 may be derived based on symmetric mapping. The first case may be used as an example herein. The symmetric MVD search technique may be applied based on uni-prediction searching results. Given the control point MV predictors in reference picture list 1, an iterative search using a pre-defined search pattern (e.g., diamond pattern, cubic pattern, and/or the like) may be applied. At an iteration (e.g., each iteration), the MVD may be refined by the search pattern, and the control point MVs in reference picture list 0 and reference picture list 1 may be derived using Eq. 28 and/or Eq. 29. The bi-prediction error corresponding to control point MVs of reference picture list 0 and reference picture list 1 may be evaluated. The rate-distortion cost may be estimated, for example, by summing the bi-prediction error and the weighted rate of MVD coding for reference picture list 0. In an example, the MVD with a low (e.g., the lowest) rate-distortion cost during the searching candidates may be treated as the best MVD for the symmetric MVD search process. The other control point MVs such as top-right and bottom-left control paint MVs may be refined, e.g., using the optical flow-based technique described herein.


Symmetric MVD search for symmetric afire MVD coding may be performed. In an example, a set of parameters such as translational parameters may be searched first, followed by non-translational parameters searching. In an example, optical flow search may be performed by (e.g., jointly) considering the MVD of reference picture list 0 and reference picture list 1. For 4-parameter affine model, an example optical flow equation for the list 0 MVDs may be shown in Eq. 32.






l
k
0(i,j)−l(i,j)=(gx0(i,jl+gy0(i,jjc+(−gx0(i,jj+gy0(i,jid+gx0(i,ja+gy0(i,jb  Eq. 32


where lk0′ if may denote the list 0 prediction in the k-th iteration, and gx0 and gy0 may denote spatial gradients of the list 0 prediction.


Reference picture list 1 may have translation change (e.g., may have translation change only). The translation change may have the same magnitude as that of reference picture list 0 but in a reverse direction, which is the condition of symmetric affine MVD. An example optical flow equation for reference picture list 1 MVDs may be shown in Eq 33.






l
k
1(i,j)−l(i,j)=−gx1(i,ja−gy1(i,jb  Eq. 33


The BCW weights w0 and w1 to list 0 prediction and list 1 prediction may be applied respectively. An example optical equation for the symmetric affine model may be shown in Eq. 34,






I
k(i,j)−l(i,j)=(Gx(i,ji+Gy(i,jjc+(−Gx(i,jj+Gy(i,jid+Hx(i,ja+Hy(i,jb  Eq. 34





where






l′
k(i,j)=w0·lk0′(l,j)+w1·lk1′(i,j)






G
x(i,j)=gx0·w0






G
y(i,j)=gy0·w0






H
x(i,j)=gx0·w0−gx1·w1






H
y(i,j)=gy0·w0−gy1·w1


Parameters a, b, c, d may be estimated (e.g., by the least mean square error calculation).


An example optical flow equation for symmetric 6-parameter affine model may be shown in Eq. 35.






I′
k(i,j)−l(i,j)=Gx(i,ji·c+Gx(i,jj·d+Gy(i,ji·e+Gy(i,jj·f+Hx(i,ja+Hy(i,jb  Eq. 35


Parameters a, b, c, d, e, f may be estimated by the least mean square error calculation. When joint optical-flow motion search is performed, the affine parameters may be optimized jointly. Performance may be improved.


Early termination may be applied, e.g., to reduce complexity. In examples, e.g., before initial MV selection, the search may be terminated if the ix-prediction cost is larger than a value (e.g., a threshold value). For example, the value can be set to a multiple of the cost of uni-prediction cost, e.g., 1.1 times the cost of uni-prediction cost. In examples, a coding device (e.g., the encoder) may, before the ME of symmetric affine MVD starts, compare the current best affine motion estimation (ME) cost (considering uni-prediction and bi-prediction affine search) with the non-affine ME cost. If the current best affine ME cost is larger than the non-affine ME cost multiplied by a value (e.g., a threshold value such as 1.1), the coding device may skip the ME of symmetric affine MVD. In examples, e.g., after initial MV selection, the affine symmetric MVD search may be skipped it the cost of the initial MV is higher than a value (e.g., a threshold value). For example, the value may be a multiple (e.g., set to 1,1 times) of the lowest among uni-prediction cost and bi-prediction cost. In examples, the value may be set to a multiple (e.g., 1.1) times of the non-affine ME cast


SMVD mode may be combined with BCW. When the BCW is enabled for current CU, SMVD may be applied in one or more ways. In certain examples, SMVD may be enabled when (e.g., only when) the BCW weight is equal weight (e.g., 0.5); and, SMVD may be disabled for other BCW weights. In such a case, the SMVD flag may be signaled before BCW weight index, and the signaling of BCW weight index may be conditionally controlled by the SMVD flag. When SMVD indication (e.g., SMVD flag) may have a value of 1, the signaling of BCW weight index may be skipped. The decoder may infer the SMVD indication as having a value 0, which may correspond to the equal weight for bi-predictive averaging. When the SMVD flag is 0, the BCW weight index may be coded for bi-prediction mode. In the example where SMVD may be enabled when the BCW weight is equal weight and disabled for other BCW weights, the BCW index may sometimes be skipped. In some examples, the SMVD may be fully combined with BCW. The SMVD flag and BCW weight index may be signaled for explicit bi-prediction mode. The MVD search (e.g., of the encoder) for SMVD may consider the BCW weight index during bi-predictive averaging. The SMVD search may be based on an evaluation of one or more (e.g., all) possible BCW weights.


A coding tool (e.g., bi-directional optical flow (BDOF)) may be used in association with one or more other coding tools/modes. BDOF may be used in association with SMVD. Whether BDOF is applied for a coding block may depend on whether SMVD is used. SMVD may be based on the assumption of symmetric MVD at a coding block level. BDOF, if performed, may be used to rein sub-bloat MVs based on optical flow. Optical flow may be based on the assumption of symmetric MVD at a sub-block level.


BDOF may be used in association with SMVD. In an example, a coding device (e.g., a decoder or an encoder) may receive one or more indications that SMVD and/or BDOF are enabled. BDOF may be enabled for the current picture. The coding device may determine whether BDOF is to be bypassed or performed on a current coding block. The coding device may determine whether to bypass BDOF based on an SMVD indication (e.g., sym_mvd_flag[x0][y0]). BDOF may be used interchangeably with BIO in some examples.


The coding device may determine whether to bypass BDOF for a current coding block. BDOF may be bypassed on the current coding block if SMVD mode is used for motion vector coding of the current coding block, e.g., to reduce decoding complexity. If SMVD is not used for the motion vector coding of the current coding block, the coding device may determine whether to enable BDOF for the current coding block, for example, based on at least another condition.


The coding device may obtain an SMVD Indication (e.g., sym_mvd_flag[x0][y0]). The SMVD indication may indicate whether SMVD is used in motion vector coding for the current coding block


The current coding block may be reconstructed based on the determination of whether to bypass BDOF. An MVD may be signaled (e.g., explicitly signaled) at the CU level for the SMVD mode.


The coding device may be configured to perform motion vector coding using SMVD without BDOF based on the determination to bypass BDOF.


Although features and elements are described above in particular combinations, one of ordinary skill in the art will appreciate that each feature or element can be used alone or in any combination with the other features and elements. In addition, the methods described herein may be implemented in a computer program, software, or firmware incorporated in a computer-readable medium for execution by a computer or processor. Examples of computer-readable media include electronic signals (transmitted over wired or wireless connections) and computer-readable storage media. Examples of computer-readable storage media include, but are not limited to, a read only memory (ROM), a random access memory (RAM), a register, cache memory, semiconductor memory devices, magnetic media such as internal hard disks and removable disks, magneto-optical media, and optical media such as CD-ROM disks, and digital versatile disks (DVDs). A processor in association with software may be used to implement a radio frequency transceiver for use in a WTRU, UE, terminal, base station, RNC, or any host computer.

Claims
  • 1. A device for video decoding, comprising: a processor configured to: determine that bi-directional optical flow (BDOF) is enabled for a picture comprising a video block;obtain a symmetric motion vector difference (SMVD) indication associated with the video block, wherein the SMVD indication indicates whether SMVD is used in a determination of a motion vector (MV) for the video block;determine whether to bypass BDOF for the video block based on the SMVD indication associated with the video block, wherein the processor is configured to determine, based on a condition that SMVD is used in the determination of the MV for the video block, to bypass BDOF for the video block; anddecode the picture based on the determination of whether to bypass BDOF for the video block.
  • 2. The device of claim 1, wherein SMVD uses a motion vector difference (MVD) for the video block, and the MVD indicates a difference between a motion vector predictor (MVP) for the video block and the MV for the video block.
  • 3. The device of claim 2, wherein the MVP for the video block is determined based on an MV of a spatial neighboring block of the video block or an MV of a temporal neighboring block of the video block.
  • 4. The device of claim 1, wherein, based on a condition that the SMVD indication indicates SMVD is used in the determination of the MV for the video block, the processor is configured to: receive a first MV information associated with a first reference picture list; anddetermine a second MV information associated with a second reference picture list based on the first MV information associated with the first reference picture list, wherein a motion vector difference (MVD) associated with the first reference picture list and an MVD associated with the second reference picture list are symmetric.
  • 5. The device of claim 1, wherein, based on a condition that the SMVD indication indicates SMVD is used in the the determination of the MV for the video block, the processor is configured to: parse a first motion vector difference (MVD) associated with a first reference picture list in video data; anddetermine a second MVD associated with a second reference picture list based on the first MVD, wherein the first MVD and the second MVD are symmetric to each other.
  • 6. The device of claim 1, wherein based on a determination not to bypass BDOF for the video block, the processor is configured to: refine an MV associated with a sub-block of the video block based at least in part on gradients associated with a location in the video block.
  • 7. The device of claim 1, wherein the processor is configured to receive a sequence-level SMVD indication indicating whether SMVD is enabled for a sequence of pictures, the video block being comprised in the picture that is in the sequence, wherein, based on a condition that SMVD is enabled for the sequence, the processor is configured to obtain the SMVD indication associated with the video block based on the sequence-level SMVD indication.
  • 8. The device of claim 1, wherein the processor is decoding the picture based on the determination of whether to bypass BDOF for the video block comprises reconstructing the video block without performing BDOF based on the determination to bypass BDOF.
  • 9. A method for video decoding, comprising: determining that bi-directional optical flow (BDOF) is enabled for a picture comprising a video block;obtaining a symmetric motion vector difference (SMVD) indication associated with the video block, wherein the SMVD indication indicates whether SMVD is used in a determination of a motion vector (MV) for the video block;determining whether to bypass BDOF for the video block based on the SMVD indication associated with the video block, wherein, based on a condition that SMVD is used in the determination of the MV for the video block, the method comprises bypassing BDOF for the video block; anddecoding the picture based on the determination of whether to bypass BDOF for the video block.
  • 10. The method of claim 9, wherein SMVD uses a motion vector difference (MVD) for the video block, and the MVD indicates a difference between a motion vector predictor (MVP) for the video block and the MV for the video block.
  • 11. The method of claim 10, wherein the MVP for the video block is determined based on an MV of a spatial neighboring block of the video block or an MV of a temporal neighboring block of the video block.
  • 12. The method of claim 9, wherein, based on a condition that the SMVD indication indicates SMVD is used for the determination of the MV for the video block, the method comprises: receiving a first MV information associated with a first reference picture list; anddetermining a second MV information associated with a second reference picture list based on the first MV information associated with the first reference picture list, wherein a motion vector difference (MVD) associated with the first reference picture list and an MVD associated with the second reference picture list are symmetric.
  • 13. The method of claim 9, wherein, based on a condition that the SMVD indication indicates SMVD is used in the determination of the MV for the video block, the method comprises: parsing a first motion vector difference (MVD) associated with a first reference picture list in video data; anddetermining a second MVD associated with a second reference picture list based on the first MVD, wherein the first MVD and the second MVD are symmetric to each other.
  • 14. The method of claim 9, wherein, based on a determination not to bypass BDOF for the video block, the method comprises: refining an MV associated with a sub-block of the video block based at least in part on gradients associated with a location in the video block.
  • 15. (canceled)
  • 16. (canceled)
  • 17. A device for video encoding, comprising: a processor configured to: determine that bi-directional optical flow (BDOF) is enabled for a picture comprising a video block;determine whether symmetric motion vector difference (SMVD) is enabled for the video block;determine whether to bypass BDOF for the video block based on the determination of whether SMVD is enabled for the video block, wherein the processor is configured to determine, based on a condition that SMVD is enabled for the video block, to bypass BDOF for the video block; andencode the picture based on the determination of whether to bypass BDOF for the video block.
  • 18. The device of claim 17, wherein, based on a condition that SMVD is enabled for the video block, the processor is configured to: obtain a first motion vector difference (MVD) associated with a first reference picture list, wherein the first MVD associated with the first reference picture list is symmetric to a second MVD associated with a second reference picture list; andinclude an indication of the first MVD associated with the first reference picture list in video data, wherein the video data does not include an indication of the second MVD associated with the second reference picture list.
  • 19. The device of claim 17, wherein a motion vector difference (MVD) for the video block indicates a difference between a motion vector predictor (MVP) for the video block and the MV for the video block, and wherein the MVP for the video block is determined based on an MV of a spatial neighboring block of the video block or an MV of a temporal neighboring block of the video block.
  • 20. A method for video encoding, comprising: determining that bi-directional optical flow (BDOF) is enabled for a picture comprising a video block;determining whether symmetric motion vector difference (SMVD) is enabled for the video block;determining whether to bypass BDOF for the video block based on the determination of whether SMVD is enabled for the video block, wherein, based on a condition that SMVD is enabled for the video block, the method comprises bypassing BDOF for the video block; andencoding the picture based on the determination of whether to bypass BDOF for the video block.
  • 21. The method of claim 20, wherein, based on a condition that SMVD is enabled for the video block, the method comprises: obtaining a first motion vector difference (MVD) associated with a first reference picture list, wherein the first MVD associated with the first reference picture list is symmetric to a second MVD associated with a second reference picture list; andincluding an indication of the first MVD associated with the first reference picture list in video data, wherein the video data does not include an indication of the second MVD associated with the second reference picture list.
  • 22. The method of claim 20, wherein, based on a determination not to bypass BDOF for the video block, the method comprises refining an MV associated with a sub-block of the video block based at least in part on gradients associated with a location in the video block.
CROSS-REFERENCE TO RELATED CASES

The present application claims the benefit of U.S. Provisional Patent Application No. 62/783,437, filed Dec. 21, 2018, U.S. Provisional Patent Application No. 62/787,321, filed Jan. 1, 2019, U.S. Provisional Patent Application No. 62/792,710, filed Jan. 15, 2019, U.S. Provisional Patent Application No. 62/798,674, filed Jan. 30, 2019, and U.S. Provisional Patent Application No. 62/809,308, filed Feb. 22, 2019, the contents of which are hereby incorporated by reference in their entireties.

Provisional Applications (5)
Number Date Country
62783437 Dec 2018 US
62787321 Jan 2019 US
62792710 Jan 2019 US
62798674 Jan 2019 US
62809308 Feb 2019 US
Continuations (1)
Number Date Country
Parent 17416205 Jun 2021 US
Child 18082525 US