Ordering Image Segments
The flexible ordering of image segments in VVC addresses restrictive constraints, reducing latency and complexity by allowing independent segment ordering, thus optimizing decoding processes for diverse applications.
Patent Information
- Application Number
- JP2022537414
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-12-19
- Filing Date
- 2020-12-03
- Publication Date
- 2024-08-29
- Estimated Expiration
- 2040-12-03
AI Technical Summary
The current Versatile Video Coding (VVC) draft specification imposes restrictive ordering constraints on image segments such as sub-images and rectangular slices, which can lead to increased latency, unnecessary complexity in bitstream merging, and computational burden, especially in cases where segments are spatially independent and do not require inter- or intra-prediction across boundaries.
Introduce flexible ordering rules for image segments by allowing arbitrary ordering of segments within a bitstream, using syntax elements to specify rules such as availability rules, ascending order of first CTU addresses, or treating segment boundaries as image boundaries, thereby enabling independent decoding and simplifying processes like bitstream merging and content swapping.
This approach reduces latency, simplifies bitstream merging, and minimizes computational overhead by allowing segments to be ordered based on their independence, optimizing decoding processes for various applications including low-latency scenarios.
Smart Images

Figure 0007542066000006 
Figure 0007542066000007 
Figure 0007542066000008
Abstract
Description
[Technical field]
[0001] TECHNICAL FIELD This disclosure relates generally to methods and apparatus for video encoding and decoding. [Background technology]
[0002] High Efficiency Video Coding (HEVC) is a block-based video codec standardized by the International Telecommunication Union Telecommunication Standardization Sector (ITU-T) and the Moving Pictures Expert Group (MPEG) that utilizes both temporal and spatial prediction. Spatial prediction is achieved using intra (I) prediction from within the current picture. Temporal prediction is achieved using unidirectional (P) or bidirectional (B) prediction at the block level from a previously decoded reference picture. At the encoder, the difference between the original and predicted pixel data (called the residual) is transformed to the frequency domain, quantized, and then entropy coded before being transmitted along with the necessary prediction parameters such as the entropy coded prediction mode and motion vectors. The decoder performs entropy decoding, inverse quantization, and inverse transform to obtain the residual, which is then added to the intra or inter prediction to reconstruct the picture.
[0003] MPEG and ITU-T are working on a successor to HEVC within the Joint Video Exploratory Team (JVET). The name of this video codec under development is Versatile Video Coding (VVC). The current version of the VVC draft specification is described in the JVET document JVET-P2001-vE.
[0004] Components A video sequence consists of a series of images, each of which consists of one or more components. Each component can be described as a two-dimensional rectangular array of sample values. An image in a video sequence usually consists of three components: one luma component Y (sample values are the brightness values) and two chroma components Cb and Cr (sample values are the chroma values). The dimensions of the chroma components are often two times smaller than the luma components in each dimension to save bits during compression. For example, the luma component of an HD image has a size of 1920x1080, while the chroma components have a size of 960x540 respectively. The components are sometimes called color components.
[0005] Blocks and Units A block is a two-dimensional array of samples. In video coding, each component is divided into blocks, and the coded video bitstream consists of a series of coded blocks. In video coding, it is common for an image to be divided into units that cover a certain region of the image. Each unit consists of all the blocks of all the components that make up that particular region, and each block belongs entirely to one unit. Macroblocks in H.264 and coding units (CUs) in HEVC are examples of units.
[0006] Alternatively, the blocks may be defined as two-dimensional arrays where a transform used in coding is applied to the two-dimensional array. These blocks may be referred to as "transform blocks." Alternatively, the blocks may be defined as two-dimensional arrays where a single prediction mode is applied to the two-dimensional array. These blocks may be referred to as "prediction blocks." In this application, word blocks are not associated with either of these conventions, but the description herein may apply to either convention.
[0007] NAL Unit Both HEVC and VVC specify a Network Abstraction Layer (NAL). All data, both HEVC and VVC Video Coding Layer (VCL) or non-VCL data, is encapsulated in NAL units. VCL NAL units contain data representing image sample values. Non-VCL NAL units contain additional associated data such as parameter sets and supplemental enhancement information (SEI) messages.
[0008] Parameter Set HEVC and VVC specify three types of parameter sets: picture parameter set (PPS), sequence parameter set (SPS), and video parameter set (VPS). A PPS contains data common to one or more pictures, an SPS contains data common to a coded video sequence (CVS), and a VPS contains data common to multiple CVSs. To provide random access points in the bitstream, it is common to periodically encode pictures as IRAP or GDR pictures, and each such picture is preceded by the parameter sets (VPS, SPS, PPS) required for decoding.
[0009] The current version of VVC also specifies two additional parameter sets: the adaptation parameter set (APS) and the decoder parameter set (DPS).
[0010] The APS conveys the parameters required for the adaptive loop filter (ALF) tool and the luma mapping and chroma scaling (LMCS) tool.
[0011] The DPS may not change during a decoding session and contains information that a decoder would want to know, such as the maximum number of sub-layers allowed. Knowledge of the DPS is not necessary for the operation of the decoding process.
[0012] tile The draft VVC video coding standard uses tiles that "partition" an image into rectangular, spatially independent regions. The tiles in the draft VVC coding standard are similar to those used in HEVC. Tiles allow an HEVC image to be partitioned into rows and columns of samples, with a tile being the intersection of a row and a column. Figure 1 shows an example tile partition using four tile rows and five tile columns to produce a total of 20 tiles for an image.
[0013] The tile structure is signaled in the Picture Parameter Set (PPS) by specifying row heights and column widths, as shown in Table 1. While individual row and column sizes can vary, the partitioning always spans the entire image, from left to right and top to bottom, respectively. There are no decoding dependencies between tiles of the same image. This includes intra prediction, context selection for entropy coding, and motion vector prediction. One exception is that in-loop filtering dependencies are allowed between tiles. TIFF0007542066000001.tif135170
[0014] The semantics of the syntax elements in Table 1 from the current version of the VVC draft specification are given below.
[0015] no_pic_partition_flag, when set to 1, specifies that no image partitioning is applied to each image that references a PPS. no_pic_partition_flag, when set to 0, specifies that each image that references a PPS can be partitioned into multiple tiles or slices.
[0016] It is a bitstream conformance requirement that the value of no_pic_partition_flag must be the same for all PPSs referenced by coded pictures in the CLVS.
[0017] If the value of sps_num_subpics_minus1+1 is greater than 1, it is a bitstream conformance requirement that the value of no_pic_partition_flag is not equal to 1.
[0018] pps_log2_ctu_size_minus5+5 specifies the luma coding tree block size for each CTU. pps_log2_ctu_size_minus5 must be equal to sps_log2_ctu_size_minus5.
[0019] num_exp_tile_columns_minus1+1 specifies the number of explicitly specified tile column widths. The value of num_exp_tile_columns_minus1 must be in the range from 0 to PicWidthInCtbsY-1. If no_pic_partition_flag is equal to 1, the value of num_exp_tile_columns_minus1 is inferred to be equal to 0.
[0020] num_exp_tile_rows_minus1+1 specifies the number of explicitly specified tile row heights. The value of num_exp_tile_rows_minus1 must be in the range from 0 to PicHeightInCtbsY-1. If no_pic_partition_flag is equal to 1, the value of num_tile_rows_minus1 is inferred to be equal to 0.
[0021] tile_column_width_minus1[i]+1 specifies the width of the ith tile column in units of CTBs, where i ranges from 0 to num_exp_tile_columns_minus1-1 inclusive. tile_column_width_minus1[num_exp_tile_columns_minus1] is used to derive the width of tile columns whose index is greater than or equal to num_exp_tile_columns_minus1, as specified in the clause. If not present, the value of tile_column_width_minus1[0] is inferred to be equal to PicWidthInCtbsY-1.
[0022] tile_row_height_minus1[i]+1 specifies the height of the ith tile row in units of CTBs for i in the range 0 to num_exp_tile_rows_minus1-1. tile_row_height_minus1[num_exp_tile_rows_minus1] is used to derive the height of tile rows whose index is greater than or equal to num_exp_tile_rows_minus1, as specified in the clause. If not present, the value of tile_row_height_minus1[0] is inferred to be equal to PicHeightInCtbsY-1.
[0023] slice The slice concept in HEVC divides a picture into independently coded slices, and the decoding of one slice in a picture is independent from other slices in the same picture. Different coding types can be used for slices of the same picture, i.e. a slice can be either an I slice, a P slice or a B slice. One of the purposes of slices is to enable resynchronization in case of data loss.
[0024] In the current version of the VVC draft specification, a slice consists of either an integer number of complete tiles or a sequence of complete coding tree unit (CTU) rows within an integer number of image tiles. Each slice has a slice header that contains parameters that can be set for the individual slices. Some parameters are constrained to be the same for all slices in a picture. Each slice in a CVS is carried in a separate VCL NAL unit.
[0025] In previous versions of the VVC draft specification, slices were called tile groups. The current version of the VVC draft specification supports two slice modes: raster scan slice mode and rectangular slice mode. In raster scan slice mode, a slice contains a sequence of complete tiles within a tile raster scan of the image. In rectangular slice mode, a slice contains either a number of complete tiles that collectively form a rectangular region of the image, or a number of contiguous complete CTU rows of one tile that collectively form a rectangular region of the image. The tiles within a rectangular slice are scanned in tile raster scan order within the rectangular region corresponding to the slice. Table 2 shows the slice address syntax for the slice header in the current version of the VVC draft specification. TIFF0007542066000002.tif86170
[0026] The semantics for Table 2 from the current version of the VVC draft specification are given below.
[0027] slice_subpic_id specifies the subpicture identifier of the subpicture that contains the slice. If slice_subpic_id is present, the value of the variable SubPicIdx is derived such that SubpicIdList[SubPicIdx] is equal to slice_subpic_id. Otherwise (slice_subpic_id is not present), the variable SubPicIdx is derived to be equal to 0. The length of slice_subpic_id in bits is derived as follows: - if sps_subpic_id_signalling_present_flag is equal to 1, the length of slice_subpic_id is equal to sps_subpic_id_len_minus1+1. - Otherwise, if ph_subpic_id_signalling_present_flag is equal to 1, the length of slice_subpic_id is equal to ph_subpic_id_len_minus1+1. - Otherwise, if pps_subpic_id_signalling_present_flag is equal to 1, the length of slice_subpic_id is equal to pps_subpic_id_len_minus1+1. - Otherwise, the length of slice_subpic_id is equal to Ceil(Log2(sps_num_subpics_minus1+1)).
[0028] slice_address specifies the slice address of the slice. If not present, the value of slice_address is inferred to be equal to 0.
[0029] If rect_slice_flag is equal to 0, the following applies: - A slice address is a raster scan tile index. - slice_address is Ceil(Log2(NumTilesInPic)) bits long. - The value of slice_address must be in the range from 0 to NumTilesInPic-1.
[0030] Otherwise (rect_slice_flag is equal to 1), the following applies: - The slice address is the slice index of the slice in the SubPicIdx-th subpicture. - slice_address is Ceil(Log2(NumSlicesInSubpic[SubPicIdx])) bits long. - The value of slice_address must be in the range from 0 to NumSlicesInSubpic[SubPicIdx]-1.
[0031] It is a requirement of bitstream conformance that the following constraints apply: - If rect_slice_flag is equal to 0 or subpics_present_flag is equal to 0, the value of slice_address shall not be equal to the value of slice_address of any other coded slice NAL unit of the same coded picture. - Otherwise, the value pair of slice_subpic_id and slice_address must not be equal to the value pair of slice_subpic_id and slice_address of any other coded slice NAL unit of the same coded picture. - If rect_slice_flag is equal to 0, the slices of the image must be in ascending order of slice_address values.
[0032] The shape of an image slice MUST be such that, when decoded, each CTU has its entire left and top boundaries consisting of the image boundary or of a previously decoded CTU. In the current version of the VVC draft specification, the partition layout for rectangular slices is signaled in the PPS as described in Table 3. TIFF0007542066000003.tif255170
[0033] The semantics of the syntax elements in Table 3 from the current version of the VVC draft specification are as follows:
[0034] no_pic_partition_flag, when set to 1, specifies that no image partitioning is applied to each image that references a PPS. no_pic_partition_flag, when set to 0, specifies that each image that references a PPS can be partitioned into multiple tiles or slices.
[0035] It is a bitstream conformance requirement that the value of no_pic_partition_flag must be the same for all PPSs referenced by coded pictures in the CLVS.
[0036] If the value of sps_num_subpics_minus1+1 is greater than 1, it is a bitstream conformance requirement that the value of no_pic_partition_flag is not equal to 1.
[0037] rect_slice_flag equal to 0 specifies that the tiles within each slice are in raster scan order and slice information is not signaled in the PPS. rect_slice_flag equal to 1 specifies that the tiles within each slice cover a rectangular region of the image and slice information is signaled in the PPS. If not present, rect_slice_flag is inferred to be equal to 1. If subpics_present_flag is equal to 1, the value of rect_slice_flag is equal to 1.
[0038] If single_slice_per_subpic_flag is 1, it specifies that each subpicture consists of exactly one rectangular slice. If single_slice_per_subpic_flag is 0, it specifies that each subpicture may consist of one or more rectangular slices. If subpics_present_flag is equal to 0, single_slice_per_subpic_flag is equal to 0. If single_slice_per_subpic_flag is equal to 1, num_slices_in_pic_minus1 is inferred to be equal to sps_num_subpics_minus1.
[0039] num_slices_in_pic_minus1+1 specifies the number of rectangular slices of each picture that refer to the PPS. The value of num_slices_in_pic_minus1 must be in the range from 0 to MaxSlicesPerPicture-1, where MaxSlicesPerPicture is specified in the Annex. If no_pic_partition_flag is equal to 1, the value of num_slices_in_pic_minus1 is inferred to be equal to 0.
[0040] When tile_idx_delta_present_flag is 0, it specifies that no tile_idx_delta values are present in the PPS and all rectangular slices in the image that references the PPS are to be specified in raster order according to the process specified in Section 1. When tile_idx_delta_present_flag is 1, it specifies that tile_idx_delta values may be present in the PPS and all rectangular slices in the image that references the PPS are to be specified in the order indicated by the values of tile_idx_delta.
[0041] slice_width_in_tiles_minus1[i]+1 specifies the width of the i-th rectangular slice in units of tile columns. The value of slice_width_in_tiles_minus1[i] must be in the range from 0 to NumTileColumns-1. If not present, the value of slice_width_in_tiles_minus1[i] is inferred as specified in the clause.
[0042] slice_height_in_tiles_minus1[i]+1 specifies the height of the i-th rectangular slice in units of tile rows. The value of slice_height_in_tiles_minus1[i] must be in the range from 0 to NumTileRows-1. If not present, the value of slice_height_in_tiles_minus1[i] is inferred as specified in the clause.
[0043] num_slices_in_tile_minus1[i]+1 specifies the number of slices in the current tile, where the i-th slice contains a subset of CTU rows from a single tile. The value of num_slices_in_tile_minus1[i] must range from 0 to RowHeight[tileY]-1, where tileY is the tile row index that contains the i-th slice. If not present, the value of num_slices_in_tile_minus1[i] is inferred to be equal to 0.
[0044] slice_height_in_ctu_minus1[i]+1 specifies the height of the i-th rectangular slice in units of CTU rows, when the i-th slice contains a subset of CTU rows from a single tile. The value of slice_height_in_ctu_minus1[i] must range from 0 to RowHeight[tileY]-1, where tileY is the tile row index that contains the i-th slice.
[0045] tile_idx_delta[i] specifies the tile index difference between the ith and the (i+1)th rectangular slices. The value of tile_idx_delta[i] must be in the range -NumTilesInPic+1 to NumTilesInPic-1. If not present, the value of tile_idx_delta[i] is inferred to be equal to 0. In all other cases, the value of tile_idx_delta[i] must not be equal to 0.
[0046] Sub-image Sub-images are supported in the current version of VVC. A sub-image is defined as a rectangular region of one or more slices within an image, which means that a sub-image contains one or more slices that collectively cover a rectangular region of the image.
[0047] In the current version of the VVC draft specification JVET-P2001-vE, the subpicture position and size are signaled in the SPS. The boundaries of the subpicture regions can be treated as image boundaries (except for in-loop filtering operations) conditioned on the per-subpicture flag subpic_treated_as_pic_flag[i] in the SPS. Also, loop filtering at the subpicture boundaries is conditioned on the per-subpicture flag loop_filter_across_subpic_enabled_flag[i] in the SPS.
[0048] There is also a sub-image ID mapping mechanism signaled in the sub-image's SPS gated by two flags sps_subpic_id_present_flag and sps_subpic_id_signalling_present_flag.
[0049] Table 4 shows the subimage syntax for the SPS of the current version of VVC. In Table 4, the variable i is the subimage index, and syntax elements for the subimage's position, size, and other properties are signaled for each subimage in the order of the subimage's index. For example, all syntax elements with i equal to 0 specify the position, size, and other properties of the subimage with subimage index equal to 0. TIFF0007542066000004.tif215170
[0050] The semantics for Table 4 from the current version of the VVC draft specification are as follows:
[0051] If subpics_present_flag is 1, it specifies that the subpictures parameter is present in the SPSRBSP syntax. If subpics_present_flag is 0, it specifies that the subpictures parameter is not present in the SPSRBSP syntax.
[0052] NOTE - If the bitstream is the result of a secondary bitstream extraction process and contains only a subset of the subpictures of the input bitstream to the secondary bitstream extraction process, it may be necessary to set the value of subpics_present_flag to 1 in the RBSP of the SPS.
[0053] sps_num_subpics_minus1+1 specifies the number of subpictures. sps_num_subpics_minus1 must be in the range from 0 to 254. If not present, the value of sps_num_subpics_minus1 is inferred to be equal to 0.
[0054] subpic_ctu_top_left_x[i] specifies the horizontal location of the top-left CTU of the ith subpicture in units of CtbSizeY. The syntax element is Ceil(Log2(pic_width_max_in_luma_samples / CtbSizeY)) bits in length. If not present, the value of subpic_ctu_top_left_x[i] is inferred to be equal to 0.
[0055] subpic_ctu_top_left_y[i] specifies the vertical position of the top-left CTU of the ith subpicture in units of CtbSizeY. The syntax element is Ceil(Log2(pic_height_max_in_luma_samples / CtbSizeY)) bits in length. If not present, the value of subpic_ctu_top_left_y[i] is inferred to be equal to 0.
[0056] subpic_width_minus1[i]+1 specifies the width of the i-th subpicture in units of CtbSizeY. The syntax element is Ceil(Log2(pic_width_max_in_luma_samples / CtbSizeY)) bits in length. If not present, the value of subpic_width_minus1[i] is inferred to be equal to Ceil(pic_width_max_in_luma_samples / CtbSizeY)-1.
[0057] subpic_height_minus1[i]+1 specifies the height of the i-th subpicture in units of CtbSizeY. The syntax element is Ceil(Log2(pic_height_max_in_luma_samples / CtbSizeY)) bits in length. If not present, the value of subpic_height_minus1[i] is inferred to be equal to Ceil(pic_height_max_in_luma_samples / CtbSizeY)-1.
[0058] subpic_treated_as_pic_flag[i], when 1, specifies that the i-th subimage of each coded image in the CLVS is treated as a picture in the decoding process, except for in-loop filtering operations. When subpic_treated_as_pic_flag[i] is 0, it specifies that the i-th subimage of each coded image in the CLVS is not treated as a picture in the decoding process, except for in-loop filtering operations. If not present, the value of subpic_treated_as_pic_flag[i] is inferred to be equal to 0.
[0059] loop_filter_across_subpic_enabled_flag[i], when 1, specifies that in-loop filtering operations can be performed across the boundary of the i-th subpic of each coded image in the CLVS. When loop_filter_across_subpic_enabled_flag[i] is 0, it specifies that in-loop filtering operations are not performed across the boundary of the i-th subpic of each coded image in the CLVS. If not present, the value of loop_filter_across_subpic_enabled_pic_flag[i] is inferred to be equal to 1.
[0060] It is a requirement of bitstream conformance that the following constraints apply: - For any two subpictures subpicA and subpicB, if the subpicture index of subpicA is smaller than the subpicture index of subpicB, then the coded slice NAL unit of subPicA is placed before the coded slice NAL unit of subPicB in decoding order. - The shape of the sub-images must be such that, when decoded, each sub-image has its entire left and entire top border consisting of the image's border or consisting of the border of a previously decoded sub-image.
[0061] sps_subpic_id_present_flag specifies that the sub-picture ID mapping is present in the SPS if it is set to 1. sps_subpic_id_present_flag specifies that the sub-picture ID mapping is not present in the SPS if it is set to 0.
[0062] sps_subpic_id_signalling_present_flag specifies that the subpic ID mapping is signaled in the SPS if it is 1. Specifies that the subpic ID mapping is not signaled in the SPS if sps_subpic_id_signalling_present_flag is 0. If not present, the value of sps_subpic_id_signalling_present_flag is inferred to be equal to 0.
[0063] sps_subpic_id_len_minus1+1 specifies the number of bits used to represent the syntax element sps_subpic_id[i]. The value of sps_subpic_id_len_minus1 shall be in the range of 0 to 15.
[0064] sps_subpic_id[i] specifies the subpicture ID of the i-th subpicture. The length of the sps_subpic_id[i] syntax element is sps_subpic_id_len_minus1 + 1 bits. If not present and if sps_subpic_id_present_flag is 0, the value of sps_subpic_id[i] is inferred to be equal to i for each i in the range from 0 to sps_num_subpics_minus1.
[0065] Availability rules for the current version of the VVC draft specification The subpicture availability rules of the current version of the VVC draft specification JVET-P2001-vE are described in the semantics of the loop_filter_across_subpic_enabled_flag[i] syntax element and are repeated here.
[0066] It is a requirement of bitstream conformance that the following constraints apply:
[0067] For any two subpictures subpicA and subpicB, if the subpicture index of subpicA is smaller than the subpicture index of subpicB, the coded slice NAL unit of subpicA is placed before the coded slice NAL unit of subpicB in decoding order.
[0068] The shape of the subimages must be such that, when decoded, each subimage has its entire left and top boundaries consisting of the image boundary or of the boundary of a previously decoded subimage.
[0069] From the above requirements, the sub-picture availability rule groups the coded slice NAL units of each sub-picture within all access units in the bitstream and constrains the placement of all sub-picture coded slice NAL units within an access unit in ascending order of sub-picture index in such a way that arbitrary indexes of sub-pictures may not be allowed.
[0070] The slice availability rules in the current version of the VVC draft specification JVET-P2001-vE are described in the semantics of the slice_address syntax element and are repeated here.
[0071] It is a requirement of bitstream conformance that the following constraints apply:
[0072] The shape of an image slice must be such that, when decoded, each CTU has its entire left and top boundaries consisting of the image boundary or the boundary of a previously decoded CTU. Summary of the Invention
[0073] Slice availability rules constrain the placement of coded slice NAL units. The current version of the VVC draft specification restricts the ordering of image segments, such as sub-pictures and rectangular slices. The current restrictions on the ordering of sub-pictures (and similarly for rectangular slices) are not necessary or optimal for all applications and use cases, e.g., when the contents of the image segments are spatially independent or when an optimal decoding order of the segments at the decoder side cannot be achieved within the current ordering restrictions. The current restricted ordering of image segments may not be optimal for some use cases, e.g., for low-latency applications.
[0074] Another problem with the ordering constraints in the current version of the VVC draft specification is that they can introduce unnecessary complexity into processes such as bitstream merging. The additional complexity is that the bitstream merging process must handle the proper ordering of coded segments in the bitstream, even in instances where the encoding / decoding of the content of a segment does not depend on the encoding / decoding of other segments in the picture.
[0075] Another problem with the current ordering constraint is that it applies regardless of whether the contents of the image segments are dependent or independent. If the image segments are independent in the sense that there is no inter- or intra-prediction between them and no loop filtering across segment boundaries, then the availability rule does not seem to add value, but instead imposes a computational burden.
[0076] The proposed solution introduces the concept of enabling different ordering rules to be applied to segments within a picture, and specifying the rule to be applied using one or more syntax elements. The ordering rules could be the sub-picture and slice availability rules in the current version of the VVC draft specification, any ordering, ascending ordering of the first CTU address of each segment, etc.
[0077] According to some embodiments of the present disclosure, a method for decoding at least one current picture from a bitstream is described. The method includes decoding an indicator value from the bitstream that specifies at least one rule of a plurality of rules, the at least one rule being applied to an ordering of segments coded into the bitstream, the segments being segments of a segment partition layout. The method also includes decoding from the bitstream a set of syntax elements that specify the segment partition layout. The method also includes deriving the segment partition layout based on the set of syntax elements. The method further includes decoding at least one current picture in the bitstream using the segment partition layout, the ordering of the segments following the specified at least one rule.
[0078] According to some embodiments, a decoder for a communication network is described. The decoder includes a processor and a memory coupled to the processor. The memory includes instructions that, when executed by the processor, cause the processor to perform operations including decoding an indicator value from a bitstream, the indicator value specifying at least one rule of a plurality of rules, the at least one rule being applied to ordering of segments coded into the bitstream. The segment is a segment of a segment partition layout. The memory also includes instructions that, when executed by the processor, cause the processor to perform operations including decoding from the bitstream a set of syntax elements that specify the segment partition layout. The memory also includes instructions that, when executed by the processor, cause the processor to perform operations including deriving a segment partition layout based on the set of syntax elements. The memory further includes instructions that, when executed by the processor, cause the processor to perform operations including decoding at least one current picture in the bitstream using the segment partition layout, the ordering of the segments following the specified at least one rule.
[0079] According to some embodiments of the present disclosure, a method for encoding at least one current image into a bitstream is described. The method includes defining a segment partition layout of segments of the at least one current image to be encoded into the bitstream. The method also includes selecting at least one rule from a set of rules for ordering of segments in the segment partition layout of the at least one current image to be encoded into the bitstream. The method also includes encoding the segment partition layout of the at least one current image into the bitstream. The method also includes encoding an indicator value into the bitstream, the indicator value identifying the selected set of rules for ordering of segments in the segment partition layout of the at least one current image. The method further includes encoding the at least one current image into the bitstream using the segment partition layout.
[0080] According to some embodiments, an encoder for a communication network is described. The encoder comprises a processor and a memory coupled to the processor. The memory includes instructions that, when executed by the processor, cause the processor to perform operations including defining a segment partition layout of segments of at least one current image to be encoded into a bitstream. The memory also includes instructions that, when executed by the processor, cause the processor to perform operations including selecting at least one rule from a set of rules for ordering of segments of a segment partition layout in which the at least one current image is encoded into the bitstream. The memory also includes instructions that, when executed by the processor, cause the processor to perform operations including encoding the segment partition layout of the at least one current image into the bitstream. The memory also includes instructions that, when executed by the processor, cause the processor to perform operations including encoding an indicator value into the bitstream, the indicator value identifying the set of rules selected for ordering of segments in the segment partition layout of the at least one current image. The memory further includes encoding the at least one current image into the bitstream using the segment partition layout.
[0081] The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this application, illustrate certain non-limiting embodiments of the inventive concepts. [Brief description of the drawings]
[0082] [Figure 1] 1 is an example of a tile division according to the VVC coding standard known in the art. [Diagram 2] 1 is an example of a slice partition layout with latency decoding known in the art. [Diagram 3]1 is an example of a sub-image partition layout within an image, in accordance with some embodiments of the inventive concepts. [Figure 4] 1 is an example of a slice partition layout in an image in accordance with some embodiments of the inventive concepts. [Diagram 5] 1 is an example of a swapped slice partition layout in an image, in accordance with some embodiments of the inventive concepts. [Figure 6] 1 is an example of modifying sub-image partition layout within an image according to some embodiments of the inventive concepts. [Figure 7] FIG. 1 is a block diagram of a system including an encoder and a decoder according to some embodiments of the inventive concepts. [Figure 8] FIG. 2 is a block diagram of a decoder according to some embodiments of the inventive concepts. [Figure 9] FIG. 2 is a block diagram of an encoder according to some embodiments of the inventive concepts. [Figure 10] 4 is a flowchart illustrating the operation of a decoder in accordance with some embodiments of the inventive concept. [Figure 11] 4 is a flowchart illustrating the operation of an encoder in accordance with some embodiments of the inventive concept. [Figure 12] 6 is a flowchart illustrating further operations of an encoder in accordance with some embodiments of the inventive concept. [Figure 13] FIG. 1 is a block diagram of a virtualization environment in accordance with some embodiments of the inventive concepts. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0083] The inventive concept will be described more fully below with reference to the accompanying drawings, in which examples of embodiments of the inventive concept are shown. However, the inventive concept can be embodied in many different forms and should not be construed as being limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the inventive concept to those skilled in the art. It should also be noted that these embodiments are not mutually exclusive. Elements from one embodiment may be implicitly assumed to be present / used in another embodiment.
[0084] The following description presents various embodiments of the disclosed subject matter. These embodiments are presented as instructional examples and should not be construed as limiting the scope of the disclosed subject matter. For example, certain details of the described embodiments may be modified, omitted, or expanded without departing from the scope of the described subject matter.
[0085] Availability rules for the current version of the VVC draft specification The subpicture availability rules of the current version of the VVC draft specification JVET-P2001-vE are described in the semantics of the loop_filter_across_subpic_enabled_flag[i] syntax element and are repeated here. It is a requirement of bitstream conformance that the following constraints apply: - For any two subpictures subpicA and subpicB, if the subpicture index of subpicA is smaller than the subpicture index of subpicB, then the coded slice NAL unit of subPicA is placed before the coded slice NAL unit of subPicB in decoding order. - The shape of the sub-images must be such that, when decoded, each sub-image has its entire left and entire top border consisting of the image's border or consisting of the border of a previously decoded sub-image.
[0086] From the above requirements, the sub-picture availability rule groups the coded slice NAL units of each sub-picture within all access units in the bitstream and constrains the placement of all sub-picture coded slice NAL units within an access unit in ascending order of sub-picture index in such a way that arbitrary indexes of sub-pictures may not be allowed.
[0087] The slice availability rules in the current version of the VVC draft specification JVET-P2001-vE are described in the semantics of the slice_address syntax element and are repeated here. It is a requirement of bitstream conformance that the following constraints apply:
[0088] The shape of an image slice must be such that, when decoded, each CTU has its entire left and top boundaries consisting of the image boundary or the boundary of a previously decoded CTU.
[0089] From the above requirements, slice availability rules constrain the placement of coded slice NAL units. In the current version of the VVC draft specification, the ordering of picture segments such as subpictures and rectangular slices is restricted. For example, the order of subpictures, specified by their subpicture index in the bitstream, is regulated by the availability rules that specify that, when decoded, each subpicture has either its entire left border and its entire top border comprised by the border of the picture or the border of a previously decoded subpicture. The subpicture index determines the order of the VCL NAL unit groups that correspond to the subpictures in the access units in the coded bitstream. The same applies to the order of rectangular slices within a subpicture (or within a picture, if the picture consists of a single subpicture), which is constrained by similar availability rules.
[0090] However, the current restrictions on sub-image ordering (and similarly for rectangular slices) may not be necessary or optimal for all applications and use cases, e.g., when the content of image segments is spatially independent or when an optimal decoding order of the segments at the decoder side cannot be achieved within the current ordering restrictions.
[0091] The current restricted ordering of image segments may not be optimal for some use cases, e.g., low-latency applications. As an example shown in Figure 2, a decoder decoding in raster-scan order must wait for slice 2 in the bitstream for the illustrated rectangular slice partition layout in the image before decoding the first CTU row. This is because slice 2 cannot be placed before slice 1 in the bitstream due to segment ordering constraints. This may increase latency and memory requirements that are significant for some applications, such as 360 video streaming. Figure 2 also shows the latency of decoding a CTU in raster-scan order caused by the ordering of slices in the slice partition layout, which is the only allowed order in the current version of the VVC draft specification.
[0092] Another problem with the ordering constraints in the current version of the VVC draft specification is that they can introduce unnecessary complexity into processes such as bitstream merging. The additional complexity is that the bitstream merging process must handle the proper ordering of coded segments in the bitstream, even in instances where the encoding / decoding of the content of a segment does not depend on the encoding / decoding of other segments in the picture.
[0093] Another problem with the current ordering constraints is that they apply regardless of whether the contents of the image segments are dependent or independent. If the image segments are independent in the sense that there is no inter- or intra-prediction between them and no loop filtering across segment boundaries, then the availability rule does not seem to add value, but instead imposes a computational burden.
[0094] Embodiments of the inventive concepts described herein allow for different ordering rules to be applied to segments within a picture, and introduce the concept of specifying the rule to be applied using one or more syntax elements. The ordering rules can be the sub-picture and slice availability rules of the current version of the VVC draft specification, arbitrary ordering, ascending ordering of the first CTU address of each segment, etc.
[0095] In one embodiment of the inventive concept, some of the above problems can be solved or mitigated by relaxing the availability rules and allowing any order of image segments in the bitstream, provided that the segments are independent, i.e. inter- and intra-prediction between segments and loop filtering at segment boundaries are disabled.
[0096] In another embodiment of the inventive concept, some of the above problems can be resolved or mitigated by allowing other preferred orderings of sub-images in the sub-image partition layout that are not currently allowed. As an example, the first line of FIG. 3 shows only the sub-image partition layout and ordering of sub-images that are allowed in the current version of the VVC draft specification. The second line of FIG. 3 shows an example of sub-image ordering of the proposed solution that is not allowed in the current version of the VVC draft specification. The numbers 0, 1, and 2 in FIG. 3 indicate the sub-image indexes that are the same as the sub-image ordering in the bitstream. FIG. 3 also shows the layout and ordering of the sub-image partitions in the current version of the VVC draft specification (first line) and in one embodiment of the proposed solution (second line).
[0097] In another embodiment of the inventive concept, any order of coded segments in a bitstream is allowed if the segments are independent, which means that inter- and intra-prediction between segments and loop filtering at segment boundaries is disabled, which simplifies the bitstream merging process and content swapping between same-sized segments in a bitstream.
[0098] Some embodiments of the inventive concepts may be applied to image segments that have a specific order in their partition layout, such as sub-images and slices. Allowing different ordering rules for segments is beneficial for a variety of applications, some of which are listed in the following examples. One advantage of allowing any order of sub-images is that it simplifies processes such as merging two or more bitstreams, each of which contains sub-images, since there is no need to reorder the coded sub-images in the output bitstream to conform to a specific order.
[0099] One advantage of having slices in ascending order of first CTU address is that it can reduce the latency of a decoder that decodes in raster scan order. Figure 4 shows an example of how the latency for decoding CTUs in raster scan order using the current version of the VVC draft specification (line 1 of Figure 4) is reduced by allowing slices in ascending order of the first CTU address within the slice, as expressed in one embodiment of the proposed solution (line 2 of Figure 4). Figure 4 shows that the latency for decoding CTUs in raster scan order (line 1) is also improved by one embodiment of the proposed solution (line 2).
[0100] Another advantage of some embodiments of the inventive concept is that they simplify the exchange of slice contents. For example, as shown in Fig. 5, using one of the proposed embodiments, two rectangular slices of an original image can be exchanged by only updating the slice headers with the new slice addresses as shown in line 2 of Fig. 5, without the need to check the availability rules of the new arrangement of slices or to change the order of slices in the bitstream. Line 1 of Fig. 5 shows the original bitstream and slice partition layout, and line 2 of Fig. 5 shows the new bitstream and the swapped slice partition layout. This new bitstream is not a bitstream compliant with the current version of the VVC draft specification due to the availability rules of the VVC draft. Fig. 5 also shows the exchange of the contents of two slices in an embodiment of the proposed solution.
[0101] With any segment ordering of independent sub-pictures, it is also possible to rearrange the sub-picture partition layout of a picture by updating the sub-picture partition layout signaling in the SPS without changing any bits in the VCL. Figure 6 illustrates rearranging the sub-picture partition layout in a picture using one embodiment of the proposed solution. Line 1 of Figure 6 illustrates the original bitstream and the decoded picture with the original sub-picture partition layout, and line 2 of Figure 6 illustrates the bitstream with the modified partition layout signaling in the SPS for the new sub-picture partition layout. As shown in lines 1 and 2 of Figure 6, the order of the coded sub-pictures in the bitstream does not need to be changed because the availability rules are changed. Note that the partition layout shown in line 2 is not allowed in the current VVC draft due to the availability rules. Figure 6 also illustrates the modification of the sub-picture partition layout in an embodiment of the proposed solution.
[0102] An embodiment of the inventive concept introduces the concept of using an indicator to specify one or more rules that apply to the ordering of segments in a segment partition layout of one or more images in a video sequence. The one or more rules that apply to the ordering of segments in a segment partition layout are hereafter referred to as ordering rules or ordering constraints. The ordering rules regulate the indexes of the image segments in the segment partition layout and / or the ordering of the coded segments in the bitstream.
[0103] A segment is a part of an image, and a segment may correspond to a tile, a tile group, a slice, a rectangular slice, or a sub-image. In this description, the terms segment and image segment are used interchangeably. In the proposed solution, one or more syntax elements may be used to specify one or more rules for ordering image segments in a segment partition layout. The image segment ordering rules may affect the process of determining the position of the segments in the image. The terms "constraint" and "rule" are used interchangeably. The term "arbitrary ordering" is the same as "unconstrained ordering" and both are considered as ordering rules. The embodiments described herein are not intended to limit the invention. The embodiments described herein may be combined.
[0104] The following description presents various embodiments of the inventive concepts. These embodiments are presented as educational examples and should not be construed as limiting the scope of the inventive concepts. For example, certain details of the inventive concepts described may be modified, omitted, or expanded without departing from the scope of the described subject matter.
[0105] 7 illustrates an example operating environment for an encoder 700 that may be used to encode a bitstream as described herein. The encoder 700 receives media from a network 702 and / or storage 704, encodes the media into a bitstream as described below, and transmits the encoded media over a network 708 to a decoder 706. The storage device 704 may be part of a storage depository for video, such as a store or a storage repository of a streaming video service, a separate storage component, a component of a mobile device, etc. The decoder 706 may be part of a device 710 having a display 712. The device 710 may be a mobile device, a set-top device, a head-mounted display, etc.
[0106] 8 is a block diagram illustrating elements of a decoder 706 configured to decode video frames in accordance with some embodiments of the inventive concepts. As shown, the decoder 706 may include a network interface circuit 800 (also referred to as a network interface) configured to provide communication with other devices / entities / functions, etc. The decoder 706 may also include a processor circuit 802 (also referred to as a processor) coupled to the network interface circuit 800, and a memory circuit 804 (also referred to as a memory) coupled to the processor circuit. The memory circuit 804 may include computer readable program code that, when executed by the processor circuit 802, causes the processor circuit to perform operations according to embodiments disclosed herein.
[0107] According to other embodiments, the processor circuitry 802 may be defined to include memory such that a separate memory circuit is not required. As discussed herein, operations of the decoder 706 may be performed by the processor 802 and / or the network interface 800. For example, the processor 802 may control the network interface 800 to receive communications from the encoder 700. Additionally, modules may be stored in the memory 804 and these modules may provide instructions for the processor 802 to perform respective operations when the instructions of the modules are executed by the processor 802.
[0108] 9 is a block diagram illustrating elements of an encoder 700 configured to encode video frames according to some embodiments of the inventive concepts. As shown, the encoder 700 may include a network interface circuit 900 (also referred to as a network interface) configured to provide communication with other devices / entities / functions, etc. The encoder 300 may also include a processor circuit 902 (also referred to as a processor) coupled to the network interface circuit 900, and a memory circuit 904 (also referred to as a memory) coupled to the processor circuit. The memory circuit 904 may include computer readable program code that, when executed by the processor circuit 902, causes the processor circuit to perform operations according to embodiments disclosed herein.
[0109] According to other embodiments, the processor circuitry 902 may be defined to include memory such that a separate memory circuitry is not required. As discussed herein, the operations of the encoder 700 may be performed by the processor 902 and / or the network interface 900. For example, the processor 902 may control the network interface 902 to send communications to the decoder 706 and / or receive communications via the network interface 900 from one or more other network nodes / entities / servers, such as other encoder nodes, storage servers, etc. Additionally, modules may be stored in the memory 904, and these modules may provide instructions for the processor 902 to perform respective operations when the instructions of the modules are executed by the processor 902.
[0110] Embodiment 1 - Which ordering rule? In a first embodiment of the inventive concept, a syntax element in a bitstream specifies an ordering rule to be applied to segments in the bitstream. Examples of ordering rules are availability rules, any ordering as specified in the second embodiment, ordering in ascending order of the first CTU address of each segment, etc. An ordering rule may only allow one or more possible orderings, and may describe allowed or disallowed orderings.
[0111] In one example, if the syntax element is equal to a first value, an availability rule is applied to the ordering of segments in the bitstream, and if the signaled syntax element is equal to a second value, the ordering of segments should be in ascending order of the top-left CTU address of each segment. In a variation of this embodiment, one value of the syntax element specifies a fixed (default or signaled) ordering of the segments, and another value of the syntax element specifies a particular ordering rule (such as an availability rule) for ordering the segments. In another variation of this embodiment, there are three or more possible ordering rules, and the value of the syntax element specifies the ordering rule to be applied to the segments in the segment partition layout.
[0112] The decoder may perform all or a subset of the following steps for this embodiment. 1. Decode from the bitstream an indicator value that specifies a set of rules that apply to the ordering of segments in the segment partition layout. 2. Decode from the bitstream a set of syntax elements that specify the segment partition layout. 3. Derive a segment partition layout based on a set of syntax elements and a set of rules. 4. Decode at least one picture in the bitstream using the segment partition layout.
[0113] The encoder may perform all or a subset of the following steps for this embodiment. 1. Specify a segment partition layout for at least one image segment to be encoded into a bitstream. 2. Selecting a set of rules for ordering segments in a segment partition layout of at least one picture to be encoded into the bitstream. 3. Encoding a segment partition layout of at least one image into a bitstream. 4. Encoding an indicator value into the bitstream, the indicator value identifying a set of rules for ordering segments of a segment partition layout of the at least one image. 5. Encode at least one image into a bitstream using a segment partition layout.
[0114] Encoder steps 1 and 2 may be performed in any order. Encoder steps 3 and 4 may also be performed in any order.
[0115] Embodiment 2 - Any Order of Independent Segments In another embodiment of the inventive concept, one (or more) syntax elements are present in the bitstream, where one value of the syntax element indicates that any segment ordering in the segment partition layout applies to at least a subset of the image segments. In one example of this embodiment, a first value of the syntax element specifies that any segment ordering in the segment partition layout applies to at least a subset of the image segments, and a second value of the syntax element specifies that, when decoded, each segment will have its entire left boundary and its entire top boundary composed of the image boundary or the boundary of a previously decoded segment.
[0116] In one example of this embodiment, a first value of the syntax element specifies that at least one segment, when decoded, may have at least a portion of its left boundary and / or a portion of its top boundary comprised of boundaries of segments that have not yet been decoded, and a second value of the syntax element specifies that, when decoded, each segment has its entire left boundary and entire top boundary comprised of picture boundaries or boundaries of previously decoded segments. The syntax element may be a flag and may be present in a parameter set, such as SPS, PPS, DPS, VPS, etc., VUI, picture header or segment header. The syntax element may be referred to as an arbitrary_segments_ordering syntax element or an independent_segments syntax element.
[0117] In an example of this embodiment, an independent sub-picture syntax element is present in the bitstream and a value of the independent sub-picture syntax element equal to 0 indicates that all sub-pictures in the bitstream follow the sub-picture availability rules, and a value of the independent sub-picture syntax element equal to 1 indicates that sub-pictures in the bitstream may not follow the sub-picture availability rules. In another variation of this embodiment, the independent_segments syntax element can be signaled for an entire bitstream or a sequence present in, for example, an SPS or DPS. In yet another variation of this embodiment, the independent segments syntax element is signaled for each picture or set of pictures.
[0118] In yet another variation of this embodiment, the independent_segments syntax element also specifies that intra prediction, inter prediction, and loop filtering are not allowed across segment boundaries if the segment boundaries are treated as image boundaries in the decoding process, i.e., if the independent_segments syntax element is equal to the first value. An example syntax of this preferred embodiment, in addition to the current version of the VVC draft specification, is shown in Table 5. Changes compared to the VVC draft are shown in bold. TIFF0007542066000005.tif167170
[0119] Below is an example of the semantics of this preferred embodiment along with the current version of the VVC draft specification, where changes compared to the VVC draft are indicated with double underlining.
[0120] 3.Definition: 3.56 Hypothetical Stream Scheduler (HSS): A hypothetical delivery mechanism used to check the conformance of a bitstream or decoder with respect to the timing and data flow of the bitstream's input to a hypothetical reference decoder. 3.57 Independent Sub-Image: A sub-image that is treated as an image in the decoding process . 3.57 Independent Subimage (alternative definition): A subimage whose boundaries are treated as image boundaries in the decoding process. . 3.58Informative: A term used to refer to content provided with this specification that does not establish mandatory requirements for conformance with this specification, and therefore is not considered an integral part of this specification. … sps_independent_subpics_flag, when 1, specifies that intra prediction, inter prediction, and in-loop filtering operations cannot be performed across CLVS sub-picture boundaries. When sps_independent_subpics_flag is 0, it specifies that intra prediction, inter prediction, or in-loop filtering operations may be allowed across CLVS sub-picture boundaries. If not present, the value of sps_independent_subpics_flag is inferred to be equal to 0. . subpic_treated_as_pic_flag[i], when set to 1, specifies that the i-th subimage of each coded image in the CLVS is treated as an image in the decoding process, except for in-loop filtering operations. If subpic_treated_as_pic_flag[i] is set to 0, it specifies that the i-th subimage of each coded image in the CLVS is not treated as an image in the decoding process, except for in-loop filtering operations. If not present, the value of subpic_treated_as_pic_flag[i] is sps_independent_subpics_flag is assumed to be equal to loop_filter_across_subpic_enabled_flag[i], when 1, specifies that in-loop filtering operations can be performed across the boundary of the ith subpic of each coded picture in the CLVS. When loop_filter_across_subpic_enabled_flag[i] is 0, it specifies that in-loop filtering operations are not performed across the boundary of the ith subpic of each coded picture in the CLVS. If not present, the value of loop_filter_across_subpic_enabled_pic_flag[i] is !sps_independent_subpics_flag is assumed to be equal to It is a requirement of bitstream conformance that the following constraints apply: - For any two subpictures subpicA and subpicB, if the subpicture index of subpicA is smaller than the subpicture index of subpicB, then the coded slice NAL unit of subPicA is placed before the coded slice NAL unit of subPicB in decoding order. - Sub-image orderWhen decoded, each subimage is either composed of the image's boundary, or of a previously decoded subimage's boundary, such that the entire left and top boundaries of each subimage consist of the image's boundary, or composed of independent sub-image boundaries It is necessary to do so.
[0121] Below is an alternative to the second constraint (changes compared to the VVC draft are double underlined): If sps_independent_subpics_flag is equal to 0, Sub-image order requires that, when decoded, each sub-image is such that either its entire left border and its entire top border consist of the image's border or the border of a previously decoded sub-image.
[0122] The decoder may perform all or a subset of the following steps for this embodiment to decode the current picture from the bitstream. 1. Decode a first indicator value from the bitstream, where the first indicator value is equal to a value that specifies that the current image is segmented into a plurality of image segments. 2. Decode a second indicator value from the bitstream, the second indicator value being equal to a value specifying that all segments in the image are independent, where all segments being independent means that no segment is dependent on properties of other segments for inter prediction, intra prediction, or loop filtering. The presence of the second indicator may be conditioned on the first indicator value being equal to a value specifying that the current image is segmented into multiple image segments. 3. Decode the current image from the bitstream, a. No segment of the current image depends on properties of other segments for inter prediction, intra prediction, or loop filtering; b. The decoding order of segments in the bitstream is such that at least one segment does not have its entire left boundary and its entire top boundary consisting of an image boundary or consisting of a previously decoded sub-image boundary.
[0123] Step 3b is optional, such that step 3b is present in one embodiment and absent in another, or the decoder may perform all or a subset of the following steps for this embodiment to decode the current picture from the bitstream. 1. Decode a first indicator value from the bitstream, the first indicator value being equal to a value that specifies that the current image is segmented into multiple image segments. 2. Decode a second indicator value from the bitstream, the second indicator value being equal to a value that specifies that image segment boundaries are to be treated as image boundaries in the image decoding process. The presence of the second indicator may be conditioned on the first indicator value being equal to a value that specifies that the current image is segmented into multiple image segments. 3. Decode the current image from the bitstream, a. The segment boundaries of the image are treated as image boundaries, b. The decoding order of segments in the bitstream is such that at least one segment does not have its entire left boundary and its entire top boundary consisting of an image boundary or consisting of a previously decoded sub-image boundary.
[0124] Step 3b is optional, such that step 3b is present in one embodiment and not present in another embodiment.
[0125] The encoder may perform all or a subset of the following steps for this embodiment to encode the current picture into a bitstream. 1. Encoding a first indicator value into the bitstream, the first indicator value being equal to a value that specifies that the current image is segmented into a plurality of image segments. 2. Encoding a second indicator value into the bitstream, the second indicator value being equal to a value that specifies that image segment boundaries are to be treated as image boundaries in the image encoding process. The presence of the second indicator may be conditional on the first indicator value being equal to a value that specifies that the current image is to be segmented into multiple image segments. 3. Encode the current image into a bitstream, a. The segment boundaries of the image are treated as image boundaries, b. The ordering of segments in the bitstream is such that at least one segment does not have its entire left and top boundaries consisting of an image boundary or consisting of a preceding sub-image boundary.
[0126] Alternative 2 to the encoding procedure above is as follows: 2. Encoding a second indicator value into the bitstream, the second indicator value being equal to a value specifying that all segments in the image are independent, where all segments being independent means that no segment is dependent on properties of other segments for inter prediction, intra prediction, or loop filtering. The presence of the second indicator may be conditioned on the first indicator value being equal to a value specifying that the current image is segmented into multiple image segments.
[0127] Embodiment 3 - Segment Subset Ordering Rules In this embodiment of the inventive concept, one or more syntax elements specify segment ordering rules that apply to one or more subsets of segments. The values of the syntax elements may be general across the subsets or may be specific to each subset.
[0128] An example of this embodiment is where the availability rules are applied to a subset of segments defined as dependent segments, meaning segments that may have inter or intra prediction or loop filtering across the boundaries, and any segment ordering rules are applied to independent segments, meaning segments without inter or intra prediction and loop filtering across the boundaries. Segment subsets may be created based on segment properties such as spatial location within the image, other properties such as segment size, e.g., segments that contain the first CTU in the image or the last CTU in the image, or segments that share a border with the image border on the left, or segments that contain a number of CTUs less than a threshold.
[0129] An example of this embodiment is when an arbitrary ordering is applied to all segments of an image except for the segment containing the first CTU.
[0130] Embodiment 4 - Segment Subset Ordering Rules In this embodiment of the inventive concept, a set of ordering rules is applied to the level 1 segments and the same or a different set of rules is applied to the level 2 segments for each level 1 segment where each level 1 segment contains one or more level 2 segments. In one example, the level 1 segments are subimages and the level 2 segments are slices. In one example where the level 1 segments are subimages and the level 2 segments are slices, an arbitrary order is applied to the subimages and availability rules are applied to the slices of each subimage.
[0131] Another example of this embodiment is when there are at least two sub-images, each containing two or more rectangular slices, and the order of the rectangular slices within the sub-images follows the availability rules, but the order of the sub-images within the image does not follow the availability rules.
[0132] Embodiment 5 - Segment Subset Ordering Rules This embodiment of the inventive concept includes extracting a coded segment A of a first image from a first bitstream, extracting a coded segment B of a second image from a second bitstream, and writing (merging) coded segment A and coded segment B into a third image of a third bitstream in an order following an ordering rule specified by one or more syntax elements according to any of the aforementioned embodiments signaled in the third bitstream.
[0133] In one version of this embodiment, the syntax element indicates that segments in the bitstream may have been merged from multiple bitstreams. A bitstream merger or stitcher may perform all or a subset of the following steps of this embodiment to merge two or more input bitstreams into one output bitstream. 1. Determine for each input bitstream that its segment boundaries will be treated as image boundaries during the decoding process of that input bitstream. 2. Encode a first indicator value into the output bitstream, the first indicator value being equal to a value that specifies that the image in the output bitstream is segmented (or will be segmented) into a plurality of image segments. 3. Encoding a second indicator value into the output bitstream, the second indicator value being equal to a value that specifies that a segment boundary of an image in the output bitstream is (or will be) treated as an image boundary in a decoding process of the image in the bitstream. The presence of the second indicator may be conditioned on the first indicator value being equal to a value that specifies that the image in the output bitstream is (or will be) segmented into a plurality of image segments. 4. Merging at least one coded segment from each input bitstream to form a coded image in an output bitstream; a. Segment boundaries in the coded image are treated as image boundaries when the coded image is (later) decoded; b. (Optionally) the ordering of the segments in the coded image is such that at least one segment does not have its entire left and top boundaries consisting of the boundary of the image or of a previous segment. 5. Write or output the coded image to the output bitstream.
[0134] The operation of decoder 706 (implemented using the block diagram structure of FIG. 8) will now be described with reference to the flowchart of FIG. 10 in accordance with some embodiments of the inventive concepts. As noted above, modules may be stored in memory 804 of FIG. 8 that may provide instructions for processing circuitry 802 to perform the respective operations of the flowchart when the instructions of the modules are executed by processing circuitry 802.
[0135] FIG. 10 illustrates a method for decoding at least one current picture from a bitstream according to an embodiment. The method may be performed by a decoder 706 that may receive a bitstream from the encoder 700 illustrated in FIG. 7. Returning to FIG. 10, the processing circuit 802 of block 1000 may decode from the bitstream an indicator value that specifies at least one rule of a plurality of rules, the at least one rule being applied to an ordering of segments coded into the bitstream, the segments being segments of a segment partition layout. For example, the decoder 706 may operate to decode from the bitstream an indicator value that specifies at least one rule of a plurality of rules, the at least one rule being applied to an ordering of segments coded into the bitstream, the segments being segments of a segment partition layout. In some embodiments, the plurality of rules include one or more of an availability rule, an ordering of arbitrary segments, an ordering in ascending order of the first coding tree unit address of each segment, an ordering rule based on the size or position of the segments in the segment layout, and a combination of two or more rules.
[0136] At block 1002, the processing circuit 802 may decode from the bitstream a set of syntax elements that specify a segment partition layout. Continuing with the previous example, the decoder 706 may operate to decode from the bitstream a set of syntax elements that specify a segment partition layout. At block 1004, the processing circuit 802 may derive a segment partition layout based on the set of syntax elements. The decoder 706 may operate to derive a segment partition layout based on the set of syntax elements. In some embodiments, the processing circuit 802 may derive the segment partition layout based on the set of syntax elements and at least one rule. The processing circuit 802 may decode an indicator value from one or more syntax elements of the set of syntax elements. In another embodiment, the processing circuit 802 may decode the indicator value from the bitstream by decoding the indicator value from one or more syntax elements of the set of syntax elements. In another embodiment, the processing circuit 802 may decode the indicator value from the bitstream by decoding the indicator value from one or more syntax elements in the parameter set.
[0137] Returning to FIG. 10, the processing circuit 802 of block 1006 may decode at least one current picture in the bitstream using a segment partition layout, where the ordering of the segments complies with at least one specified rule. Continuing with the previous example, the decoder 706 may operate to decode at least one current picture in the bitstream using a segment partition layout, where the ordering of the segments complies with at least one specified rule. In some embodiments, decoding the set of syntax elements may include decoding an indicator value from a syntax element of the set of syntax elements. In this embodiment, the processing circuit 802 may determine that any segment ordering in the segment partition layout applies to all segments of the at least one current picture responsive to the indicator value being a first value. For example, the decoder 706 may operate to decode an indicator value from a syntax element of the set of syntax elements and determine that any segment ordering in the segment partition layout applies to all segments of the at least one current picture responsive to the indicator value being a first value.
[0138] In some embodiments, in response to the indicator value being the second value, when decoded, each segment has an entire left boundary and an entire top boundary that consist of the image boundary or that consist of a boundary of a previously decoded segment. In some other embodiments, in response to the indicator value being the first value, the decoding order of the segments includes at least one segment not having an entire left boundary and an entire top boundary that consist of the boundary of the image or that consist of a boundary of a previously decoded segment.
[0139] The processing circuit 802 may decode values of syntax elements of the set of syntax elements. For example, the decoder 706 may decode values of syntax elements of the set of syntax elements. The processing circuit 802 may determine that all segments in the bitstream follow the availability rules for segments responsive to values that are a first value. In this example, the decoder 706 may determine that all segments in the bitstream follow the availability rules for segments responsive to values that are a first value. Alternatively, the processing circuit 802 may determine that segments in the bitstream may not follow the availability rules for segments responsive to values that are a second value. For example, the decoder 706 may determine that segments in the bitstream may not follow the availability rules for segments responsive to values that are a second value.
[0140] The processing circuit 802 can decode a first indicator value from the bitstream, the first indicator value specifying whether the at least one current picture is segmented into multiple segments. The processing circuit 802 can decode a second indicator value from the bitstream, the second indicator value specifying whether all segments in the at least one current picture are independent. For example, the decoder 706 can decode a first indicator value from the bitstream, the first indicator value specifying whether the at least one current picture is segmented into multiple segments. The decoder 706 can also decode a second indicator value from the bitstream, the second indicator value specifying whether all segments in the at least one current picture are independent. In some other embodiments, the processing circuit 802 can decode a second indicator value from the bitstream, the second indicator value specifying whether all segment boundaries of the at least one current picture are treated as picture boundaries in the decoding of the at least one current picture. For example, the decoder may decode a second indicator value from the bitstream, the second indicator value specifying whether all segment boundaries of the at least one current image are treated as image boundaries in decoding the at least one current image.
[0141] In some embodiments, the second indicator value and the indicator value are the same indicator value. The first indicator may specify that the current image is segmented into multiple segments. The second indicator value may specify that all segments of the current image are independent. Alternatively, the second indicator value may specify that all segment boundaries of the current image are treated as image boundaries in decoding the current image. In this embodiment, the processing circuit 802 may decode the current image by decoding each segment, and no segment in the current image is dependent on any properties of other segments in the current image.
[0142] The processing circuit 802 may decode syntax elements of the set of syntax elements and apply the arbitrary order to all segments of the at least one current picture except for a segment that includes a first coding tree unit in the picture in response to the syntax elements specifying the arbitrary order. For example, the decoder 706 may decode syntax elements of the set of syntax elements and apply the arbitrary order to all segments of the at least one current picture except for a segment that includes a first coding tree unit in the picture in response to the syntax elements specifying the arbitrary order. In some embodiments, the at least one current picture has multiple segments in multiple levels. In this embodiment, the processing circuit 802 may apply a first set of ordering rules to the first level segments and a second set of ordering rules to the second level segments of the first level segments. For example, the decoder 706 may apply a first set of ordering rules to the first level segments and a second set of ordering rules to the second level segments of the first level segments when the at least one current picture has multiple segments in multiple levels. A segment may include one of a tile, a tile group, a slice, a rectangular slice, or a sub-image of the bitstream. In some embodiments, the first level segments are sub-images and the second level segments are slices.
[0143] The operation of the encoder 700 (implemented using the structure of the block diagram of FIG. 9) will now be described with reference to the flowcharts of FIG. 11 and FIG. 12, in accordance with some embodiments of the inventive concepts. As noted above, modules may be stored in the memory 904 of FIG. 9, and these modules may provide instructions for the processing circuitry 902 to perform the respective operations of the flowcharts when the instructions of the modules are executed by the processing circuitry 902.
[0144] FIG. 11 illustrates a method for encoding at least one current picture into a bitstream according to an embodiment of the inventive concept. The method may be performed by an encoder 700 that may transmit a bitstream to a decoder 706 illustrated in FIG. 7. Returning to FIG. 11, the processing circuit 902 may define a segment partition layout for the segments of the at least one current picture to be encoded into a bitstream in block 1100. For example, the encoder 700 may define a segment partition layout for the segments of the at least one current picture to be encoded into a bitstream. The processing circuit 902 in block 1102 may select at least one rule from a set of rules for ordering of segments in a segment partition layout of the at least one current picture to be encoded into a bitstream, as illustrated in FIG. 11. For example, the encoder 700 may select at least one rule from a set of rules for ordering of segments in a segment partition layout of the at least one current picture to be encoded into a bitstream. In some embodiments, the multiple rules include one or more of availability rules, ordering of any segments, ordering in ascending order of the first coding tree unit address of each segment, ordering rules based on the size or position of the segment within the segment layout, and a combination of two or more rules.
[0145] At block 1104, the processing circuit 902 may encode the segment partition layout of the at least one current image into a bitstream. Continuing with the previous example, the encoder 700 may encode the segment partition layout of the at least one current image into a bitstream. The processing circuit 902 may encode a first value of a syntax element into the bitstream in response to determining that any segment ordering in the segment partition layout applies to all segments. For example, the encoder 700 may encode a first value of a syntax element into the bitstream in response to determining that any segment ordering in the segment partition layout applies to all segments.
[0146] When applying an arbitrary segment order, the coded segments are arranged in the bitstream in an order such that at least one segment does not have an entire left boundary and an entire top boundary that consist of a picture boundary or that consist of a boundary of a previously decoded segment. The processing circuit 902 can also encode a second value of the syntax element into the bitstream in response to determining that each segment should have an entire left boundary and an entire top boundary that consist of a picture boundary or that consist of a boundary of a previously decoded segment. For example, the encoder 700 can encode a second value of the syntax element into the bitstream in response to determining that each segment should have an entire left boundary and an entire top boundary that consist of a picture boundary or that consist of a boundary of a previously decoded segment.
[0147] The processing circuit 902 may encode a first value of the syntax element into the bitstream in response to determining that all segments in the bitstream follow the segment availability rules. For example, the encoder 700 may encode a first value of the syntax element into the bitstream in response to determining that all segments in the bitstream follow the segment availability rules. The processing circuit 902 may encode a second value of the syntax element into the bitstream in response to determining that a sub-image in the bitstream does not follow the segment availability rules. Continuing with the previous example, the encoder 700 may encode a second value of the syntax element into the bitstream in response to determining that a sub-image in the bitstream does not follow the segment availability rules.
[0148] Returning to FIG. 11, at block 1106, the processing circuit 902 may encode the indicator value into a bitstream, the indicator value identifying a set of rules selected for ordering the segments in the segment partition layout of the at least one current picture. For example, the encoder 700 may encode the indicator value into a bitstream, the indicator value identifying a set of rules selected for ordering the segments in the segment partition layout of the at least one current picture. At block 1108, the processing circuit 902 may encode the at least one current picture into a bitstream using the segment partition layout. Continuing with the example, the encoder 700 may encode the at least one current picture into a bitstream using the segment partition layout.
[0149] The processing circuit 902 can encode a first indicator value into the bitstream, the first indicator value specifying that at least one current image is segmented into a plurality of segments in response to the current image being segmented into a plurality of segments. For example, the encoder 700 can encode a first indicator value into the bitstream, the first indicator value specifying that at least one current image is segmented into a plurality of segments in response to the current image being segmented into a plurality of segments. The processing circuit 902 can also encode a second indicator value into the bitstream, the second indicator value specifying that all segments in the at least one current image are independent in response to all segments in the image being independent. Continuing with the previous example, the encoder 700 can encode a second indicator value into the bitstream, the second indicator value specifying that all segments in the at least one current image are independent in response to all segments in the image being independent. In another embodiment, the processing circuit 902 can encode a second indicator value into the bitstream, the second indicator value specifying that in decoding the at least one current image all segment boundaries of the at least one current image are treated as image boundaries in response to all segment boundaries of the at least one current image being treated as image boundaries. In another example, the encoder 706 can encode a second indicator value into the bitstream, the second indicator value specifying that in decoding the at least one current image all segment boundaries of the at least one current image are treated as image boundaries in response to all segment boundaries of the at least one current image being treated as image boundaries.
[0150] The processing circuit 902 may encode a syntax element specifying an arbitrary order for all segments of the image in response to applying an arbitrary order to all segments of the at least one current image, except for a segment that includes a first coding tree unit in the image. For example, the encoder 700 may encode a syntax element specifying an arbitrary order for all segments of the image in response to applying an arbitrary order to all segments of the at least one current image, except for a segment that includes a first coding tree unit in the image. In some embodiments, the at least one current image has multiple segments at multiple levels. In this embodiment, the processing circuit 902 may apply a first set of ordering rules to the first level segments and a second set of ordering rules to the second level segments within the first level segments. For example, the encoder 700 may apply a first set of ordering rules to the first level segments and a second set of ordering rules to the second level segments within the first level segments.
[0151] In some embodiments, the encoder may receive two or more input bitstreams. Referring to FIG. 12, in block 1200, the processing circuit 902 may encode a first indicator value into the output bitstream, the first indicator value being equal to a value that specifies that an image in the output bitstream is segmented into multiple segments. For example, the encoder 700 may receive two or more input bitstreams. In this situation, the encoder 700 may encode a first indicator value into the output bitstream, the first indicator value being equal to a value that specifies that an image in the output bitstream is segmented into multiple segments.
[0152] At block 1202, the processing circuit 902 may determine whether a segment boundary in each of the two or more input bitstreams should be treated as a picture boundary in decoding the bitstream. Continuing with the previous example, the encoder 700 may determine whether a segment boundary in each of the two or more input bitstreams should be treated as a picture boundary in decoding the bitstream.
[0153] At block 1204, the processing circuit 902 may encode a second indicator value into the output bitstream, the second indicator value equal to a value that specifies that a segment boundary of the image in the output bitstream is to be treated as an image boundary in a decoding process of the image in the output bitstream in response to determining that a segment boundary of the two or more input bitstreams is to be treated as an image boundary. Continuing with the previous example, the encoder 700 may encode a second indicator value into the output bitstream, the second indicator value equal to a value that specifies that a segment boundary of the image in the output bitstream is to be treated as an image boundary in a decoding process of the image in the output bitstream in response to determining that a segment boundary of the two or more input bitstreams is to be treated as an image boundary.
[0154] At block 1206, the processing circuit 902 may merge at least one coded segment from each of the two or more input bitstreams to form a coded image for the output bitstream and output 1208 the coded image to the output bitstream. Continuing with the previous example, the encoder 700 may merge at least one coded segment from each of the two or more input bitstreams to form a coded image for the output bitstream and output the coded image to the output bitstream.
[0155] Exemplary embodiments are discussed below. 1. A method for decoding at least one current picture from a bitstream, the method comprising: decoding (1000) from the bitstream an indicator value that specifies at least one rule of a plurality of rules to be applied to ordering of segments coded in the bitstream, the segments being segments in a segment partition layout; decoding (1002) the set of syntax elements from a bitstream that specify a segment partition layout; deriving (1004) a segment partition layout based on the set of syntax elements; Decoding (1006) at least one current picture in a bitstream using a segment partition layout, where the ordering of the segments complies with at least one specified rule; A method comprising: 2. The method of embodiment 1, wherein the plurality of rules includes one or more of an availability rule, an ordering of any segment, an ascending ordering of the first coding tree unit address of each segment, an ordering rule based on the size or position of the segment within a segment layout, and a combination of two or more rules. 3. A method as in any one of the preceding claims, wherein deriving a segment partition layout based on the set of syntax elements includes deriving the segment partition layout based on the set of syntax elements and the at least one rule. 4. A method according to any one of embodiments 1 to 3, wherein decoding an indicator value from the bitstream includes decoding the indicator value from one or more syntax elements of the set of syntax elements. 5. A method according to any one of embodiments 1 to 4, wherein decoding the indicator value from one or more syntax elements of the set of syntax elements includes decoding the indicator value from one or more syntax elements in a parameter set. 6. The method according to any one of embodiments 1 to 5, wherein the parameter set is a sequence parameter set, SPS, or a picture parameter set, PPS, or a video parameter set, VPS. 7. Decoding the set of syntax elements comprises: decoding the indicator value from a syntax element of the set of syntax elements; determining, in response to the indicator value being a first value, that an arbitrary segment order of the segment partition layout is applied to all segments of the at least one current image; in response to the value being a second value, each segment, when decoded, has an entire left boundary and an entire top boundary that are comprised of a boundary of the image or a boundary of a previously decoded segment; 7. The method of any one of embodiments 1 to 6, comprising: 8. The method of embodiment 7, wherein in response to the value being a first value, the decoding order of the segments includes at least one segment not having its entire left boundary and / or its entire top boundary consisting of an image boundary or consisting of a boundary of a previously decoded segment. 9. Decoding the set of syntax elements comprises: decoding values of syntax elements of the set of syntax elements; in response to the value being a first value, determining that all segments in the bitstream comply with segment availability rules; determining, in response to the value being a second value, that a segment within the bitstream may not comply with segment availability rules; 9. The method of any one of embodiments 1 to 8, comprising: 10. Decoding a first indicator value from a bitstream, the first indicator value specifying whether the at least one current image is segmented into a plurality of segments; decoding a second indicator value from the bitstream, the second indicator value specifying whether all segments within the at least one current picture are independent; and 10. The method of any one of embodiments 1 to 9, further comprising: 11. Decoding a first indicator value from the bitstream, the first indicator value specifying whether the at least one current image is segmented into a plurality of segments; and decoding a second indicator value from the bitstream, the second indicator value specifying whether all segment boundaries of the at least one current image are treated as image boundaries in decoding the at least one current image; 10. The method of any one of embodiments 1 to 9, further comprising: 12. The method of embodiment 10 or 11, wherein the second indicator value and the indicator value are values of the same indicator. 13. A method according to any one of embodiments 10 to 12, wherein the first indicator specifies that the current image is segmented into a plurality of segments, and the second indicator value specifies that all segments of the current image are independent, or the second indicator value specifies that all segment boundaries of the current image are treated as image boundaries in decoding the current image, and decoding the current image includes decoding each segment where the segments in the current image are not dependent on any properties of other segments in the current image. 14. Decoding a syntax element of the set of syntax elements; in response to the syntax element specifying an arbitrary order, applying an arbitrary order to all segments of the at least one current picture except a segment including a first coding tree unit of the current picture; 14. The method of any one of the preceding claims, further comprising: 15. The at least one current image has multiple segments at multiple levels; applying a first set of ordering rules to the first level segments; applying a second set of ordering rules to second level segments within the first level segments; 15. The method of any one of the preceding claims, further comprising: 16. The method of any one of embodiments 1 to 15, wherein the segment is either a tile, a tile group, a slice, a rectangular slice, or a subimage. 17. The method of embodiment 15 or 16, wherein the first level segments are sub-images and the second level segments are slices. 18. A decoder for a communications network, comprising: A processor; a memory coupled to the processor, the memory, when executed by the processor, causing the processor to: decoding (1000) an indicator value from a bitstream, the indicator value specifying at least one rule of a plurality of rules to be applied to an ordering of segments coded in the bitstream, the segments being segments in a segment partition layout; decoding (1002) the set of syntax elements from a bitstream that specify a segment partition layout; Deriving (1004) a segment partition layout based on the set of syntax elements; Decoding (1006) at least one current picture in the bitstream using the segment partition layout, where the ordering of the segments complies with the at least one specified rule; a memory including instructions for performing operations including A decoder for a communication network comprising: 19. The decoder of embodiment 18, wherein the memory includes further instructions that, when executed by the processor, cause the processor to perform operations according to any one of embodiments 2 to 17. 20. A computer program product comprising computer-executable instructions, the computer-executable instructions, when executed on a processor included in a device, causing the device to: decoding (1000) from the bitstream an indicator value that specifies at least one rule of a plurality of rules to be applied to ordering of segments coded in the bitstream, the segments being segments in a segment partition layout; Decoding (1002) from the bitstream a set of syntax elements that specify a segment partition layout; deriving (1004) a segment partition layout based on the set of syntax elements; Decoding (1006) the at least one current picture in the bitstream using the segment partition layout, where the ordering of the segments complies with the at least one specified rule; 23. A computer program product comprising computer-executable instructions configured to cause a computer to perform operations including: 21. The computer program product of embodiment 20, comprising further computer-executable instructions configured to, when executed on a processor included in the device, cause the device to perform the method of any one of embodiments 2 to 17. 22. A computer program product including a computer-readable storage medium, the computer-readable storage medium being capable of causing a device to: decoding (1000) from the bitstream an indicator value that specifies at least one rule of a plurality of rules to be applied to ordering of segments coded in the bitstream, the segments being segments in a segment partition layout; Decoding (1002) from the bitstream a set of syntax elements that specify a segment partition layout; deriving (1004) a segment partition layout based on the set of syntax elements; Decoding (1006) the at least one current picture in a bitstream using the segment partition layout, where the ordering of the segments complies with at least one specified rule; A computer program product having computer-executable instructions configured to cause the computer to perform operations including: 23. The computer program product of embodiment 22, further comprising computer-executable instructions configured to, when executed on a processor included in the device, cause the device to perform the method of any one of embodiments 2 to 17. 24. A method for encoding at least one current image into a bitstream, comprising: defining (1100) a segment partition layout for segments of at least one current image to be encoded into the bitstream; selecting (1102) at least one rule from a set of rules for the ordering of the segments in a segment partition layout of the at least one current picture to be encoded into the bitstream; encoding (1104) the segment partition layout of the at least one current image into the bitstream; encoding (1106) an indicator value into a bitstream, the indicator value identifying the set of rules selected for the ordering of the segments in the segment partition layout of the at least one current image; encoding (1108) the at least one current picture into the bitstream using the segment partition layout; A method comprising: 25. The method of embodiment 24, wherein the plurality of rules includes one or more of an availability rule, an ordering of any segments, an ordering rule in ascending order of the first coding tree unit address of each segment, an ordering rule based on the size or position of the segment within the segment layout, and a combination of two or more rules. 26. Encoding the at least one current picture into the bitstream using the segment partition layout includes: encoding a first value of a syntax element into the bitstream if it is determined that any segment ordering of the segment partition layout is to be applied to all segments; encoding a second value of the syntax element into the bitstream if it determines that each segment should have an entire left boundary and an entire top boundary consisting of an image boundary or a boundary of a previously decoded segment; 26. The method of embodiment 24 or 25, comprising: 27. The method of embodiment 26, wherein the coded segments are placed in the bitstream in an order such that, when any segment ordering is applied, at least one segment does not have an entire left boundary and / or an entire top boundary that is comprised of an image boundary or a boundary of a previously decoded segment. 28. If it is determined that all segments in the bitstream comply with a segment availability rule, encoding a first value of a syntax element into the bitstream; encoding a second value of the syntax element into the bitstream if it is determined that a segment in the bitstream does not comply with the segment availability rules; 28. The method of any one of embodiments 24 to 27, further comprising: 29. If the current image is determined to be segmented into a plurality of segments, encoding a first indicator value into the bitstream, the first indicator value specifying that at least one of the current images is segmented into a plurality of segments; if all segments of a current picture are disjoint, encoding a second indicator value into the bitstream, the second indicator value specifying that all segments of at least one current picture are disjoint; 29. The method of any one of embodiments 24 to 28, further comprising: 30. If the current image is segmented into a plurality of segments, encoding a first indicator value into the bitstream, the first indicator value specifying that the at least one current image is segmented into a plurality of segments; if all segment boundaries of the at least one current image are treated as image boundaries, encoding a second indicator value into the bitstream, the second indicator value specifying that all segment boundaries of the at least one current image are treated as image boundaries in decoding the at least one current image; 29. The method of any one of embodiments 24 to 28, further comprising: 31. In response to applying an arbitrary order to all segments of the at least one current image, except for a segment including a first coding tree unit of the current image, encoding a syntax element that specifies an arbitrary order for all segments of the current image; 31. The method of any one of embodiments 24 to 30, further comprising: 32. The at least one current image has a plurality of segments at a plurality of levels, and the method further comprises: applying a first set of ordering rules to the first level segments; applying a second set of ordering rules to second level segments within the first level segments; 32. The method of any one of embodiments 24 to 31, further comprising: 33. The encoder receives two or more input bitstreams, and the method comprises: encoding (1200) a first indicator value into an output bitstream, the first indicator value being equal to a value that specifies that an image in the output bitstream is segmented into a plurality of segments; determining (1202) whether a segment boundary of each of the two or more input bitstreams should be treated as a picture boundary in decoding the bitstreams; if it determines that a segment boundary of the two or more input bitstreams is to be treated as an image boundary, encoding (1204) a second indicator value into the output bitstream, the second indicator value being equal to a value that specifies that a segment boundary of an image in the output bitstream is to be treated as an image boundary in a decoding process of the image in the output bitstream; merging (1260) at least one coded segment from each of the two or more input bitstreams to form a coded image in the output bitstream; outputting (1208) the coded image into an output bitstream; 33. The method of any one of embodiments 24 to 32, further comprising: 34. The method of any one of embodiments 24 to 33, wherein the segment is either a tile, a tile group, a slice, a rectangular slice, or a subimage. 35. An encoder for a communications network, the encoder comprising: A processor; a memory coupled to the processor, the memory, when executed by the processor, causing the processor to: defining (1100) a segment partition layout for at least one segment of a current image to be encoded into a bitstream; selecting (1102) at least one rule from a set of rules for ordering segments in a segment partition layout of at least one current picture to be encoded into a bitstream; encoding (1104) a segment partition layout of at least one current image into a bitstream; encoding (1106) an indicator value into the bitstream, the indicator value identifying a set of selected rules for ordering segments in a segment partition layout of the at least one current image; encoding (1108) at least one current picture into a bitstream using the segment partition layout; a memory including instructions for performing operations including An encoder comprising: 36. The encoder of embodiment 35, wherein the memory includes further instructions that, when executed by the processor, cause the processor to perform the operations of any one of embodiments 24 to 34. 37. A computer program product comprising computer-executable instructions, the computer-executable instructions, when executed on a processor included in a device, causing the device to: defining (1100) a segment partition layout for at least one segment of a current image to be encoded into a bitstream; selecting (1102) at least one rule from a set of rules for the ordering of the segments in the segment partition layout of at least one current picture to be encoded into a bitstream; encoding (1104) a segment partition layout of the at least one current image into the bitstream; encoding (1106) an indicator value into the bitstream, the indicator value identifying a set of selected rules for ordering segments in a segment partition layout of the at least one current image; encoding (1108) the at least one current picture into the bitstream using the segment partition layout; Computer executable instructions configured to cause a computer to perform operations including: 2. A computer program product comprising: 38. The computer program product of embodiment 37, comprising further computer-executable instructions configured to cause the device to perform the method of any one of embodiments 24 to 34, when the computer-executable instructions are executed on a processor included in the device. 39. A computer program product including a computer-readable storage medium, the computer-readable storage medium being configured to, when the computer-executable instructions are executed on a processor included in the device, cause the device to: defining (1100) a segment partition layout for at least one segment of a current image to be encoded into a bitstream; selecting (1102) at least one rule from a set of rules for ordering segments in a segment partition layout of at least one current picture to be encoded into the bitstream; encoding (1104) a segment partition layout of the at least one current image into the bitstream; encoding (1106) an indicator value into the bitstream, the indicator value identifying a set of selected rules for ordering the segments in the segment partition layout of the at least one current image; encoding (1108) at least one current picture into a bitstream using the segment partition layout; having computer-executable instructions configured to cause the device to perform operations including: Computer program products. 40. The computer program product of embodiment 39 having further computer-executable instructions configured to, when further executed on a processor included in the device, cause the device to perform a method according to any one of embodiments 24 to 34.
[0156] Various abbreviations / acronyms used in this disclosure are explained below. Abbreviation Description ALF Adaptive Loop Filter APS Adaptive Parameter Set CLVS coded layer video sequence CVS Encoded Video Stream CVSS CVS start CU coding unit CTU Coding Tree Unit DPS Decode Parameter Set GDR gradual decoding update HEVC High Efficiency Video Coding IRAP Intra Random Access Point LMCS Luminance Mapping and Chroma Scaling MPEG Motion Picture Experts Group NAL Network Abstraction Layer PPS Image Parameter Set RPL Reference Image List SEI Supplemental Enhancement Layer SPS Sequence Parameter Set VCL Video Coding Layer VPS Video Parameter Set VVC Versatile Video Coding
[0157] Further explanation is provided below.
[0158] In general, all terms used herein are to be interpreted according to their ordinary meaning in the relevant technical field unless a different meaning is expressly given and / or is implied from the context in which it is used. All references to elements, apparatus, components, means, steps, etc., should be openly interpreted as referring to at least one example of the element, apparatus, component, means, step, etc., unless otherwise specified. The steps of any method disclosed herein need not be performed in the exact order disclosed, unless a step is expressly described as following or preceding another step, and / or unless it is implicitly indicated that a step must follow or precede another step. Any feature of any of the embodiments disclosed herein may be applied to any other embodiment, whenever appropriate. Similarly, any advantage of any embodiment may be applied to any other embodiment, and vice versa. Other objects, features, and advantages of the enclosed embodiments will become apparent from the following description.
[0159] Some of the embodiments contemplated herein are more fully described with reference to the accompanying drawings. However, other embodiments are within the scope of the subject matter disclosed herein, and the subject matter disclosed should not be construed as being limited to only the embodiments described herein. Rather, these embodiments are provided as examples to convey the scope of the subject matter to those skilled in the art.
[0160] FIG. 13 illustrates a virtualization environment according to some embodiments.
[0161] FIG. 13 is a schematic block diagram illustrating a virtualization environment 1300 in which functions implemented by some embodiments of an encoder and / or decoder may be virtualized. In this context, virtualization means creating a virtual version of an apparatus or device, which may include virtualization of hardware platforms, storage devices, and network resources. As used herein, virtualization may apply to a node (e.g., a virtualized base station or a virtualized radio access node), or a device (e.g., a UE, a wireless device, or other type of communication device) or components thereof, and relates to an implementation in which at least a portion of the functionality is implemented as one or more virtual components (e.g., via one or more applications, components, functions, virtual machines, or containers running on one or more physical processing nodes, in one or more networks).
[0162] In some embodiments, some or all of the functionality of the encoders and / or decoders described herein may be implemented as virtual components executed by one or more virtual machines implemented in one or more virtual environments 1300 hosted by one or more hardware nodes 1330. Additionally, in embodiments where the virtual nodes are not radio access nodes or do not require wireless connectivity (e.g., core network nodes), the network nodes may be fully virtualized.
[0163] These functions may be implemented by one or more applications 1320 (alternatively referred to as software instances, virtual appliances, network functions, virtual nodes, virtual network functions, etc.) that function to perform some of the features, functions, and / or advantages of the embodiments disclosed herein. The applications 1320 execute in a virtualization environment 1300 that provides hardware 1330 including a processing circuit 1360 and a memory 1390. The memory 1390 includes instructions 1395 executable by the processing circuit 1360 such that the applications 1320 are operable to provide one or more of the features, benefits, and / or functions disclosed herein.
[0164] The virtualization environment 1300 includes general-purpose or special-purpose network hardware devices 1330 that include a set of one or more processors or processing circuitry 1360, which may be commercial off-the-shelf (COTS) processors, dedicated application specific integrated circuits (ASICs), or other types of processing circuitry including digital or analog hardware components or dedicated processors. Each hardware device may include memory 1390-1, which may be non-persistent memory for temporarily storing instructions 1395 or software executed by the processing circuitry 1360. Each hardware device may include one or more network interface controllers (NICs) 1370, also known as network interface cards, that include a physical network interface 1380. Each hardware device may also include a non-transitory, persistent, machine-readable storage medium 1390-2 having stored therein software 1395 and / or instructions executable by the processing circuitry 1360. Software 1395 may include any type of software, including software for instantiating one or more virtualization layers 1350 (also referred to as a hypervisor), software for running virtual machines 1340, as well as software that enables the implementation of the functions, features, and / or advantages described in connection with some of the embodiments described herein.
[0165] A virtual machine 1340 may include virtual processing, virtual memory, virtual networking or interfaces, and virtual storage, and may be executed by a corresponding virtualization layer 1350 or hypervisor. Different embodiments of an instance of a virtual appliance 1320 may be implemented on one or more virtual machines 1340, and the implementation may be done in different ways.
[0166] During operation, the processing circuitry 1360 executes software 1395 to instantiate a hypervisor or virtualization layer 1350, sometimes referred to as a virtual machine monitor (VMM), which may present a virtual operating platform that looks like network hardware to the virtual machines 1340.
[0167] As shown in Figure 13, hardware 1330 may be a standalone network node with generic or specific components. Hardware 1330 may include antenna 13225 and may implement some functionality via virtualization. Alternatively, hardware 1330 may be part of a larger cluster of hardware (e.g., in a data center or customer premise equipment (CPE)) where many hardware nodes work together and are managed via management and orchestration (MANO) 13100 that oversees, among other things, the lifecycle management of application 1320.
[0168] Hardware virtualization is referred to in some contexts as network function virtualization (NFV), which allows the consolidation of many network equipment types onto industry-standard high-volume server hardware, physical switches, and physical storage that can reside in a data center, as well as customer premises equipment.
[0169] In the context of NFV, a virtual machine 1340 may be a software implementation of a physical machine that executes programs as if they were running on a physical, non-virtualized machine. Each virtual machine 1340, and that portion of the hardware 1330 on which it runs, whether hardware dedicated to that virtual machine and / or hardware shared by that virtual machine with other virtual machines 1340, forms a separate virtual network element (VNE).
[0170] Still in the context of NFV, a Virtual Network Function (VNF) handles a specific network function running on one or more virtual machines 1340 on the hardware network infrastructure 1330 and corresponds to the application 1320 in FIG. 13.
[0171] In some embodiments, one or more radio units 13200, each including one or more transmitters 13220 and one or more receivers 13210, may be coupled to one or more antennas 13225. The radio units 13200 may communicate directly with the hardware node 1330 via one or more suitable network interfaces, and may be used in combination with virtual components to provide wireless functionality, such as a radio access node or base station, for the virtual node.
[0172] In some embodiments, some signaling can be performed using a control system 13230, which may alternatively be used for communication between the hardware node 1330 and the wireless unit 13200.
[0173] Any suitable steps, methods, features, functions, or advantages disclosed herein may be performed via one or more functional units or modules of one or more virtual devices. Each virtual device may include a number of these functional units. These functional units may be implemented via processing circuitry, which may include one or more microprocessors or microcontrollers, as well as other digital hardware, which may include digital signal processors (DSPs), dedicated digital logic, and the like. The processing circuitry may be configured to execute program code stored in memory, which may include one or more types of memory, such as read-only memory (ROM), random-access memory (RAM), cache memory, flash memory devices, optical storage devices, and the like. The program code stored in memory includes program instructions for executing one or more communication and / or data communication protocols, as well as instructions for executing one or more techniques described herein. In some implementations, the processing circuitry may be used to cause the respective functional units to perform functions corresponding to the respective functional units in accordance with one or more embodiments of the present disclosure.
[0174] The term unit may have its conventional meaning in the field of electronics, electrical equipment, and / or electronics, and may include, for example, electric and / or electronic circuits, devices, modules, processors, memories, logical solid state and / or discrete devices, computer programs or instructions for performing a respective task, procedure, calculation, output, and / or display function, etc., as described herein.
[0175] Further definitions and embodiments are discussed below.
[0176] In the above description of various embodiments of the inventive concept, it should be understood that the terms used herein are only intended to describe specific embodiments and are not intended to limit the inventive concept. Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those skilled in the art to which the present inventive concept belongs. Furthermore, it should be understood that terms as defined in commonly used dictionaries should be interpreted to have a meaning consistent with their meaning in the context of this specification and related art, and should not be interpreted in an ideal or overly formal sense unless expressly defined herein.
[0177] When an element is referred to as being "connected," "coupled," "responsive," or variations thereof to another element, it may be directly connected, coupled, or responsive to the other element, or there may be intervening elements. In contrast, when an element is referred to as being "directly connected," "directly coupled," "directly responsive," or variations thereof to another element, there are no intervening elements. Like numbers refer to like elements throughout. Additionally, as used herein, "coupled," "connected," "responsive," or variations thereof may include wirelessly coupled, connected, or responsive. As used herein, the singular forms "a," "an," and "the" are intended to include the plural forms unless the context clearly indicates otherwise. Well-known features or structures may not be described in detail for brevity and / or clarity. The term "and / or" (abbreviation " / ") includes any and all combinations of one or more of the associated listed items.
[0178] In this specification, terms such as first, second, third, etc. may be used to describe various elements / operations, but it is understood that these elements / operations should not be limited by these terms. These terms are used only to distinguish one element / operation from another. Thus, a first element / operation in some embodiments can be referred to as a second element / operation in other embodiments without departing from the teachings of the inventive concept. The same reference numbers or the same reference designators refer to the same or similar elements throughout the specification.
[0179] As used herein, the terms "comprise," "comprising," "comprises," "include," "including," "includes," "have," "has," "having," or variations thereof, are open-ended and include one or more stated features, integers, elements, steps, components, or functions, but do not exclude the presence or addition of one or more other features, integers, elements, steps, components, functions, or groups thereof. Additionally, as used herein, the common abbreviation "eg," derived from the Latin "exempli gratia," may be used to introduce or designate a general example or instance of the aforementioned items and is not intended to be limiting of such items. The common abbreviation "ie," derived from the Latin "id est," may be used to designate a specific item from a more general recitation.
[0180] Exemplary embodiments are described herein with reference to block diagrams and / or flowchart illustrations of computer-implemented methods, apparatus (systems and / or devices) and / or computer program products. It will be understood that blocks of the block diagrams and / or flowchart illustrations, and combinations of blocks in the block diagrams and / or flowchart illustrations, can be implemented by computer program instructions executed by one or more computer circuits. These computer program instructions can be provided to a processor circuit of a general-purpose computer circuit, a special-purpose computer circuit, and / or other programmable data processing circuit, which instructions executed via a processor of a computer and / or other programmable data processing apparatus produce a machine that transforms and controls transistors, values stored in memory locations, and other hardware components in the circuit to implement the function / act specified in the block diagram and / or flowchart block or blocks, thereby creating a means (function) and / or structure for performing the function / act specified in the block diagram and / or flowchart block or blocks.
[0181] These computer program instructions may also be stored on a tangible computer readable medium that can direct a computer or other programmable data processing apparatus to function in a particular manner to produce an article of manufacture that includes instructions that perform the function / act specified in the block diagram and / or flowchart block or blocks, such as a digital signal processor, in which the instructions stored on the computer readable medium perform the function / act specified in the block diagram and / or flowchart block or blocks. Thus, embodiments of the inventive concepts may be embodied in hardware and / or software (including firmware, resident software, microcode, etc.) operating on a processor, such as a digital signal processor, which may collectively be referred to as a "circuit," "module," or variations thereof.
[0182] It should also be noted that in some alternative implementations, the functions / operations noted in the blocks may differ from the order noted in the flowcharts. For example, two blocks shown in succession may in fact be executed substantially simultaneously, or the blocks may be executed in reverse order, depending on the functions / operations involved. Furthermore, the functionality of a given block in the flowcharts and / or block diagrams may be separated into multiple blocks, and / or the functionality of two or more blocks in the flowcharts and / or block diagrams may be at least partially integrated. Finally, other blocks may be added / inserted between the illustrated blocks, and / or blocks / operations may be omitted without departing from the scope of the inventive concept. Furthermore, while some diagrams include arrows on communication paths to indicate a primary direction of communication, it should be understood that communication may occur in a direction opposite to that of the depicted arrows.
[0183] Many variations and modifications can be made to the embodiments without substantially departing from the principles of the inventive concept. All such variations and modifications are intended to be included herein within the scope of the inventive concept. Therefore, the above disclosed subject matter should be considered as illustrative and not limiting, and the example embodiments are intended to cover all such modifications, enhancements, and other embodiments that are within the spirit and scope of the inventive concept. Therefore, to the maximum extent permitted by law, the scope of the inventive concept should be determined by the broadest permissible interpretation of the present disclosure, including the example embodiments and their equivalents, and should not be limited or restricted by the foregoing detailed description.
Claims
1. 1. A method for decoding at least one current picture from a bitstream, the method comprising: decoding (1000) from the bitstream an indicator value that specifies at least one rule of a plurality of rules to be applied to ordering of segments coded into the bitstream, the segments being segments of a segment partition layout, and the plurality of rules including an availability rule; Decoding (1002) from the bitstream a set of syntax elements that specify a segment partition layout; deriving (1004) a segment partition layout based on the set of syntax elements; Decoding (1006) at least one current picture in a bitstream using a segment partition layout, where the ordering of the segments complies with the specified at least one rule; A method comprising:
2. 2. The method of claim 1 , wherein the plurality of rules further comprises one or more of: an ordering of arbitrary segments; an ascending ordering of a first coding tree unit address of each segment; and an ordering rule based on a size or position of the segment within a segment layout.
3. 3. The method of claim 2, wherein the plurality of rules includes the ordering of the first coding tree unit addresses in each segment in ascending order.
4. 4. The method of claim 1, wherein decoding the indicator value from the bitstream comprises decoding the indicator value from one or more syntax elements of the set of syntax elements.
5. 5. The method of claim 1, wherein decoding the indicator value from one or more syntax elements of the set of syntax elements comprises decoding the indicator value from one or more syntax elements in a parameter set.
6. The method of claim 5 , wherein the parameter set is a sequence parameter set (SPS), or a picture parameter set (PPS), or a video parameter set (VPS).
7. The method of claim 5 , wherein the parameter set is an SPS.
8. decoding a first indicator value from the bitstream, the first indicator value specifying whether the at least one current image is segmented into a plurality of segments; decoding a second indicator value from the bitstream, the second indicator value specifying whether all segments in the at least one current picture are disjoint; The method of claim 1 , further comprising:
9. decoding a first indicator value from the bitstream, the first indicator value specifying whether the at least one current image is segmented into a plurality of segments; decoding a second indicator value from the bitstream, the second indicator value specifying whether all segment boundaries of the at least one current image are treated as image boundaries in decoding the at least one current image; The method of claim 1 , further comprising:
10. 10. The method of claim 8 or 9, wherein the first indicator value specifies that the current image is segmented into a plurality of segments, and the second indicator value specifies that all segments of the current image are independent, or the second indicator value specifies that all segment boundaries of the current image are treated as image boundaries in decoding the current image, and decoding the current image comprises decoding each segment in the current image that is not dependent on any properties of other segments in the current image.
11. The at least one current image has a plurality of segments at a plurality of levels, the method comprising: applying a first set of ordering rules to the first level segments; applying a second set of ordering rules to second level segments within the first level segments; The method of claim 1 , further comprising:
12. The method of claim 1 , wherein a segment is one of a tile, a tile group, a slice, a rectangular slice, or a sub-image.
13. The method of claim 1 , wherein the segments are sub-images.
14. A decoder (706) for decoding an image in a bitstream, said decoder comprising: A processor (802); A memory (804) coupled to the processor, the memory, when executed by the processor, causing the processor to: decoding (1000) an indicator value from a bitstream, the indicator value specifying at least one rule of a plurality of rules to be applied to ordering of segments coded into the bitstream, the segments being segments of a segment partition layout, the plurality of rules including an availability rule; Decoding (1002) a set of syntax elements specifying a segment partition layout from the bitstream; deriving (1004) a segment partition layout based on the set of syntax elements; Decoding (1006) at least one current picture in the bitstream using the segment partition layout, wherein the ordering of the segments complies with the specified at least one rule; A memory (804) containing instructions for performing operations including: A decoder (706).
15. 15. The decoder (706) of claim 14, wherein, when decoding the indicator value from the bitstream, the memory includes instructions that, when executed by the processor, cause the processor to perform operations including decoding the indicator value from one or more syntax elements of the set of syntax elements.
16. The at least one current image has a plurality of segments at a plurality of levels, and the memory, when executed by the processor, provides the processor with: applying a first set of ordering rules to the first level segments; applying a second set of ordering rules to second level segments within the first level segments; 16. A decoder (706) according to claim 14 or 15, comprising further instructions for performing further operations including:
17. 1. A method for encoding at least one current image into a bitstream, comprising: defining (1100) a segment partition layout for segments of at least one current image to be encoded into the bitstream; selecting (1102) at least one rule from a set of rules for ordering the segments in the segment partition layout of the at least one current picture to be encoded into the bitstream, the set of rules including an availability rule; encoding (1104) the segment partition layout of the at least one current image into the bitstream; encoding (1106) an indicator value into the bitstream, the indicator value identifying the set of rules selected for the ordering of the segments in the segment partition layout of the at least one current image; encoding (1108) the at least one current picture into the bitstream using the segment partition layout; A method comprising:
18. An encoder (700) for encoding an image for communication into a bitstream, said encoder comprising: A processor (902); A memory (904) coupled to the processor, the memory, when executed by the processor, causing the processor to: defining (1100) a segment partition layout for segments of at least one current image to be encoded into the bitstream; selecting (1102) at least one rule from a set of rules for ordering the segments in the segment partition layout of the at least one current picture to be encoded into the bitstream, the set of rules including an availability rule; encoding (1104) the segment partition layout of the at least one current image into the bitstream; encoding (1106) an indicator value into the bitstream, the indicator value identifying the set of rules selected for the ordering of the segments in the segment partition layout of the at least one current image; encoding (1108) the at least one current picture into the bitstream using the segment partition layout; A memory (904) containing instructions for performing operations including: The encoder (700).
Citation Information
Patent Citations
Image decoding method and image decoding device
JP2013219806A
