Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
TECHNIQUES OF MULTI-HYPOTHESIS MOTION COMPENSATION
Document Type and Number:
WIPO Patent Application WO/2019/152283
Kind Code:
A1
Abstract:
The present disclosure describes techniques for coding and decoding video in which a plurality of coding hypotheses are developed for an input pixel block of frame content. Each coding hypothesis may include generation of prediction data for the input pixel block according to a respective prediction search. The input pixel block may be coded with reference to a prediction block formed from prediction data derived according to plurality of hypotheses. Data of the coded pixel block may be transmitted to a decoder along with data identifying a number of the hypotheses used during the coding to a channel. At a decoder, an inverse process may be performed, which may include generation of a counterpart prediction block from prediction data derived according to the hypothesis identified with the coded pixel block data, then decoding of the coded pixel block according to the prediction data.

Inventors:
TOURAPIS ALEXANDROS (US)
SU YEPING (US)
SINGER DAVID (US)
WU HSI-JUNG (US)
Application Number:
PCT/US2019/015247
Publication Date:
August 08, 2019
Filing Date:
January 25, 2019
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
APPLE INC (US)
TOURAPIS ALEXANDROS MICHAEL (US)
SU YEPING (US)
SINGER DAVID (US)
WU HSI JUNG (US)
International Classes:
H04N19/109; H04N19/147; H04N19/176; H04N19/567
Foreign References:
US201862625547P2018-02-02
US201862626276P2018-02-05
Other References:
FLIERL M ET AL: "GENERALIZED B PICTURES", 1 June 2002 (2002-06-01), pages 1 - 4, XP002481338, Retrieved from the Internet
MARKUS FLIERL ET AL: "Further Investigation of Multihypothesis Motion Pictures", 13. VCEG MEETING; 2-4-2001 - 4-4-2001; AUSTIN, TEXAS, US; (VIDEO CODING EXPERTS GROUP OF ITU-T SG.16),, no. VCEG-M40, 28 March 2001 (2001-03-28), XP030003218
JIAJUN ZHANG ET AL: "Overlapped variable size block motion compensation", PROCEEDINGS / INTERNATIONAL CONFERENCE ON IMAGE PROCESSING : OCTOBER 26 - 29, 1997, SANTA BARBARA, CALIFORNIA, IEEE COMPUT. SOC, LOSALAMITOS, CALIF. [U.A.], vol. 3, 26 October 1997 (1997-10-26), pages 642 - 645, XP010253757, ISBN: 978-0-8186-8183-7, DOI: 10.1109/ICIP.1997.632203
Attorney, Agent or Firm:
HAILS, Robert, L. (US)
Download PDF:
Claims:
WE CLAIM:

1. A video coding method, comprising:

developing a plurality of coding hypotheses for an input pixel block of frame content, each coding hypothesis including generating prediction data for the input pixel block according to a respective prediction search,

coding the input pixel block with reference to a prediction block formed from prediction data of the plurality of hypotheses, and

transmitting data of the coded pixel block and data identifying a number of the hypotheses used during the coding to a channel.

2. The method of claim 1, wherein the number of hypotheses is greater than 2.

3. The method of claim 1, further comprising transmitting data representing a size of partitions used to generate the prediction data of a hypothesis for the input pixel block.

4. The method of claim 1, further comprising transmitting data representing ranges of allowable partition sizes used to generate the prediction data of a hypothesis for the input pixel block.

5. The method of claim 1 , further comprising, for a coding hypothesis, transmitting index data identifying an element from a list of prediction references identifying a reference frame that was selected according to the prediction search of the hypothesis.

6. The method of claim 1, further comprising, providing an idc pred idc value that identifies a prediction mode for the pixel block.

7. The method of claim 6, wherein the idc pred idc value is provided in a syntax element corresponding to the pixel block.

8. The method of claim 6, wherein the idc pred idc value is provided in a syntax element higher than the pixel block in a coded data stream, and it applies to multiple coded pixel blocks in the coded data stream.

9. The method of claim 1, further comprising, providing an identification of a prediction list of a hypothesis in a coded data stream, the identified provided in a syntax element that is higher than a syntax element of the coded pixel block data.

10. The method of claim 1, further comprising, providing a motion vector for one of the hypotheses that is a prediction from a motion vector of another one of the hypotheses.

11. Coded video data, stored in a computer readable medium, representing frame content, the coded video data comprising:

coded video data of a plurality of pixel blocks, each represented by a plurality of coding hypotheses, each coding hypothesis representing prediction data for the pixel block according to a respective prediction search,

a parameter identifying an element from a list of prediction references identifying a reference frame, the parameter applying to hypotheses of multiple coded pixel blocks.

12. An encoder that generates the coded video data of claim 11 from input video.

13. A decoder that generates reconstructed video from the coded video data of claim 11.

14. The coded video data of claim 11, further comprising data representing a size of partitions used to generate the prediction data of a hypothesis for the input pixel block.

15. The coded video data of claim 11 , further comprising data representing ranges of allowable partition sizes used to generate the prediction data of a hypothesis for the input pixel block.

16. The coded video data of claim 11, further comprising, for a coding hypothesis, index data identifying an element from a list of prediction references identifying a reference frame that was selected according to the prediction search of the hypothesis.

17. The coded video data of claim 11, further comprising an idc_pred_idc value that identifies a prediction mode for the pixel block.

18. The coded video data of claim 17, wherein the idc_pred_idc value is placed in a syntax element of the pixel block.

19. The coded video data of claim 17, wherein the idc_pred_idc value is placed in a syntax element higher than the pixel block, and it applies to multiple coded pixel blocks in the coded data stream.

20. The coded video data of claim 11, further comprising data identifying a prediction list of a hypothesis in a coded data stream, the identified provided in a syntax element that is higher than a syntax element of the coded pixel block data.

21. The coded video data of claim 11 , further comprising data representing a motion vector for one of the hypotheses that is a prediction from a motion vectors of another one of the hypotheses.

22. A video decoding method, comprising:

responsive to data provided from a channel identifying a number of the coding hypotheses applied to a pixel block to be decoded, developing a prediction block for the pixel block from coding data representing the hypotheses, each coding hypothesis identifying a respective prediction source, and

decoding the pixel block with reference to the prediction block.

23. The method of claim 22, wherein the number of hypotheses is greater than 2.

24. The method of claim 22, further comprising responsive to channel data identifying a size of partitions used to generate the prediction data of a respective hypothesis, developing the prediction data for the respective hypothesis by extracting data from a reference frame at a size corresponding to the partition size.

25. The method of claim 22, further comprising, responsive to channel data identifying an idc_pred_idc value that identifies a prediction mode for a pixel block, decoding coded subpartitions of the pixel block according to the identified prediction mode.

26. The method of claim 25, wherein the idc_pred_idc value is provided in a syntax element corresponding to the pixel block.

27. The method of claim 25, wherein the idc_pred_idc value is provided in a syntax element higher than the pixel block in a coded data stream, and it applies to multiple coded pixel blocks in the coded data stream.

28. The method of claim 25, further comprising, responsive to an identification of a prediction list of a hypothesis in a coded data stream, developing prediction data for a corresponding hypothesis according to a reference frame identified by the identification. .

29. The method of claim 28, wherein the identification is occurs in a syntactic element of the coded data stream that is at a higher level than a syntactic element of the coded pixel block.

30. The method of claim 25, further comprising, predicting a motion vector for one of the hypotheses from a motion vector of another one of the hypotheses.

31. A video coding method, comprising:

developing a first coding hypothesis for an input pixel block of frame content, the first coding hypothesis including prediction data selected using a first partition size,

developing a second coding hypothesis for the input pixel block, the second coding hypothesis including prediction data selected using a second partition size different from the first partition size,

coding the input pixel block with reference to a prediction block formed from the prediction data of the first coding hypothesis and the prediction data of the second coding hypothesis.

32. A video decoding method, comprising:

developing first prediction data from coded video data representing a first coding hypothesis of a pixel block to be decoded, the coded video data identifying a first partition size associated with the first prediction data,

developing second prediction data from coded video data representing a second coding hypothesis of a pixel block to be decoded, the coded video data identifying a second partition size associated with the second prediction data, the second partition size different from the first partition size

decoding coded video data of the pixel block to be decoded with reference to a prediction block formed from the first prediction data and the second prediction data.

33. Coded video data, stored in a computer readable medium, representing a pixel block of frame content having been predictively coded, the coded video data comprising: data representing a first coding hypothesis for the pixel block of frame content, the first coding hypothesis identifying a first partition size of the first coding hypothesis,

data representing a second coding hypothesis for the pixel block of frame content, the second coding hypothesis identifying a second partition size for the second coding hypothesis, the second partition size different from the first partition size;

data representing content of the pixel block having been coded with reference to a prediction block formed from the prediction data of the first coding hypothesis and the prediction data of the second coding hypothesis.

Description:
TECHNIQUES OF MULTI-HYPOTHESTS MOTION COMPENSATION

CLAIM FOR PRIORITY

[01] The present application benefits from priority conferred by application s.n. 62/625,547, entitled“Techniques of Multi -Hypothesis Motion Compensation” and filed on February 2, 2018, as well as application s.n. 62/626,276, also entitled“Techniques of Multi-Hypothesis Motion Compensation” and filed on February 5, 2018, the disclosures of which are incorporated herein in their entirety.

BACKGROUND

[02] The present disclosure relates to video coding and, in particular, to video coding techniques that employ multi-hypothesis motion compensation coding (also,“MHMC” coding).

[03] Modem video compression systems, such as MPEG-4 AVC, HEVC, VP9, VP8, and AV1, often employ block-based strategies for video compression. In particular, a rectangular video region, (e.g. an image, a tile, and rows within such regions), are partitioned into rectangular or square blocks (called“pixel blocks” for convenience), and, for each pixel block, a different prediction mode is specified.

[04] MHMC is an inter prediction method where prediction of pixel blocks within a region such as a frame, tile, or slice, may be coded several different ways (called“hypotheses”) and the hypotheses are combined together. Thus, a prediction block s for an input pixel block s can be generated using a set of N hypotheses h L as follows:

Each hypothesis commonly is associated with a reference index, motion vector parameters, and, in some instances, illumination compensation (weighted prediction) parameters. Motion vectors indicate displacement information, i.e. the displacement of the current block in relationship to the reference frame identified for their respective hypotheses. Commonly, such displacement is limited to only translational information. Current MHMC coding systems merge hypotheses via linear models as shown in Eq. 1.

[05] Modem codecs, such as AVC and HEVC, do not force the number of hypotheses for a block in a multihypothesis-predicted frame. Instead, a block can use a single or more hypotheses, or even be predicted using intra prediction. Currently, the number of maximum hypotheses that could be used is limited to two. This is mostly due to the cost of signalling any associated parameters relating to the prediction process but also due to complexity and bandwidth of reading data and reconstructing the final prediction. At lower bitrates, for example, mode and motion information can dominate the overall bitrate of an encoded stream. On the other hand, increasing the number of hypotheses even slightly, i.e. from two to three could result, in considerable, e.g. a 33%, increase in bandwidth in a system, and therefore impact power consumption. Data prefetching and memory management can become more complex and costly. Current coding protocols do not always provide efficient mechanisms to communicate video coding parameters between encoders and decoders.

[06] For example, in many video coding systems, the indication of prediction lists to be used in

B slices is performed using a single parameter, which is sent at the prediction unit level of the coding syntax. Such a parameter may indicate whether a block will be using the ListO prediction, Listl prediction, or Bi-prediction. This type of signalling may also include indication of other coding modes as well, such as SKIP and DIRECT modes, Intra, etc. This method, therefore, incurs cost in terms of the signalling overhead to communicate these parameters and the cost can be expected to increase if MHMC coding techniques were employed that expand the number of hypothesis to levels greater than two. Similarly the overhead cost of signalling other coding parameters, such as prediction mode and motion vectors, would increase if MHMC coding technique expand the number of hypotheses to levels greater than two.

[07] Conventionally, modem MHMC coding systems are designed to use exactly the same partitioning and are not permitted to change within the said partitioning. That is, if a block of size 16x 16 is said to be utilizing bi-prediction, then a single set of parameters (e.g., reference indices, motion vectors, and weighted parameters), for each hypothesis is signalled and used.

[08] The inventors perceive a need for techniques to improve MHMC coding operations that provide greater flexibility to coding system to represent image data in coding. BRIEF DESCRIPTION OF THE DRAWINGS

[09] FIG. 1 illustrates a simplified block diagram of a video delivery system 100 according to an aspect of the present disclosure.

[10] FIG. 2 is a functional block diagram illustrating components of an encoding terminal.

[11] FIG. 3 is a functional block diagram illustrating components of a decoding terminal according to an aspect of the present disclosure.

[12] FIG. 4 illustrates exemplary application of MHMC coding.

[13] FIGS. 5(a) and 5(b), respectively, illustrate exemplary operation of multi-hypothesis motion compensation coding according to an aspect of the present disclosure.

[14] FIG. 6 is a functional block diagram of a coding system according to an aspect of the present disclosure.

[15] FIG. 7 is a functional block diagram of a decoding system according to an aspect of the present disclosure.

PET ATT, ED DESCRIPTION

[16] Aspects of the present disclosure provide techniques for coding and decoding video in which a plurality of coding hypotheses are developed for an input pixel block of frame content. Each coding hypothesis may include generation of prediction data for the input pixel block according to a respective prediction search. The input pixel block may be coded with reference to a prediction block formed from prediction data derived according to plurality of hypotheses. Data of the coded pixel block may be transmitted to a decoder along with data identifying a number of the hypotheses used during the coding to a channel. At a decoder, an inverse process may be performed, which may include generation of a counterpart prediction block from prediction data derived according to the hypothesis identified with the coded pixel block data, then decoding of the coded pixel block according to the prediction data.

[17] FIG. 1 illustrates a simplified block diagram of a video delivery system 100 according to an aspect of the present disclosure. The system 100 may include a plurality of terminals 110, 120 interconnected via a network. The terminals 110, 120 may code video data for transmission to their counterparts via the network. Thus, a first terminal 110 may capture video data locally, code the video data and transmit the coded video data to the counterpart terminal 120 via a channel. The receiving terminal 120 may receive the coded video data, decode it, and render it locally, for example, on a display at the terminal 120. If the terminals are engaged in bidirectional exchange of video data, then the terminal 120 may capture video data locally, code the video data and transmit the coded video data to the counterpart terminal 110 via another channel. The receiving terminal 110 may receive the coded video data transmitted from terminal 120, decode it, and render it locally, for example, on its own display. The processes described can operate on both frame and field frame coding but, for simplicity, the present discussion will describe the techniques in the context of integral frames.

[18] A video coding system 100 may be used in a variety of applications. In a first application, the terminals 110, 120 may support real time bidirectional exchange of coded video to establish a video conferencing session between them. In another application, a terminal 110 may code pre- produced video (for example, television or movie programming) and store the coded video for delivery to one or, often, many downloading clients (e.g., terminal 120). Thus, the video being coded may be live or pre-produced, and the terminal 110 may act as a media server, delivering the coded video according to a one-to-one or a one-to-many distribution model. For the purposes of the present discussion, the type of video and the video distribution schemes are immaterial unless otherwise noted.

[19] In FIG. 1, the terminals 110, 120 are illustrated as a personal computer and a smart phone, respectively, but the principles of the present disclosure are not so limited. Aspects of the present disclosure also find application with various types of computers (desktop, laptop, and tablet computers), computer servers, media players, dedicated video conferencing equipment and/or dedicated video encoding equipment.

[20] The network 130 represents any number of networks that convey coded video data between the terminals 110, 120, including for example wireline and/or wireless communication networks. The communication network may exchange data in circuit-switched or packet-switched channels. Representative networks include telecommunications networks, local area networks, wide area networks, and/or the Internet. For the purposes of the present discussion, the architecture and topology of the network are immaterial to the operation of the present disclosure unless otherwise noted. [21] FIG. 2 is a functional block diagram illustrating components of an encoding terminal according to an aspect of the present disclosure. The encoding terminal may include a video source 210, an image processor 220, a coding system 230, and a transmitter 240. The video source 210 may supply video to be coded. The video source 210 may be provided as a camera that captures image data of a local environment, a storage device that stores video from some other source or a network connection through which source video data is received. The image processor 220 may perform signal conditioning operations on the video to be coded to prepare the video data for coding. For example, the preprocessor 220 alter the frame rate, frame resolution, and/or other properties of the source video. The image processor 220 also may perform filtering operations on the source video.

[22] The coding system 230 may perform coding operations on the video to reduce its bandwidth. Typically, the coding system 230 exploits temporal and/or spatial redundancies within the source video. For example, the coding system 230 may perform motion compensated predictive coding in which video frame or field frames are parsed into sub-units (called“pixel blocks,” for convenience), and individual pixel blocks are coded differentially with respect to predicted pixel blocks, which are derived from previously-coded video data. A given pixel block may be coded according to any one of a variety of predictive coding modes, such as:

• intra-coding, in which an input pixel block is coded differentially with respect to previously coded/decoded data of a common frame;

• single prediction inter-coding, in which an input pixel block is coded differentially with respect to data of a previously coded/decoded frame; and

• multi-hypothesis motion compensation predictive coding, in which an input pixel block is coded predictively using decoded data from two or more sources, via temporal or spatial prediction.

The predictive coding modes may be used cooperatively with other coding techniques, such as Transform Skip coding, RRU coding, scaling of prediction sources, palette coding, and the like.

[23] The coding system 230 may include a forward coder 232, a decoder 233, an in-loop filter 234, a frame buffer 235, and a predictor 236. The coder 232 may apply the differential coding techniques to the input pixel block using predicted pixel block data supplied by the predictor 236. The decoder 233 may invert the differential coding techniques applied by the coder 232 to a subset of coded frames designated as reference frames. The in-loop filter 234 may apply filtering techniques to the reconstructed reference frames generated by the decoder 233. The frame buffer 235 may store the reconstructed reference frames for use in prediction operations. The predictor

236 may predict data for input pixel blocks from within the reference frames stored in the frame buffer.

[24] The transmitter 240 may transmit coded video data to a decoding terminal via a channel CH.

[25] FIG. 3 is a functional block diagram illustrating components of a decoding terminal according to an aspect of the present disclosure. The decoding terminal may include a receiver 310 to receive coded video data from the channel, a video decoding system 320 that decodes coded data, a post-processor 330, and a video sink 340 that consumes the video data.

[26] The receiver 310 may receive a data stream from the network and may route components of the data stream to appropriate units within the terminal 300. Although FIGS. 2 and 3 illustrate functional units for video coding and decoding, terminals 110, 120 (FIG. 1) often will include coding/decoding systems for audio data associated with the video and perhaps other processing units (not shown). Thus, the receiver 310 may parse the coded video data from other elements of the data stream and route it to the video decoder 320.

[27] The video decoder 320 may perform decoding operations that invert coding operations performed by the coding system 140. The video decoder may include a decoder 322, an in-loop filter 324, a frame buffer 326, and a predictor 328. The decoder 322 may invert the differential coding techniques applied by the coder 142 to the coded frames. The in-loop filter 324 may apply filtering techniques to reconstructed frame data generated by the decoder 322. For example, the in-loop filter 324 may perform various filtering operations (e.g., de-blocking, de-ringing filtering, sample adaptive offset processing, and the like). The filtered frame data may be output from the decoding system. The frame buffer 326 may store reconstructed reference frames for use in prediction operations. The predictor 328 may predict data for input pixel blocks from within the reference frames stored by the frame buffer according to prediction reference data provided in the coded video data.

[28] The post-processor 330 may perform operations to condition the reconstructed video data for display. For example, the post-processor 330 may perform various filtering operations (e.g., de-blocking, de-ringing filtering, and the like), which may obscure visual artifacts in output video that are generated by the coding/decoding process. The post-processor 330 also may alter resolution, frame rate, color space, etc. of the reconstructed video to conform it to requirements of the video sink 340.

[29] The video sink 340 represents various hardware and/or software components in a decoding terminal that may consume the reconstructed video. The video sink 340 typically may include one or more display devices on which reconstructed video may be rendered. Alternatively, the video sink 340 may be represented by a memory system that stores the reconstructed video for later use. The video sink 340 also may include one or more application programs that process the reconstructed video data according to controls provided in the application program. In some aspects, the video sink may represent a transmission system that transmits the reconstructed video to a display on another device, separate from the decoding terminal; for example, reconstructed video generated by a notebook computer may be transmitted to a large flat panel display for viewing.

[30] The foregoing discussion of the encoding terminal and the decoding terminal (FIGS. 2 and 3) illustrates operations that are performed to code and decode video data in a single direction between terminals, such as from terminal 110 to terminal 120 (FIG. 1). In applications where bidirectional exchange of video is to be performed between the terminals 110, 120, each terminal 110, 120 will possess the functional units associated with an encoding terminal (FIG. 2) and each terminal 110, 120 will possess the functional units associated with a decoding terminal (FIG. 3). Indeed, in certain applications, terminals 110, 120 may exchange multiple streams of coded video in a single direction, in which case, a single terminal (say terminal 110) will have multiple instances of an encoding terminal (FIG. 2) provided therein. Such implementations are fully consistent with the present discussion.

[31] FIG. 4 illustrates exemplary application of MHMC coding. In FIG. 4, a block 412 in the current frame 410 may be coded with reference to N reference frames 420.1-420. n-l. Motion vectors mvl-mvn may be derived that reference prediction sources in the reference frames 420.1-420. n-l. The prediction sources may be combined as per Eq. 1 to yield a prediction block s that serves as a predictor for block 412.

[32] In an aspect of the present disclosure, coders may develop coding hypotheses for an input block using different block sizes. One set of exemplary coding hypotheses is shown in FIGS. 5(a) and 5(b). In FIG. 5(a), an input block 512 from an input frame 510 may be coded using coding hypotheses that use different block sizes. A first hypothesis is represented by motion vector mvl, which codes the input block 512 with reference to a block 522 in a first reference frame 520; the reference block 522 has a size equal to the size of block 512. A second set of hypotheses is represented by motion vectors mv2. l-mv2.4. For the second set of hypotheses, the input block 512 is partitioned into a plurality of sub-blocks (here, four sub-blocks 514.1-514.4), each of which are predictively coded. For ease of illustration, FIG. 5(a) illustrates each of the sub-blocks 514.1- 514.4 coded with reference to content from a common reference frame 530, shown as reference blocks 532.1-532.4. In practice, each of the sub-blocks may be predicted independently of the other sub-blocks, which may cause prediction references to be selected from the same or different reference frames (not shown).

[33] FIG. 5(b) illustrates the relationship between the coding hypotheses and a prediction block s 540 that will be used for coding and decoding. Content of the various hypotheses may be merged together to generate the prediction block. In the example of FIG. 5(b), the prediction block 540 may be generated from prediction data contributed by block 522 of the first hypothesis and prediction data contributed by the sub-blocks 532.1-532.4, which may be weighted according to respective weight factors as shown in Eq. 1.

[34] Although FIGS. 5(a) and 5(b) illustrate coding by two hypotheses (the second hypothesis being formed from predictions of four sub-blocks), in principle, MHMC coding may be extended to a greater number of hypotheses. Moreover, although FIG. 5(b) illustrates a linear weighting model, non-linear weighting models also may be used.

[35] FIG. 6 is a functional block diagram of a coding system 600 according to an aspect of the present disclosure. The system 600 may include a pixel block coder 610, a pixel block decoder 620, a frame buffer 630, an in-loop filter system 640, a reference frame store 650, a predictor 660, a controller 670, and a syntax unit 680. The predictor 660 may develop the different hypotheses for use during coding of a newly-presented input pixel block s and it may supply a prediction block s to the pixel block coder 610. The pixel block coder 610 may code the new pixel block by predictive coding techniques and present coded pixel block data to the syntax unit 680. The pixel block decoder 620 may decode the coded pixel block data, generating decoded pixel block data therefrom. The frame buffer 630 may generate reconstructed frame data from the decoded pixel block data. The in-loop filter 640 may perform one or more filtering operations on the reconstructed frame. For example, the in-loop filter 640 may perform deblocking filtering, sample adaptive offset (SAO) filtering, adaptive loop filtering (ALF), maximum likelihood (ML) based filtering schemes, deringing, debanding, sharpening, resolution scaling, and the like. The reference frame store 650 may store the filtered frame, where it may be used as a source of prediction of later-received pixel blocks. The syntax unit 680 may assemble a data stream from the coded pixel block data, which conforms to a governing coding protocol.

[36] In MHMC coding, the predictor 660 may select the different hypotheses from among the different candidate prediction modes that are available under a governing coding syntax. The predictor 660 may decide, for example, the number of hypotheses that may be used, the prediction sources for those hypotheses and, in certain aspects, partitioning sizes at which the predictions will be performed. For example, the predictor 660 may decide whether a given input pixel block will be coded using a prediction block that matches the sizes of the input pixel block or whether it will be coded using prediction blocks at smaller sizes. The predictor 660 also may decide, for some smaller-size partitions of the input block, that SKIP coding will be applied to one or more of the partitions (called“null” coding herein).

[37] The pixel block coder 610 may include a subtractor 612, a transform unit 614, a quantizer 616, and an entropy coder 618. The pixel block coder 610 may accept pixel blocks of input data at the subtractor 612. The subtractor 612 may receive predicted pixel blocks from the predictor 660 and generate an array of pixel residuals therefrom representing a difference between the input pixel block and the predicted pixel block. The transform unit 614 may apply a transform to the sample data output from the subtractor 612, to convert data from the pixel domain to a domain of transform coefficients. The quantizer 616 may perform quantization of transform coefficients output by the transform unit 614. The quantizer 616 may be a uniform or a non-uniform quantizer. The entropy coder 618 may reduce bandwidth of the output of the coefficient quantizer by coding the output, for example, by variable length code words or using a context adaptive binary arithmetic coder.

[38] The transform unit 614 may operate in a variety of transform modes as determined by the controller 670. For example, the transform unit 614 may apply a discrete cosine transform (DCT), a discrete sine transform (DST), a Walsh-Hadamard transform, a Haar transform, a Daubechies wavelet transform, or the like. In an aspect, the controller 670 may select a coding mode M to be applied by the transform unit 615, may configure the transform unit 615 accordingly and may signal the coding mode M in the coded video data, either expressly or impliedly.

[39] The quantizer 616 may operate according to a quantization parameter Qp that is supplied by the controller 670. In an aspect, the quantization parameter Qpmay be applied to the transform coefficients as a multi-value quantization parameter, which may vary, for example, across different coefficient locations within a transform-domain pixel block. Thus, the quantization parameter Qp may be provided as a quantization parameters array.

[40] The entropy coder 618, as its name implies, may perform entropy coding of data output from the quantizer 616. For example, the entropy coder 618 may perform run length coding, Huffman coding, Golomb coding, Context Adaptive Binary Arithmetic Coding, and the like.

[41] The pixel block decoder 620 may invert coding operations of the pixel block coder 610.

For example, the pixel block decoder 620 may include a dequantizer 622, an inverse transform unit 624, and an adder 626. The pixel block decoder 620 may take its input data from an output of the quantizer 616. Although permissible, the pixel block decoder 620 need not perform entropy decoding of entropy-coded data since entropy coding is a lossless event. The dequantizer 622 may invert operations of the quantizer 616 of the pixel block coder 610. The dequantizer 622 may perform uniform or non-uniform de-quantization as specified by the decoded signal Qp. Similarly, the inverse transform unit 624 may invert operations of the transform unit 614. The dequantizer 622 and the inverse transform unit 624 may use the same quantization parameters Qp and transform mode M as their counterparts in the pixel block coder 610. Quantization operations likely will truncate data in various respects and, therefore, data recovered by the dequantizer 622 likely will possess coding errors when compared to the data presented to the quantizer 616 in the pixel block coder 610.

[42] The adder 626 may invert operations performed by the subtractor 612. It may receive the same prediction pixel block from the predictor 660 that the subtractor 612 used in generating residual signals. The adder 626 may add the prediction pixel block to reconstructed residual values output by the inverse transform unit 624 and may output reconstructed pixel block data.

[43] As described, the frame buffer 630 may assemble a reconstructed frame from the output of the pixel block decoders 620. The in-loop filter 640 may perform various filtering operations on recovered pixel block data. For example, the in-loop filter 640 may include a deblocking filter, a sample adaptive offset (“SAO”) filter, and/or other types of in loop filters (not shown).

[44] The reference frame store 650 may store filtered frame data for use in later prediction of other pixel blocks. Different types of prediction data are made available to the predictor 660 for different prediction modes. For example, for an input pixel block, intra prediction takes a prediction reference from decoded data of the same frame in which the input pixel block is located. Thus, the reference frame store 650 may store decoded pixel block data of each frame as it is coded. For the same input pixel block, inter prediction may take a prediction reference from previously coded and decoded frame(s) that are designated as reference frames. Thus, the reference frame store 650 may store these decoded reference frames.

[45] As discussed, the predictor 660 may supply prediction blocks s to the pixel block coder 610 for use in generating residuals. The predictor 660 may include, for each of a plurality of hypotheses 661.1-661. n, an inter predictor 662, an intra predictor 663, and a mode decision unit 662. The different hypotheses 661.1-661. n may operate at different partition sizes as described above. For each hypothesis, the inter predictor 662 may receive pixel block data representing a new pixel block to be coded and may search reference frame data from store 650 for pixel block data from reference frame(s) for use in coding the input pixel block. The inter-predictor 662 may perform its searches at the partition sizes of the respective hypothesis. Thus, when searching at smaller partition sizes, the inter-predictor 662 may perform multiple searches, one using each of the sub-partitions at work for its respective hypothesis. The inter predictor 662 may select prediction reference data that provides a closest match to the input pixel block being coded. The inter predictor 662 may generate prediction reference metadata, such as prediction block size and motion vectors, to identify which portion(s) of which reference frames were selected as source(s) of prediction for the input pixel block.

[46] The intra predictor 663 may support Intra (I) mode coding. The intra predictor 663 may search from among pixel block data from the same frame as the pixel block being coded that provides a closest match to the input pixel block. The intra predictor 663 also may run searches at the partition size for its respective hypothesis and, when sub-partitions are employed, separate searches may be run for each sub-partition. The intra predictor 663 also may generate prediction mode indicators to identify which portion of the frame was selected as a source of prediction for the input pixel block.

[47] The mode decision unit 664 may select a final coding mode for the hypothesis from the output of the inter-predictor 662 and the inter-predictor 663. The mode decision unit 664 may output prediction data and the coding parameters (e.g., selection of reference frames, motion vectors and the like) for the mode selected for the respective hypothesis. Typically, as described above, the mode decision unit 664 will select a mode that achieves the lowest distortion when video is decoded given a target bitrate. Exceptions may arise when coding modes are selected to satisfy other policies to which the coding system 600 adheres, such as satisfying a particular channel behavior, or supporting random access or data refresh policies.

[48] Prediction data output from the mode decision units 664 of the different hypotheses 661.1- 661.N may be input to a prediction block synthesis unit 665, which merges the prediction data into an aggregate prediction block s. As described, the prediction block s may be formed from a linear combination of the predictions from the individual hypotheses, for example, as set forth in Eq. 1, or non-linear combinations may be performed. The prediction block synthesis unit 665 may supply the prediction block s to the pixel block coder 610. The predictor 660 may output to the controller 670 parameters representing coding decisions for each hypothesis.

[49] The controller 670 may control overall operation of the coding system 600. The controller 670 may select operational parameters for the pixel block coder 610 and the predictor 660 based on analyses of input pixel blocks and also external constraints, such as coding bitrate targets and other operational parameters. As is relevant to the present discussion, when it selects quantization parameters Qp, the use of uniform or non-uniform quantizers, and/or the transform mode M, it may provide those parameters to the syntax unit 680, which may include data representing those parameters in the data stream of coded video data output by the system 600. The controller 670 also may select between different modes of operation by which the system may generate reference images and may include metadata identifying the modes selected for each portion of coded data.

[50] During operation, the controller 670 may revise operational parameters of the quantizer 616 and the transform unit 615 at different granularities of image data, either on a per pixel block basis or on a larger granularity (for example, per frame, per slice, per largest coding unit (“LCU”) or Coding Tree Unit (CTU), or another region). In an aspect, the quantization parameters may be revised on a per-pixel basis within a coded frame.

[51] Additionally, as discussed, the controller 670 may control operation of the in-loop filter 640 and the prediction unit 660. Such control may include, for the prediction unit 660, mode selection (lambda, modes to be tested, search windows, distortion strategies, etc.), and, for the in-loop filter 640, selection of filter parameters, reordering parameters, weighted prediction, etc.

[52] FIG. 7 is a functional block diagram of a decoding system 700 according to an aspect of the present disclosure. The decoding system 700 may include a syntax unit 710, a pixel block decoder 720, an in-loop filter 740, a reference frame store 750, a predictor 760, and a controller 770. As with the encoder (FIG. 6), the pixel block decoder 720 and predictor 760 may be instantiated for each of the hypotheses identified by the coded video data.

[53] The syntax unit 710 may receive a coded video data stream and may parse the coded data into its constituent parts. Data representing coding parameters may be furnished to the controller 770, while data representing coded residuals (the data output by the pixel block coder 610 of FIG. 6) may be furnished to its respective pixel block decoder 720. The predictor 760 may generate a prediction block s from reference data available in the reference frame store 750 according to coding parameter data provided in the coded video data. It may supply the prediction block s to the pixel block decoder. The pixel block decoder 720 may invert coding operations applied by the pixel block coder 610 (FIG. 6). The frame buffer 730 may create a reconstructed frame from decoded pixel blocks s’ output by the pixel block decoder 720. The in-loop filter 740 may filter the reconstructed frame data. The filtered frames may be output from the decoding system 700. Filtered frames that are designated to serve as reference frames also may be stored in the reference frame store 750.

[54] The pixel block decoder 720 may include an entropy decoder 722, a dequantizer 724, an inverse transform unit 726, and an adder 728. The entropy decoder 722 may perform entropy decoding to invert processes performed by the entropy coder 618 (FIG. 6). The dequantizer 724 may invert operations of the quantizer 716 of the pixel block coder 610 (FIG. 6). Similarly, the inverse transform unit 726 may invert operations of the transform unit 614 (FIG. 6). They may use the quantization parameters Qp and transform modes M that are provided in the coded video data stream. Because quantization is likely to truncate data, the pixel blocks s’ recovered by the dequantizer 724, likely will possess coding errors when compared to the input pixel blocks s presented to the pixel block coder 610 of the encoder (FIG. 6).

[55] The adder 728 may invert operations performed by the subtractor 610 (FIG. 6). It may receive a prediction pixel block from the predictor 760 as determined by prediction references in the coded video data stream. The adder 728 may add the prediction pixel block to reconstructed residual values output by the inverse transform unit 726 and may output reconstructed pixel block data.

[56] As described, the frame buffer 730 may assemble a reconstructed frame from the output of the pixel block decoder 720. The in-loop filter 740 may perform various filtering operations on recovered pixel block data as identified by the coded video data. For example, the in-loop filter 740 may include a deblocking filter, a sample adaptive offset (“SAO”) filter, and/or other types of in loop filters. In this manner, operation of the frame buffer 730 and the in loop filter 740 mimics operation of the counterpart frame buffer 630 and in loop filter 640 of the encoder 600 (FIG. 6).

[57] The reference frame store 750 may store filtered frame data for use in later prediction of other pixel blocks. The reference frame store 750 may store decoded frames as it is coded for use in intra prediction. The reference frame store 750 also may store decoded reference frames.

[58] As discussed, the predictor 760 may supply the prediction blocks s to the pixel block decoder 720. The predictor 760 may retrieve prediction data from the reference frame store 750 for each of the hypotheses represented in the coded video data (represented by hypothesis predictors 762.1-762. n). A prediction block synthesis unit 764 may generate an aggregate prediction block s from the prediction data of the different hypothesis. In this manner, the prediction block synthesis unit 764 may replicate operations of the synthesis unit 665 from the encoder (FIG. 6). The predictor 760 may supply predicted pixel block data as determined by the prediction reference indicators supplied in the coded video data stream.

[59] The controller 770 may control overall operation of the coding system 700. The controller 770 may set operational parameters for the pixel block decoder 720 and the predictor 760 based on parameters received in the coded video data stream. As is relevant to the present discussion, these operational parameters may include quantization parameters Qp for the dequantizer 724 and transform modes M for the inverse transform unit 710. As discussed, the received parameters may be set at various granularities of image data, for example, on a per pixel block basis, a per frame basis, a per slice basis, a per LCU/CTU basis, or based on other types of regions defined for the input image.

Techniques of Multi-hypothesis Motion Compensation

[60] In an aspect, encoders may provide signalling in a coded bit stream to identify the number of hypotheses that are used to code frame data for each such hypothesis. For example, when frame data is to be coded by MHMC, coded video data may identify a number of hypotheses using a count value. When a given hypothesis can be coded as prediction blocks of different sizes, coded video data may contain data identifying such prediction block sizes.

[61] An exemplary syntax for such identifications is provided in Table 1 below:

Table 1

Here, type corresponds to the slice type. If MH, then that slice is indicated as a multihypothesis slice that permits 2 or more hypotheses to be used for prediction. The field number_of_hypotheses_minus2 may identify the number of hypotheses available for coding. The field 1 i st predi cti on_i m pi i ci t present fl ag[i ] enforces that a hypothesis from list i is always present for all CTUs or at least for all inter CTUs in the current slice. The fields log2_min_luma_hypothesis_block_size_minus2[i] and log2_diff_max_min_luma_hypothesis_block_size[i] respectively may identify minimum and maximum sizes of prediction blocks that are available for each such hypothesis. Providing minimum and maximum sizes for the prediction blocks may constrain coding complexity by avoiding MHMC combinations outside the indicated size ranges.

[62] The foregoing example permits use of multiple hypotheses for block sizes starting from

MLXNL to MHXNH, where ML, NL, MH, NH are defined, respectively, by the log2_min_luma_hypothesis_block_size_minus2[i] and log2_diff_max_min_luma_hypothesis_block_size[i] fields. For example, if the minimum size for a hypothesis from list i was defined as 16 and the maximum size was defined as 64, then this syntax would permit prediction block sizes from list i with block sizes of, for example, 16x 16, 32x32, and 64x64 pixels. If rectangular partitions were also permitted for prediction, these would also be limited within the specified resolutions. Of course, other variants would be supported by the syntax of Table 1. For example, prediction block sizes may be defined starting from a size 32x32 and above.

[63] The syntax identified in Table 1 may be provided at different levels of coded video data, such as at the sequence-, picture-, slice-level, a segment, or for a group of CTUs. Table 12 below illustrates application of the syntax to an exemplary HEVC-style slice syntactic element. Moreover, the syntax elements may be assigned to these levels dynamically based on coding decision performed by an encoder. In this manner, the syntax increases flexibility in the encoder and permits the encoder to conserve signalling overhead when the syntax elements may be provided in higher-level elements of the coding protocol.

[64] Table 2, for example, provides an example in which slice segment header syntax is extended to include parameters that indicate for which block sizes a particular hypothesis will be valid or not. A single parameter is identified for the minimum width and height, i.e. log2_min_luma_hypothesis_block_size_minus2[i] as well as for the maximum, i.e. log2_diff_max_min_luma_hypothesis_block_size_minus2[i] . The

1 i st predi cti on_i mpl i ci t present fl ag[i ] discussed above is provided as well. Independent parameters for the width and height could also be used. Additional elements that are impacted by the use of Multihypothesis prediction instead of biprediction, such as the number of references for each list (num_ref_idx_ active_minusl_list[i]), the use of zero motion prediction (mvd_list_zero_flag[i]), and from which list the collocated temporal motion vector will be derived.

Table 2. Exemplary Slice Segment Header to support Multihypothesis prediction

[65] The foregoing syntax table also provides examples of other coding parameters that may be included. The num_ref_idx_ active_minusl_list[ i ] parameter may specify a maximum reference index for a respective reference picture list that may be used to decode a slice. The collocated from list parameter, for example, may identify a list from which temporal motion vector prediction is derived. The collocated ref idx parameter may identify a reference index of the collocated picture used for temporal motion vector prediction.

[66] MHMC coding techniques may be represented in coding of a pixel block using a syntax as shown, for example, in Table 3. In this example, prediction units may be defined for each prediction block in use, and their sizes may be identified using the nPbW, nPbH values. Unlike HEVC, which limits prediction to up to two lists, and where the prediction type is indicated with a mode parameter, here the use of a particular hypothesis is indicated through a list specific flag, i.e. list_pred_idc_flag[ i ][ x0 ][ y0 ]. This flag is either derived based on syntax components signalled earlier in higher levels or based on the utilization of other lists, or explicitly signalled in the bit stream. If this flag is one then that hypothesis will be used in combination with other enabled hypotheses, but if it is set to zero then a hypothesis from that list will not be considered. Depending on its value other parameters, such as reference indices motion vectors, but also other information that may be signalled at this level, such as illumination compensation parameters, can then be signalled.

Table 3: HEVC-style Prediction Unit Syntax of HEVC To Accommodate MHMC

In this example, the field list_pred_idc_flag[ i ][ xO ][ yO ] indicates whether a list corresponding to hypothesis i is to be used for coding, ref_idx_list[ i ][ xO ][ yO ] indicates an index into the respective list i identifying a reference frame that was used for prediction, and mvp list flag[ i ][ xO ][ yO ] indicates a motion vector predictor index of list i.

[67] In another aspect, a coding syntax may impose a restriction on the number of“minimum” references that can be combined together. For example, the syntax may restrict any hypotheses from list index i, with i > 1, to be used only when a list with a lower index also is used or, alternatively, if all lower index lists are present. All of these restrictions could also be supported or defined by either implicitly imposing them for all bit streams or by signalling the restrictions for multihypothesis prediction in a higher syntax level. As discussed below, aspects of the present disclosure accommodate such restrictions as multihypothesis modes.

[68] For example, an encoder may signal a parameter mh mode in the sequence, picture, or slice header, which will indicate the mode of/restrictions imposed on multihypothesis prediction. For example, when or if mh mode == 0, no further restrictions are performed. If mh mode == 1, then an encoder may signal lists with index i > 1, only and only if all other lists with index j < i are also used. Otherwise, those are implicitly set to not present. Other modes could be also defined in addition or in place of the above modes.

[69] In such a case, coding syntax for the prediction unit may be represented as follows:

Table 4: HEVC-style Alternative Prediction Unit Syntax Modified To Accommodate

MHMC

In this example, the field list_pred_idc_flag[ i ][ xO ][ yO ] indicates whether a list corresponding to hypothesis i is to be used for coding, ref_idx_list[ i ][ xO ][ yO ] indicates an index into the respective list i identifying a reference frame that was used for prediction, and mvp list flag[ i ][ xO ][ yO ] indicates a motion vector predictor index of list i. Unlike the syntax presented in Table 3 it can be seen that mh mode is now also considered to determine how and if multihypothesis prediction will be performed.

[70] As described, the foregoing techniques reduce the overhead for signalling coding mode for multihypothesis prediction, i.e. when to use and when not to use a certain hypothesis. To further reduce signalling overhead, coding syntax may employ additional techniques, as described below. [71] In another aspect, motion parameters of a given hypothesis may be derived through relationship(s) with other hypotheses. For example, motion parameters or their differential values may be set to have a value of zero using the mvd list zero flag parameter. Moreover, the syntax may be designed so it can specify any of the following cases for implicit derivation of motion parameters for a list: a. Enforce all motion parameters for a particular list index to be zero or a fixed vector (sent at a higher syntax layer, such as the sequence or picture parameter sets, or the slice header) . b. Enforce either the vertical or horizontal motion vector component value of a particular list index to a fixed (zero or otherwise) value. Again such information could be signalled at a higher syntax layer. c. Set illumination compensation (weighted prediction) parameters to fixed values for all or for some of the lists (e.g. for lists with i > 1). If explicit weighting parameters are present at the block level, the syntax may have explicit parameters only for the earlier lists (i < 2) and, for all others, illumination parameters could be derived from the parameters of the earlier lists or fixed to default weighting parameters. Parameters could also be derived from previously-decoded neighbouring samples with corresponding increases to the complexity of the codec. d. Establish a mathematical relationship of the motion vectors of one list i with the motion vectors of another, earlier-in-presence list j (j < i). The relationship may also be related to the ref idx and its associated picture order count or other parameter that may be available in the codec, and which parameter indicates a form of temporal distance relationships between references. Alternatively, the relationship may be based on signalled parameters in a higher level syntax, e.g. a linear model using parameters alpha (a) and beta ( b ). These parameters could also be vector values and have different elements for the horizontal and vertical motion vector elements. These parameters could then be used to weigh and offset the decoded motion parameters of list j. For example, a motion vector mvi may be set as mu’ = a x mv } + b. Other non-linear mathematical models may also be employed. e. Mathematical relationships may be also defined by providing the relationships of a list with more than one other lists. In that case, the motion vector may be computed as assuming a linear model. Again, non linear models could also be used. f. Motion vectors for a list could be derived also through motion vector chaining. In particular, the syntax may represent motion parameters for a block at location (x,y) in frame i, using a reference j, if for another list a motion vector is provided pointing to another reference k, in which the co-located block, also at location (x,y) uses a motion vector that points at reference j . In such case, MVij (x,y) = MV i,k (x,y) + MV kj (x,y). Motion vector chaining could be considered using multiple vectors, if these are available through other lists.

Chaining could also include multiple references if the path to the target reference is not immediate, e.g. MVij (x,y) = MV i,k (x,y) + MV mj (x,y) + MV mj (x,y). In effect, a motion vector from a frame at time t may reference data in a frame at time t-2 by building an aggregate motion vector from a first motion vector that references an intermediate frame at time t-l (e.g., a motion vector from time t to t-l) and a second motion vector the references the destination frame at time t-2 from the intermediate frame (e.g., a motion vector from time t-l to t-2). g. Motion acceleration may also be considered to provide a basis to predict current motion vectors. For example, the predictor of a motion vector may be computed for frame i of a block at location (x,y) from frame i-l, and assuming that all previous partitions used references frames that were only of a distance of 1, as follows:

MV(ij-i) (x,y)= 2 * MV (i -i,i-2) (x,y) - MVw-i) (x,y) (Eq. 4)

Of course, if the frames have different distance relationships, the acceleration computation would account for such relationships. h. In another aspect, motion vector derivation may be based on partitions in other frames and their actual motion path. Such process involves higher complexity since now the projected area may not correspond to a block used for coding. Such strategy is used, for example, in the AVS video coding standards. Furthermore, the projected area may contain multiple subpartitions each having its own motion. In such cases, encoders and decoders either may combine all the vectors together or may use all the vectors as independent hypotheses and subpartition the block being coded based on these hypotheses. Combining the vectors could be done using a variety of methods, e.g. using simple averaging, using weighted averaging based on the number of pixels that have a certain motion, by making use of median filtering, selection of the mode candidate, etc. Moreover, chaining could persist across multiple pictures, with the number of pictures to be chained constrained by the codec at a higher level if desired. In such a case also, if there is no usable vector, such as the block being intra encoded, chaining could terminate. i. Non-linear combinations of prediction samples may be performed instead of or in addition to using straight averaging or weighted averaging. For example different predictors hi(x,y) may be combined non-linearly using an equation of the form:

Here, ref(x,y) may represent an anchor predictor that is most correlated with the current signal and /is the non-linear function. The function could be for example a gaussian function or some other similar function. For example, the anchor predictor can be chosen from the most adjacent frame temporally, or the predictor associated with the smallest Qp. The anchor predictor could also be indicated at a higher syntax structure, e.g. the slice header. j . In another aspect, the different predictors for multihypothesis prediction can be weighted based also on location of the current sample and its distance to the blocks used for predicting the hypotheses motion vectors. In particular, for a block that is predicted using two hypotheses, where the first hypothesis used the motion information from the left block as its predictor and the second hypothesis used the top block as its predictor, the first hypothesis may be weighted to have higher impact on samples that are closer to the left edge of the block and the second hypothesis may be weighted to have higher impact on samples that are closer to the top edge of the block. In another example, if a block has predictors from above, from the left, from the above left, and from above right, as well as a temporal predictor, weights may be applied to each of these predictors. The temporal hypothesis may be assigned a single weight everywhere, whereas the hypothesis from the left may have relatively large weights on the left boundaries of the block with weight reductions at locations towards the right of the reconstructed block. Analogous weight distributions may be applied for the hypothesis at other locations (for example, the above block), where weights may be modulated based on directions of prediction. k. Lists with i > 1 could be restricted to use only one reference index. In this case, no signalling of the reference index for these lists would be necessary. l. Motion vectors for a particular list may be limited to values within a defined window around the (0,0) motion vector, that is known to the decoder. Such limitations may contribute to better data prefetch operations at a decoder for motion compensation using more than 2 hypotheses. m. Subpixel motion compensation may be limited for multihypothesis prediction. For example, multihypothesis prediction may be limited to only 1/8* 11 , quarter, half pel, or integer precision. Integer prediction could also be further restricted to certain integer multiples, e.g. multiples of 2, 3, 4, etc, or in general powers of 2. Such restrictions could be imposed on all lists if more hypotheses than 2 are used, or only on certain lists, e.g. list i > 1, or list combinations, e.g. whenever list 2 is used all lists are restricted to half pel precision. If such precision is used, and if these methods are combined with implicit motion vector derivation from another list, appropriate quantization and clipping of the derived motion parameters may be performed. n. Limitations could also be imposed on the filters used for subpixel prediction, i.e. in the number of filter taps that will be used to generate those samples. For example, for uni- or bi- prediction, a coding syntax may permit 8 tap filters to be used, but for multihypothesis prediction with more than 2 references only 4 tap or bilinear filtering may be permitted for all lists. The filters could also be selected based on the list index. The limitations could be based on block size as well, i.e. for larger partitions longer filters may be used, but the size of the filters may be limited for smaller partitions. o. Limitations on the filters could also be imposed differently on luma vs chroma components.

[72] All of the above conditions could be implicitly designed in the codec, or could be signalled in higher syntax levels of the codec, such as sequence, picture parameter sets, or slice headers.

[73] Different ones of foregoing techniques may be applied in a coding syntax for prediction blocks of different size. For example, for larger partitions, the cost of signalling additional motion parameters is small. However, for smaller partitions that cost can be significant. Therefore, for larger partitions, e.g. 16x16 and above, explicit motion signalling of lists i > 1 may be permitted, but, for partition sizes smaller than 16x16, derivation may be implicit.

[74] The principles of the foregoing aspects may be used cooperatively with other types of coding techniques. For example, merge and skip modes can also be supported in such codecs, and the derivation of the appropriate motion parameters discussed above may be extended to these modes as well.

Motion Compensated Prediction with Hierarchical Multihypothesis

[75] The foregoing techniques find application in coding systems where video data is coded in recursively-partitioned pixel blocks. For example, HEVC and some other coding systems partition a frame of input data first into a Coding Tree Unit (CTU), also called as the Largest Coding Unit (commonly, an“LCU”), of a predetermined size (say, 64x64 pixels). Each CTU may be partitioned into increasingly smaller pixel blocks back on content contained therein. When the partitioning is completed, relationships of the CTUs and the coding units (“CUs”) contained within them may represent a hierarchical tree data structure. Moreover, prediction units (“PUs") may be provided for the CUs at leaf nodes of the tree structure; the PUs may carry prediction information such as coding mode information, motion vectors, weighted prediction parameters, and the like.

[76] As discussed, aspects of the present disclosure extend multi-hypothesis prediction to provide for different coding hypotheses at different block sizes. For example, a block of size (2M)x(2M) can be designated as a bi-predicted block but, for each MxM subblock, different motion parameters can be signalled for each hypothesis/list. Furthermore, it is possible that one of the hypotheses/lists would be fixed within the entire block, whereas, for the second hypothesis, further subpartitioning may be performed. In such a scenario, an encoder can keep one of the hypotheses fixed for a larger area, while searching for the second hypothesis using smaller regions. Similarly, a decoder may use hypothesis information to determine whether it should“prefetch” the entire larger area in memory for generating the first hypothesis, whereas for the second hypothesis smaller areas could be brought into memory and then combined with the first hypothesis to generate the final prediction.

[77] Aspects of the present disclosure introduce a new prediction mode, called the“hierarchical multihypothesis” mode, which can be added in addition to the existing single list/unipredictive and bipredictive prediction modes available in existing codecs. For example, in HEVC, the parameter inter _pred_idc[x0][y0] may be expanded to indicate that additional subpartitioning is permitted for a block for any of the hypotheses and lists, i.e. ListO, Listl, or both. If such subpartitioning is permitted for only one of the hypotheses/lists, e.g. ListO, then for the other list, e.g. Listl, its associated parameters can be signalled immediately, e.g. within a prediction unit, whereas for the first hypothesis/list the signalling of said parameters would have to be done in combination with its partitioning.

[78] In a further aspect, subpartitions may include syntax elements to identify a null prediction which indicates that the additional hypothesis from the current list will not be considered for this subpartition. It may also be possible to signal syntax elements that will indicate the use of intra prediction instead of inter prediction in combination with or instead of other inter hypotheses for that subpartition.

[79] In HEVC, the hierarchical nature of the codec may induce overhead for signalling the prediction mode information, which ordinarily is provided in prediction units that are identified from leaf nodes of coding unit tress. Aspects of the present disclosure provide several techniques to reduce signalling overhead.

[80] In one aspect, the signalling of inter pred idc may be provided at higher levels of the coding quadtree syntax than the prediction unit. The following syntax tables, demonstrate an example of how this could be done. In this particular example, a parameter named “quadtree mode enable flag” may be provided at a sequence, picture, or slice level in a coding syntax that indicates whether the inter pred idc designations are provided at higher levels within the coding quadtree syntax. If the quadtree mode enable flag value is set to TRUE (1), for example, it may indicate that inter _pred_idc designations are so provided. The encoder may signal the inter prediction mode and the split flags in such higher level constructs, for example, in sequence, picture, or slice level itself, thus reducing the signalled overhead. In this particular example, intra prediction modes are not used within subpartitions, thus reducing overhead further.

[81] Table 5 provides an exemplary coding quadtree syntax provided in an HEVC-style coding application. The values split_cu_lO_flag[ xO ][ yO ], split_cu_ll_flag[ x0 ][ yO ] and split_cu_flag[ xO ][ yO ] respectively indicate whether and how a CU may be further partitioned. The inter _pred_idc[ x0 ][ yO ] may identify a prediction mode of all sub-partitions contained within the CU where it is identified.

Table 5: Exemplary Coding Quadtree Syntax

[82] Table 6 illustrates an exemplary quadtree splitting syntax, again, working from an HEVC- style coding syntax. This new syntax is utilized when the independent splitting mode for each list is enabled. Otherwise the original quadtree method, as is used in HEVC, is used. As indicated, coding quadtree list values may be derived from the inter pred idc value, which is signalled in the coding quadtree syntax. The corresponding list is also passed into this syntax since this will be later used to determine which information, i.e. motion vectors from which corresponding list, will need to be signalled.

Table 6: Quadtree Splitting Syntax

[83] Table 7 illustrates coding quadtree list syntax, which shows a further use of the split cu flag to indicate whether the respective coding unit for the list current list may be split further for multihypothesis coding. Here, the current list value is passed from higher level syntactic elements. Table 7: Coding Quadtree List Syntax

[84] Table 8 illustrates an exemplary coding unit list syntax, which makes use of the current list value as passed from higher level syntactic elements. Here, derivation of prediction unit list parameters may use the current list value from higher level syntactic elements.

Table 8: Coding Unit List Syntax

[85] Table 9 illustrates an exemplary syntax for coding prediction units in an aspect of the present disclosure. In this aspect, values of ref idx lO, mvp lO flag, ref idx ll, mvp ll flag are signalled at the encoder and known to be decoded at the decoder for only the list current list , which is passed to the prediction unit list process from higher level syntactic elements. This is different from legacy prediction units where the mode was indicated within the prediction unit, and which would indicate whether listO only, listl only, or biprediction shall be used and the related parameters will be signalled together within the same prediction unit.

Table 9: Prediction Unit List Syntax

[86] Although not shown above, the foregoing principles may be extended to signalling of local illumination parameters, also. Moreover, the principles may be extended to other coding blocks such as transform coding, overlapped block motion compensation, and deblocking. Transform coding for example in HEVC can be performed independently from the specifications of the prediction units.

[87] In another aspect, overhead signalling may be limited even further by constraining subpartitioning in hierarchical multihypothesis prediction to one and only one of the lists. When a multiple hypothesis coding mode is selected, then, for one of the lists, the partitioning may be fixed. In such a case, no special indication flag would be needed, and a single set of motion parameters would be sent for one list, whereas, for the other list(s), the syntax may accommodate further subpartitioning and signalling of additional parameters. Such aspects may be built into coding rules for the syntax, in which case the constraint would be enforced always. Alternatively, the constraint may be activated dynamically by an encoder, in which case it would also be signalled at higher-level constructs within a coding syntax (e.g., the sequence, picture, or slice headers). Moreover, the depth subpartitioning of each list may be signalled at a similar level. Such depth could also be associated with the depth of the coding unit, in which case, further subdivision of a coding unit would not occur beyond a certain block size. Such constraints may have an impact on when an encoder sends split flag parameters in the stream. If for example, an encoder reaches the maximum splitting depth, no additional split flags need to be transmitted.

Prediction List Signalling for Bipredictively and MHMC-Coded Pixel Blocks

[88] In another aspect, coding syntax may include elements that identify prediction lists that are to be used for pixel blocks. Some coding protocols organize prediction references for bipredictively-coded pixel blocks into lists, commonly represented as“ListO” and“Listl .” and identify reference frames for prediction using indexes into such lists. Aspects of the present disclosure, however, introduce signalling at higher levels of a syntax (e.g., at the sequence, picture, slice header, coding tree unit level ( or coding unit groups of a certain size in a codec such as HEVC, or macroblocks in a codec like MPEG-4 AVC)), of whether a given list prediction is present in a lower coding unit within the higher level. The signalling may be provided as an “implicit prediction” flag that, when activated for a given list, indicates that the list is to be used for coding of the pixel blocks referenced by the sequence, slice, etc.

[89] Table 10 provides an example of syntax that may indicate whether prediction lists are present for bipredictively-coded pixel blocks. In this example, the syntax is provided as part of signalling of a slice.

Table 10: Exemplary Slice Segment Syntax

In this example, when either of 1 i stO predi cti on_i mpl i ci t present fl ag or listl_prediction_implicit_present_flag are set, it indicates that the respective list (e.g., ListO, List 1) data is always present for coding of the pixel blocks contained within the slice. Again, the syntax may be provided for other syntactic elements in coded video data, such as a sequence, a picture, a coding tree unit level or other coding unit groups. Table 12 below also illustrates application of the implicit prediction flag syntax to an exemplary HEVC-style slice syntactic element.

[90] In this manner, for those prediction lists for which the implicit prediction flag is set to

TRUE, it is no longer required to provide prediction indications in the data of the coded pixel blocks (for example, a prediction unit) themselves. These flags, when indicated, imply that always that prediction list would be used. For example, if UstO_prediction_implicit_present_flag is set, then an inter-predicted block in that slice (excluding Intra, SKIP, and MERGE predicted blocks), would be either a unipredicted block using ListO or a bipredicted block using ListO and another prediction reference. An inter-predicted block could not be a unipredicted block using Listl only. Similarly, if listl _predi cti on_implicit_present_flag is set, then a block in that slice would be either a unipredicted block using Listl or a bipredicted block using Listl and another prediction reference. If both flags are set TRUE, then the corresponding blocks can only use biprediction using both ListO and List 1.

[91] The principles of the implicit prediction flags may be extended to MHMC coding using a higher number N of hypotheses (N>2). In such a case, implicit prediction flags may be provided for the list corresponding to each hypothesis. A 1 i st predi cti on_i mpl i ci t present fl ag[i ] is shown, for example, in Table 1. When a 1 i st predi cti on_i m pi i ci t present fl ag[i ] is set for a hypothesis i, it signifies that the associated prediction list (e.g., a Listi) will be used for coding of pixel blocks contained within the respective syntactic elements (e.g., the sequence, picture, slice, etc.).

[92] It is expected that, by placing the implicit prediction flags in syntactic elements of coded video data that are at higher levels than the coding data of individual pixel blocks (for example, individual prediction units), the bitrate cost of signalling prediction types will be lowered.

[93] Table 11, for example, indicates how syntax of an HEVC-style prediction unit might be simplified using the implicit prediction flags:

Table 11: Exemplary HEVC-style Prediction Unit Syntax Modified To Accommodate

Implicit Prediction Flags

As shown above, when the 1 i stO predi cti on_i mpl i ci t present fl ag is set to TRUE, then prediction unit syntax will not include the flag 1 i stO pred i dc fl ag[x0] [y 0] Ordinarily, the

1 i stO pred i dc fl ag[x0] [yO] specifies whether listO used for the current prediction unit. In this case this is already known from a higher layer. Similarly, when the listl _prediction_implicit_present_flag is set to TRUE, then prediction unit syntax will not include the flag listl _pred_idc_flag[xO][yO] As noted in Table 11, when listO is not to be used (listO_pred_idc_flag¹l), it signals implicitly that listl has to be used and thus signalling of listl _pred_idc_flag[xO][yO] can be avoided in such a case.

[94] Table 12 illustrates the syntax of Table 1 applied to an exemplary slice segment header, which is derived from the HEVC protocol:

Table 12: Slice Segment Header To Support Multihypothesis Prediction

[95] In other aspects, syntax may be developed to identify non-square prediction block sizes, for example, with parameters to define width and height of the minimum and maximum prediction block sizes.

[96] The slice header syntax of Table 12 may lead to a syntax for a prediction unit that can handle multihypothesis slices, as shown in Table 13.

Table 13: Prediction Unit Syntax Of HEVC Modified Using The Proposed Method

Here, again, when the 1 i st predi cti on_i mpl i ci t present fl ag [i] of a list i is set to TRUE, then prediction unit syntax will not include the flag 1 i st pred i dc fl ag[i ] [xO] [y 0]

[97] Other aspects can achieve further conservation of signalling overhead. For example, rather than using the control:

In this aspect, all motion vector differences in list i would be forced to zero, which conserves bitrate that otherwise would be allocated to coding of such elements. However, of course, the motion vector field for this list is considerably constrained.

[98] In another aspect, coding syntax rules may be to set MvdList to zero only when a block is predicted by more than one lists, regardless of which lists are used. For example, the following condition may be applied: if( mvd_list_zero_flag[ i 1 && setjists > 1 ) { I

This technique increases the flexibility of signalling list prediction for bipredicted and multihypothesis predicted partitions between an encoder and a decoder.

[99] In a further aspect, signalling may be provided at a lower level than a slice unit, that identifies which lists are to be used by also restricting the reference indices of any list[i] to one. Doing so may save bits for uni -prediction or multihypothesis prediction. Such signalling could be applied, for example at fixed CTU intervals. For example, signalling may be provided for N CTUs with N potentially specified at a higher level (such as the sequence parameter sets, picture parameter sets, or a slice, at a CTU level or even lower), but could also be signalled in a new coding unit, e.g. a CTU Grouping unit, that can have an arbitrary number of CTUs, e.g. M, associated with it. Such number could be signalled within the CTU Grouping unit, but could also be omitted and the CTU Grouping unit could contain appropriate termination syntax (Start and end codes) that allows one to determine how many CTUs are contained within.

[100] In such an aspect, coding syntax may provide additional information within a CTU grouping, such as follows:

a. Indications that a particular list index is enabled or disabled for all CTUs in the CTU grouping unit. An encoder also may enable or disable list indices for uni -prediction or multihypothesis prediction if desired.

b. For each enabled list index, indications of whether all reference indices or only one will be used. An encoder may provide such indications independently or jointly for uni-prediction or multihypothesis prediction (i.e. for uni -prediction all references of a particular list could be used and only one for multi -hypothesis prediction if both modes are enabled).

c. If only one reference index is to be used, explicitly selections of which reference index that would be. In this case, if an encoder provides such a selection in a CTU grouping unit, the encoder need not signal the reference index for the blocks contained within the CTU grouping unit.

Motion Vector Prediction Techniques for Multi-Hypothesis Motion Compensation

[101] Other aspects of the present disclosure provide techniques for motion vector prediction both for bipredictive multihypothesis motion compensation (e.g., up to 2 hypotheses) and for multi-hypotheses prediction (N>2).

[102] According to such techniques, a coder may select to use, as predictors, one or more motion vectors of the current block from a list or lists that have already been signalled in the bit stream. For example, assume that, by the time listl motion vectors are to be coded, listO motion vector parameters have already been signalled for the current block. In this example, the listl motion vectors for the same block may be predicted directly from information of the listO coding, instead of the surrounding partitions. That is, an encoder may compute a predictor vector as mvpListLl = a * mvListLO + b where (Eq. 6) a is a scaling factor that relates to the distances of the references in L0 and Ll compared to the current picture, and b is a constant that could be sent at a higher level syntax structure (e.g. the sequence parameter sets, picture parameter sets, or the slice header). The value of a for example, can be computed using the picture order count (poc) information associated with each picture,

poc re f[listl] [refidxll]-poc cur

(e.g., as a = poc re f[listO] [refidxlO]-poc cur The use of this predictor also may be signalled implicitly, i.e. enabled always for a partition. Further, an encoder may signal which predictor should be used from a possible list of motion vector predictor candidates using a parameter such as a flag. If, for example, this parameter or flag is set to 0, then the collocated vector in the same block from the other list would be used, otherwise another predictor, e.g. a predictor based on a similar derivation as in HEVC, or a median, or averaging candidate of the spatial or temporal neighbourhood motion vectors could be used.

[103] These principles may be extended to hypotheses coming from lists with index higher than

1. In one aspect, prediction could come from listO, if the prediction is always available, or from the lowest index available list used for prediction. In another aspect, signalling may be provided to identify the list that is to be used for predicting the parameters of the current list. Such signalling could be done globally (e.g. at a higher syntax element such as the sequence or picture parameter sets, or the slice header), where an encoder may signal how vectors of a particular list, when used in multihypothesis prediction, would be predicted, or done at the block level using a parameter similar to conventional mvp lX flag parameters.

[104] In another aspect, an encoder may combine the parameters mvp lX flags into a single parameter that signals predictors jointly for all lists. This aspect may reduce signalling overhead as compared to cases in which signalling is provided independently for each hypothesis. That is, instead of signalling that L0 and Ll would use the first predictor using the value of 0 for mvp lO flag and mvp ll flag independently, in this new parameter mvp selector, if its value is 0 both lists are selected from the same first predictor. If the value is 1, then both are selected from the second predictor, if that is available, whereas if its value is equal to 2, then for L0 it indicates that an encoder used its first predictor and, for Ll, its second predictor and so on. Such correspondence between the value of mvp selector and which predictor to use for each list could be pre-specified as a syntax coding rule, or it could also be signalled inside the bit stream at a higher syntax element (e.g. in the sequence or picture parameter sets, or the slice header). The mvp selector could be used with more than 2 lists. [105] In another aspect, an encoder may entropy code the element mvp selector using an entropy coding scheme such as UVLC (exp-golomb coding) or Context Adaptive Binary Arithmetic Coding (CABAC). In the case of CAB AC, occurrence statistics may be used to update probability statistics and thus how the value is encoded using an adaptive arithmetic encoding engine. With respect to use of CABAC, the statistics collected would be impacted by how many lists are enabled each time. If a single list is to be used, there are only two possible state values for example, whereas if 2 lists are used, then more states are used. To maintain efficiency, an encoder may maintain a table of mvp selector parameters depending on the number and/or characteristics of combined lists. Adaptation for entropy coding of each entry in the table may be done independently. In another aspect, a single entry may be maintained, but the statistics may be normalized as coding is performed based on the number of lists used for the current block. If, for example, only uniprediction is to be used, values for mvp selector above 1 would not make sense. In that case, the normalization would be based only on the number of occurrences of values 0 and 1.

[106] Prediction of motion vectors could also be performed jointly using both neighbouring (spatial and/or temporal) and collocated (motion vectors for the current block but from another list) candidates. In particular, an encoder may use the information of both the mvd (motion vector error) and mvp (motion vector predictor) from the collocated candidate, to derive an mvp for the current list, (e.g., list[i], i = 1) as follows: mvp LlstL1 = mvp neighbor + mvpL stLo * mvd LlstL0 (Eq. 7)

In this derivation, prediction uses both the neighbouring predictor, the predictor of the listO vector, and its motion vector residual error. In another aspect, the scaling factor for mvd

could be replaced using a single value that is related to the temporal distances between references. This alternative approach may reduce complexity at the expense of lowered accuracy.

[107] In another aspect, syntax rules may impose the use of a single predictor per list and identify, for the current block, which earlier-encoded list could be used to predict a subsequent list. In such case, the syntax still may permit the use of more than one lists to predict the current list. This could be done, for example, using an averaging, either linear or nonlinear. For example predictors may be derived as:

In the above, w L are weights that may be either pre-specified by syntax rules or signalled at a higher coding level. The weights wi need not sum to X (e.g. ¹ 1).

[108] In another aspect, signalling of which mvds to use from earlier lists may be done using an mvp selector parameter signalled in the prediction unit.

[109] In a further aspect, an encoder may use a single predictor for multiple hypotheses or tie the computation of the predictors for multiple hypotheses together. Such coding decisions may be signalled in the coding bit stream or may be defined by coding rules of its syntax.

[110] In one example, mvp_l0[ref_idx_l0] and mvp_ll[ref_idx_ll] can be tied together. This could be done by signalling which lists and which references will be accounted at the same time at a higher level syntax structure (e.g. the sequence level, the picture level, or the slice level). Such consideration could also be made at a group of CTUs level as well. The relationship between the two mvps could be derived by using a simple scaling factor (scale factor) that could be signalled explicitly or, alternatively, could be determined by POC differences of the two references. In such as case, instead of forming mvp_l0[ref_idx_l0] from one candidate set and forming mvpj 1 [ref idx l 1 ] from another candidate set, a decoder can form both at the same time from a combined candidate set. This can be achieved by a variety of ways, for instance if m vp l 0 [ref i dxj 0] is computed as median vector of three candidates, the decoder can re- formulate that as minimizing a sum over three terms.

Now with combined candidates, the decoder minimizes a similar sum with six terms.

[111] In the above mvp_ll[ref_idx_ll] can then be computed as scale factor * m vp l 0 [ref i dxj 0] Other motion vectors, such as mvp_l0[0:L], can be determined together in a similar fashion. This concept can also be extended to multiple lists (>2).

[112] In another aspect, motion vector prediction of a given pixel block may be predicted from other pixel blocks that are neighbours of the pixel block being coded. A bi-predictive or multihypothesis candidate may be based on pixel blocks in a spatial neighbourhood of the block being coded, which may be represented an index j into a merge idx list. This candidate j is associated with motion vectors and references for all its lists, e.g. L0 and Ll. A coder may introduce an additional candidate, (called j+l), which uses the same predictor for L0, but for Ll only the reference index is reused. For the Ll motion vector candidate, an encoder may scale its motion vectors based on relative temporal displacement between the Ll and the L0 candidates. In another case, an encoder may select a first, unipredicted candidate (e.g. L0), for skip or merge, which has a consequence that no neighbours would provide candidates for another list. In such a case, an encoder may indicate, using merge idx, a derived candidate for another list (say, Ll) given its L0 candidate, which enables biprediction or multihypothesis prediction using another merge idx.

[113] The foregoing techniques may be extended to coding of Overlapped Block Motion Compensation with multihypothesis prediction as well as affine block motion compensation, for coding systems that support those features.

[114] The foregoing discussion has described operation of the aspects of the present disclosure in the context of video coders and decoders. Commonly, these components are provided as electronic devices. Video decoders and/or controllers can be embodied in integrated circuits, such as application specific integrated circuits, field programmable gate arrays, and/or digital signal processors. Alternatively, they can be embodied in computer programs that execute on camera devices, personal computers, notebook computers, tablet computers, smartphones, or computer servers. Such computer programs typically are stored in physical storage media such as electronic-, magnetic-, and/or optically-based storage devices, where they are read to a processor and executed. Decoders commonly are packaged in consumer electronics devices, such as smartphones, tablet computers, gaming systems, DVD players, portable media players and the like; and they also can be packaged in consumer software applications such as video games, media players, media editors, and the like. And, of course, these components may be provided as hybrid systems that distribute functionality across dedicated hardware components and programmed general-purpose processors, as desired.

[115] Video coders and decoders may exchange video through channels in a variety of ways.

They may communicate with each other via communication and/or computer networks as illustrated in fig. 1. In still other applications, video coders may output video data to storage devices, such as electrical, magnetic and/or optical storage media, which may be provided to decoders sometime later. In such applications, the decoders may retrieve the coded video data from the storage devices and decode it.

[116] Several embodiments of the invention are specifically illustrated and/or described herein.

However, it will be appreciated that modifications and variations of the invention are covered by the above teachings and within the purview of the appended claims without departing from the spirit and intended scope of the invention.