The present application is a 371 US National Stage Entry of International Application No. PCT/GB2018/053551, filed Dec. 6, 2018, which claims priority to European Application No. 17386046.1, filed Dec. 6, 2017, European Application No. 18386002.2, filed Feb. 8, 2018, United Kingdom Application No. 1812407.3, filed Jul. 30, 2018, and United Kingdom Application No. 1815437.7, filed Sep. 21, 2018, the disclosures of which are hereby disclosed herein in their entireties.
The invention broadly relates to the field of encoding and decoding data, such as image data and video data and content delivery. In particular the invention relates to a method of encoding video data and metadata in an efficient manner which allows for parallelisation of the encoding and decoding process.
It is known to encode data, such as image data and video data, for storage or streaming in order to reduce the amount of storage space needed to store the data or the bandwidth required for transmission of the data. By way of example, techniques to encode and decode video data are well known and commonly used, for example the H.264/AVC standard uses a combination of image compression and motion-based estimation techniques to encode video data into an encoded video stream, and then to decode the encoded video stream into a very close approximation of the original video data.
An encoded video stream is typically encoded at a bitrate. The bitrate will vary depending on several factors, one of which is the bandwidth available for streaming the encoded video stream. The lower the bandwidth, the lower the available bitrate of the encoded video stream. Ultimately, the bandwidth defines the quality of the video stream delivered because relatively low bitrates require relatively coarse quantization, i.e. a relatively large quantization parameter (QP). Where a large bandwidth is available, then a finer quantization can be used, i.e. a relatively small quantization parameter (QP). This process is part of a broader rate control mechanism employed when creating encoded video streams.
Video data may be encoded in real time at a bitrate altered in accordance with the amount of available bandwidth between the encoder and a decoder, or encoded and stored in advance of demand and decoding, either as a single bitrate encoded video stream, or in segments representing video data encoded at different bitrates, so that multiple video streams exist and a stream is selected based on the available bandwidth. A decoder may switch between the different bitrate streams dynamically as the bandwidth changes. It is also known to encode video data in a hierarchical manner. In such encoding techniques, residual data (i.e. the data required to correct relatively low quality information present in the base layer) is used in progressively higher levels of quality. All of this results in increasingly complex and sophisticated techniques for encoding and decoding data, such as image or video data.
Metadata can be used to provide a better understanding of the underlying data, especially at a decoder, and as such enable improved rate control techniques and ultimately improved data reproduction quality. However, the improvements to data reproduction quality that arise with the use of metadata must be balanced with the associated processing and time cost of calculating the metadata, storage cost for storing the metadata, and bandwidth cost for transmitting the metadata. There exists a need for improved metadata techniques for data encoders and decoders to alleviate one or more of these problems, especially for image or video encoding and decoding. In particular, there exists a need for new metadata structure which allows for at least one of lower processing cost in generating the metadata, lower storage costs for storing the metadata and lower bandwidth requirements for transmitting the metadata. Also, there exists a need to create a metadata structure which enables more efficient decoding of an encoded data stream.
Accordingly in order to mitigate some of the above problems there is provided in a first aspect of the invention an encoder and method of encoding a signal, the method comprising: obtaining a dataset to be encoded, said dataset being indicative of one or more properties of the signal; mapping the dataset into a data structure, said data structure defining instances of data, wherein the mapping of the data comprises the steps of subdividing the dataset into a plurality of tiles, each tile defining a block of elements in said dataset; subdividing each tile into a plurality of sub-blocks; defining for each of the plurality of sub-blocks a corresponding node; assigning a value to each node, said value indicating whether the sub-block corresponding to said node contains data above, equal or below a threshold value; and mapping the assigned values into a first level of the data structure.
In accordance with a further aspect of the invention there is provided a decoder and a method of decoding a stream of encoded data the method comprising, at a decoder: receiving an encoded dataset comprising multiple tiles; receiving a data structure, said data structure indicative of the amount of data required to encode a plurality of tiles; identifying a portion of the encoded dataset to be decoded by: identifying the tiles associated with the portion to be decoded; determining the location of data related to the tiles based on the amount of data required to encode said tiles; extracting the identified portion of the encoded dataset from the encoded dataset; and decoding said identified portion of the encoded data set.
In accordance with yet another aspect of the invention there is provided a decoder and a method of decoding a stream of encoded data, the method comprising, at a decoder: receiving an encoded dataset comprising a plurality of tiles; receiving a data structure, said data structure indicative of the distribution of data above, below or equal to, a threshold value for the plurality of tiles; identifying the tiles to be decoded in the data structure which have data above, or equal to, the threshold value decoding the identified tiles.
In accordance with yet another aspect of the invention there is provided a decoder and a method of decoding a stream of encoded data, the method comprising: receiving an encoded dataset comprising a plurality of tiles; receiving a data structure, said data structure indicative of the amount of data required to encode each of the plurality of tiles; identifying a plurality of portions of the encoded dataset to be decoded by: identifying the tiles associated with each portion to be decoded; for each portion determining the location of data related to the tiles for said portion based on the amount of data required to encode said tiles associated with said portion; for each said identified portion, extracting said portion from the encoded dataset; and decoding said a first portion of the encoded data set with a first decoder, and decoding a second portion of the encoded data set with a second, different, decoder.
There is also provided a hierarchical data structure for encoding an image, the data structure including a plurality of levels of quality, each level of quality comprising a plurality of tiers, each tiers comprising one or more data elements. Optionally wherein each level of quality defines a respective set of encoded data which, when decoded, enable a decoder to reconstruct the image up to a desired level of quality; each tier comprises one or more data elements, said data elements being defined depending on the type of tier, and wherein: for a tier of a first type, a first type of data element is defined comprising a subset of the set of encoded data; and for a tier of a second type, a second type of data element is defined comprising one or more attributes associated with the first type of data element.
By defining the data structure required to map the instances of where residual data occurs within a frame of data, it is possible to provide a faster decoding and encoding methodology. In particular the amount of data used to encode the data is sparsified thus reducing the amount of data which needs to be read during decoding. Furthermore, the data, and metadata describing the structure of the data allows for individual portions of the frame to be selectively decoded without reference to other portions of the frame. Thus it is possible to parallelise the decoding process.
Other aspects of the present invention will be apparent from the appended claims.
Embodiments of the invention will now be described with reference to the accompanying drawings, in which:
Embodiments of the present inventions will be now described with reference to the attached Figures. It is to be noted that the following description is merely used for enabling the skilled person to understand the present inventions, without any intention to limit the applicability of the present inventions to other embodiments which could be readily understood and/or envisaged by the reader.
The present invention provides a methodology and apparatus for encoding, and decoding, data, in particular, but not exclusively, image and video data. Specifically, the invention provides a methodology for encoding data which is to be encoded and providing and encoding associated metadata in an efficient manner. Additionally, the invention provides a methodology for decoding the encoded data using their associated metadata in an efficient manner. For ease of reference, in the following description the data which is to be encoded are considered as being residual data, but other suitable data to be encoded could be used, for example RGB values, YUV values, etc.
In
The streaming server 102 comprises an encoder 104, the encoder configured to receive and encode a first data signal utilising the methodology described herein. For ease of understanding the following is described with reference to video data as the data signal, although other types of data (such as, for example, images) may be encoded. The streaming server 104 is configured to deliver an encoded data stream, for example a video stream 106 to a plurality of client devices 130 and 132, such as set-top boxes, smart TVs, smartphones, tablet computers, laptop computers etc. Each client device 130 and 132 is configured to decode and render the encoded video stream 106. In further embodiments the encoded data stream, comprises different data such as images/pictures.
For ease of understanding, the system 100 of
The streaming server 102 can be any suitable data storage and delivery server which is able to deliver encoded data to the client devices over the network. Streaming servers are known in the art, and use unicast and/or multicast protocols. The streaming server is arranged to encode, and often store, the video data, and provide the encoded video data in one or more encoded data streams 106 to the client devices 130 and 132. Each encoded video stream 106 is generated by the encoder 104. The encoder 104 in
The encoder 104 further comprises a rate controller 108. The rate controller 108 is a software module which determines the bitrate at which the video data is to be encoded. In an embodiment, the rate controller 108 manages the rate control for a single-pass encoder 104, though in further embodiments the encoder 104 is a multi-pass encoder. Part of the functionality of the rate controller 108 is to take a target bit and determine the relevant parameters (such as quantisation parameter (QP)) in order for the encoder 106 to produce an encoded data stream at or near the target bitrate. The functionality of such a rate controller 108 is known in the art.
The rate controller 108 further comprises a rate controller manager 110. The rate controller manager 110 is a software module which determines a target bitrate for the rate controller 108. The functionality of the rate controller manager 110 is described in detail below with reference to
The client devices 130 and 132 are devices known in the art and comprise the known elements required to receive and decode a video stream, such as a processor, communications port and decoder. The decoder being configured to decode the encoded data stream 106.
An video stream is received at and encoded by the encoder 104 to generate the encoded data stream 106. As described in detail below the parameters used to encode the video stream are determined by the rate controller manager 110 and the rate controller 108.
An aspect of the invention is the creation of a data structure which is used to encode a data signal, and the metadata required to decode the data signal in a low bandwidth and efficient to decode manner. In the following description, for ease of reference we will refer to a specific type of data signal, namely video data, but it is to be understood that this is not a limitation and that the invention is equally applicable to any suitable type of signal, including for example still pictures, images, 3D scans, tomographic pictures, satellite images, radar images, telemetry data, sound signals, etc.
The video data can have any suitable frame size as required. Each frame is subdivided into a plurality of tiles, preferably each of the tiles being of equal size. The tile size may be any size and is defined herein as an N×N tile. In an embodiment, the tile size may be one of 64×64, 32×32, 16×16, 8×8 etc. For ease of understanding the following process is described with reference to a tile of 16×16 elements, however this is purely exemplary.
An aspect of the invention is to define a data structure which enables a data signal, such as video data, to be encoded in a sparsified manner to reduce the bandwidth required to stream the video data at a level of quality, and which allows a decoder to decode the encoded data stream more efficiently (or, in the case of stored video data, to reduce the amount of data storage needed to store and decode). As described in greater detail below, the video data is encoded using a tree structure in a bottom to top manner. For ease of reference, in the following we will refer this tree to a quadtree, but other structure can also be used. Conceptually, the data structure identifies instances of where data to be encoded is present in the video data and maps where that data is present. Areas in which there is no data to be encoded is therefore also identified, in a low-cost manner. As a result, a reduction in the bandwidth required to transmit the encoded data stream and associated metadata information may be achieved. As explained in detail below, the data structure also allows for the data to be encoded in parallel, and separately decoded in parallel. The data structure also allows for more efficient decoding. These advantages will become clearer on reading the following description.
In order to decode the data structure, metadata describing the data structure is required so as to allow the decoder to understand the structure of the encoded data and decode the data.
It is to be noted that the present invention can be used with any type of data to be encoded. In the exemplary case of video signal, the type of data to be encoded can vary depending on the way the video signal is processed. For example, in a hierarchical approach such as the one discussed in further details here or, for example, in U.S. Pat. Nos. 8,977,065, 8,948,248, 8,711,943, 9,129,411, 8,531,321, 9,510,018, 9,509,990, which are incorporated herein by reference, a video signal is typically divided in individual frames, each comprising a certain number of values (e.g., pixels). The signal may then be processed recursively to reduce it in size (e.g., a full frame of Y×Z pixels (e.g., layer 0) is down-sampled into a first down-sampled frame of Y/2×Z×2 pixels (e.g., layer −1), and then again in a second down-sampled frame of Y/4×Z×4 pixels (e.g., layer −2), and so on and so forth) before then being encoded. What gets encoded is not necessarily an absolute value of the pixel, but for example a value associated with a relative difference between pixel values. For example, a difference may be taken between the value of the pixels at layer −1 and the value of an up-sampled version of the pixels at layer −2 in the same positions. This difference may be sometimes referred to as residuals. The residuals may be further processed using a transformation to generate transformed residuals (e.g., see U.S. Pat. No. 9,509,990 for an example of such transformation), for example to further reducing the entropy and improve the efficiency of the encoding process. In the present description and claims we refer to the term “residuals” or “residual data” to describe either the residuals or the transformed residuals, as the present invention would equally apply to both. Accordingly, in the exemplary hierarchical structure described above, the residuals can be considered as a type of data to be encoded as described in this patent application. In other examples, the pixel values of a frame of a video signal may be directly encoded without taking any difference with respect to a reference frame (and thus generating some form of residuals), or a different type of residuals may be encoded (e.g., temporal residuals such as those in MPEG standard like H.264). In that case, the pixel values or the other types of residuals can be considered as the type of data to be encoded.
The process described herein provides a methodology for mapping a frame of data to be encoded to a sparse hierarchical structure. As discussed above, these data could be residuals, pixel values, etc. By mapping in the below described manner, video data frames can be “sliced” into independent tiles. Each tile can be encoded and decoded separately thus allowing for parallelism. Furthermore, when encoding and decoding data at multiple levels of quality, the below described method allows for each level of quality to be decoded without any knowledge of the preceding level of quality. This is an important advantage and the skilled reader will appreciate that this ability increases the efficiency and flexibility of the decoder.
The following is described, for ease of understanding, with respect to a single frame of data to be encoded taking the form of residual data at a first level of quality. In further embodiments, the frame may contain raw pixel value, luma, chroma, etc. Such a frame can be of any size, and can be subdivided into a number of tiles, each tile being N×N in size. For ease of understanding, the following is described with reference to a tile of 16×16 elements, e.g. 16×16 residuals.
The process described herein results in the encoding of the data, such as residual data, as well as a data structure used to map the occurrences of the data in the encoded data. There is also provided the ability to encode metadata (such as the number of bits required to encode the residual data) and describe the structure metadata in further data structures. Thus, the encoding process results in the encoding of the data, metadata describing the data and data structures to map the data and metadata. There is also described a decoding process in which the data structures are used by the decoder to read the encoded data. As described in detail below by providing the metadata and the data structures to the decoder, it is possible for the decoder to determine the location of data within an encoded data stream and selectively decode the part of the data stream of interest.
As can be seen in
As shown in
The presence of residual data is typically indicative of the presence of a feature, or an edge in image data (as such features are known to include frequencies too high to be captured in a lower level of quality). As explained in further detail below the following process allows for residual data to be encoded for all corresponding pixels in an efficient manner. In particular, the data structure identifies areas, or regions, within the tile which have residual data (e.g. where edges are present).
As is known when encoding residual data, some groups of nearby elements will have all zero values (indicating that there is no reason residual data associated with the elements) and some elements will have a non-zero value. Accordingly, not every element within the tile will be non-zero. An aspect of the described process is that a high proportion of elements need not be encoded (and therefore decoded), for example where the elements have zero value, or have a value at or below a threshold value. The described process identifies blocks of residual data on the tile and only encodes (and therefore decodes) the necessary blocks, thereby sparsifying the data. This sparsity is represented in
Accordingly, this sparsity can be utilised to increase the speed of encoding and decoding by only encoding and decoding the non-zero values. In contrast, a dense approach would encode and decode every value within a tile regardless of whether or not it is zero. Such an approach can be inefficient when large amounts of the data is zero. Furthermore, as explained in detail below, the process allows for individual portions, or elements, of the frame to be decoded separately, without reference to other elements. Thus, it possible to decode the data encoded in the manner described utilising multiple separate decoders thereby allowing for parallelisation of the decoding process.
An aspect of the invention is therefore the efficient means by which the non-zero elements of a tile can be identified, and used.
In an embodiment, a sparse quadtree data structure is used to identify the elements of the tile containing non-zero values during encoding and decoding.
In
As an example, leaf node 403 maps to an item of residual data 404. By traversing the quadtree from the root node 406 in a set traversal order (e.g. depth first), each element on the row 402 can be read in the same order during encoding and decoding. As mentioned above, reading every item of residual data on the row in the above manner can be inefficient. This inefficiency is particularly evident when only some of the residuals are non-zero.
An aspect of the invention is to identify regions of a tile that are empty (i.e. the residual values of every element within that region are zero) at the lowest possible level on the tree to improve the efficiency of the encoding and decoding process. Returning to
Accordingly, a sparse quadtree 400A is used. A sparse quadtree is defined in the same ways as a dense quadtree but with empty nodes. In the sparse quadtree, each parent node has either exactly four child nodes, or no children. This is in contrast to the quadtree in
As an example, inner node 414 is empty because its leaf nodes all map to residual values of zero, e.g. 416, 416A. During traversal of a sparse quadtree, children of a node are only visited if said node is not empty. Accordingly, if an empty node is visited during traversal, then the traversal does not continue to said empty node's children as they will all, by definition, be likewise empty.
During decoding, the tree 400A is traversed in a bottom to top definition; that is, the tree 400A is traversed from the lowest level to the highest level. In an embodiment, the tree is traversed in a depth-first manner. Doing so is equivalent to visiting the elements of the N×N tile in a z-order traversal. This allows for spatial information to be utilised as part of the encoding and decoding process. It further ensures that the elements are decoded in the same order that they are encoded. In further embodiments, other traversal methods could be employed to utilise further aspects of the structure of the tile.
Thus, the sparse quadtree data structure defines the instances and location of residual data.
The process described with reference to
For ease of reference the following is described with reference to a tile of data, for example residual values, said tile is 16×16 pixels in size. In further embodiments, the following process can be used for tiles of different sizes, for example 8×8, 32×32, 64×64, etc.
The process described herein provides a methodology for mapping a tile of data (residual data, metadata or any other form of data) from a first frame of video data, in a hierarchical tree structure, as a sparsified quadtree. As described in detail below, by mapping in the below described manner the amount of data to be encoded (and consequently subsequently decoded) is reduced. Furthermore, when the process is used to encode the data stream at multiple levels of quality, in a hierarchical manner, the described data structure removes any requirement of the preceding or proceeding level of quality. Thus, a level of quality may be encoded, and decoded separately and without reference to any other layer. Thus, in contrast to many known hierarchical encoding schemes, where there is a requirement to decode the lowest level of quality in order to decode any higher levels of quality, the described methodology does not require the decoding of any other layer of quality.
An aspect is that the hierarchical tree structure defines instances of when data is present (and therefore needs to be encoded) and provides a mapping to identify where (positionally in the tile) such data is present. As explained below, as the encoding is done in a bottom-to-top manner, areas of the frame where no data is present are identified in a manner that reduces the amount of data to be encoded, thus sparsifying the data.
The following is described, for ease of understanding, with respect to a single frame of video data encoded at a first level of quality.
At step S102 a first frame of video data to be encoded is received. The video data may be stored locally, or received from an external source such as a server.
The first frame of video has associated with it, metadata, or data, describing a first property of the frame.
The step of determining the residual data associated with the first frame of video data may be performed by using any known, suitable, method in the art. The present invention defines a methodology for encoding the residual data and any further metadata for a frame in an effective manner. As the data can relate to residual data, the process described herein can be used to encode enhancements for the frame of video data.
At step S104 residual data is determined. The step of determining the residual data can occur using any known process, for example the process of subtracting a reference signal from a reconstructed signal such as described in patent publication number WO2013011494, the contents of which are incorporated by reference.
At step S104 therefore, in an embodiment, for each pixel the residual data for the first frame of video is determined, thereby defining a residual frame.
In further embodiments, the residual frame has been previously determined, and stored in a memory. In such embodiments, the residual frame is sent to the encoder at step S104 and encoded as part of the encoded data stream.
The following steps of the method define a novel methodology for defining and storing metadata which maps the distribution of the residual data.
At step S106 the residual frame is subdivided into a plurality of tiles. The tiles in a preferred embodiment are regularly sized across the frame, and define a 16×16 pixel tile.
An example of a tile of residual data is shown in
As described with reference to
In order to define where instances of residual data occur on a tile, at step S108 a 16×16 tile of residuals is converted, by performing a binary mapping operation, to binary values. Each element is assigned a binary value depending on the value of the element. If an element has a non-zero residual value the equivalent element in the binary map is assigned a value of “1”, otherwise it is assigned a value of “0”. In further embodiments, a non-zero threshold value is used. For example, if it is determined that a certain non-zero residual value may be considered as acceptable then such a value may be used as a threshold, and therefore if the element is above the non-zero threshold value it is assigned a value of “1”, if it is below the non-zero threshold value it is assigned a value of “0” (a value equal to the non-zero threshold value may be assigned a “0” or a “1” depending on how the process is implemented). Note that “0” and “1” are simply equivalent logical binary numbers to identify two alternatives—in other words, they can be either actual number (zero and one) or two equivalent logical values.
The binary map produced at step S108 is, by definition, the same size of the tile of residual data (e.g. 16×16) and defines the location of the elements which contain residual data within the tile of residual data. As the data is defined in a sparsified manner it defines a 16×16 level of sparsification (LOS) which maps the residual data. In an embodiment, the 16×16 LOS is not encoded as part of the encoded data stream as such data is redundant in the encoded data stream in view of the residual data held in Tier-0. However, such data is used to define further levels of sparsification.
The following process is used to identify the largest possible areas within the tile which do not contain any residual information. If it is possible to identify a portion of the tile (e.g. an 8×8 element) as containing no residual information then the data requirement to describe such a portion is reduced to zero. Accordingly, steps S112 to S118, may be considered as defining areas of the tile which do not contain residual data.
An example of the 16×16 LOS of
Therefore, the 16×16 LOS maps, on a pixel-by-pixel basis where residual data is present.
Thus, it defines the highest level nodes of the quadtree data structure 600A.
At step S110 the 16×16 LOS is subdivided into a plurality of datasets. Each dataset is preferably a quad of 2×2 pixels. Thus, the 16×16 LOS is subdivided into an 8×8 arrangement of non-overlapping 2×2 quad datasets. This 8×8 structure defines an 8×8 LOS.
Thus, it defines the next level down in the quadtree data structure.
Furthermore, at step S110 the datasets are grouped into nodes. Each node comprises a 2×2 grouping of datasets.
Each dataset is associated with a node of 2×2 datasets. In the example shown in
At step S112 each dataset is associated with a node. In the preferred embodiment, a node is defined a 2×2 quad of datasets.
An example of the node N is shown in
At step S114 each dataset is assigned a single value, said single value being indicative if the pixels which define each dataset contains any residual information above a threshold, or a non-zero value. If step S108 is performed and a binary mapping occurs the threshold value is any value above “0”. In further embodiments, the threshold value may be any value.
Part of the invention is to define the structure of the metadata, via the tree structure, using the minimum amount of information. An aspect of the invention is that if it is determined that all of the quad datasets (e.g. A, B, C, D) which define the node N do not contain any residual data, then all pixels which form the node can be identified as containing no residual data. As such the node is finalised and no further high-level definition of the tree structure is required. However, it may be possible to identify if the node is part of a larger structure which does not contain any residual information. Conversely if any of the quad datasets which form a node contain residual data then further high-level data is required to define where the residual data occurs.
At step S116 a 4×4 LOS is determined for the structure. As with the creation of the 8×8 LOS, which is created by grouping data from the higher level (i.e. the 16×16 LOS), the 4×4 LOS is created by grouping the 8×8 LOS into datasets defining 2×2 quads, or child node, and each quad is assigned a binary value based on the values of the 8×8 LOS elements which form the quad. In the example shown in
The 4×4 LOS is determined in the same manner as the 8×8 LOS. Each 2×2 quad, or descendant node, of data structures is assigned a binary value based on whether any of the elements contains a non-zero value. In the example shown in
At step S118 a 2×2 LOS is also defined based on the 4×4 LOS values, which occurs in the same manner.
As can be seen from the above process if one of the elements of the 2×2 LOS is identified as having no residual data, then during encoding it possible to essentially ignore, or bypass, one quarter of the frame as there is no data to be encoded.
Each 2×2 quad at each of the levels 902, 904, and 906, is used to define an element in the proceeding level in a hierarchical manner. For example, the 2×2 quad 910 at level 902 is used to define the value of element 912 at level 904. Within the 2×2 quad 910, there is at least one non-zero value and as such a value of 1 is recorded at 912. The values within the 2×2 quad 914 at the 8×8 LOS 904 are then used to define the value 916. Subsequently, the values within the 2×2 quad 918 at the 4×4 LOS 906 are used to define the value 920 at the 2×2 LOS 908.
As detailed above, as the residual data is defined, the 16×16 LOS is redundant as the information is already present in the residual data. However, as seen above the 16×16 LOS may be used in the process of determining the 8×8 LOS.
Returning to
The sparse quadtree topology is therefore encoded into the data stream. In an embodiment for each quad of nodes (i.e. the 2×2 node structure) a node value may be assigned to indicate whether the node has data or not. This value is called a T-node value If the node has no data then there is no need to send any further data relating to the empty nodes to define the sparse quadtree structure as such information is redundant.
For example if a 16×16 tile contained one quad having no sparsified elements the stream of the Tile (comprising the topology of the sparse quadtree and the residual data) may be encoded as follows:
0100 (T-Node for 2×2 LOS)
1000 (T-Node, 4×4 LOS)
0100 (T-Node, 8×8 LOS)
Res1
Res2
Res3
Res4
The T-Node for the 2×2 LOS defines that only a single quad has residual data. As three of the four quads have no data below the 2×2 LOS there is no need to define any further data for the quadtree topology. Therefore there is only a single T-Node for the 4×4 LOS and 8×8 LOS as all other values are empty. Finally the residual data values (Res1, Res2, Res3 and Res4) are defined. Thus the structure is provided in a sparsified manner to remove any redundancies in the data.
By way of a further example if two neighbouring quads were non-sparsified the data stream might have the form:
0100 (T-Node)
1000 (T-Node)
0110 (T-Node)
Res1
Res2
Res3
Res4
Res5
Res6
Res7
Res8
where in the same manner described above, it can be seen that the redundant data is not encoded.
In an embodiment, where all the values of the T-Node contain data, the data for the T-Nodes can be replaced a single bit of metadata to indicate that all the T-Nodes for a Tessera have a value of 1111. In such cases the tree need not encoded or decoded as the value for all nodes is constant.
At step S122 a check is made to test whether all tiles produced at step S106 have been encoded. If there are still tiles left to encode, then the process moves to step S108 and the above described process is repeated for the next tile. If there are no tiles left to encode, then the process terminates.
As such the process defines, in a sparsified manner, a data structure which defines instances of residual data.
A data structure as described above is said to belong to Tier-0. For a frame of video data, Tier-0 corresponds to the set of all data structures created using the above described process to define instances of residual data.
An aspect of the invention is that the tile and quadtree structure described above is a specific example of a generic abstract data type referred to herein as a Tessera.
A Tessera is defined as an abstract data type used to represent a fixed size encoding unit. The encoding unit can be of any size N×N, such as 2×2, 4×4, 8×8, 16×16, 32×32, etc. A Tessera is used to represent the values and structure of a fixed size block of data.
A Tessera comprises a fixed size block of data and further comprises a structure used to map the locations of the data on said block of data. As described above, in an embodiment a Tessera comprises a sparse quadtree to map the locations of the data. In further embodiments, other structures may be used such as octrees.
In an embodiment, a Tessera may further comprise further information, such as header information, relating to further aspects of a Tessera required for encoding and decoding.
A Tessera used to represent residual data, as described above, is referred to as a Tessera of residual data. Accordingly, an individual Tessera takes on a parametric type. The parametric type defines what is stored on the fixed size block of a Tessera. In an embodiment, this parametric type is residual information. In further embodiments, other parametric types may be used such as metadata, luma, chroma, etc.
In an embodiment, a Tessera may further comprise a mapping function that is applied to the values held on a Tessera during encoding and decoding.
In an embodiment, when a Tessera is encoded, a mapping function may be used to calculate the value to be encoded. At a specific location i on an N×N block, where i is in the range [0, N2), the value of the element at said position is represented as ui and the value to be encoded is represented as vi. The mapping function, ƒ( ), can be used to calculate the value to be encoded from the value of the element such that
vi=ƒ(ui) (2)
In an embodiment, the mapping function is set to identity such that
In a further embodiment, the mapping function is set to be the prefix difference function such that
where u0=0.
Thus, as explained below, by selecting different mapping functions different data can be encoded and subsequently decoded. The choice of data to be encoded provides further flexibility to the system which utilises the herein described methods.
In
The quadtree 1000 is traversed such that its leaf nodes are visited in a set order, namely A, B, C, D, E, and F. When a node 1002 is visited, a function 1006 is applied to its value 1004 to produce a value to be encoded 1008. In an embodiment, the function is as defined in Equation 3 which maps the value to be encoded to be equal to the node's value, i.e. an identity function.
As the quadtree topology is encoded into the data stream in the manner described above with reference to
In an embodiment, when using the prefix difference function defined in Equation 4, the previously encoded value can feed into the next function call 1010. The prefix difference function allows for blocks of data with large residual values to be encoded in an efficient manner. If said block of data contains residual values that are large but with little variation between values, then the prefix difference will encode the difference between these values.
The above described method is described with reference to the encoding of data, and the same principles are used to decode the data. In an embodiment, a Tessera may be decoded in the same manner with the inverse of the encoding mapping function being used to compute the value to be decoded at a specific position.
In an embodiment, when the prefix difference function as described in Equation 4 is used for encoding, the prefix sum function can be used for decoding. The prefix sum function is defined as
where ui is the value to be decoded, vi is the decoded value, and u0=0.
An example is given of how the prefix difference function of Equation (4) and the prefix sum function of Equation (5) can be used for encoding and decoding a stream of data. A data stream is given: x=[10, 14, 8, 10, 1]. The prefix difference function, ƒ, of Equation (4) is applied to x on an element-by-element basis to produce the stream to be encoded:
To decode the above stream, the prefix sum function, ƒ′, of Equation (5) is applied such that:
Accordingly, the prefix sum function recovers the original input stream x.
Whilst the process described above, with reference to
For example, multiple 16×16 element Tesserae can be arranged into a 16×16 grid to represent an area of 256×256 elements. By collating each 16×16 Tessera into a 16×16 grid, it is possible to define a 256×256 frame. Furthermore, as in practice frames are typically larger than 256×256, it is possible to stack the 256×256 frames into a further 16×16 grid. This process of defining larger structures of 16×16 elements may be repeated as many times as required to define the frame of the desired size.
In
For ease of understanding, only a subset of the M×M Tessera are displayed. An individual Tessera, e.g. 1104, represents a fixed size N×N block of data. Squares 1104, 1106, 1108, and 1110 all represent blocks of data associated with Tesserae. A Tessera further comprises a quadtree which is not shown on
The data represented by a Tessera may contain at least one non-zero value. For example, the data represented by Tesserae 1104, 1106, and 1110 all contain at least one non-zero value. Tessera 1108 represents data with only zero values. Accordingly, Tessera 1108 is considered empty, as it is not associated with any residual data.
The amount of data within a Tessera, and therefore the streamlength of a Tessera, will depend on the amount of data used to encode a Tessera. As the amount of data to be stored is variable, depending on for example the extent of the residual data present, the streamlength for each Tessera is also variable.
For example, if the rate is set at 0.5 bits per element, then for a 16×16 Tessera with all non-zero values and 3 LOSs, the number of bits required to encode the Tessera will be defined as:
16×16×4×0.5 bits per element=512 bits=64 bytes (1)
As the data is sparsified, the elements which contain no data (i.e. those having a zero value of residual data, or a value below a threshold) are not encoded. Therefore, the streamlength for a Tessera, and the individual elements within a Tessera, needs to be stored as part of the encoding process so that the Tessera can be properly decoded.
The stream 1108A of an empty Tessera 1108 has length 1108B equal to zero. In an embodiment streamlength 1108B is still recorded in the stream 1102A so as to indicate that a Tessera is in the grid 1102 but is empty.
The total streamlength 1102B of a stream 1102A is given as the summation of the streamlengths of each Tessera in the grid of Tesserae 1102. Therefore, the streamlength 1102B corresponds to the streamlength required to encode the frame of video data using the described approach
In an embodiment, a stream, e.g. 1102A representing a grid of Tessera 1102, can be encoded and decoded using sequential encoding and decoding.
Sequential encoding encodes a stream in a set order so that the stream can be subsequently decoded in the same order. In an embodiment, the order is a z-order traversal as found from a depth first traversal of a Tessera's quadtree structure. In further embodiments, other orderings may be used.
An aspect of the invention is that a frame of video data can be encoded and decoded in parallel, and/or in a non-sequential manner, using the Tessera abstract data type described above. Advantageously, this allows for individual parts of a frame to be decoded separately, without having to decode the data in a sequential manner.
With reference to
To allow for parallel encoding and decoding, the location of a Tessera on a grid of Tesserae needs to be known. For example, with reference to
Therefore, an aspect of the invention is the identification of the location of data relating to a given Tessera, or a plurality of Tessera, within a stream of data, which represents a grid of Tesserae, to allow for parallel encoding and decoding of said grid of Tesserae. This aspect further allows partial decoding of a stream of data; that is, an individual Tessera can be decoded without the requirement of any preceding Tessera also being decoded. This aspect is achieved by using a Tessera to define a grid of Tesserae.
As an example, with reference to
As described above, a key aspect of the invention is that a Tessera can be used to define a grid of Tesserae. Such a Tessera is referred to herein as a Tableau. A Tableau of size N×N, records metadata. In an embodiment, the metadata recorded is the streamlength of each Tile in an N×N grid of Tiles (in the case the Tableau belongs to Tier-1 as described further below) or the streamlength of each Tableau in a grid of Tableaux (in the case the Tableau belongs to Tier-2 or above as described below). Whereas a Tile records residual information for an N×N block of data, a Tableau records metadata for an N×N arrangement of Tesserae.
Each Tile is referred to as belonging to Tier-0. The corresponding Tableau is referred to as belonging to Tier-1. Accordingly, an aspect of the invention is that a hierarchy of Tesserae are formed to represent a large grid unit.
A single Tier-0 Tessera 1202 is shown. Tessera 1202 is a Tessera of residual data (i.e., a Tile) and comprises a 16×16 grid 1204 of residual data. Tessera 1202 further comprises a 2×2 LOS 1206, a 4×4 LOS 1208, and an 8×8 LOS 1210.
A single Tier-1 Tessera 1212 is shown. Tessera 1212 is a Tableau and comprises a fixed size encoding unit 1214 of metadata, for example streamlengths. Tableau 1212 further comprises a 2×2 LOS 1216, a 4×4 LOS 1218, and an 8×8 LOS 1220.
Tableau 1212 defines a grid of metadata associated with the Tiles at Tier-O. Each non-zero element of Tableau 1214 records the metadata, for example streamlengths, of a Tile at that position in the grid of Tiles. As an example, element 1222 of Tableau 1212 corresponds to the total streamlength needed to encode Tile 1202.
The Tier-1 and Tier-0 Tesserae form a single stream 1224. Stream 1224 is read left to right such that the portion of the stream relating to Tier-1 1224A is read before the portion relating to the Tier-0 Tesserae 1224B.
In the example shown in
A Tableau 1300 is shown, composed of N×N elements. For ease of understanding a subset of the total number of elements are displayed. Each element corresponds to the streamlength of an associated Tile. For example, element 1302 contains the value 16 indicating that 16 bytes are required to read the Tessera of residual data associated with element 1302.
The elements of Tableau 1300 are visited in a set order 1304. This order corresponds to a z-order traversal of the elements. The same traversal is used for encoding the elements of the Tableau as is used for decoding. In further embodiments, another order may be used to visit the elements of Tableau 1300.
If the elements of Tableau 1300 were encoded using a mapping function, said elements must be decoded using the inverse of said mapping function. For example, in the example shown in
The use of Tableaux in Tier-1 allows for massively parallel decoding as a plurality of decoders can be used to decode portions of the frame by using Tableau 1300 to find the location of said portion of data within stream 1306.
For example, if the streamlengths are encoded as in
As an example, with reference to
However, if the streamlengths in Tableau 1300 were recorded as the actual streamlengths, namely as [16, 16, 0, 4, 0, 16, 14] in the example of
Therefore, an aspect of the invention is that frames of video can be encoded and decoded in parallel to allow for massive parallelisation and partial decoding.
One important aspect of the present invention is that, in the same way that the Tessera structure allow to decode each Tile separately in a parallel manner (for example using a separate decoder for each Tile), also each Tile can be encoded separately by using a separate encoder for each Tile. As the Tessera defines the streamlength for each Tile, in the above described manner, the data for each Tile can be extracted and processed independently. Furthermore, as the Tiles do not have an interdependence, unlike in many encoding systems, there is no requirement to have any knowledge of neighbouring Tiles decode a Tile.
Various encoding schemes could be used to encode the various Tesserae. In an embodiment, Huffman Coding is used to encode and compress a stream in parallel. Accordingly, Huffman Coding is used to decode a stream in parallel. In such an embodiment, Huffman Coding may also be used to decode a stream sequentially. In a further embodiment, if Huffman Coding is used to encode a stream sequentially, then a stream may be decoded using Huffman Coding in parallel or sequentially.
In an embodiment, Arithmetic Coding is used to encode and compress a stream in parallel. If Arithmetic Coding is used to encode and compress a stream in parallel, then an encoded stream is decoded in parallel. In a further embodiment, Arithmetic Coding is used to encode and compress a stream sequentially, and Arithmetic Coding is used to decode a stream sequentially.
Conceptually the following may be described as the extension of the principles described with reference to Tier-0. The elements which define each N×N Tile are combined so as to define a single entity.
The following description is made with reference to a frame of video data of size 256×256 elements and a fixed sized encoding unit of size 16×16 elements. This is a non-limiting example, and the below described process can be applied to a frame of video data of any size, e.g. 128×128, 512×512, 1024×1024, etc.
At step S302, a Tableau is created of dimension 16×16. As described above this Tableau is used to store the streamlengths of the residual information of each 16×16 Tessera of residual data. Note that other metadata associated with the Tiles could be stored in the Tableaux, for example metadata associated with the distribution of the residuals in the Tiles.
In an embodiment, a Tableau may be initialized such that each of its 256 elements are set to have the value “0”. In such an embodiment, a first pass must be made over every element on the Tableau setting its value to zero.
In a further embodiment, every leaf node of a Tableau is visited and the value set accordingly.
The setting of the values is as described with reference to determining the values of the quadtree for Tier 0.
At S304, the order in which to visit each element of the Tableau created in S302 is determined. In an embodiment, the order is set to be the z-order traversal of the Tableau. This enables the elements of the Tableau to be visited in a sequential manner. In further embodiments, other orderings could be used such as random order, incremental row traversal, etc. Preferably the order is the same as used for the preceding tier (Tier-0).
At S306, a position is set to track which element on the Tableau is currently being visited. The current position on the Tableau is set to be the first position as found according to the traversal order computed at S304. A position on the Tableau refers to the location of a single element and in an embodiment can be an integer index corresponding to the traversal order of the elements of a Tableau. In a further embodiment, the position can be an integer tuple representing the row and column location of the element on the fixed size encoding unit of the Tableau.
At S308, the streamlength is computed. This corresponds to the total bits or bytes needed to encode the residual information of each of the Tiles. The streamlength is stored in the current location on the Tableau. In an embodiment, a mapping function is used to record the value to be stored. In an embodiment, this mapping function is identity (Equation 2). In further embodiments, other mapping functions may be used such as prefix difference (Equation 4).
At S310, a check is made to see whether all positions in the ordering found in S304 have been visited. If the result of this check is false, and there are still positions to be visited, then the process proceeds to step S312. At step S312, the current position is set to be the next position to visit in the list. If the result of the check at step S310 is true, then the process proceeds to S314.
At S314, the Tableau created in S302 now contains the streamlength information related to each 16×16 Tiles of the original 256×256 residual grid. As not every element of the Tableau will be non-zero, in a preferred embodiment the Tableau is encoded as a sparse quadtree. Therefore, at S314 the sparse quadtree structure for the Tableau is computed according to the means described above.
The sparse quadtree is defined in the same manner as described above with the reference to Tier-0. Again, the data is encoded in a strictly bottom-up manner in order to sparsify the data.
The above process may be repeated as many times as necessary in order to define a desired frame size, and resulting in a further hierarchical tier e.g. Tier-2, Tier-3 etc., with each tier having its own sparse quadtree to map streamlengths of its constituent elements. The final hierarchical Tier will define a single Tableau.
In the following, a few examples are provided in order to illustrate how the Tiers are composed. For ease of reference, it is assumed that the size of a Tessera is 16×16, i.e. it contains 256 elements (e.g., residuals for Tiles, streamlengths for Tableaux). However, the same examples can be adapted to work with other dimensions, such as 32×32, 8×8, etc.
In a first example, we assume that a 256×256 pixels frame needs to be encoded. Accordingly, 256 Tiles will need to be used (i.e., (256/16)×(256/16)), and Tier-0 will be formed of said 256 Tiles. Since there are 256 Tiles, there will be 256 attributes associated with the Tile (e.g., streamlengths) to be recorded. Accordingly, a single 16×16 Tableau would be used and Tier-1 would be formed of this single Tableau.
In a second example, we assume that a 4,096×4,096 pixels frame needs to be encoded. Accordingly, 65,536 Tiles will need to be used (i.e., (4,096/16)×(4,096/16)), and Tier-0 will be formed of said 65,536 Tiles. Since there are 65,536 Tiles, there will be 65,536 attributes associated with the Tile (e.g., streamlengths) to be recorded. Accordingly, 256 Tableaux will need to be used, each containing 16×16 elements (256 in total) each associated with a Tile. Tier-1 will be formed of said 256 Tableaux. Since there are 256 Tableaux, it will be necessary to record the attributes of each of such Tableaux (e.g., their streamlengths). In order to do so, a single 16×16 Tableau containing 256 elements (each element associated with one of the Tableaux at Tier-1) will need to be used. There will therefore be a new Tier, namely Tier-2, containing said single Tableau.
From the examples above it is clear that the use of the abstract data structure called Tessera and the specific hierarchical use of them in a hierarchy of Tiles and Tableaux allows for any size frame to be encoded. The hierarchical structure would contain a number of Tiles in Tier-0, a number of Tableaux in Tier-1 and, when needed depending on the size of the frame to be encoded, also a number of Tableaux in Tier-2 and so forth. Below there are shown two tables illustrating some examples of frame size and the necessary Tiers associated with it.
As such it is possible to define the residual data, and the metadata required to decode the residual data in a sparsified structure for any size of frame. As described above, the 16×16 base element is preferred due to the associated advantages in speed of processing. However, in further embodiments other size of element may be used to encode data using the above principles.
Whilst the above process is applicable to frame of a set size, in practice video data may come in a variety of different frame sizes. Thus, the process must be flexible to accommodate different frame sizes.
In an embodiment, a frame of video data may be padded. This allows for frames of data whose size falls between Tesserae sizes to be encoded. For example, a frame of size 3840×2160 is to be encoded using the above described data structure. If a 16×16 base element is to be used, then the frame size falls between 256×256 and 4096×4096. Therefore, the frame is padded with a value, e.g. “0”, to enable it to fit the size of 4096×4096.
In another aspect of the present invention, an Active Area is defined. An Active Area defines an area of interest within a frame such that areas outside of an active area can be ignored during the decoding process.
An aspect of the invention is that using the above described data structure allows for active areas to be decoded without the need for the entire frame to be decoded. This could enable, for example, partial decoding of images and/or other features such as zooming.
The decoding process occurs for an entire frame of data or for an Active Area of the frame. In this example, the frame of data to be decoded corresponds to a frame of residual data. The skilled person will appreciate that this is not a limiting factor and the below described method can be applied to a frame of data that is not residual data, e.g. pixel intensity, chroma, metadata, etc. In an embodiment, the Active Area is the entire frame of data. Where the entire frame of data is decoded the process occurs in the manner described below with all areas being identified and decoded.
At step S402 an encoded stream is received at a decoder. The stream is encoded using the above described method. The encoded data comprises the encoded residual data and plurality of tiers of data, each tier having the format described above.
At step S404, an Active Area may be identified. In an embodiment, the encoder identifies the Active Area and this information is sent to the decoder as part of the stream. In a further embodiment, the decoder has a-priori knowledge of where the active area is. In a further embodiment, the decoder selects the Active Area to be decoded, for example based on an external input or based on other criteria/decisions.
In an embodiment, the Active Area is the entire frame of data.
Preferably the data stream received at the decoder comprises the data encoded at plurality of levels of quality, or quantisation and the decoder receives information regarding which level of quality, or quantisation to be decoded.
As step S406, the portion of the stream corresponding to the Active Area is identified.
As described above the process may occur with the use of multiple decoders, each decoder focusing on a specific area of the frame. For ease of understanding the following is described with reference to a single decoder, though in further embodiments multiple decoders may be used.
The following is described with reference to a frame having multiple tiers of data Tier-0 (the residual data and the data structure describing the distribution of the data), Tier-1 (the tableau streamlengths of the Tiles), and Tier-2 (the tableau of the streamlengths of the tableaus of Tier-1).
The encoded data in an embodiment is encoded in a sequential manner using a z-order traverse. The data is therefore decoded in the same sequence. Where the Active Area defines a portion of the frame, each tile in the active is identified and decoded in the same order.
At step S408 the Tableau of the highest Tier of data, for example Tier-2, is decoded. As defined above, the highest Tier of data comprises a single Tableau, said Tableau defining the streamlengths of the Tiles (in the case of the highest Tier being Tier-1) or the Tableaus of the preceding Tier (in all other cases).
The Tableau of the highest Tier is decoded and the streamlengths for the elements of the Tableau determined.
As described with reference to
As described above if the node has a value above a threshold, for example a non-zero value, then the sparse quadtree is traversed in the depth first manner until such time that either the inner leaf node value is below the threshold (and indicates that no data is present) or the highest level is reached, which indicates that the tile associated with the highest level has a streamlength and therefore has some form of data, such as residual data associated with it.
The above process is repeated for all elements of the Tableau. Where the Tableau is a 16×16 step S408 may return up to 256 non-zero streamlengths. Elements which have a zero streamlength are known to have no residual associated with them and no further decoding is required. Each non-zero streamlength corresponds to data in a Tessera in the next Tier. For example where the Tableau decoded at step S408 corresponds to Tier-2, each non-zero value corresponds to data in a Tessera in Tier-1.
As step S410 the preceding Tier of data is decoded. For example where Tier-2 was decoded at step S408, Tier-1 is decoded at step S410.
The location of the data for the Tier in an embodiment is calculated, or in further embodiments is provided to the decoder. The location of the start of the Tier in an embodiment is based on a summation of the data required to encode the Tier decoded at step S408, e.g. Tier-2.
The Tier is decoded in the same manner as described with reference to step S408. As the decoder is provided with the information of the Tessera which contain no data these Tessera may be skipped thereby increasing the speed of the decoding process.
This process is repeated until Tier-0 has been reached.
At step S412 the decoder has decoded the all the streamlength data for the Tiers of interest. At step S412 based on a summation of the streamlength data the location of the residual data for each tile is identified and subsequently decoded. The decoding of the residual data occurs in a known manner. As the above process identifies the Tiles, and elements of the Tiles, which contain data, the Tiles which are identified as not containing data (those which have a zero streamlength) are not decoded thereby resulting in a faster decoding process.
An aspect of the invention is that the use of Active Areas allows for partial decoding. With reference to
An aspect of the invention is that the use of active areas allows for parallel decoders.
A frame of data 1802 is to be decoded. Four decoders are to be used in parallel to decode the frame. According to an aspect of the invention, each decoder decodes a different active area corresponding to the region of the frame to decode.
In an embodiment decoding an Active Area will require decoding of the Tiles as well the Tableaux in the hierarchy of tiers needed to map the location of that active area. For any such active area, it is potentially necessary to decode certain pre-requisite Tesserae within one Tier before certain Tesserae in a remaining Tier, in accordance with a prescribed ordering of Tiers. Hence, in the case of
Frame 18B shows the active area 1706 defined for a second decoder.
Frame 18C shows the active area 1708 defined for a third decoder.
Frame 18D shows the active area 1710 defined for a fourth decoder.
Accordingly, the invention allows for massive parallelisation of the decoding process. A plurality of decoders may be used to decode distinct tiles of the frame without the need for each decoder to decode the entire frame.
Whilst the above is described with reference to the encoding of a frame of video data at a first level of quality e.g. at a first resolution or at first level of quantisation, in further embodiments the process may be repeated for a plurality of levels of quality, each level of quality is encoded in the above described manner. As is known the data stream may therefore comprise of multiple levels of quality, preferably encoded in a hierarchical manner. Advantageously, unlike in other hierarchical encoding techniques there is no dependence between the levels of quality thus allowing each individual level of quality to be encoded/decoded independently, optionally via multiple encoders/decoders. Furthermore, utilising the principles described above multiple active areas can be defined, each active area being associated with a different level of quality. In further embodiments one or more levels of quality may be associated with a lossy encoding and one or more levels of quality associated with lossless encoding. Thus, the invention allows for the switching between lossy and lossless encoding. Preferably where multiple levels of quality are encoded the lowest level of quality is encoded first, thus allowing for the content to be received and decoded in low bitrate environments.
An aspect of the invention is that a frame of video data may be at least partially decoded in the event of truncation or interruption. Truncation occurs when the link, e.g. network 114, fails to send the whole encoded stream due to a lack of bandwidth or service interruption. As the encoding is performed on a per tile basis, without reference to tiles in the same level of quality, nor tiles in different levels of quality, all complete tiles can be decoded. Any tiles which are missing, in an embodiment, are considered to have zero residual data (and therefore do not have an associated quadtree and a streamlength of zero).
In particular, the figure represents an example of a tree structure associated with a frame. In the example shown, there are nine Tesserae (the tree structures included in the boxes with a continuous line), and in particular 1901 would represent a Tableau (corresponding to Tier-1 or also known as a Root Tier—since it is the lowest Tier available in the present example) whilst the eight Tesserae 1902 represent Tiles (collectively forming Tier-0). Each Tile is formed of four levels of nodes and one level of leaves, with the root node 1921, three levels of intermediate nodes and the leaves 1923 corresponding to the data to be encoded (e.g., residuals)—there are a total of 88 data to be encoded in
The Tableau 1901 has a similar structure, with a root node 1911, three levels of intermediate nodes and leaves. In the case of the Tableau 1901, the leaves could either be the roots of the Tiles 1921 or leaves 1922 who have no children. The present structure clearly shows how the present invention enables sparsification of the data to be encoded. As discussed, there are only 88 data to be encoded in the present frame, and the tree structure is designed to allow traversing the structure starting from root node 1911 to arrive at the data to be encoded (e.g., residuals 1923) without having to travel across those branches who have no residuals attached. So, for example, if during traversal we arrive at leaves 1922, since there are no residuals associated with those leaves, there is no need to further traverse and leaves 1922 would be terminal leaves. If instead we arrive at a leaf 1921 which corresponds to the root node of a Tile, we would continue traversing the Tile and arrive at the residuals by following a similar approach, i.e. traversing only those nodes which have children. The present figure also shows that each node can either have no children (e.g. see leaves 1922) or four children (e.g., see root node 1911).
In particular, the figure shows how the various Tiers interact with one another, with Tier-0 corresponding to Tiles and the following Tiers (from Tier-1 to the Root Tier) corresponding to Tableaux.
Numbered Statements of Invention
1. A method of encoding a signal, the method comprising:
Number | Date | Country | Kind |
---|---|---|---|
17386046 | Dec 2017 | EP | regional |
18386002 | Feb 2018 | EP | regional |
1812407 | Jul 2018 | GB | national |
1815437 | Sep 2018 | GB | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/GB2018/053551 | 12/6/2018 | WO |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2019/111009 | 6/13/2019 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
20130195202 | Cheon et al. | Aug 2013 | A1 |
20130322530 | Rossato | Dec 2013 | A1 |
20140226721 | Joshi | Aug 2014 | A1 |
20150139337 | Chen | May 2015 | A1 |
20170208335 | Ramamurthy et al. | Jul 2017 | A1 |
Number | Date | Country |
---|---|---|
1017238 | Jul 2000 | EP |
1017238 | Jul 2000 | EP |
Entry |
---|
International Search Report and Written Opinion for PCT/GB2018/053551 dated Feb. 18, 2019. |
Misra et al., “New Results for Parallel Decoding for Tiles”, 97. MPEG Meeting; Jul. 18, 2011 through Jul. 22, 2011; Torino; (Motion Picture Expert Group or ISO/IEC JTC1/SC29/WG11), No. m21028, Jul. 17, 2011, XP030049591. |
Number | Date | Country | |
---|---|---|---|
20200374535 A1 | Nov 2020 | US |