Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD AND APPARATUS FOR ENCODING A VIDEO
Document Type and Number:
WIPO Patent Application WO/2018/065567
Kind Code:
A1
Abstract:
A method and an apparatus for encoding a video are disclosed. For at least one block from a picture of said video, at least one first rate-distortion cost for coding said block according to a first splitting mode of said block is determined (402, 408). It is then determined (404) if coding said block according to said first splitting mode of said block satisfies a criterion. If so, a second rate-distortion cost for coding said block according to at least one asymmetric splitting mode is determined (408), wherein said asymmetric splitting mode corresponds to splitting said block horizontally, or vertically, into two asymmetric subblocks. A best splitting mode for said block is determined (411) according to at least said first rate-distortion cost and said second rate- distortion cost, and the block is encoded (412) according to said best splitting mode.

Inventors:
URBAN FABRICE (FR)
POIRIER TANGI (FR)
LELEANNEC FABRICE (FR)
Application Number:
PCT/EP2017/075449
Publication Date:
April 12, 2018
Filing Date:
October 06, 2017
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
THOMSON LICENSING (FR)
International Classes:
H04N19/557; H04N19/119; H04N19/147; H04N19/176; H04N19/567
Other References:
I-K KIM ET AL: "CE2: Test result of asymmetric motion partition (AMP)", 6. JCT-VC MEETING; 97. MPEG MEETING; 14-7-2011 - 22-7-2011; TORINO; (JOINT COLLABORATIVE TEAM ON VIDEO CODING OF ISO/IEC JTC1/SC29/WG11 AND ITU-T SG.16 ); URL: HTTP://WFTP3.ITU.INT/AV-ARCH/JCTVC-SITE/,, no. JCTVC-F379, 2 July 2011 (2011-07-02), XP030009402
PHILIPP HELLE ET AL: "Block Merging for Quadtree-Based Partitioning in HEVC", IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, IEEE SERVICE CENTER, PISCATAWAY, NJ, US, vol. 22, no. 12, 1 December 2012 (2012-12-01), pages 1720 - 1731, XP011487155, ISSN: 1051-8215, DOI: 10.1109/TCSVT.2012.2223051
SU-WEI TENG ET AL: "Fast mode decision algorithm for Residual Quadtree coding in HEVC", VISUAL COMMUNICATIONS AND IMAGE PROCESSING (VCIP), 2011 IEEE, IEEE, 6 November 2011 (2011-11-06), pages 1 - 4, XP032081433, ISBN: 978-1-4577-1321-7, DOI: 10.1109/VCIP.2011.6116062
Attorney, Agent or Firm:
HUCHET, Anne et al. (FR)
Download PDF:
Claims:
Claims

1 . A method for encoding a block of a picture according to a splitting mode determined among a no splitting mode, symmetric splitting modes corresponding to splitting said block horizontally, or vertically into two symmetric subblocks and asymmetric splitting modes corresponding to splitting said block horizontally, or vertically, into two asymmetric subblocks, said method comprising:

- determining (401 , 402) a first coding cost for coding said block according to said no splitting mode,

- determining (408) a second coding cost for coding said block according to a first symmetric splitting mode;

- determining (502) whether to disable a first asymmetric splitting mode responsive to a first ratio of said second coding cost to said first coding cost, wherein said first asymmetric splitting mode is of a same orientation as said first symmetric splitting mode;

- determining (41 1 ) a splitting mode for said block among enabled splitting modes,

- encoding (412) said block according to said determined splitting mode.

2. An apparatus for encoding a block of a picture according to a splitting mode determined among a no splitting mode, symmetric splitting modes corresponding to splitting said block horizontally, or vertically into two symmetric subblocks and asymmetric splitting modes corresponding to splitting said block horizontally, or vertically, into two asymmetric subblocks, said apparatus comprising:

- means for determining a first coding cost for coding said block according to said no splitting mode,

- means for determining a second coding cost for coding said block according to a first symmetric splitting mode;

- means for determining whether to disable a first asymmetric splitting mode responsive to a first ratio of said second coding cost to said first coding cost, wherein said first asymmetric splitting mode is of a same orientation as said first symmetric splitting mode;

- means for determining a splitting mode for said block among enabled splitting modes,

- means for encoding said block according to said determined splitting mode.

3. The method according to claim 1 or the apparatus according to claim 2 wherein determining whether to disable a first asymmetric splitting mode responsive to said first ratio comprises disabling said first asymmetric splitting mode in the case where said first ratio is above a value.

4. The method according to claim 1 or 3 further comprising, or the apparatus according to claim 2 or 3 further comprising means for, before determining a splitting mode for said block: - determining (408) a third coding cost for coding said block according to a second symmetric splitting mode different from said first symmetric splitting mode;

- determining (505) whether to disable a second asymmetric splitting mode responsive to a second ratio of said third coding cost to said first coding cost, wherein said second asymmetric splitting mode is of a same orientation as said second symmetric splitting mode.

5. The method according to claim 4 or the apparatus according to claim 4 wherein determining whether to disable a second asymmetric splitting mode responsive to said second ratio comprises disabling said second asymmetric splitting mode in the case where said first ratio is above a value.

6. The method according to any one of claims 1 and 3 to 5 further comprising, or the apparatus according to any one of claims 2 to 5 further comprising means for: before determining a splitting mode for said block, determining whether to disable an asymmetric splitting mode responsive to a third ratio of said second coding cost to said third coding cost.

7. The method according to claim 6 or the apparatus according to claim 6, wherein said first symmetric splitting mode being an horizontal symmetric splitting mode and said second symmetric splitting mode being a vertical symmetric splitting mode, determining whether to disable an asymmetric splitting mode responsive to said third ratio comprises disabling an horizontal asymmetric splitting mode in the case where said third ratio is above a value and disabling a vertical asymmetric splitting modes in the case where the inverse of said third ratio is above said value.

8. The method according to claim 1 or the apparatus according to claim 2, wherein in the case where quantized transform coefficients obtained by encoding said block according to said no splitting mode are all zero, said asymmetric splitting modes are disabled.

9. The method according to any one of claims 1 and 3 to 8 further comprising, or the apparatus according to any one of claims 2 to 8 further comprising means for: before determining a splitting mode for said block, determining a fourth coding cost for a first asymmetric subblock of said block being larger than a second asymmetric subblock of said block and disabling an asymmetric coding mode resulting in a splitting of said block into said first and second asymmetric subblocks in the case where said fourth coding cost is larger than at least one coding cost already determined for said block.

10. The method according to any one of claims 1 and 3 to 9 or the apparatus according to any one of claims 2 to 9, wherein in the case where said determined splitting mode indicates to split said block asymmetrically into a first sub-block and a second sub-block, said first sub- block or said second sub-block having a size equals to 3 x 2π, n being an integer with n> 0, at least one encoding tool to be applied to said first sub-block is disabled or adapted.

1 1 . The method according to claim 10 or the apparatus according to claim 10, wherein said at least one encoding tool belongs to a list comprising:

- a reference sample adaptive filtering used for filtering causal spatial neighbor samples used for performing intra prediction of said first sub-block,

- a position dependent predictor combination used for adapting intra prediction according to a position of a predicted sample from said first sub-block. 12. A computer program comprising software code instructions for performing the method according to any one of claims 1 and 2 to 1 1 , when the computer program is executed by a processor.

13. A computer-readable storage medium carrying a software program including program code instructions for the method according to any one of claims 1 and 2 to 1 1 .

14. A bitstream formatted to include encoded data representative of a block of a picture, the encoded data encoded according to any one of claims 1 and 2 to 1 1 .

Description:
METHOD AND APPARATUS FOR ENCODING A VIDEO.

1 . Technical field

A method and an apparatus for encoding a video into a bitstream are disclosed.

2. Background

For coding a picture of a video sequence, video compression methods usually divide the picture into a set of blocks of pixels.

In an HEVC video compression standard ( "ITU-T H.265 Telecommunication standardization sector of ITU (10/2014), series H: audiovisual and multimedia systems, infrastructure of audiovisual services - coding of moving video, High efficiency video coding, Recommendation ITU-T H.265"), a picture is divided into Coding Tree Units (CTU), which size may be 64x64, 128x128 or 256x256 pixels. Each CTU may be further subdivided using a quad-tree division, where each leaf of the quad-tree is called a Coding Unit (CU). Each CU is then given some Intra or Inter prediction parameters. To do so, a CU is spatially partitioned into one or more Prediction Units (PU), a PU may have a square or a rectangular shape.

A Quad-Tree plus Binary-Tree (QTBT) coding tool ("Algorithm Description of Joint Exploration Test Model 3", Document JVET-C1001_v3, Joint Video Exploration Team of ISO/I EC JTC1/SC29/WG1 1, 3rd meeting, 26th May- 1st June 2015, Geneva, CH), provides a CTU representation for representing picture data in a more flexible way than the units arrangement of the HEVC standard. The Quad-Tree plus Binary-Tree (QTBT) coding tool consists in a coding tree where coding units can be split both in a quad-tree and in a binary-tree fashion. Such coding tree representation of a Coding Tree Unit is illustrated on figures 1 A and 1 B, where solid lines indicate quad-tree partitioning and dotted lines indicate binary partitioning of a CU.

The splitting of a coding unit is decided on the encoder side through a rate distortion optimization procedure, which consists in determining the QTBT representation of the CTU with minimal rate distortion cost. In the QTBT representation, a CU has either a square or a rectangular shape. The size of coding unit is always a power of 2, and typically goes from 4 to 128. The QTBT decomposition of a CTU is made of two stages: first the CTU is split in a quad-tree fashion, then each quad-tree leaf can be further divided in a binary fashion or in a quad-tree fashion, as illustrated on figure 1 B, where solid lines represent the quad-tree decomposition phase and dotted lines represent the binary decomposition that is spatially embedded in the quad-tree leaves. With the QTBT representation, no more CU partitioning into PU or TU is employed.

The number of CTU splitting modes to evaluate on the encoder side is high and therefore impacts computational complexity at the encoder side. 3. Summary

According to an aspect of the present principle, a method for encoding a video is disclosed. Such a method comprises, for at least one block from a picture of said video:

- determining at least one first rate-distortion cost for coding said block according to a first splitting mode of said block,

- determining if coding said block according to said first splitting mode of said block satisfies a criterion,

- if said criterion is satisfied, determining (408) a second rate-distortion cost for coding said block according to at least one asymmetric splitting mode, wherein said asymmetric splitting mode corresponds to splitting said block horizontally, or vertically, into two asymmetric subblocks,

- determining a best splitting mode for said block according to at least said first rate-distortion cost and said second rate-distortion cost,

- encoding said block according to said best splitting mode.

The present principle allows reducing computational complexity at the encoder when asymmetric splitting modes are added to the already available splitting modes for encoding a block. According to the present principle, asymmetric splitting modes are only evaluated if a splitting mode previously evaluated satisfies a predetermined criterion. Here, asymmetric subblocks should be understood as two subblocks for which their sizes along a horizontal orientation or along a vertical orientation are not equal. In other words, an asymmetric splitting of a block along an orientation corresponds to splitting said block along said orientation at a non-zero distance from a middle line of said block in said orientation.

According to an embodiment of the present disclosure, said first splitting mode belongs to a group comprising at least:

- a no-splitting mode wherein said block is not split,

- a horizontal splitting mode wherein said block is split horizontally into two symmetric subblocks,

- a vertical splitting mode wherein said block is split vertically into two symmetric subblocks.

According to another embodiment of the present disclosure, said first splitting mode is a mode wherein said block is not split, said method further comprises: - determining a third coding cost for coding said block according to a symmetric splitting mode of said block, wherein said symmetric splitting mode corresponds to splitting said block horizontally, or vertically, into two symmetric subblocks,

- said criterion being satisfied if said third coding cost over said first coding cost is lower than a predetermined threshold, said asymmetric splitting mode being a splitting mode according to a same orientation as said symmetric splitting mode.

According to this embodiment, horizontal, respectively vertical, asymmetric splitting mode are evaluated only if horizontal, respectively vertical, symmetric splitting mode performs better than a mode wherein the block is not split. Thus, this embodiment takes into account the compression efficiency evaluated for symmetric splitting mode in a same direction.

According to another embodiment of the present disclosure, said first splitting mode is a horizontal symmetric splitting mode wherein said block is split horizontally into two symmetric subblocks, said method further comprises:

- determining a third coding cost for coding said block according to a vertical symmetric splitting mode, wherein said vertical symmetric splitting mode corresponds to splitting said block vertically into two symmetric subblocks,

- wherein said criterion is satisfied if said first coding cost over said third coding cost is higher than a first threshold,

- and wherein if said criterion is satisfied, said asymmetric splitting mode is a vertical asymmetric splitting mode,

- otherwise, if said third coding cost over said first coding cost is higher than a second threshold, said asymmetric splitting mode is a horizontal asymmetric splitting mode.

According to this embodiment, it is determined to evaluate the horizontal, respectively vertical, asymmetric splitting mode if the corresponding horizontal, respectively vertical, symmetric splitting mode performs better than the vertical, respectively horizontal, symmetric splitting mode.

According to another embodiment of the present disclosure, said first splitting mode is a mode wherein said block is not split, said criterion being satisfied if quantized transform coefficients obtained from said block when coding said block according to said first splitting mode are not all zero. According to this embodiment, the horizontal, respectively vertical, asymmetric splitting mode is not evaluated if the no split mode performs sufficiently well, i.e by providing a zero-residue block.

According to another embodiment of the present disclosure, said first splitting mode is a horizontal, or respectively vertical, splitting mode, and a subblock is obtained by splitting said block according to said first splitting mode, said subblock being co-located with a splitting line of said block when said block is split according to said asymmetric splitting mode, said asymmetric splitting mode and said first splitting mode being along a same orientation, said criterion being satisfied if a binary tree depth associated with said subblock is higher than a binary tree depth associated with said block plus 1 .

According to this embodiment, the topology obtained from previously evaluated splitting modes of the block is taken into account to determine whether an asymmetric splitting mode should be evaluated. The topology is the subdivision of a block (e.g. a CTU) into sub-blocks (e.g. into CUs and sub-CUs) by successive splits. According to this embodiment, the predetermined criterion is satisfied if an evaluation of the predetermined splitting mode leads to a partitioning of the current block wherein a first sub-block obtained from splitting said block according to said predetermined splitting mode is further split, and wherein said first sub-block corresponds spatially with the splitting line of the asymmetric splitting mode of the current block. According to another embodiment of the present disclosure, when said criterion is satisfied, said block being asymmetrically split horizontally or vertically into a first sub-block and a second sub-block, said first sub-block being larger than said second sub-block, said method further comprises:

- comparing a rate-distortion cost computed for said first sub-block with a rate-distortion cost computed for a spatially corresponding sub-block obtained from a splitting mode of said block previously evaluated,

- if said rate-distortion cost computed for said first sub-block is lower or equal than said rate- distortion cost computed for said spatially corresponding sub-block, determining a rate- distortion cost for said second sub-block.

According to this embodiment, computational complexity is further reduced as when computing a best coding mode for the sub-blocks obtained from an asymmetric splitting mode of the block, the rate-distortion optimization is performed for the second sub-block only if the first sub-block performs sufficiently well compared to previously evaluated splitting mode for the same area. According to another embodiment of the present disclosure, when said criterion is satisfied, said block being asymmetrically split horizontally or vertically into a first sub-block and a second sub-block, said first sub-block or said second sub-block having a size equal to 3 x 2 n , n being an integer with n> 0 , said method further comprises determining a best coding mode for coding at least said first sub-block, wherein at least one encoding tool to be applied to said first sub-block is disabled or adapted.

According to another embodiment of the present disclosure, said at least one encoding tool belongs to a list comprising: - a reference sample adaptive filtering used for filtering causal spatial neighbor samples used for performing intra prediction of said first sub-block,

- a position dependent predictor combination used for adapting intra prediction according to a position of a predicted sample from said first sub-block.

According to another aspect of the present principle, an apparatus for encoding a video is disclosed. Such an apparatus comprises, for at least one block from a picture of said video:

- means for determining at least one first coding cost for coding said block according to at least one predetermined splitting mode of said block,

- means for determining if coding said block according to said predetermined splitting mode of said block satisfies a predetermined criterion,

- means for, if said predetermined criterion is satisfied, determining a second coding cost for coding said block according to a horizontal or vertical asymmetric splitting mode, wherein said horizontal, respectively vertical asymmetric splitting mode corresponds to splitting said block horizontally, respectively vertically, at a non-zero distance from a horizontal middle line, respectively a vertical middle line, of said block,

- means for determining a best splitting mode for said block according to at least said first coding cost and said second coding cost,

- means for encoding said block according to said best splitting mode.

The present disclosure also provides a computer readable storage medium having stored thereon instructions for encoding a video according to any one of the embodiments described in the disclosure.

According to one implementation, the different steps of the method for encoding a video as described here above are implemented by one or more software programs or software program modules comprising software instructions intended for execution by a data processor of an apparatus for encoding a video, these software instructions being designed to command the execution of the different steps of the method according to the present principles.

A computer program is also disclosed that is capable of being executed by a computer or by a data processor, this program comprising instructions to command the execution of the steps of a method for encoding a video as mentioned here above.

This program can use any programming language whatsoever and be in the form of source code, object code or intermediate code between source code and object code, such as in a partially compiled form or any other desirable form whatsoever.

The information carrier can be any entity or apparatus whatsoever capable of storing the program. For example, the carrier can comprise a storage means such as a ROM, for example a CD ROM or a microelectronic circuit ROM or again a magnetic recording means, for example a floppy disk or a hard disk drive.

Again, the information carrier can be a transmissible carrier such as an electrical or optical signal which can be conveyed via an electrical or optical cable, by radio or by other means. The program according to the present principles can be especially uploaded to an Internet type network.

As an alternative, the information carrier can be an integrated circuit into which the program is incorporated, the circuit being adapted to executing or to being used in the execution of the methods in question.

According to one embodiment, the methods/apparatus may be implemented by means of software and/or hardware components. In this respect, the term "module" or "unit" can correspond in this document equally well to a software component and to a hardware component or to a set of hardware and software components.

A software component corresponds to one or more computer programs, one or more sub-programs of a program or more generally to any element of a program or a piece of software capable of implementing a function or a set of functions as described here below for the module concerned. Such a software component is executed by a data processor of a physical entity (terminal, server, etc) and is capable of accessing hardware resources of this physical entity (memories, recording media, communications buses, input/output electronic boards, user interfaces, etc).

In the same way, a hardware component corresponds to any element of a hardware unit capable of implementing a function or a set of functions as described here below for the module concerned. It can be a programmable hardware component or a component with an integrated processor for the execution of software, for example an integrated circuit, a smartcard, a memory card, an electronic board for the execution of firmware, etc,

4. Brief description of the drawings

Figure 1 A illustrates an exemplary CTU partitioning according to the quad-tree and binary tree based method (QTBT),

Figure 1 B illustrates an exemplary tree representation of a CTU partitioning according to the quad-tree and binary tree based method (QTBT),

Figure 2A depicted symmetric splitting modes;

Figure 2B depicted asymmetric splitting modes according to the present principles; Figure 3 illustrates a block diagram of an exemplary encoder for encoding a video according to an embodiment of the present principle,

Figure 4A, 4B and 4C illustrate a flow diagram of an exemplary method for selecting a best splitting mode for a CU according to an embodiment of the present principle,

Figure 5 illustrates a flow diagram of an exemplary method for selecting a best splitting mode for a CU according to another embodiment of the present principle,

Figure 6A illustrates CU splitting modes taken into account for deciding whether to evaluate horizontal down splitting mode according to another embodiment of the present principle, Figure 6B illustrates CU splitting modes taken into account for deciding whether to evaluate vertical right splitting mode according to another embodiment of the present principle,

Figure 7 illustrates another embodiment of the present principle taking into account a topology of already evaluated CU splitting modes for deciding whether to evaluate an asymmetric splitting mode,

Figure 8 illustrates an exemplary encoder that may be used in any one of the embodiments of the present principle.

5. Description of embodiments

It is to be understood that the figures and descriptions have been simplified to illustrate elements that are relevant for a clear understanding of the present principles, while eliminating, for purposes of clarity, many other elements found in typical encoding and/or decoding devices. It will be understood that, although the terms first and second may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. Various methods are described above, and each of the methods comprises one or more steps or actions for achieving the described method. Unless a specific order of steps or actions is required for proper operation of the method, the order and/or use of specific steps and/or actions may be modified or combined. A picture is an array of luma samples in monochrome format or an array of luma samples and two corresponding arrays of chroma samples in 4:2:0, 4:2:2, and 4:4:4 colour format. Generally, a "block" addresses a specific area in a sample array (e.g., luma Y), and a "unit" includes the collocated block of all encoded color components (luma Y and possibly chroma Cb and chroma Cr). However, the term "block" is used herein to refer to a block (e.g. a CB) or a unit (e.g. a CU).

In the following sections, the word "reconstructed" and "decoded" can be used interchangeably. Usually but not necessarily "reconstructed" is used on the encoder side while "decoded" is used on the decoder side. According to the present principles, asymmetric splitting modes are added to the QTBT symmetric splitting modes. The QTBT symmetric splitting modes are depicted on figure 2A and the asymmetric splitting modes are depicted on figure 2B.

As an example, the mode HOR UP indicates to split the block of height h and width w horizontally into one sub-block of height h/4 above one sub-block of height 3h/4. The mode HOR DOWN indicates to split the block horizontally into one sub-block of height h/4 below one sub-block of height 3h/4. The mode VER LEFT indicates to split the block vertically into one sub-block of width w/4 on the left of one sub-block of width 3w/4. The mode VER RIGHT indicates to split the block vertically into one sub-block of width w/4 on the right of one sub- block of width 3w/4. By splitting a CU according to the asymmetric splitting modes, new rectangular CU shapes may be added. These new shapes consist in sizes equal to 3 2 n in width and/or height. Furthermore, a CU with a size multiple of 3 in width or height can be further split in a binary fashion, horizontally or vertically.

However, the number of CU splitting modes to evaluate on the encoder side increases dramatically as such asymmetric splitting is possible at each level of the coding tree unit partitioning, therefore impacting computational complexity at the encoder side.

Therefore, there is a need for a new method and apparatus for encoding a video.

The principle disclosed herein is described for encoding a picture from a video sequence, however the disclosed principle may be applied to still digital pictures as well.

To encode a video sequence with one or more pictures, a picture may be partitioned into coding tree units (CTU) of square shape with a configurable size. A consecutive set of coding tree units may be grouped into a slice. A CTU is the root of a QTBT partitioning into Coding Units (CU).

Figure 3 illustrates a block diagram of an exemplary encoder for encoding a video according to an embodiment of the present principle. The video encoder 30 disclosed here below may be conforming to any video or still picture encoding schemes. In the exemplary encoder 30, a picture is encoded by the encoder modules as described below.

Classically, the video encoder 30 may include several modules for block-based video encoding, as illustrated in figure 3. A picture I to be encoded is input to the encoder 30. The picture I is first subdivided into a set blocks by a subdividing module. Each blocks (BLK) of the picture I is then processed for encoding. In the following, a block may correspond to a coding unit from a QTBT partitioning.

The encoding and decoding processes described below are for illustration purposes. According to some embodiments, encoding or decoding modules may be added, or removed or may vary from the following modules. However, the principle disclosed herein could still be applied to these variants. The encoder 30 performs encoding of each block of the picture I as follows. The encoder 30 comprises a mode selection unit for selecting a coding mode for a block of the picture to be coded, e.g. based on a rate/distortion optimization. Each block is encoded using either an intra or inter mode. The mode selection unit comprises:

- a motion estimation module for estimating motion between one current block of the picture to be coded and reference pictures,

- a motion compensation module for predicting the current block using the estimated motion,

- an intra prediction module for spatially predicting the current block.

The mode selection unit may also decide whether splitting of the block is needed according to rate/distortion optimization. In that case, the mode selection unit then operates for each subblock of the block BLK.

The block mode selection unit performs the encoding of the block for each candidate coding mode for the block BLK and computes a rate-distortion cost for each of these coding modes. The coding mode providing the lowest rate-distortion cost is selected as the best coding mode for the current block BLK. A candidate coding mode may be any coding mode available for coding the block and depends on the video compression standards used. For instance, for an HEVC coder, candidate coding modes may be chosen among a plurality of coding modes such as for example one of the 36 intra prediction modes, an inter prediction mode using an estimated motion vector, a merge coding mode deriving motion information from spatial and/or temporal neighbor blocks.

Once a coding mode is selected for the current block BLK or coding modes for subblocks of the current block BLK are selected, the mode selection unit delivers a predicted block PRED and corresponding syntax elements to be coded in the bitstream for performing the same block prediction at a decoder. When the current block BLK has been split, the predicted block PRED is formed by the set of predicted subblocks delivered by the mode selection unit for each subblocks.

A residual block RES is then obtained by subtracting the predicted block PRED from the original block BLK.

The residual block RES is then transformed by a transform processing module delivering a transform block TCOEF of transformed coefficients. The transform block TCOEF is then quantized by a quantization module delivering a quantized transform block QCOEF of quantized residual transform coefficients.

The syntax elements and quantized residual transform coefficients of the block QCOEF are then input to an entropy coding module to deliver coded data to form the coded bitstream STR. The quantized residual transform coefficients of the quantized transform block QCOEF are processed by an inverse quantization module delivering a block TCOEF' of unquantized transform coefficients. The block TCOEF' is passed to an inverse transform module for reconstructing a block of residual prediction RES'.

A reconstructed version REC of the block BLK is then obtained by adding the prediction block PRED to the reconstructed residual prediction block RES'.

The reconstructed block REC is stored in memory for use by a picture reconstruction module. The picture reconstruction module performs reconstruction of a decoded version Γ of the picture I from the reconstructed blocks REC. The reconstructed picture Γ is then stored in a reference picture memory for later use as a reference picture for encoding the following pictures of the set of pictures to code or for encoding subsequent blocks of the picture I.

Figures 4A, 4B and 4C depict a method for selecting an optimal splitting mode for a current CU used for coding the current CU according to an embodiment of the present disclosure. Such a method allows determining a splitting configuration for a current CU and each subsequent sub-CU when the current CU is split, thus providing a QTBT representation for the current CU.

The input to this method is an input coding unit currCU o encode, such a CU currC U having a size (width, height) along an horizontal and vertical direction respectively.

In step 400, it is first checked whether a NO_SPLIT splitting mode is allowed for the currCU. In case the NO_SPLIT splitting mode is allowed, the process passes to step 401 , otherwise, the process passes to step 403.

In step 401 , the NO_SPLIT splitting mode is evaluated as a candidate coding structure for the CU current currCU. The NO_SPLIT splitting mode means that the current CU is not divided into sub-CU, thus the prediction, transform, quantization and entropy coding steps are applied on the current block with size (width, height).

Therefore, in step 401 , the best coding modes (prediction mode, intra prediction angle, intra smoothing mode, motion vector, transform index ...) is being searched for the current coding unit. The optimal CU coding parameters are noted P * , and correspond to the set of coding parameters with minimal rate distortion cost D + λ R, where D is the distortion, R is the rate cost (number of bits to code current CU), and λ is a Lagrangian parameter.

In step 402, a resulting rate distortion cost associated with current CU, in the NO_SPLIT splitting configuration, noted RDcost(currCU, NO_SPLIT) is computed by encoding the current CU with the optimal coding parameters P * and also by integrating the rate cost associated with the splitting syntax used to signal the NO_SPLIT configuration for the current CU.

A next stage of the method consists in successively evaluating all candidate splitting modes for the current CU. All binary and quaternary splitting modes correspond to the following set: S = {HOR, VER, HOR_UP, HOR_DOWN, VER_LEFT, VER_RIGHT, QT_SPLIT]

The spatial splitting of an exemplary square coding unit for each of these splitting modes is illustrated by figures 2A and 2B.

In step 403, a candidate splitting mode is selected from the set of splitting mode, for instance the first splitting mode in the list.

For each candidate splitting mode, the following steps are performed.

In step 404, it is determined if the current candidate splitting mode is allowed for the current CU. In a specific and non limiting embodiment, if the candidate splitting mode is a binary split mode already supported in QTBT (i.e. one of the binary splitting modes HOR or VER of figure 2A), this test consists in checking that the size (height and width) of current CU is higher than a minimum CU size, smaller than a maximum CU size and that the number of successive binary splittings (uiBTDepth) is lower than a maximum split depth (MaxBTD):

( (height>uiMinBTSize || width>uiMinBTSize)

&& width<=uiMaxBTSize && height<=uiMaxBTSize && uiBTDepth<uiMaxBTD) where uiMinBTSize represents a minimal size allowed for a coding unit in the binary tree, uiMaxBTSize represents a maximal size allowed for a coding unit in the binary tree, uiBTDepth represents the depth (i.e. the number of successive binary splits) of the current CU in the binary tree whose configuration is being determined by the on-going process, uiMaxBTD represents the maximal allowed depth of a binary tree.

If the above condition is true, then the binary splitting modes HOR or VER are allowed.

If the current splitting mode is a quaternary split (QT SPLIT mode on figure 2A), it is checked that the current CU is not issued from a binary split and that the size of the current CU is larger than a minimum CU size minQTSize. In this case, the QT SPLIT mode is allowed. If the candidate splitting mode is an asymmetric splitting mode, the following condition is tested for the horizontal asymmetric splitting modes according to an embodiment:

(height / 4) >= uiMinBTSize

&& width <= uiMaxBTSize && height <= uiMaxBTSize && uiBTDepth < uiMaxBTD

&& (height % 3) ! = 0

If the condition is true, the horizontal asymmetric splitting modes (HOR_UP, HOR_DOWN) are allowed. Otherwise, the horizontal asymmetric splitting modes are not allowed.

A similar check is performed for the vertical asymmetric splitting modes (VER RIGHT, VER LEFT) by:

(width 1 ) >= uiMinBTSize

&& height <= uiMaxBTSize && width <= uiMaxBTSize && uiBTDepth < uiMaxBTD

&& (width % 3) ! = 0 If the condition is true, the vertical asymmetric splitting modes (HOF JP, HORJDOWN) are allowed. Otherwise, the vertical asymmetric splitting modes are not allowed.

According to a variant, an asymmetric splitting mode is allowed only for coding a Luma component of the current CU and not for coding the Chroma component of the current CU. If the candidate splitting mode is not allowed, then the process directly goes to step 409. If the candidate splitting mode is allowed, then the process passes to step 405.

In step 405, the current CU is divided into 2 or 4 smaller sub-CUs, according to the current candidate splitting mode. If the splitting mode corresponds to a binary splitting configuration, then 2 sub-CUs are obtained, with respective size according to the block spatial division illustrated by figures 2A and 2B. In case the current candidate splitting mode is equal to QT SPLIT, then 4 sub-CU with a same size (width/2, height/2) are obtained. In step 406, once the sub coding units are obtained, a loop over each obtained sub-CU is performed. For each obtained sub-CU, the current process of figure 4C is called in a recursive way. This results in obtaining a set of optimal coding parameters for each subCU.

In step 407, minimum rate-distortion costs, noted RDCost(subCU ), Vi = 0, ... , N - 1, are obtained for each subCU, according to the set of optimal coding parameters obtained for each obtained subCU.

In step 408, the current CU currCU is encoded by coding the sub coding units subCUt, i = 0, ... , N - 1, together with the splitting syntax needed to indicate how the current CU is dividing into sub coding units, according to the current candidate splitting mode. A Rate Distortion cost associated with the current CU and the current candidate splitting mode, noted RDcost(currCU , candidate _split_mode), is thus obtained.

In step 409, it is checked whether all available candidate splitting mode have been evaluated. If this is not the case, the process passes to step 410. Otherwise, the process passes to step 41 1 .

In step 410, the next candidate splitting mode from the set S of candidate splitting modes is selected and the process is iterated from step 404 for such a next candidate splitting mode.

In step 41 1 , all available candidate splitting mode have been evaluated. The candidate splitting mode bestSplitMode with the lowest RD cost is chosen among all candidate splitting modes that have been evaluated, i.e. for which a rate-distortion cost has been computed and stored.

In step 412, the current CU is encoded with the best splitting configuration bestSplitMode.

According to the decision process disclosed in figures 4A, 4B and 4C, the RD optimization process evaluates, for a given CU, each candidate splitting mode for that CU, one after the other. More precisely, the order in which coding unit splitting modes are evaluated is the following:

1 . NO_SPLIT

2. HOR

3. VER

4. HORJJP

5. HOR_DOWN

6. VER LEFT

7. VER RIGHT

8. QT_SPLIT (quad-tree splitting)

Several embodiments are disclosed below to decrease the computational complexity on the encoder side. They may be used independently or in combination.

Therefore, before starting to evaluate the asymmetric splitting mode, the encoder knows the Rate Distortion cost associated with the splitting modes NO_SPLIT, symmetric horizontal splitting and symmetric vertical splitting.

According to an embodiment of the present disclosure, this knowledge is exploited for reducing computational complexity of the encoding process.

According to an embodiment of the present disclosure, if the horizontal symmetric splitting is not sufficiently competitive in terms of RDcost compared to the NO_SPLIT configuration, then the horizontal asymmetric splitting modes are disabled, i.e the horizontal asymmetric splitting modes are not evaluated.

According to another embodiment of the present disclosure, if the vertical symmetric splitting is not sufficiently competitive in terms of RDcost compared to the NO_SPLIT configuration, then the vertical asymmetric splitting modes are disabled, i.e the vertical asymmetric splitting modes are not evaluated.

Such embodiments can be embedded in step 404 of the decision process disclosed in figure 4B. Such embodiments are disclosed by figure 5, in a successive way. Step 404 from figure 4B thus comprises the following steps.

In step 500, it is checked whether horizontal asymmetric splitting modes are allowed (HORJJP and HOR_DOWN) by checking the following condition is true:

(height / 4) >= uiMinBTSize

&& width <= uiMaxBTSize && height <= uiMaxBTSize && uiBTDepth < uiMaxBTD

&& (height % 3) ! = 0 If the condition is not true, the process passes to step 503. Otherwise, the process passes to step 501 . Let HOR_SPLIT_minRdCost and NO_SPLIT_MinRdCost be the rate distortion costs respectively associated with the best coding of the current CU according respectively to the HOR mode and NO_SPLIT mode. Let c N0 SPLIT be a factor, typically equal to 1 .1 .

In step 501 , it is checked of the following relationship is true:

HOR_SPLIT_MinRdCost > oc wo 5PLiT xNO_SPLIT_MinRdCost

If such a relationship is true, in step 502, all horizontal asymmetric splitting modes are disabled for the current CU.

In step 503, it is checked whether vertical asymmetric splitting modes are allowed (VER LEFT and VER RIGHT) by checking if the following condition is true:

(width I 4) >= uiMinBTSize

&& height <= uiMaxBTSize && width <= uiMaxBTSize && uiB Depth < uiMaxBTD

&& (width % 3) ! = 0

If the condition is not true, the process passes to step 506 and ends. Otherwise, the process passes to step 504.

Let VER SPLIT minRdCost be the rate distortion costs respectively associated with the best coding of the current CU according to the VER splitting mode.

In step 504, it is checked if the following relationship is true:

VER SPLIT MinRdCost > oc wo 5PLiT xNO_SPLIT_MinRdCost

If such a relationship is true, in step 505, all vertical asymmetric splitting modes are disabled for the current CU.

According to this embodiment, when an asymmetric splitting mode is selected at step 403 or step 410 as a candidate splitting mode, if the asymmetric splitting mode is disabled as the result of step 404 using the process disclosed with figure 5, then the process of figure 4B passes to step 409. If the asymmetric splitting mode is enabled, the process of figure 4B passes through the steps 405-408 for determining a rate-distortion cost for the candidate splitting mode.

According to another embodiment, if the symmetric horizontal and vertical splitting modes have been both evaluated, and if one of them performs significantly better than the other one, then asymmetric splitting modes are allowed only for the orientation (horizontal or vertical) associated with the symmetric splitting mode that performs significantly better. Such an embodiment can be used independently from the embodiments disclosed above or in combination with them.

If, both vertical and horizontal asymmetric splitting modes are enabled, the minimum RD cost respectively associated with the symmetric horizontal splitting mode and to the symmetric vertical splitting mode are compared. If the following relation is true: HOR_SPLIT_MinRdCost > a H0R _ VER _ SPLIT x VER_SPLIT_MinRdCost,

then the asymmetric horizontal splitting mode is likely to perform worse than the vertical asymmetric splitting mode. In that case, the horizontal asymmetric splitting mode is disabled, i.e. the horizontal asymmetric splitting mode is not evaluated. Here c H0R VER SPLIT is another multiplicative constant factor, typically equal to 1 .1 .

Reciprocally, if the symmetric vertical and horizontal minimum RD costs are such that:

VER SPLIT MinRdCost > K HOR VER SPLIT X HOR SPLIT MinRdCost,

then the vertical asymmetric splitting mode is disabled, i.e. the vertical asymmetric splitting mode is not evaluated.

According to another embodiment, the principle disclosed herein proposes to skip, i.e. to disable the asymmetric splitting modes of a coding unit, when the NO_SPLIT mode performs sufficiently well for encoding the current CU.

According to this embodiment, in step 404 of figure 4B, it is checked if the residual block delivered by the quantization module (for instance after transforming and quantizing the residual block RES on figure 3) has all its quantized transform coefficients equal to zero when the current CU is encoded in the NO_SPLIT mode. In that case, the asymmetric splitting modes are disabled and are not allowed as candidate splitting modes for the current CU.

According to a first variant, this embodiment is used only for coding the Luma component of the current CU.

According to another variant, this embodiment is used both for coding the Luma and Chroma components of the current CU.

Checking that the current CU encoded in the NO_SPLIT splitting mode with parameters P * has all its quantized coefficients equal to zero can be performed in a simple manner by checking the value of a syntax element CBF (Coded Bit Flag) flag associated with the current CU, in the considered component. Indeed, CBF indicates whether at least one transform coefficient for the component of the current CU is non-zero.

According to another embodiment, the present principle proposes to compare the RD cost associated with already evaluated splitting modes, with a partial RD cost of an asymmetric splitting mode being currently evaluated.

According to this embodiment, in the case of HOR_DOWN and VER RIGHT asymmetric splitting modes, the first subCU of the current CU spatially covers a large part of the embedding parent CU. Thus, if the asymmetric CU splitting mode is not efficient, such a splitting mode may lead to a RD cost associated with this first subCU that is higher than the RD cost of one of the RD costs of already evaluated splitting modes for the current embedding parent CU. If this is the case, then the asymmetric splitting mode under consideration is stopped. Such an embodiment is illustrated on figure 6A for the asymmetric splitting mode HORJDOWN and on figure 6B for the asymmetric splitting mode VER RIGHT.

This embodiment is embedded in the decision process disclosed in figure 4B as follows. In step 407, once the rate-distortion cost is obtained for the first subCU of the asymmetric splitting mode under consideration, such rate-distortion cost is compared to the rate-distortion costs obtained with previously evaluated splitting modes. By taking into account the order in which the splitting modes for a current CU are evaluated:

- the previously evaluated splitting modes are shown on the left side of figure 6A for the asymmetric splitting mode HOFMDOWN, and

- the previously evaluated splitting modes are shown on the left side of figure 6B for the asymmetric splitting mode VER RIGHT.

If the rate-distortion cost associated with the first subCU is higher than at least one of the RD costs of already evaluated splitting modes, then the evaluation of the second subCU obtained from the asymmetric splitting mode under consideration is disabled. Therefore, in the loop on the subCU,, in step 406, the decision process is not launched for the second subCU, and the rate-distortion cost for the considered asymmetric splitting mode is set to an infinite value or at least a very high value so that this asymmetric splitting mode is discarded at step 41 1 .

According to another embodiment of the present principle, the evaluation of an asymmetric splitting mode for the current CU may be enabled or disabled depending on a comparison of splitting lines resulting from the splitting of the current CU with the asymmetric splitting mode and from the splitting of the current CU with previously evaluated splitting modes.

An example of such enabling and disabling of asymmetric horizontal down splitting is illustrated on figure 7. On figure 7, the top-left situation illustrates the results of the decision process performed on a current CU (70, at depth 0 of the binary tree) for the horizontal symmetric splitting mode. The binary tree decision process performed recursively on the sub CU of the current CU (70) for a symmetric horizontal splitting of the current CU leads to two subCUs (71 and 72 at depth 1 on figure 7), with the lower subCU (72) being further split horizontally into subCUs 721 and 722 (with binary tree depth equals to 2) and with the lower subCU 722 of the subCU 72 being further split vertically into the subCUs 7221 and 7222 with binary tree depth equal to 3. According to the present embodiment, when evaluating the horizontal asymmetric splitting mode HOR_DOWN for the current CU (right side of figure 7 illustrating the current CU 70 asymmetrically split into sub CUs 73 and 74 with binary tree depth equals 1 ), the asymmetric splitting mode is allowed because the horizontal symmetric splitting mode of the current CU has led to a topology close to the topology of the HOR_DOWN splitting mode of the current CU. That is, there is a subCU (722) of the horizontal symmetric splitting mode of the current CU that corresponds to a subCU (74) of the horizontal asymmetric splitting mode. The splitting line L1 is co-located with the splitting line L2. In this case, the subCU 72 is said to be co-located with the splitting line L2 because it contains the splitting line L2.

On the contrary, the bottom-left of figure 7 illustrates another result of the decision process performed on the current CU 70 for the horizontal symmetric splitting mode. The binary tree decision process performed recursively on the sub CUs of the current CU (70) for a symmetric horizontal splitting of the current CU leads to two subCUs (75 and 76 at depth 1 on figure 7), with the higher subCU (75) being further split vertically into subCUs 751 and 752 (with binary tree depth equals to 2). Here, the lower subCU (76) is not further split (i.e. its BT Depth is not increased). Thus the HOR_DOWN splitting mode is disabled for the current CU as the horizontal symmetric splitting mode does not lead to a topology close to the topology of the HORJDOWN splitting mode of the current CU. Indeed, there is no splitting line in subCU 76 that is co-located with the splitting line L2 in current CU.

Such an embodiment can be implemented in the binary tree decision process disclosed in figure 4B by evaluating the Binary Tree depth (called BT depth for short) of the coding unit resulting from the evaluation of the symmetric splitting mode with the same orientation than the orientation of the asymmetric binary splitting mode currently being considered as a candidate splitting mode.

More precisely, the BT depth of the subCU (72 or 76 in the examples of figure 7) which is obtained from a symmetric splitting mode and which contains the splitting line L2 of the asymmetric splitting mode is considered. If this BT depth is higher than the BT depth d of current parent CU (70) plus 1 , then the considered asymmetric splitting mode is going to be evaluated. Otherwise, the evaluation of the considered asymmetric splitting mode is disabled. In the case of figure 7, the top left example shows a case where the chosen CU representation after symmetric horizontal splitting leads to a BT depth higher than the current BTdepth+1 for the lower part of the parent CU. In that case, according to this embodiment, evaluating the HOFMDOWN asymmetric splitting mode is enabled.

On the contrary, if the RD search for the symmetric horizontal splitting mode of the current CU leads to the splitting configuration shown on the bottom left of figure 7, then the BT depth of the lower part of the CU is equal to current BTdepth+1 . In that case, according to the present embodiment, the evaluation of the HOR_DOWN splitting mode for the current parent CU is disabled.

Step 404 from figure 4B further comprises the following operations.

If the horizontal asymmetric splitting is allowed (i.e. checks on width and height of the current CU disclosed above),

o Let BT_depth_HOR_0 be the BT depth of the top sub-CU selected by the RD search already performed for HOR split mode, o Let BT_depth_HOR_1 be the BT depth of bottom sub-CU selected by the RD search already performed for HOR split mode,

o If BT_depth_HOR_0 is less or equal to current BTdepth+1 , then disable HORJJP split mode RD search,

o If BT_depth_HOR_1 is less or equal to current BTdepth+1 , then disable

HOR_DOWN split mode RD search.

If the vertical asymmetric splitting mode is allowed (i.e. checks on width and height of the current CU disclosed above),

o Let BT_depth_VER_0 be the BT depth of left sub-CU chosen by the RD search already performed for VER split mode,

o Let BT_depth_VER_1 be the BT depth of right sub-CU chosen by the RD search already performed for VER split mode,

o If BT depth VER O is less or equal to current BTdepth +, then disable

VER LEFT split mode RD search,

o If BT_depth_VER_1 is less or equal to current BTdepth+1 , then disable VER RIGHT split mode RD search.

According to another variant of the present embodiment, disabling an asymmetric BT splitting mode also depends on the BT depth of the symmetric sub-CU corresponding to the larger sub- CU of a candidate asymmetric splitting mode to be evaluated. Basically, the symmetric sub- CU corresponding to the larger asymmetric sub-CU should not have been split further in a symmetric way, in order to allow RD search for the considered asymmetric splitting mode. According to this variant, step 404 from figure 4B further comprises the following operations. If horizontal asymmetric splitting is allowed:

o Let BT_depth_HOR_0 be the BT depth of top sub-CU chosen by the RD search already performed for HOR split mode,

o Let BT_depth_HOR_1 be the BT depth of bottom sub-CU chosen by the RD search already performed for HOR split mode,

o If BT_depth_HOR_0 < current BTdepth+1 or BT_depth_HOR_1 > current BTdepth+1 then disable HORJJP split mode RD search,

o If BT_depth_HOR_1 < current BTdepth+1 or BT_depth_HOR_0 > current

BTdepth+1 then disable HOR_DOWN split mode RD search.

If vertical asymmetric splitting mode is allowed: o Let BT_depth_VER_0 be the BT depth of left sub-CU chosen by the RD search already performed for VER split mode, o Let BT_depth_VER_1 be the BT depth of right sub-CU chosen by the RD search already performed for VER split mode,

o If BT_depth_VER_0 < current BTdepth+1 or BT_depth_VER_1 > current

BTdepth+1 , then disable VER LEFT split mode RD search,

o If BT_depth_VER_1 < current BTdepth+1 or BT_depth_VER_0> current

BTdepth+1 , then disable VER RIGHT split mode RD search.

According to another variant of the present embodiment, disabling an asymmetric BT splitting mode depends on the BT depth and splitting mode of the symmetric sub-CU corresponding to the position of the candidate asymmetric binary mode to be evaluated. Basically, the symmetric sub-CU corresponding to the position of the asymmetric splitting should have at least one BT Splitting Mode of a same orientation as candidate asymmetric splitting mode for a depth greater than BTdepth+1 .

According to this variant, step 404 from figure 4B further comprises the following operations. If horizontal asymmetric splitting mode is allowed:

o Disable all horizontal asymmetric split mode RD search,

o For depth = BTdepth+1 to the maximum Depth allowed for a binary tree, the following loop applies:

Let BT_mode_HOR_0 be the binary tree mode (BTMode) for depth of the top sub-CU chosen by the RD search already performed for HOR split mode, ■ Let BT_mode_HOR_1 be the BTMode for depth of the bottom sub-CU chosen by the RD search already performed for HOR split mode,

If BT_mode_HOR_0 == HOR then enable HORJJP split mode RD search,

If BT_mode_HOR_1 == HOR then enable HOR_DOWN split mode RD search.

If vertical asymmetric splitting mode is allowed: o Disable all vertical asymmetric split mode RD search,

o For depth = BTdepth+1 to the maximum Depth allowed for a binary tree, the following loop applies:

Let BT_mode_VER_0 be the BTMode for depth of left sub-CU chosen by the RD search already performed for VER split mode,

■ Let BT_mode_VER_1 be the BTMode for depth of right sub-CU chosen by the

RD search already performed for VER split mode,

If BT_mode_VER_0 == VER then enable VER LEFT split mode RD search,

If BT_mode_VER_1 == VER then enable VER RIGHT split mode RD search. According to another embodiment of the present disclosure, to speed-up the encoder side rate distortion optimization process, some tools are disabled when asymmetric coding units are used.

As an example, the RSAF (Reference Sample Adaptive Filtering) tool is switch off for the coding units that have a size multiple of 3. The RSAF tool aims at filtering the reference samples of the causal spatial area used to intra predict a current CU. A loop between at least 2 RSAF modes (on and off) shall be performed, and the RD optimization of the coding units is performed for these at least two modes.

According to the present embodiment, the RSAF tool is systematically disabled for the CU of size 3 2 n . Thus, the coding process is faster, and the loss in compression efficiency is limited.

According to a variant of this embodiment, other tools that imply a large amount of time spend in the RDO process can be disabled. For example, the PDPC (Position Dependent Predictor Combination) consists in performing intra prediction that is adaptive to each predicted sample position. As for RSAF, the RDO process for PDPC implies a loop that iterates on several PDPC modes to predict a current intra CU. In this variant, only a subset of PDPC modes are used for CUs with a size multiple of 3. According to another variant, the PDPC tool is fully de-activated for CUs with a size multiple of 3.

Figure 8 illustrates the simplified structure of an apparatus (30) for encoding a picture according to an embodiment of the present principle. Such an apparatus 30 is configured to implement the method for encoding a video according to the present principle according to any embodiments disclosed above. The functional units of the encoder apparatus 30 have been disclosed in reference to figure 3. The structural apparatus 30 disclosed below may be configured to implement each of these functional units individually or in combination, and according to any one of the embodiments of the principle disclosed above.

According to an embodiment, the encoder apparatus 30 comprises a processing unit PROC equipped for example with a processor and driven by a computer program PG stored in a memory MEM and implementing the method for encoding a video according to the present principle.

At initialization, the code instructions of the computer program PG are for example loaded into a RAM (not shown) and then executed by the processor of the processing unit PROC. The processor of the processing unit PROC implements the steps of the method for encoding a video which has been described here above, according to the instructions of the computer program PG.

The encoder apparatus 30 comprises a communication unit COMOUT to transmit an encoded bitstream STR to a data network.

The encoder apparatus 30 also comprises an interface COM IN for receiving a picture or a video to encode.