WO2021211651A1 - Methods and systems of video coding using reference regions - Google Patents

Methods and systems of video coding using reference regions Download PDF

Info

Publication number
WO2021211651A1
WO2021211651A1 PCT/US2021/027183 US2021027183W WO2021211651A1 WO 2021211651 A1 WO2021211651 A1 WO 2021211651A1 US 2021027183 W US2021027183 W US 2021027183W WO 2021211651 A1 WO2021211651 A1 WO 2021211651A1
Authority
WO
WIPO (PCT)
Prior art keywords
region
decoder
frame
picture
sub
Prior art date
Application number
PCT/US2021/027183
Other languages
French (fr)
Inventor
Hari Kalva
Borivoje Furht
Velibor Adzic
Original Assignee
Op Solutions, Llc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Op Solutions, Llc filed Critical Op Solutions, Llc
Priority to EP21788027.7A priority Critical patent/EP4136577A4/en
Priority to CN202410421296.8A priority patent/CN118450133A/en
Priority to MX2022012430A priority patent/MX2022012430A/en
Priority to JP2022560403A priority patent/JP2023522845A/en
Priority to KR1020227037500A priority patent/KR20230003491A/en
Priority to CN202180028644.XA priority patent/CN115917611B/en
Priority to BR112022020770A priority patent/BR112022020770A2/en
Publication of WO2021211651A1 publication Critical patent/WO2021211651A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/58Motion compensation with long-term prediction, i.e. the reference frame for a current frame not being the temporally closest one
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/172Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/184Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being bits, e.g. of the compressed video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/423Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding

Definitions

  • the present invention generally relates to the field of video compression.
  • the present invention is directed to methods and systems of video coding using reference regions.
  • a video codec can include an electronic circuit or software that compresses or decompresses digital video. It can convert uncompressed video to a compressed format or vice versa.
  • a device that compresses video (and/or performs some function thereof) can typically be called an encoder, and a device that decompresses video (and/or performs some function thereof) can be called a decoder.
  • a format of the compressed data can conform to a standard video compression specification.
  • the compression can be lossy in that the compressed video lacks some information present in the original video. A consequence of this can include that decompressed video can have lower quality than the original uncompressed video because there is insufficient information to accurately reconstruct the original video.
  • Motion compensation can include an approach to predict a video frame or a portion thereof given a reference frame, such as previous and/or future frames, by accounting for motion of the camera and/or objects in the video. It can be employed in the encoding and decoding of video data for video compression, for example in the encoding and decoding using the Motion Picture Experts Group (MPEG)'s advanced video coding (AVC) standard (also referred to as H.264). Motion compensation can describe a picture in terms of the transformation of a reference picture to the current picture. The reference picture can be previous in time when compared to the current picture, from the future when compared to the current picture. When images can be accurately synthesized from previously transmitted and/or stored images, compression efficiency can be improved.
  • MPEG Motion Picture Experts Group
  • AVC advanced video coding
  • a decoder includes circuitry configured to receive a coded video bitstream, the coded video stream including a coded reference picture and a coded current picture having a first size, decode the reference picture, identify from the bitstream a sub-region of the reference picture, the sub-region having a second size, wherein the second size is different from the first size, rescale the sub-region to a third size, wherein the third size is equal to the first size, to form a rescaled reference picture, and decode the current picture using the rescaled reference picture.
  • a decoder includes circuitry configured to receive a coded video bitstream including a coded first reference picture and a coded current picture, decode the reference picture, identify from the bit stream a first sub-region of the reference picture, transform the first sub-region to form a second reference picture, and decode the current picture using the second reference picture.
  • a method of video coding using reference regions includes receiving, by a decoder, a coded video bitstream, the coded video bitstream including a coded reference picture and a coded current picture having a first size, decoding, by the decoder, the reference picture, identifying, by the decoder and from the bitstream, a sub-region of the reference picture, the sub-region having a second size, wherein the second size is different from the first size, rescaling, by the decoder, the sub-region to a third size, wherein the third size is equal to the first size, to form a rescaled reference picture, and decoding, by the decoder, the current picture using the rescaled reference picture.
  • a decoder includes circuitry configured to receive a bitstream, identify a first frame, locate a first independent reference region within the first frame, extract the first independent reference region from the first frame, and decode a second frame using the first independent reference region as a reference for the second frame.
  • a method of video coding using reference regions includes receiving a bitstream, identifying a first frame, locating a first independent reference region within the first frame, extracting the first independent reference region from the first frame, and decoding a second frame using the first independent reference region as a reference for the second frame.
  • FIG. 1 is a block diagram illustrating an embodiment decoding using a reference frame
  • FIG. 2 is an illustration of an exemplary embodiment of a reference frame with an independent reference region
  • FIG. 3 is an illustration of an exemplary embodiment of an independent reference region and a predicted frame
  • FIG. 4 is an illustration of an exemplary embodiment of an independent reference region and a predicted frame
  • FIG. 6 is an illustration of an exemplary embodiment of an LTR buffer
  • FIG. 7 is a process flow diagram illustrating an example process of decoding a video according to some implementations of the current subject matter
  • FIG. 8 is a system block diagram illustrating an example decoder capable of decoding a bit stream according to some implementations of the current subject matter
  • FIG. 9 is a process flow diagram illustrating an example process of encoding a video according to some implementations of the current subject matter
  • FIG. 10 is a system block diagram illustrating an example video encoder according to some implementations of the current subject matter
  • FIG. 11 is a block diagram of a computing system that can be used to implement any one or more of the methodologies disclosed herein and any one or more portions thereof.
  • GOP groups-of-pictures
  • first picture in the group is used as a reference picture for the subsequent pictures.
  • Temporal and spatial relationships between the pictures allow for the very efficient compression using predictive coding.
  • each GOP may include a reference frame 104 or intra-frame (I- frame) used as a reference, and information usable to predict other frames 108 from the reference; information usable for prediction may include, without limitation, global and/or local motion vectors and/or transformations as well as a residual as described in further.
  • Transmission of a reference frame 104 or I-frame may represent a substantial portion of bandwidth used in transmission of a GOP.
  • transmission bandwidth may be reduced and/or decoding and/or encoding efficiency improved using a long-term reference (LTR) frame.
  • LTR long-term reference
  • an LTR frame is a frame and/or picture used to create predicted frames and/or pictures in one or more groups of pictures (GOP), but which may not itself be displayed in a video picture.
  • a frame marked as an LTR frame in a video bitstream may be available for use as a reference until it is explicitly removed by bitstream signaling.
  • LTR frames may improve prediction and compression efficiency in scenes that have static background over an extended period (e.g., background in a video conference or video of parking lot surveillance).
  • embodiments disclosed herein improve efficiency and flexibility of above-described prediction processes by performing a prediction using at least a reference region of a reference frame 104 as a reference for a current frame, where the reference region or “sub-region” has a size, which may include an area, defined for instance in pixels, that is smaller than an area of the reference frame 104.
  • the above-described approach may enable a decoder to perform decoding operations more efficiently and with greater variation.
  • At least a sub-region 204 may be used for any number of frames, at any position within GOP, thus removing the requirement for I-frame re-coding and/or retransmission.
  • Sub-region 204 may be identified, for instance by a decoder as described in further detail below, within reference frame 104.
  • Sub-region 204 may be used as a reference region in a manner analogous to the use of a cropped reference frame 104, without requiring a cropped reference frame 104 to be transmitted separately.
  • reference frame 104 may have a first resolution defined by a first width D1 and a first height D2, where D1 and D2 may be, without limitation, numbers of units of measurement such as pixels and/or fractions of pixels; an area of reference frame 104 may be defined as an area of a rectangular array of units of measurement D1 and D2, defined as a resolution D1 x D2. Sub-region 204 may have a width W and a height H, defining an area or resolution of W x H.
  • Sub-region 204 may define a sub- picture 204 within Reference picture that has same or smaller dimensions, where “smaller dimensions” signify that at least one of W and H is smaller than a corresponding dimension of reference frame 104; in other words, either W is less than D1 or H is less than D2. As a result, resolution or area W x H may be less than resolution or area D1 x D2.
  • Sub-region 204 may be defined by a quadruple (X,Y,W,H), where X,Y is the coordinate of the top-_left comer of the sub- region 204 relative to the top-_left corner of the Reference picture, and W,H are width and height of the sub-region 204 expressed in the units of measurement.
  • alternative quadruples may be selected to define sub-region 204, such as without limitation coordinates of an alternative comer of sub-region 204, a set of two diagonally opposed vertices, and/or vectors to any defined points.
  • Data defining sub-region 204 may be static over a GOP; for instance, a quadruple (X,Y,W,H) or equivalent may be static over a GOP.
  • data defining sub-region 204 may be dynamic. For example, and without limitation, sub-region 204 change between subsequent pictures of GOP to follow movement of an object and/or person of interest in a video picture; this may be coded similarly to motion vectors and/or transformations used in video coding generally.
  • Data may be provided defining sub-region 204 for each picture of group of pictures; this may be accomplished, without limitation, by a set of data defining sub-region 204, for instance as described above, for each picture of a group of pictures, by a set of data defining a sub-region 204 in one picture and further data describing movement of sub-region 204 from one picture to previous or subsequent picture, or the like.
  • Data defining sub-region 204 may be specified and/or signaled in a sequence parameter set (SPS); updated data defining sub-region 204 may be provided in a picture parameter set (PPS) for one or more selected pictures and/or frames of a GOP.
  • SPS sequence parameter set
  • PPS picture parameter set
  • a decoder may be receiving, be about to receive, or have already received a reference frame 104 at resolution D1 x D2 and may select a sub-region 204 using a quadruple as described above.
  • encoder may signal a geometric characteristic of sub-region 204 to the decoder using extra bits in a bitstream.
  • Signaling bits may indicate a reference frame 104 index and/or an index identifying a GOP, within a buffer, such as an LTR buffer and/or reference buffer as described in further detail below, identifying picture indices at a decoder, and a sub-region 204 quadruple.
  • Decoder may then extract sub-region 204 as an independent reference region.
  • Subsequent frames may be predicted from extracted independent reference region. Where data defining sub-region 204 is dynamic as described above, subsequent frames may further be predicted using such data and reference region; advantageously, a single reference region may be used for a sub-region 204 that moves relative to a picture, without requiring retransmission of the reference region.
  • a size and/or location of a sub-region 204, reference frame 104, or the like may alternatively or additionally be characterized using parameters, which may be signaled in bitstream, such as a height offset, a height, a length offset and/or a length. Still referring to FIG.
  • a sub-region 204 may be signaled using at least a vertical offset and at least a horizontal offset; for instance, and without limitation, a quadruple as described above may specify a vertical offset from a top edge of frame, a vertical offset from a bottom edge of frame, a horizontal offset from a left edge of frame, and a horizontal offset from a right edge of frame, where offsets may be measured in pixels of a frame either prior to or after rescaling as described in further detail below.
  • At least a vertical offset may include an sps_conf_win_top_offset and an sps_conf_win_bottom offset, which may be signaled in an SPS and may identify, respectively, a vertical offset from a top edge of frame and a vertical offset from bottom edge of frame.
  • at least a horizontal offset may include an sps__conf_win_left__ offset and an sps_conf_ win_ right__ offset, which may be signaled in an SPS and may identify, respectively, a horizontal offset from a left edge of frame and a horizontal offset from a right edge of frame.
  • a sub-region 204 may alternatively or additionaly be identified by specification of one or more tiles or slices to be included in and/or excluded from the sub-region 204.
  • Tile number and position within a frame may be signaled in a picture header.
  • signaling may be explicit; alternatively or additionally, PPS may signal tile rows, columns, row height, and/or column width, any or all of which may be combined and/or utilized by a decoder to determine tile count and/or number.
  • a PPS parameter denoted as pps_num_exp_tile_columns_minus1 may specific a number of explicitly provided tile column widths.
  • a parameter pps_tile_column_width_minus1[ i ], with 1 added to it may specify the width of the i-th tile column, for instance in units of coding tree blocks (CTBs) for i in the range of 0 to pps_ num exp tile columns minus1, inclusive.
  • a parameter pps_tile_row_height_minus1[ i ] plus 1, with 1 added to it, may specify the height of the i-th tile row, for instance in units of CTBs for i.
  • Signaled parameters may alternatively or additionally specify numbers and/or dimensions of slices within one or more tiles.
  • a parameter denoted pps_num_exp_slices_in_tile[ i ] may specify a number of explicitly provided slice heights for slices in a tile containing the i-th slice.
  • a parameter denoted pps_slice_width_in_tiles_minus1[ i ], with 1 added to it, may specify a width of the i-th rectangular slice in units of tile columns.
  • a parameter denoted pps_slice_height_in_tiles_minus1[ i ], with 1 added to it, may specify a height of the i-th rectangular slice in units of tile rows, for instance when pps_num_exp_slices_in_tile[ i ] is equal to 0.
  • width and height of smaller and/ larger sub-region 204 may be obtained by multiplying a width and height of sub-region 204 by an arbitrary rescaling constant (Rc), also referred to as a scaling factor and/or constant, which may alternatively or additionally be referred to with a variable name such as RefPicScale.
  • Rc may have a value between 0 and 1.
  • Rc may have a value greater than 1; for instance, Rc may have a value between 1 and 4.
  • Rescaling constant may be different for one resolution dimension than another; for instance, a rescaling constant Rch may be used to rescale height, while another rescaling constant Rcw may be used to rescale width.
  • rescaling may be implemented as a mode.
  • an encoder may signal to decoder which rescaling constant to use, for instance as a function of a picture parameter such as pps_pic_width_in_luma_samples parameter, a pps_scaling_win_right__offset parameter, and/or a pps_scaling_win_left_offset parameter.
  • Signaling may be performed in a sequence parameter set (SPS) corresponding to a GOP containing current picture and/or in a picture parameter set (PPS) corresponding to current picture.
  • SPS sequence parameter set
  • PPS picture parameter set
  • encoder may signal rescaled parameters using fields such as a pps_pic_width_in_luma_samples, pps_pic_height_in_luma_samples,pps_scaling_win_left_offset, pps_scaling_win_right_offset, pps_scaling_win_top_offset, pps_scaling_win_bottom_offset, and/or sps_num_subpics_minus1.
  • pps_ scaling_win_left_ offset pps_ scaling_win_right_offset
  • values of pps_scaling_win_left_offset, pps_scaling_win_right_offset, pps_scaling_win_top_offset, and pps_scaling_win_bottom_offset may be inferred to be equal to pps_conf_win_left_offset, pps_conf_win_right_offset, pps_conf win_top_offset, and pps_conf_win_bottom_offset, respectively.
  • W and H parameters as described above may be represented, without limitation, using variables CurrPicScalWinWidthL and CurrPicScalWinHeightL, respectively; these variables may be derived from signaled parameters as described above using one or more mathematical relationships between the signaled parameters and the variables.
  • CurrPicScalWinWidthL may be derived according to the following equation:
  • CurrPicScalWinWidthL pps_pic_width_in_luma_samples - SubWidthC * ( pps_scaling_win_right_offset + pps_scaling_win_left_offset )
  • CurrPicScalWinHeightL may be derived according to the following equation:
  • CurrPicScalWinWidthL pps_pic_width_in_luma_samples - SubWidthC * ( pps_scaling_win_right_offset + pps_scaling_win_left_offset ) rescaling operation may be executed on a block level of encoded frames and/or sub-regions 204.
  • a sub-region 204 to be used as a reference frame 104 may first be rescaled and subsequently prediction may be performed.
  • Block prediction process may be performed on a scaled reference frame 104 (having a scaled resolution) rather than the original reference frame 104.
  • Rescaling reference frame 104 and/or sub-region 204 may include rescaling according to any parameter signaled by an encoder as described above; for instance and without limitation, where a reference frame 104 to be used with current picture is signaled, such as via a reference to an index value associated with reference frame 104 or the like, the signaled reference frame 104 may be rescaled, prior to prediction, according to any method of rescaling described above.
  • a rescaled reference frame 104 may be stored in memory and/or in a buffer, which may include without limitation a buffer identifying frames contained therein by indices, according to which frame retrieval may be performed; buffer may include a decoded picture buffer (DCB) and/or one or more additional buffers implemented by decoder.
  • Prediction process may include, for example, inter picture prediction including motion compensation.
  • some implementations of block-based rescaling may enable flexibility in applying optimal filters for each block, instead of applying same filter for a whole frame.
  • a skip-rescaling mode may be possible such that some blocks (based for example on the uniformity of the pixels and bitrate cost) can be in a skip-rescaling mode (such that rescaling would not change the bitrate).
  • Skip-rescaling mode may be signaled in a bitstream; for instance, and without limitation, skip-rescaling mode may be signaled in a PPS parameter.
  • decoder may determine that skip-rescaling mode is active based on one or more parameters set by decoder and/or signaled in bitstream.
  • rescaling may include up-sampling or otherwise using spatial filters.
  • Spatial filters used in rescaling may include, without limitation, bicubic spatial filters that apply bicubic interpolation, bilinear spatial filters that apply bi-linear interpretation, Lanczos filters that use Lanczos filtering and/or Lanczos resampling using combinations of sine filters, sinc-function interpolation and/or signal reconstruction techniques, or the like; persons skilled in the art, upon reviewing the entirety of this disclosure, will be aware of various filters that may be used for interpolation consistently with this disclosure.
  • Interpolation filters may include, as a non-limiting example, any filters described above, a low-pass filter, which may be used, without limitation, by way of an up-sampling process whereby pixels between pixels of block and/or frame previous to scaling may be initialized to zero, and then populated with an output of the low-pass filter.
  • a low-pass filter which may be used, without limitation, by way of an up-sampling process whereby pixels between pixels of block and/or frame previous to scaling may be initialized to zero, and then populated with an output of the low-pass filter.
  • any luma sample interpolation filtering process may be used.
  • Luma sample interpretation may include computation of an interpolated value at a half- sample interpolation filter index, falling between two consecutive sample values of a non-scaled sample array.
  • Computation of interpolated value may be performed, without limitation, by retrieval of coefficients and/or weights from lookup tables; selection of lookup tables may be performed as a function of motion models of coding units and/or scaling ratio amounts, for instance as determined using scaling constants as described above. Computation may include, without limitation, performing weighted sums of adjacent pixel values, where weights are retrieved from lookup tables. Computed values may alternatively or additionally be shifted; for instance and without limitation, values may be shifted by Min( 4, BitDepth - 8), 6, Max(2, 14 - BitDepth), or the like. Persons skilled in the art, upon reviewing the entirety of this disclosure, will be aware of various alternative or additional implementations that may be used for interpolation filters.
  • predicted picture 108 may have an identical or similar resolution and/or size to an extracted independent reference region 304.
  • This approach may be used to downscale video resolution, thus reducing bitrate, to focus on a region of interest to a viewer, and/or to focus on a region identified by automated or user-facilitated detection as containing visual data of greater relevance to some purpose and/or task; alternatively or additionally, this approach may permit display of video to continue where network speeds are compromised. Advantages accruing to this approach may include saving bandwidth used for video transmission, saving resources used for video encoding, and/or saving time needed to decode and play the video. A result may be a superior user experience as well as a more efficient use of resources in devices and/or networks implementing disclosed embodiments.
  • predicted picture 108 may subsequently be rescaled to a smaller or larger picture.
  • Width and height of the smaller and larger pictures may be obtained by multiplying W and H by an arbitrary rescaling constant (Rc) (also referred to as a scaling factor).
  • Rc may have a value between 0 and 1.
  • Rc can have values between 1 and 4.
  • Other values are possible.
  • Rescaling operation may be left as an option for an end user and/or a further program and/or module operating on a computing device displaying video to an end user, which in one example could rescale picture to fit the display resolution.
  • independent reference region 204 may be used to predict a portion of a picture rather than an entire picture.
  • a picture such as a 360-video picture and/or a video picture used in virtual reality may extend beyond a field of vision of a user; in such a situation, a given frame of a video picture may be rendered with an independent reference region 204 corresponding to a predicted and/or detected current field of vision of a user.
  • independent reference region may correspond to an important, high-detail, and/or high-motion portion of first frame.
  • Remainder of frame predicted may be generated using any other suitable prediction and/or decoding method; pixels may not be encoded, may be encoded in a default color such as without limitation black, and/or may be given chroma and/or luma values of neighboring pixels, for instance extending chroma and luma values from edges of independent reference region to fill screen. Portions may alternatively or additionally predicted from other parts of reference frame, residual, motion vectors, or the like.
  • a decoder may decode all or part of a second frame by transforming a first independent reference region 204, here denoted for exemplary purposes as “1”.
  • Transforming first independent reference region 204 may include scaling the first independent reference region 204, for instance as described above.
  • transforming the first independent reference region 204 may include moving first independent reference region 204 relative to a location in a video picture; location in video picture may include edges and/or any coordinates in video picture.
  • a first independent reference region 204 may be displaced from an original location in a video picture coordinate system and/or relative to edges and/or pixel count to a novel location, for instance using a linear transformation such as an affine transformation, where an “affine motion transformation” as used in this disclosure is a transformation such as a matrix and/or vector describing a uniform displacement of a set of pixels or points represented in a video picture and/or picture, such as a set of pixels illustrating an object moving across a view in a video without changing apparent shape during motion. Any transformation, including any transformation describable using a matrix or other mathematical descriptor may be used consistently with this disclosure to move or otherwise transform first independent reference region.
  • transforming first independent reference region may include rotating the first independent reference region relative to a location in a video picture, flipping the first independent reference region, or the like.
  • decoding may include use of a second independent reference region 204, here denoted for exemplary purposes as “2”.
  • decoder may locate a second independent reference region 204 in first frame, which may be performed in any way described above for first independent reference region 204.
  • second independent reference region 204 may be extracted from another reference frame and/or retrieved from a buffer, such as a reference buffer and/or an LTR buffer, as described in further detail below.
  • Decoding from second independent reference region 204 may be performed using any methods and/or method steps as described above for first independent reference region.
  • Combination of first independent reference region 204 and second independent reference region 204 may be used in various ways; for instance, first independent reference region 204 may depict a first field of vision to a user of a picture having a size beyond the user’s field of vision, while a second independent reference region 204 may depict another field of vision, which may be contiguous.
  • Additional independent reference regions 204 may also be used to provide further portions of decoded frame; a plurality of independent reference regions may be extracted and/or retrieved to decode a picture, and may be contiguous, connected by pixels predicted using any method described above, or otherwise combined.
  • Plurality of independent reference regions 204 may alternatively or additionally be used sequentially for a sequence of frames.
  • LTR buffer 604 may include a plurality of frames.
  • an LTR buffer 604 may contain a plurality of frames and/or independent reference regions 204; each of plurality of frames and/or independent reference regions may have a corresponding index permitting retrieval and/or signaling for retrieval, for instance as described in further detail below.
  • Reference buffer and/or LTR buffer 604 may be periodically updated and/or modified, for instance by addition and/or removal of frames and/or independent reference regions.
  • independent reference regions 204 and/or reference frames 104 may be signaled in bitstream, for instance by an encoder.
  • presence of independent reference regions in a picture may signaled by the encoder in the header of the video sequence for instance in a sequence parameter set or the like.
  • a single flag may be used to indicate presence of independent regions; absence of the flag may be interpreted as a lack of any independent regions.
  • a total number of independent regions may also be signaled in a sequence header.
  • Geometric characteristics of independent reference regions, identifiers of independence reference regions, for instance for retrieval from buffers as described above, may also be signaled in sequence headers.
  • one or more signals may be provided in picture headers, such as in the picture parameter set.
  • signaling in a picture header may extend flexibility of a decoder, allowing decisions on a picture level.
  • a list of region IDs may include a sequence of consecutive numbers that represent region IDs in a prescribed order. Decoder may use a signaled list to reposition and recompose independent regions and picture regions predicted from the independent regions.
  • bitstream may include a coded video bitstream.
  • Bitstream may include at least one coded reference picture and/or LTR frame, which may alternatively be referred to as a “reference picture” and/or an “LTR picture,” and at least one coded current picture.
  • Coded current picture may have a first size, which may include any size as described above, including an area.
  • decoder decodes the reference picture and/or LTR frame; this may be performed according to any process for decoding as described in this disclosure. Decoder may identify reference frame and/or LTR frame in bitstream. Alternatively reference frame and/or LTR frame may not be decoded, and only independent reference regions may be decoded.
  • decoder locates a first sub-region within reference frame and/or LTR frame; this may be accomplished, without limitation, as described above in reference to FIGS. 1-6.
  • locating first sub-region may include identifying, in bitstream, a geometric characterization of an independent reference region within reference frame and/or LTR frame; bitstream may be signaled by an encoder as described above.
  • first sub-region may be rectangular, and geometric characterization may include a quadruple of numbers characterizing vertices of the first sub- region.
  • geometric characterization may include and/or sub- region 204 may be characterized by a height offset, a height, a length offset and a length.
  • First sub-region have a second size; second size may be different from first size, or in other words may either be larger or smaller than first size.
  • Identifying the first sub-region may include receiving, in the bitstream, an indication that the first sub-region is present.
  • traditional prediction using reference frames may still be supported, by either signaling that there are zero regions within picture or defining one region that has same size as the original picture. Flexibility may be provided by allowing specification of one or more regions that are extracted and as such considered as an independent reference picture for future prediction.
  • decoder transforms first sub-region 204. Transformation may produce a second and/or rescaled reference picture and/or a part thereof. Transforming first sub-region may include any transformation and/or modification to any sub- region as described in this disclosure. Transforming first sub-region may include, without limitation, translating the first sub-region. As a further example, decoder may be configured to transform first sub-region by applying an affine transformation, which may include any affine transformation as described above. As an additional non-limiting example, decoder may rescale first sub-region to a third size; the third size may be equal to first size, to form a rescaled reference picture.
  • decoder may rescale sub-region to match a current and/or signaled size of current frame.
  • first sub-region may be left at a current size of first sub-region; decoder may not transform first sub-region.
  • Decoder may extract first sub-region from reference frame and/or LTR frame; this may be performed, without limitation, as described above in reference to FIGS. 1-6.
  • decoder decodes current frame using the first sub-region as a reference for the current frame; this may be implemented, without limitation, as described above in reference to FIGS. 1-6.
  • decoding current frame may include decoding the current frame having the same size as first sub-region.
  • decoder may store reference frame and/or LTR frame in a buffer; buffer may include a long-term reference buffer and/or a reference picture buffer. Decoder may be further configured to locate a second sub-region in the reference frame and/or LTR frame. Decoder may decode a second current frame using first sub-region and/or the second sub-region. Decoder may store the second independent reference region in a buffer. Decoder may decode a second current frame using first sub-region and/or a second sub-region and/or reference frame, which may be retrieved from a buffer, extracted from another frame, or the like.
  • FIG. 8 is a system block diagram illustrating an example decoder 800 capable of decoding a bitstream including by constructing a motion vector candidate list using a global motion vector candidate utilized by an adjacent block.
  • Decoder 800 may include an entropy decoder processor 804, an inverse quantization and inverse transformation processor 808, a deblocking filter 812, a frame buffer 816, a motion compensation processor 820 and/or an intra prediction processor 824.
  • bit stream 828 may be received by decoder 800 and input to entropy decoder processor 804, which may entropy decode portions of bit stream into quantized coefficients.
  • Quantized coefficients may be provided to inverse quantization and inverse transformation processor 808, which may perform inverse quantization and inverse transformation to create a residual signal, which may be added to an output of motion compensation processor 820 or intra prediction processor 824 according to a processing mode.
  • An output of the motion compensation processor 820 and intra prediction processor 824 may include a block prediction based on a previously decoded block.
  • a sum of prediction and residual may be processed by deblocking filter 812 and stored in a frame buffer 816.
  • decoder 800 may include circuitry configured to implement any operations as described above in any embodiment as described above, in any order and with any degree of repetition.
  • decoder 800 may be configured to perform a single step or sequence repeatedly until a desired or commanded outcome is achieved; repetition of a step or a sequence of steps may be performed iteratively and/or recursively using outputs of previous repetitions as inputs to subsequent repetitions, aggregating inputs and/or outputs of repetitions to produce an aggregate result, reduction or decrement of one or more variables such as global variables, and/or division of a larger processing task into a set of iteratively addressed smaller processing tasks.
  • Decoder may perform any step or sequence of steps as described in this disclosure in parallel, such as simultaneously and/or substantially simultaneously performing a step two or more times using two or more parallel threads, processor cores, or the like; division of tasks between parallel threads and/or processes may be performed according to any protocol suitable for division of tasks between iterations.
  • steps, sequences of steps, processing tasks, and/or data may be subdivided, shared, or otherwise dealt with using iteration, recursion, and/or parallel processing.
  • decoder 800 and/or circuitry thereof may be designed and/or configured to perform any method, method step, or sequence of method steps in any embodiment described in this disclosure, in any order and with any degree of repetition.
  • decoder 800 and/or circuitry thereof may be configured to perform a single step or sequence repeatedly until a desired or commanded outcome is achieved; repetition of a step or a sequence of steps may be performed iteratively and/or recursively using outputs of previous repetitions as inputs to subsequent repetitions, aggregating inputs and/or outputs of repetitions to produce an aggregate result, reduction or decrement of one or more variables such as global variables, and/or division of a larger processing task into a set of iteratively addressed smaller processing tasks decoder 800 and/or circuitry thereof may perform any step or sequence of steps as described in this disclosure in parallel, such as simultaneously and/or substantially simultaneously performing a step two or more times using two or more parallel threads, processor cores, or the like; division of tasks between parallel threads and/
  • FIG. 9 is a process flow diagram illustrating an example process 900 of encoding a video with adaptive cropping that can enable additional flexibility for the video encoder/decoder allowing bitrate savings in various use cases.
  • a video frame may undergo initial block segmentation, for example, using a tree-structured macro block partitioning scheme that can include partitioning a picture frame into CTUs and CUs.
  • identification of a first reference region may be performed, including selection of a sub-region of a frame or portion thereof.
  • Region may be selected by the means of automatic or expert input.
  • Automatic selection may be achieved, as a non-limiting example, by a computer vision algorithm that detecting certain objects; object detection may include further processing such as object classification or the like.
  • Expert input selection may be achieved, without limitation, using human manual intervention, for example selecting a close-up of a person and/or object of interest in a video, such as a person in a surveillance video.
  • Another possible use case may be to select a maximally salient region that contributes the most to a bit rate reduction.
  • Adaptive cropping may further include selection of a geometric characterization of sub-region; for instance, and without limitation, selection of geometric characterization of sub-region may include selection of a quadruple as described above, such as without limitation (X,Y,W,H). Selection of geometric characterization of sub- region may include updating information and/or information indicating changes to data defining sub-region from one frame to another as described above with regard to dynamic data defining sub -region.
  • block may be encoded and included in the bit stream.
  • Encoding can include utilizing inter prediction and intra prediction modes, for example.
  • Encoding may include adding bits to the bitstream characterizing (X,Y,W,H), identifying adaptive cropping mode, or the like, for instance as described above. Encoding may include encoding updating information and/or information indicating changes to data defining sub-region from one frame to another as described above with regard to dynamic data defining sub-region.
  • FIG. 10 is a system block diagram illustrating an example video encoder 1000 capable of adaptive cropping that can enable additional flexibility for the video encoder/decoder allowing bitrate savings in various use cases.
  • the example video encoder 1000 receives an input video 1005, which can be initially segmented or dividing according to a processing scheme, such as a tree-structured macro block partitioning scheme (e.g., quad-tree plus binary tree).
  • a tree-structured macro block partitioning scheme can include partitioning a picture frame into large block elements called coding tree units (CTU).
  • CTU coding tree units
  • each CTU can be further partitioned one or more times into a number of sub-blocks called coding units (CU).
  • the final result of this portioning can include a group of sub-blocks that can be called predictive units (PU).
  • Transform units (TU) can also be utilized.
  • example video encoder 1000 includes an intra prediction processor 1015, a motion estimation/compensation processor 1020 (also referred to as an inter- prediction processor) capable of supporting adaptive cropping, a transform /quantization processor 1025, an inverse quantization/inverse transform processor 1030, an in-loop filter 1035, a decoded picture buffer 1040, and an entropy coding processor 1045.
  • Bit stream parameters can be input to the entropy coding processor 1045 for inclusion in the output bit stream 1050.
  • the intra prediction processor 1010 can perform the processing to output the predictor. If the block is to be processed via motion estimation / compensation, the motion estimation / compensation processor 1020 can perform the processing including using adaptive cropping, if applicable.
  • residual can be formed by subtracting the predictor from the input video.
  • the residual can be received by the transform/quantization processor 1025, which can perform transformation processing (e.g., discrete cosine transform (DCT)) to produce coefficients, which can be quantized.
  • transformation processing e.g., discrete cosine transform (DCT)
  • the quantized coefficients and any associated signaling information can be provided to the entropy coding processor 1045 for entropy encoding and inclusion in the output bit stream 1050.
  • the entropy encoding processor 1045 can support encoding of signaling information related to encoding the current block.
  • the quantized coefficients can be provided to the inverse quantization/inverse transformation processor 1030, which can reproduce pixels, which can be combined with the predictor and processed by the in-loop filter 1035, the output of which is stored in the decoded picture buffer 1040 for use by the motion estimation / compensation processor 1020 that is capable of adaptive cropping.
  • current blocks can include any symmetric blocks (8x8, 16x16, 32x32, 64x64, 128 x 128, and the like) as well as any asymmetric block (8x4, 16x8, and the like).
  • a quadtree plus binary decision tree can be implemented.
  • QTBT quadtree plus binary decision tree
  • the partition parameters of QTBT are dynamically derived to adapt to the local characteristics without transmitting any overhead.
  • a joint-classifier decision tree structure can eliminate unnecessary iterations and control the risk of false prediction.
  • LTR frame block update mode can be available as an additional option available at every leaf node of the QTBT.
  • additional syntax elements can be signaled at different hierarchy levels of the bit stream.
  • a flag can be enabled for an entire sequence by including an enable flag coded in a Sequence Parameter Set (SPS).
  • SPS Sequence Parameter Set
  • CTU flag can be coded at the coding tree unit (CTU) level.
  • encoder 1000 may include circuitry configured to implement any operations as described above in reference to FIGS. 8 or 10 in any embodiment, in any order and with any degree of repetition.
  • encoder 1000 may be configured to perform a single step or sequence repeatedly until a desired or commanded outcome is achieved; repetition of a step or a sequence of steps may be performed iteratively and/or recursively using outputs of previous repetitions as inputs to subsequent repetitions, aggregating inputs and/or outputs of repetitions to produce an aggregate result, reduction or decrement of one or more variables such as global variables, and/or division of a larger processing task into a set of iteratively addressed smaller processing tasks.
  • Encoder 1000 may perform any step or sequence of steps as described in this disclosure in parallel, such as simultaneously and/or substantially simultaneously performing a step two or more times using two or more parallel threads, processor cores, or the like; division of tasks between parallel threads and/or processes may be performed according to any protocol suitable for division of tasks between iterations.
  • Persons skilled in the art upon reviewing the entirety of this disclosure, will be aware of various ways in which steps, sequences of steps, processing tasks, and/or data may be subdivided, shared, or otherwise dealt with using iteration, recursion, and/or parallel processing.
  • non-transitory computer program products may store instructions, which when executed by one or more data processors of one or more computing systems, causes at least one data processor to perform operations, and/or steps thereof described in this disclosure, including without limitation any operations described above and/or any operations decoder 700 and/or encoder 1000 may be configured to perform.
  • computer systems are also described that may include one or more data processors and memory coupled to the one or more data processors. The memory may temporarily or permanently store instructions that cause at least one processor to perform one or more of the operations described herein.
  • methods can be implemented by one or more data processors either within a single computing system or distributed among two or more computing systems.
  • Such computing systems can be connected and can exchange data and/or commands or other instructions or the like via one or more connections, including a connection over a network (e.g. the Internet, a wireless wide area network, a local area network, a wide area network, a wired network, or the like), via a direct connection between one or more of the multiple computing systems, or the like.
  • a network e.g. the Internet, a wireless wide area network, a local area network, a wide area network, a wired network, or the like
  • encoder 1000 and/or circuitry thereof may be designed and/or configured to perform any method, method step, or sequence of method steps in any embodiment described in this disclosure, in any order and with any degree of repetition.
  • encoder 1000 and/or circuitry thereof may be configured to perform a single step or sequence repeatedly until a desired or commanded outcome is achieved; repetition of a step or a sequence of steps may be performed iteratively and/or recursively using outputs of previous repetitions as inputs to subsequent repetitions, aggregating inputs and/or outputs of repetitions to produce an aggregate result, reduction or decrement of one or more variables such as global variables, and/or division of a larger processing task into a set of iteratively addressed smaller processing tasks encoder 1000 and/or circuitry thereof may perform any step or sequence of steps as described in this disclosure in parallel, such as simultaneously and/or substantially simultaneously performing a step two or more times using two or more parallel threads, processor cores, or the like; division of tasks between parallel threads and/or processes may
  • a decoder includes circuitry configured to receive a coded video bitstream, the coded video stream including a coded reference picture and a coded current picture having a first size, decode the reference picture, identify from the bitstream a sub-region of the reference picture, the sub-region having a second size, wherein the second size is different from the first size, rescale the sub-region to a third size, wherein the third size is equal to the first size, to form a rescaled reference picture, and decode the current picture using the rescaled reference picture.
  • a decoder includes circuitry configured to receive a coded video bitstream including a coded first reference picture and a coded current picture, decode the reference picture, identify from the bit stream a first sub-region of the reference picture, transform the first sub-region to form a second reference picture, and decode the current picture using the second reference picture.
  • Current picture may have a first size, first sub-region may have a second size that is different from the first size, and decoder may be configured to transform sub-region by scaling the first sub-region to a third size equal to the first size.
  • Decoder may be configured to transform first sub-region by translating the first sub-region.
  • Decoder may be configured to transform first sub-region by applying an affine transformation.
  • Decoder may be further configured to store first reference picture in a buffer.
  • Buffer may include a long-term reference buffer. Buffer may include a reference picture buffer.
  • Decoder may be further configured to locate a second sub- region in first reference picture.
  • Decoder may be further configured to decode a second frame using first reference region and second independent reference region. Decoder may be further configured to store second independent reference region in a buffer.
  • Current picture may be a first picture, and decoder may be further configured to decode a second picture using first sub- region and a second sub-region.
  • a method of video coding using reference regions includes receiving, by a decoder, a coded video bitstream, the coded video bitstream including a coded reference picture and a coded current picture having a first size, decoding, by the decoder, the reference picture, identifying, by the decoder and from the bitstream, a sub-region of the reference picture, the sub-region having a second size, wherein the second size is different from the first size, rescaling, by the decoder, the sub-region to a third size, wherein the third size is equal to the first size, to form a rescaled reference picture, and decoding, by the decoder, the current picture using the rescaled reference picture.
  • Sub-region may be characterized by a height offset, a height, a length offset and a length.
  • Identifying sub-region may include receiving, in bitstream, an indication that the sub-region is present.
  • Method may include comprising storing reference frame in a buffer.
  • Buffer may include a long-term reference buffer.
  • Buffer may include a reference picture buffer.
  • a decoder includes circuitry configured to receive a bitstream, identify a first frame, locate a first independent reference region within the first frame, extract the first independent reference region from the first frame, and decode a second frame using the first independent reference region as a reference for the second frame.
  • Decoder may be further configured to store first frame in a buffer.
  • Buffer may include a long-term reference buffer.
  • Buffer may include a reference picture buffer.
  • Decoder may be further configured to locate a second reference region in first frame.
  • Decoder may be further configured to decode second frame using first reference region and second independent reference region.
  • Decoder may be further configured to store second independent reference region in a buffer. Decoder may be further configured to decode second frame using first reference region and a second reference region.
  • a method of video coding using reference regions includes receiving a bitstream, identifying a first frame, locating a first independent reference region within the first frame, extracting the first independent reference region from the first frame, and decoding a second frame using the first independent reference region as a reference for the second frame.
  • Locating first independent reference region may include identifying, in bitstream, a geometric characterization of an independent reference region within first frame.
  • First independent reference region may be rectangular, and geometric characterization may include a quadruple of numbers characterizing vertices of the first independent reference region.
  • Identifying first independent reference region may include receiving, in bitstream, an indication that the first independent reference region is present.
  • First independent reference region may have a size and decoding the second frame may include decoding second frame having the same size as the first independent reference region.
  • Method may include decoding second frame by transforming first independent reference region.
  • Transforming first independent reference region may include scaling the first independent reference region.
  • Transforming first independent reference region may include flipping the first independent reference region.
  • Transforming first independent reference region may include moving the first independent reference region relative to a location in a video picture.
  • Transforming first independent reference region may include rotating the first independent reference region relative to a location in a video picture.
  • Method may include storing first frame in a buffer.
  • Buffer may include a long-term reference buffer.
  • Buffer may include a reference picture buffer.
  • Decoder may be further configured to locate a second reference region in first frame.
  • Method may include decoding second frame using first reference region and second independent reference region.
  • Method may include storing second independent reference region in a buffer.
  • Method may include decoding second frame using first reference region and a second reference region.
  • any one or more of the aspects and embodiments described herein may be conveniently implemented using one or more machines (e.g ., one or more computing devices that are utilized as a user computing device for an electronic document, one or more server devices, such as a document server, etc.) programmed according to the teachings of the present specification, as will be apparent to those of ordinary skill in the computer art.
  • Appropriate software coding can readily be prepared by skilled programmers based on the teachings of the present disclosure, as will be apparent to those of ordinary skill in the software art.
  • Aspects and implementations discussed above employing software and/or software modules may also include appropriate hardware for assisting in the implementation of the machine executable instructions of the software and/or software module.
  • Such software may be a computer program product that employs a machine-readable storage medium.
  • a machine-readable storage medium may be any medium that is capable of storing and/or encoding a sequence of instructions for execution by a machine (e.g ., a computing device) and that causes the machine to perform any one of the methodologies and/or embodiments described herein.
  • Such software may also include information (e.g, data) carried as a data signal on a data carrier, such as a carrier wave.
  • a data carrier such as a carrier wave.
  • machine-executable information may be included as a data-carrying signal embodied in a data carrier in which the signal encodes a sequence of instruction, or portion thereof, for execution by a machine (e.g., a computing device) and any related information (e.g, data structures and data) that causes the machine to perform any one of the methodologies and/or embodiments described herein.
  • FIG. 11 shows a diagrammatic representation of one embodiment of a computing device in the exemplary form of a computer system 1100 within which a set of instructions for causing a control system to perform any one or more of the aspects and/or methodologies of the present disclosure may be executed. It is also contemplated that multiple computing devices may be utilized to implement a specially configured set of instructions for causing one or more of the devices to perform any one or more of the aspects and/or methodologies of the present disclosure.
  • Computer system 1100 includes a processor 1104 and a memory 1108 that communicate with each other, and with other components, via a bus 1112.
  • Bus 1112 may include any of several types of bus structures including, but not limited to, a memory bus, a memory controller, a peripheral bus, a local bus, and any combinations thereof, using any of a variety of bus architectures.
  • Processor 1104 may include any suitable processor, such as without limitation a processor incorporating logical circuitry for performing arithmetic and logical operations, such as an arithmetic and logic unit (ALU), which may be regulated with a state machine and directed by operational inputs from memory and/or sensors; processor 1104 may be organized according to Von Neumann and/or Harvard architecture as a non-limiting example.
  • ALU arithmetic and logic unit
  • Processor 1104 may include, incorporate, and/or be incorporated in, without limitation, a microcontroller, microprocessor, digital signal processor (DSP), Field Programmable Gate Array (FPGA), Complex Programmable Logic Device (CPLD), Graphical Processing Unit (GPU), general purpose GPU, Tensor Processing Unit (TPU), analog or mixed signal processor, Trusted Platform Module (TPM), a floating-point unit (FPU), and/or system on a chip (SoC).
  • DSP digital signal processor
  • FPGA Field Programmable Gate Array
  • CPLD Complex Programmable Logic Device
  • GPU Graphical Processing Unit
  • TPU Tensor Processing Unit
  • TPM Trusted Platform Module
  • FPU floating-point unit
  • SoC system on a chip
  • Memory 1108 may include various components (e.g ., machine-readable media) including, but not limited to, a random-access memory component, a read only component, and any combinations thereof.
  • a basic input/output system 1116 (BIOS), including basic routines that help to transfer information between elements within computer system 1100, such as during start-up, may be stored in memory 1108.
  • BIOS basic input/output system
  • Memory 1108 may also include (e.g., stored on one or more machine-readable media) instructions (e.g, software) 1120 embodying any one or more of the aspects and/or methodologies of the present disclosure.
  • memory 1108 may further include any number of program modules including, but not limited to, an operating system, one or more application programs, other program modules, program data, and any combinations thereof.
  • Computer system 1100 may also include a storage device 1124.
  • a storage device e.g ., storage device 1124
  • Examples of a storage device include, but are not limited to, a hard disk drive, a magnetic disk drive, an optical disc drive in combination with an optical medium, a solid-state memory device, and any combinations thereof.
  • Storage device 1124 may be connected to bus 1112 by an appropriate interface (not shown).
  • Example interfaces include, but are not limited to, SCSI, advanced technology attachment (ATA), serial ATA, universal serial bus (USB), IEEE 1394 (FIREWIRE), and any combinations thereof.
  • storage device 1124 (or one or more components thereof) may be removably interfaced with computer system 1100 (e.g., via an external port connector (not shown)).
  • storage device 1124 and an associated machine-readable medium 1128 may provide nonvolatile and/or volatile storage of machine- readable instructions, data structures, program modules, and/or other data for computer system 1100.
  • software 1120 may reside, completely or partially, within machine- readable medium 1128. In another example, software 1120 may reside, completely or partially, within processor 1104.
  • Computer system 1100 may also include an input device 1132.
  • a user of computer system 1100 may enter commands and/or other information into computer system 1100 via input device 1132.
  • Examples of an input device 1132 include, but are not limited to, an alpha-numeric input device (e.g, a keyboard), a pointing device, a joystick, a gamepad, an audio input device (e.g, a microphone, a voice response system, etc.), a cursor control device (e.g, a mouse), a touchpad, an optical scanner, a video capture device (e.g, a still camera, a video camera), a touchscreen, and any combinations thereof.
  • an alpha-numeric input device e.g, a keyboard
  • a pointing device e.g., a joystick, a gamepad
  • an audio input device e.g, a microphone, a voice response system, etc.
  • a cursor control device e.g, a mouse
  • a touchpad
  • Input device 1132 may be interfaced to bus 1112 via any of a variety of interfaces (not shown) including, but not limited to, a serial interface, a parallel interface, a game port, a USB interface, a FIREWIRE interface, a direct interface to bus 1112, and any combinations thereof.
  • Input device 1132 may include a touch screen interface that may be a part of or separate from display 1136, discussed further below.
  • Input device 1132 may be utilized as a user selection device for selecting one or more graphical representations in a graphical interface as described above.
  • a user may also input commands and/or other information to computer system 1100 via storage device 1124 (e.g ., a removable disk drive, a flash drive, etc.) and/or network interface device 1140.
  • a network interface device such as network interface device 1140, may be utilized for connecting computer system 1100 to one or more of a variety of networks, such as network 1144, and one or more remote devices 1148 connected thereto.
  • Examples of a network interface device include, but are not limited to, a network interface card (e.g., a mobile network interface card, a LAN card), a modem, and any combination thereof.
  • Examples of a network include, but are not limited to, a wide area network (e.g, the Internet, an enterprise network), a local area network (e.g, a network associated with an office, a building, a campus or other relatively small geographic space), a telephone network, a data network associated with a telephone/voice provider (e.g, a mobile communications provider data and/or voice network), a direct connection between two computing devices, and any combinations thereof.
  • a network such as network 1144, may employ a wired and/or a wireless mode of communication. In general, any network topology may be used.
  • Information e.g, data, software 1120, etc.
  • Computer system 1100 may further include a video display adapter 1152 for communicating a displayable image to a display device, such as display device 1136.
  • a display device include, but are not limited to, a liquid crystal display (LCD), a cathode ray tube (CRT), a plasma display, a light emitting diode (LED) display, and any combinations thereof.
  • Display adapter 1152 and display device 1136 may be utilized in combination with processor 1104 to provide graphical representations of aspects of the present disclosure.
  • computer system 1100 may include one or more other peripheral output devices including, but not limited to, an audio speaker, a printer, and any combinations thereof.
  • peripheral output devices may be connected to bus 1112 via a peripheral interface 1156. Examples of a peripheral interface include, but are not limited to, a serial port, a USB connection, a FIREWIRE connection, a parallel connection, and any combinations thereof.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

A decoder includes circuitry configured to receive a bitstream, identify a first frame, locate a first independent reference region within the first frame, extract the first independent reference region from the first frame, decode a second frame using the first independent reference region as a reference for the second frame.

Description

METHODS AND SYSTEMS OF VIDEO CODING USING REFERENCE REGIONS CROSS-REFERENCE TO RELATED APPLICATIONS
This application claims the benefit of priority of U.S. Nonprovisional Application Serial No. 17/229,957, filed on April 14, 2021, and entitled “METHODS AND SYSTEMS OF VIDEO CODING USING REFERENCE REGIONS,” which is incorporated by reference herein in its entirety and claims the benefit of priority of U.S. Provisional Patent Application Serial No. 63/009,978, filed on April 14, 2020, and titled “METHODS AND SYSTEMS OF VIDEO CODING USING REFERENCE REGIONS,” which is incorporated by reference herein in its entirety.
FIELD OF THE INVENTION
The present invention generally relates to the field of video compression. In particular, the present invention is directed to methods and systems of video coding using reference regions.
BACKGROUND
A video codec can include an electronic circuit or software that compresses or decompresses digital video. It can convert uncompressed video to a compressed format or vice versa. In the context of video compression, a device that compresses video (and/or performs some function thereof) can typically be called an encoder, and a device that decompresses video (and/or performs some function thereof) can be called a decoder.
A format of the compressed data can conform to a standard video compression specification. The compression can be lossy in that the compressed video lacks some information present in the original video. A consequence of this can include that decompressed video can have lower quality than the original uncompressed video because there is insufficient information to accurately reconstruct the original video.
There can be complex relationships between the video quality, the amount of data used to represent the video (e.g., determined by the bit rate), the complexity of the encoding and decoding algorithms, sensitivity to data losses and errors, ease of editing, random access, end-to- end delay (e.g., latency), and the like.
Motion compensation can include an approach to predict a video frame or a portion thereof given a reference frame, such as previous and/or future frames, by accounting for motion of the camera and/or objects in the video. It can be employed in the encoding and decoding of video data for video compression, for example in the encoding and decoding using the Motion Picture Experts Group (MPEG)'s advanced video coding (AVC) standard (also referred to as H.264). Motion compensation can describe a picture in terms of the transformation of a reference picture to the current picture. The reference picture can be previous in time when compared to the current picture, from the future when compared to the current picture. When images can be accurately synthesized from previously transmitted and/or stored images, compression efficiency can be improved.
SUMMARY OF THE DISCLOSURE
In an aspect, a decoder includes circuitry configured to receive a coded video bitstream, the coded video stream including a coded reference picture and a coded current picture having a first size, decode the reference picture, identify from the bitstream a sub-region of the reference picture, the sub-region having a second size, wherein the second size is different from the first size, rescale the sub-region to a third size, wherein the third size is equal to the first size, to form a rescaled reference picture, and decode the current picture using the rescaled reference picture.
In another aspect, a decoder includes circuitry configured to receive a coded video bitstream including a coded first reference picture and a coded current picture, decode the reference picture, identify from the bit stream a first sub-region of the reference picture, transform the first sub-region to form a second reference picture, and decode the current picture using the second reference picture.
In another aspect, a method of video coding using reference regions includes receiving, by a decoder, a coded video bitstream, the coded video bitstream including a coded reference picture and a coded current picture having a first size, decoding, by the decoder, the reference picture, identifying, by the decoder and from the bitstream, a sub-region of the reference picture, the sub-region having a second size, wherein the second size is different from the first size, rescaling, by the decoder, the sub-region to a third size, wherein the third size is equal to the first size, to form a rescaled reference picture, and decoding, by the decoder, the current picture using the rescaled reference picture.
In another aspect, a decoder includes circuitry configured to receive a bitstream, identify a first frame, locate a first independent reference region within the first frame, extract the first independent reference region from the first frame, and decode a second frame using the first independent reference region as a reference for the second frame. In another aspect, a method of video coding using reference regions includes receiving a bitstream, identifying a first frame, locating a first independent reference region within the first frame, extracting the first independent reference region from the first frame, and decoding a second frame using the first independent reference region as a reference for the second frame.
These and other aspects and features of non-limiting embodiments of the present invention will become apparent to those skilled in the art upon review of the following description of specific non-limiting embodiments of the invention in conjunction with the accompanying drawings.
DESCRIPTION OF DRAWINGS
For the purpose of illustrating the invention, the drawings show aspects of one or more embodiments of the invention. However, it should be understood that the present invention is not limited to the precise arrangements and instrumentalities shown in the drawings, wherein:
FIG. 1 is a block diagram illustrating an embodiment decoding using a reference frame;
FIG. 2 is an illustration of an exemplary embodiment of a reference frame with an independent reference region;
FIG. 3 is an illustration of an exemplary embodiment of an independent reference region and a predicted frame;
FIG. 4 is an illustration of an exemplary embodiment of an independent reference region and a predicted frame;
FIG. 5 is an illustration of an exemplary embodiment of independent reference regions and a predicted frame;
FIG. 6 is an illustration of an exemplary embodiment of an LTR buffer;
FIG. 7 is a process flow diagram illustrating an example process of decoding a video according to some implementations of the current subject matter
FIG. 8 is a system block diagram illustrating an example decoder capable of decoding a bit stream according to some implementations of the current subject matter;
FIG. 9 is a process flow diagram illustrating an example process of encoding a video according to some implementations of the current subject matter;
FIG. 10 is a system block diagram illustrating an example video encoder according to some implementations of the current subject matter; and FIG. 11 is a block diagram of a computing system that can be used to implement any one or more of the methodologies disclosed herein and any one or more portions thereof.
The drawings are not necessarily to scale and may be illustrated by phantom lines, diagrammatic representations and fragmentary views. In certain instances, details that are not necessary for an understanding of the embodiments or that render other details difficult to perceive may have been omitted.
DETAILED DESCRIPTION
In traditional video coding systems, video sequence is divided into groups-of-pictures (GOP). Each GOP is self-contained in the sense of temporal and spatial prediction. Usually, first picture in the group is used as a reference picture for the subsequent pictures. Temporal and spatial relationships between the pictures allow for the very efficient compression using predictive coding.
Referring now to FIG. 1, each GOP may include a reference frame 104 or intra-frame (I- frame) used as a reference, and information usable to predict other frames 108 from the reference; information usable for prediction may include, without limitation, global and/or local motion vectors and/or transformations as well as a residual as described in further. Transmission of a reference frame 104 or I-frame may represent a substantial portion of bandwidth used in transmission of a GOP.
In some embodiments, transmission bandwidth may be reduced and/or decoding and/or encoding efficiency improved using a long-term reference (LTR) frame. As used in this disclosure, an LTR frame is a frame and/or picture used to create predicted frames and/or pictures in one or more groups of pictures (GOP), but which may not itself be displayed in a video picture. A frame marked as an LTR frame in a video bitstream may be available for use as a reference until it is explicitly removed by bitstream signaling. LTR frames may improve prediction and compression efficiency in scenes that have static background over an extended period (e.g., background in a video conference or video of parking lot surveillance).
Current standards such as H.264 and H.265 allow updating of similar frames, such as LTR frames, by signaling a newly decoded frame to be saved and made available as a reference frame 104. Such updates are signaled by the encoder and an entire frame is updated. But updating the entire frame can be costly, particularly where only a small portion of the static background has changed.
Referring now to FIG. 2, embodiments disclosed herein improve efficiency and flexibility of above-described prediction processes by performing a prediction using at least a reference region of a reference frame 104 as a reference for a current frame, where the reference region or “sub-region” has a size, which may include an area, defined for instance in pixels, that is smaller than an area of the reference frame 104. In contrast to current coding standards, where predicted frames are generated from entire reference frames 104, the above-described approach may enable a decoder to perform decoding operations more efficiently and with greater variation. At least a sub-region 204 may be used for any number of frames, at any position within GOP, thus removing the requirement for I-frame re-coding and/or retransmission.
Continuing to refer to FIG. 2, an exemplary embodiment of a reference frame 104 with a sub-region 204 representing a cropped portion of the video view is illustrated. Sub-region 204 may be identified, for instance by a decoder as described in further detail below, within reference frame 104. Sub-region 204 may be used as a reference region in a manner analogous to the use of a cropped reference frame 104, without requiring a cropped reference frame 104 to be transmitted separately.
As a non-limiting and illustrative example, and still referring to FIG. 2, reference frame 104 may have a first resolution defined by a first width D1 and a first height D2, where D1 and D2 may be, without limitation, numbers of units of measurement such as pixels and/or fractions of pixels; an area of reference frame 104 may be defined as an area of a rectangular array of units of measurement D1 and D2, defined as a resolution D1 x D2. Sub-region 204 may have a width W and a height H, defining an area or resolution of W x H. Sub-region 204 may define a sub- picture 204 within Reference picture that has same or smaller dimensions, where “smaller dimensions” signify that at least one of W and H is smaller than a corresponding dimension of reference frame 104; in other words, either W is less than D1 or H is less than D2. As a result, resolution or area W x H may be less than resolution or area D1 x D2. Sub-region 204 may be defined by a quadruple (X,Y,W,H), where X,Y is the coordinate of the top-_left comer of the sub- region 204 relative to the top-_left corner of the Reference picture, and W,H are width and height of the sub-region 204 expressed in the units of measurement. It should be noted that alternative quadruples may be selected to define sub-region 204, such as without limitation coordinates of an alternative comer of sub-region 204, a set of two diagonally opposed vertices, and/or vectors to any defined points. Data defining sub-region 204 may be static over a GOP; for instance, a quadruple (X,Y,W,H) or equivalent may be static over a GOP. Alternatively, or additionally, data defining sub-region 204 may be dynamic. For example, and without limitation, sub-region 204 change between subsequent pictures of GOP to follow movement of an object and/or person of interest in a video picture; this may be coded similarly to motion vectors and/or transformations used in video coding generally. Data may be provided defining sub-region 204 for each picture of group of pictures; this may be accomplished, without limitation, by a set of data defining sub-region 204, for instance as described above, for each picture of a group of pictures, by a set of data defining a sub-region 204 in one picture and further data describing movement of sub-region 204 from one picture to previous or subsequent picture, or the like. Data defining sub-region 204 may be specified and/or signaled in a sequence parameter set (SPS); updated data defining sub-region 204 may be provided in a picture parameter set (PPS) for one or more selected pictures and/or frames of a GOP.
With continued reference to FIG. 2, a decoder may be receiving, be about to receive, or have already received a reference frame 104 at resolution D1 x D2 and may select a sub-region 204 using a quadruple as described above. In some implementations, encoder may signal a geometric characteristic of sub-region 204 to the decoder using extra bits in a bitstream.
Signaling bits may indicate a reference frame 104 index and/or an index identifying a GOP, within a buffer, such as an LTR buffer and/or reference buffer as described in further detail below, identifying picture indices at a decoder, and a sub-region 204 quadruple. Decoder may then extract sub-region 204 as an independent reference region. Subsequent frames may be predicted from extracted independent reference region. Where data defining sub-region 204 is dynamic as described above, subsequent frames may further be predicted using such data and reference region; advantageously, a single reference region may be used for a sub-region 204 that moves relative to a picture, without requiring retransmission of the reference region. A size and/or location of a sub-region 204, reference frame 104, or the like may alternatively or additionally be characterized using parameters, which may be signaled in bitstream, such as a height offset, a height, a length offset and/or a length. Still referring to FIG. 2, a sub-region 204 may be signaled using at least a vertical offset and at least a horizontal offset; for instance, and without limitation, a quadruple as described above may specify a vertical offset from a top edge of frame, a vertical offset from a bottom edge of frame, a horizontal offset from a left edge of frame, and a horizontal offset from a right edge of frame, where offsets may be measured in pixels of a frame either prior to or after rescaling as described in further detail below. As a non-limiting example, at least a vertical offset may include an sps_conf_win_top_offset and an sps_conf_win_bottom offset, which may be signaled in an SPS and may identify, respectively, a vertical offset from a top edge of frame and a vertical offset from bottom edge of frame. As a further non-limiting example, at least a horizontal offset may include an sps__conf_win_left__ offset and an sps_conf_ win_ right__ offset, which may be signaled in an SPS and may identify, respectively, a horizontal offset from a left edge of frame and a horizontal offset from a right edge of frame.
With continued reference to FIG. 2, a sub-region 204 may alternatively or additionaly be identified by specification of one or more tiles or slices to be included in and/or excluded from the sub-region 204. Tile number and position within a frame may be signaled in a picture header. In an embodiment, signaling may be explicit; alternatively or additionally, PPS may signal tile rows, columns, row height, and/or column width, any or all of which may be combined and/or utilized by a decoder to determine tile count and/or number. For instance, and without limitation, a PPS parameter denoted as pps_num_exp_tile_columns_minus1, with 1 added to it, may specific a number of explicitly provided tile column widths. As a further non- limiting example, a parameter pps_tile_column_width_minus1[ i ], with 1 added to it, may specify the width of the i-th tile column, for instance in units of coding tree blocks (CTBs) for i in the range of 0 to pps_ num exp tile columns minus1, inclusive. A parameter pps_tile_row_height_minus1[ i ] plus 1, with 1 added to it, may specify the height of the i-th tile row, for instance in units of CTBs for i. Signaled parameters may alternatively or additionally specify numbers and/or dimensions of slices within one or more tiles. For instance, a parameter denoted pps_num_exp_slices_in_tile[ i ] may specify a number of explicitly provided slice heights for slices in a tile containing the i-th slice. A parameter denoted pps_slice_width_in_tiles_minus1[ i ], with 1 added to it, may specify a width of the i-th rectangular slice in units of tile columns. A parameter denoted pps_slice_height_in_tiles_minus1[ i ], with 1 added to it, may specify a height of the i-th rectangular slice in units of tile rows, for instance when pps_num_exp_slices_in_tile[ i ] is equal to 0. Persons skilled in the art, upon reviewing the entirety of this disclosure, will be aware of various alternative or additional ways in which tile and/or slice parameters may be signaled and/or determined in and/or from bitstream and/or header parameters, whether implicitly or explictly.
Still referring to FIG. 2, where transformation of a sub-region 204 includes rescaling sub-region 204, width and height of smaller and/ larger sub-region 204 may be obtained by multiplying a width and height of sub-region 204 by an arbitrary rescaling constant (Rc), also referred to as a scaling factor and/or constant, which may alternatively or additionally be referred to with a variable name such as RefPicScale. In case of smaller sub-regions 204, Rc may have a value between 0 and 1. In case of larger frames, Rc may have a value greater than 1; for instance, Rc may have a value between 1 and 4. Other values are possible. Rescaling constant may be different for one resolution dimension than another; for instance, a rescaling constant Rch may be used to rescale height, while another rescaling constant Rcw may be used to rescale width.
Still referring to FIG. 2, rescaling may be implemented as a mode. In some implementations, an encoder may signal to decoder which rescaling constant to use, for instance as a function of a picture parameter such as pps_pic_width_in_luma_samples parameter, a pps_scaling_win_right__offset parameter, and/or a pps_scaling_win_left_offset parameter. Signaling may be performed in a sequence parameter set (SPS) corresponding to a GOP containing current picture and/or in a picture parameter set (PPS) corresponding to current picture. For instance, and without limitation, encoder may signal rescaled parameters using fields such as a pps_pic_width_in_luma_samples, pps_pic_height_in_luma_samples,pps_scaling_win_left_offset, pps_scaling_win_right_offset, pps_scaling_win_top_offset, pps_scaling_win_bottom_offset, and/or sps_num_subpics_minus1. A parameter such as pps_ scaling_window_explicit_signalling_flag equal to 1 may specify that scaling window offset parameters are present in the PPS; pps_scaling_window_ explicit_signalling_flag equal to 0 may indicate that the scaling window offset parameters are not present in the PPS.
When sps_ref_pic_resampling_enabled_flag is equal to 0, a value of pps_ scaling_window_explicit_ signalling_flag may be equal to 0. pps_ scaling_win_left_ offset, pps_ scaling_win_right_offset, pps_scaling_win_top_offset, and pps_scaling_win_bottom_offset may specify offsets that are applied to picture size for scaling ratio calculation. When not present, values of pps_scaling_win_left_offset, pps_scaling_win_right_offset, pps_scaling_win_top_offset, and pps_scaling_win_bottom_offset may be inferred to be equal to pps_conf_win_left_offset, pps_conf_win_right_offset, pps_conf win_top_offset, and pps_conf_win_bottom_offset, respectively.
Further referring to FIG. 2, W and H parameters as described above may be represented, without limitation, using variables CurrPicScalWinWidthL and CurrPicScalWinHeightL, respectively; these variables may be derived from signaled parameters as described above using one or more mathematical relationships between the signaled parameters and the variables. For instance, and without limitation, CurrPicScalWinWidthL may be derived according to the following equation:
CurrPicScalWinWidthL = pps_pic_width_in_luma_samples - SubWidthC * ( pps_scaling_win_right_offset + pps_scaling_win_left_offset )
As a further non-limiting example, CurrPicScalWinHeightL may be derived according to the following equation:
CurrPicScalWinWidthL = pps_pic_width_in_luma_samples - SubWidthC * ( pps_scaling_win_right_offset + pps_scaling_win_left_offset ) rescaling operation may be executed on a block level of encoded frames and/or sub-regions 204. For example, a sub-region 204 to be used as a reference frame 104 may first be rescaled and subsequently prediction may be performed. Block prediction process may be performed on a scaled reference frame 104 (having a scaled resolution) rather than the original reference frame 104. Rescaling reference frame 104 and/or sub-region 204 may include rescaling according to any parameter signaled by an encoder as described above; for instance and without limitation, where a reference frame 104 to be used with current picture is signaled, such as via a reference to an index value associated with reference frame 104 or the like, the signaled reference frame 104 may be rescaled, prior to prediction, according to any method of rescaling described above. A rescaled reference frame 104 may be stored in memory and/or in a buffer, which may include without limitation a buffer identifying frames contained therein by indices, according to which frame retrieval may be performed; buffer may include a decoded picture buffer (DCB) and/or one or more additional buffers implemented by decoder. Prediction process may include, for example, inter picture prediction including motion compensation.
Still referring to FIG. 2, some implementations of block-based rescaling may enable flexibility in applying optimal filters for each block, instead of applying same filter for a whole frame. In some implementations, a skip-rescaling mode may be possible such that some blocks (based for example on the uniformity of the pixels and bitrate cost) can be in a skip-rescaling mode (such that rescaling would not change the bitrate). Skip-rescaling mode may be signaled in a bitstream; for instance, and without limitation, skip-rescaling mode may be signaled in a PPS parameter. Alternatively or additionally, decoder may determine that skip-rescaling mode is active based on one or more parameters set by decoder and/or signaled in bitstream.
Still referring to FIG. 2, rescaling may include up-sampling or otherwise using spatial filters. Spatial filters used in rescaling may include, without limitation, bicubic spatial filters that apply bicubic interpolation, bilinear spatial filters that apply bi-linear interpretation, Lanczos filters that use Lanczos filtering and/or Lanczos resampling using combinations of sine filters, sinc-function interpolation and/or signal reconstruction techniques, or the like; persons skilled in the art, upon reviewing the entirety of this disclosure, will be aware of various filters that may be used for interpolation consistently with this disclosure. Interpolation filters may include, as a non-limiting example, any filters described above, a low-pass filter, which may be used, without limitation, by way of an up-sampling process whereby pixels between pixels of block and/or frame previous to scaling may be initialized to zero, and then populated with an output of the low-pass filter. Alternatively or additionally, any luma sample interpolation filtering process may be used. Luma sample interpretation may include computation of an interpolated value at a half- sample interpolation filter index, falling between two consecutive sample values of a non-scaled sample array. Computation of interpolated value may be performed, without limitation, by retrieval of coefficients and/or weights from lookup tables; selection of lookup tables may be performed as a function of motion models of coding units and/or scaling ratio amounts, for instance as determined using scaling constants as described above. Computation may include, without limitation, performing weighted sums of adjacent pixel values, where weights are retrieved from lookup tables. Computed values may alternatively or additionally be shifted; for instance and without limitation, values may be shifted by Min( 4, BitDepth - 8), 6, Max(2, 14 - BitDepth), or the like. Persons skilled in the art, upon reviewing the entirety of this disclosure, will be aware of various alternative or additional implementations that may be used for interpolation filters.
Referring now to FIG. 3, predicted picture 108 may have an identical or similar resolution and/or size to an extracted independent reference region 304. This approach may be used to downscale video resolution, thus reducing bitrate, to focus on a region of interest to a viewer, and/or to focus on a region identified by automated or user-facilitated detection as containing visual data of greater relevance to some purpose and/or task; alternatively or additionally, this approach may permit display of video to continue where network speeds are compromised. Advantages accruing to this approach may include saving bandwidth used for video transmission, saving resources used for video encoding, and/or saving time needed to decode and play the video. A result may be a superior user experience as well as a more efficient use of resources in devices and/or networks implementing disclosed embodiments.
Still referring to FIG. 3, predicted picture 108 may subsequently be rescaled to a smaller or larger picture. Width and height of the smaller and larger pictures may be obtained by multiplying W and H by an arbitrary rescaling constant (Rc) (also referred to as a scaling factor). In the case of smaller pictures, as a non-limiting example, Rc may have a value between 0 and 1. In the case of larger frames, and as a further non-limiting example, Rc can have values between 1 and 4. Other values are possible. Rescaling operation may be left as an option for an end user and/or a further program and/or module operating on a computing device displaying video to an end user, which in one example could rescale picture to fit the display resolution.
Referring now to FIG. 4, a decoder may rescale independent reference region 304, producing a rescaled region 404, for instance using a rescaling constant as described above, to match a full resolution of original video picture and/or a target resolution; for instance, W and H may each be multiplied by an Rc selected to scale W and H to the same size as D1 and D2 as described above, such as without limitation Rc= Dl/W. Prediction and other operations may be performed to obtain predicted picture using rescaled sub-region.
Referring now to FIG. 5, independent reference region 204 may be used to predict a portion of a picture rather than an entire picture. For instance, and without limitation, a picture such as a 360-video picture and/or a video picture used in virtual reality may extend beyond a field of vision of a user; in such a situation, a given frame of a video picture may be rendered with an independent reference region 204 corresponding to a predicted and/or detected current field of vision of a user. In other embodiments, independent reference region may correspond to an important, high-detail, and/or high-motion portion of first frame. Remainder of frame predicted may be generated using any other suitable prediction and/or decoding method; pixels may not be encoded, may be encoded in a default color such as without limitation black, and/or may be given chroma and/or luma values of neighboring pixels, for instance extending chroma and luma values from edges of independent reference region to fill screen. Portions may alternatively or additionally predicted from other parts of reference frame, residual, motion vectors, or the like.
Still referring to FIG. 5, a decoder may decode all or part of a second frame by transforming a first independent reference region 204, here denoted for exemplary purposes as “1”. Transforming first independent reference region 204 may include scaling the first independent reference region 204, for instance as described above. Alternatively or additionally, transforming the first independent reference region 204 may include moving first independent reference region 204 relative to a location in a video picture; location in video picture may include edges and/or any coordinates in video picture. As a non-limiting example, and as illustrated for exemplary purposes in FIG. 5, a first independent reference region 204 may be displaced from an original location in a video picture coordinate system and/or relative to edges and/or pixel count to a novel location, for instance using a linear transformation such as an affine transformation, where an “affine motion transformation” as used in this disclosure is a transformation such as a matrix and/or vector describing a uniform displacement of a set of pixels or points represented in a video picture and/or picture, such as a set of pixels illustrating an object moving across a view in a video without changing apparent shape during motion. Any transformation, including any transformation describable using a matrix or other mathematical descriptor may be used consistently with this disclosure to move or otherwise transform first independent reference region. For instance and without limitation, transforming first independent reference region may include rotating the first independent reference region relative to a location in a video picture, flipping the first independent reference region, or the like. Still referring to FIG. 5, decoding may include use of a second independent reference region 204, here denoted for exemplary purposes as “2”. In an embodiment, decoder may locate a second independent reference region 204 in first frame, which may be performed in any way described above for first independent reference region 204. Alternatively or additionally, second independent reference region 204 may be extracted from another reference frame and/or retrieved from a buffer, such as a reference buffer and/or an LTR buffer, as described in further detail below. Decoding from second independent reference region 204 may be performed using any methods and/or method steps as described above for first independent reference region. Combination of first independent reference region 204 and second independent reference region 204 may be used in various ways; for instance, first independent reference region 204 may depict a first field of vision to a user of a picture having a size beyond the user’s field of vision, while a second independent reference region 204 may depict another field of vision, which may be contiguous. Additional independent reference regions 204 may also be used to provide further portions of decoded frame; a plurality of independent reference regions may be extracted and/or retrieved to decode a picture, and may be contiguous, connected by pixels predicted using any method described above, or otherwise combined. Plurality of independent reference regions 204 may alternatively or additionally be used sequentially for a sequence of frames.
Referring now to FIG. 6, one or more independent reference regions 204 may be stored in a buffer, such as a reference buffer and/or in an LTR buffer 604. LTR buffer 604 may include a plurality of frames. In an embodiment, an LTR buffer 604 may contain a plurality of frames and/or independent reference regions 204; each of plurality of frames and/or independent reference regions may have a corresponding index permitting retrieval and/or signaling for retrieval, for instance as described in further detail below. Reference buffer and/or LTR buffer 604 may be periodically updated and/or modified, for instance by addition and/or removal of frames and/or independent reference regions.
Still referring to FIG. 6, use of independent reference regions 204 and/or reference frames 104 may be signaled in bitstream, for instance by an encoder. For example, and without limitation, use of independent reference regions, presence of independent reference regions in a picture may signaled by the encoder in the header of the video sequence for instance in a sequence parameter set or the like. A single flag may be used to indicate presence of independent regions; absence of the flag may be interpreted as a lack of any independent regions. A total number of independent regions may also be signaled in a sequence header. Geometric characteristics of independent reference regions, identifiers of independence reference regions, for instance for retrieval from buffers as described above, may also be signaled in sequence headers. Alternatively or additionally, one or more signals may be provided in picture headers, such as in the picture parameter set. In an embodiment signaling in a picture header may extend flexibility of a decoder, allowing decisions on a picture level. A list of region IDs may include a sequence of consecutive numbers that represent region IDs in a prescribed order. Decoder may use a signaled list to reposition and recompose independent regions and picture regions predicted from the independent regions.
Referring now to FIG. 7, an exemplary embodiment of a method 700 of video coding using reference regions is illustrated. At step 705, a decoder receives a bitstream, for instance as described in further detail below. Bitstream may include a coded video bitstream. Bitstream may include at least one coded reference picture and/or LTR frame, which may alternatively be referred to as a “reference picture” and/or an “LTR picture,” and at least one coded current picture. Coded current picture may have a first size, which may include any size as described above, including an area. At step 710, decoder decodes the reference picture and/or LTR frame; this may be performed according to any process for decoding as described in this disclosure. Decoder may identify reference frame and/or LTR frame in bitstream. Alternatively reference frame and/or LTR frame may not be decoded, and only independent reference regions may be decoded.
At step 715, and still referring to FIG. 7, decoder locates a first sub-region within reference frame and/or LTR frame; this may be accomplished, without limitation, as described above in reference to FIGS. 1-6. For instance, and without limitation, locating first sub-region may include identifying, in bitstream, a geometric characterization of an independent reference region within reference frame and/or LTR frame; bitstream may be signaled by an encoder as described above. As a non-limiting example, first sub-region may be rectangular, and geometric characterization may include a quadruple of numbers characterizing vertices of the first sub- region. As a further non-limiting example, geometric characterization may include and/or sub- region 204 may be characterized by a height offset, a height, a length offset and a length. First sub-region have a second size; second size may be different from first size, or in other words may either be larger or smaller than first size. Identifying the first sub-region may include receiving, in the bitstream, an indication that the first sub-region is present. In an embodiment, traditional prediction using reference frames may still be supported, by either signaling that there are zero regions within picture or defining one region that has same size as the original picture. Flexibility may be provided by allowing specification of one or more regions that are extracted and as such considered as an independent reference picture for future prediction.
Continuing to refer to FIG. 7, at step 720, decoder transforms first sub-region 204. Transformation may produce a second and/or rescaled reference picture and/or a part thereof. Transforming first sub-region may include any transformation and/or modification to any sub- region as described in this disclosure. Transforming first sub-region may include, without limitation, translating the first sub-region. As a further example, decoder may be configured to transform first sub-region by applying an affine transformation, which may include any affine transformation as described above. As an additional non-limiting example, decoder may rescale first sub-region to a third size; the third size may be equal to first size, to form a rescaled reference picture. In other words, decoder may rescale sub-region to match a current and/or signaled size of current frame. Alternatively or additionally, first sub-region may be left at a current size of first sub-region; decoder may not transform first sub-region. Decoder may extract first sub-region from reference frame and/or LTR frame; this may be performed, without limitation, as described above in reference to FIGS. 1-6. At step 725, decoder decodes current frame using the first sub-region as a reference for the current frame; this may be implemented, without limitation, as described above in reference to FIGS. 1-6. For instance, decoding current frame may include decoding the current frame having the same size as first sub-region. Decoding the second frame may include transforming the first sub-region. Transforming the first sub- region may include scaling the first sub-region, flipping the first sub-region, moving the first sub-region relative to a location in a video picture, and/or rotating the first sub-region relative to a location in a video picture.
Still referring to FIG. 7, decoder may store reference frame and/or LTR frame in a buffer; buffer may include a long-term reference buffer and/or a reference picture buffer. Decoder may be further configured to locate a second sub-region in the reference frame and/or LTR frame. Decoder may decode a second current frame using first sub-region and/or the second sub-region. Decoder may store the second independent reference region in a buffer. Decoder may decode a second current frame using first sub-region and/or a second sub-region and/or reference frame, which may be retrieved from a buffer, extracted from another frame, or the like.
FIG. 8 is a system block diagram illustrating an example decoder 800 capable of decoding a bitstream including by constructing a motion vector candidate list using a global motion vector candidate utilized by an adjacent block. Decoder 800 may include an entropy decoder processor 804, an inverse quantization and inverse transformation processor 808, a deblocking filter 812, a frame buffer 816, a motion compensation processor 820 and/or an intra prediction processor 824.
In operation, and still referring to FIG. 8, bit stream 828 may be received by decoder 800 and input to entropy decoder processor 804, which may entropy decode portions of bit stream into quantized coefficients. Quantized coefficients may be provided to inverse quantization and inverse transformation processor 808, which may perform inverse quantization and inverse transformation to create a residual signal, which may be added to an output of motion compensation processor 820 or intra prediction processor 824 according to a processing mode. An output of the motion compensation processor 820 and intra prediction processor 824 may include a block prediction based on a previously decoded block. A sum of prediction and residual may be processed by deblocking filter 812 and stored in a frame buffer 816.
In an embodiment, and still referring to FIG. 8 decoder 800 may include circuitry configured to implement any operations as described above in any embodiment as described above, in any order and with any degree of repetition. For instance, decoder 800 may be configured to perform a single step or sequence repeatedly until a desired or commanded outcome is achieved; repetition of a step or a sequence of steps may be performed iteratively and/or recursively using outputs of previous repetitions as inputs to subsequent repetitions, aggregating inputs and/or outputs of repetitions to produce an aggregate result, reduction or decrement of one or more variables such as global variables, and/or division of a larger processing task into a set of iteratively addressed smaller processing tasks. Decoder may perform any step or sequence of steps as described in this disclosure in parallel, such as simultaneously and/or substantially simultaneously performing a step two or more times using two or more parallel threads, processor cores, or the like; division of tasks between parallel threads and/or processes may be performed according to any protocol suitable for division of tasks between iterations. Persons skilled in the art, upon reviewing the entirety of this disclosure, will be aware of various ways in which steps, sequences of steps, processing tasks, and/or data may be subdivided, shared, or otherwise dealt with using iteration, recursion, and/or parallel processing.
With continued reference to FIG. 8, decoder 800 and/or circuitry thereof may be designed and/or configured to perform any method, method step, or sequence of method steps in any embodiment described in this disclosure, in any order and with any degree of repetition. For instance, decoder 800 and/or circuitry thereof may be configured to perform a single step or sequence repeatedly until a desired or commanded outcome is achieved; repetition of a step or a sequence of steps may be performed iteratively and/or recursively using outputs of previous repetitions as inputs to subsequent repetitions, aggregating inputs and/or outputs of repetitions to produce an aggregate result, reduction or decrement of one or more variables such as global variables, and/or division of a larger processing task into a set of iteratively addressed smaller processing tasks decoder 800 and/or circuitry thereof may perform any step or sequence of steps as described in this disclosure in parallel, such as simultaneously and/or substantially simultaneously performing a step two or more times using two or more parallel threads, processor cores, or the like; division of tasks between parallel threads and/or processes may be performed according to any protocol suitable for division of tasks between iterations. Persons skilled in the art, upon reviewing the entirety of this disclosure, will be aware of various ways in which steps, sequences of steps, processing tasks, and/or data may be subdivided, shared, or otherwise dealt with using iteration, recursion, and/or parallel processing.
FIG. 9 is a process flow diagram illustrating an example process 900 of encoding a video with adaptive cropping that can enable additional flexibility for the video encoder/decoder allowing bitrate savings in various use cases. At step 905, a video frame may undergo initial block segmentation, for example, using a tree-structured macro block partitioning scheme that can include partitioning a picture frame into CTUs and CUs.
At step 910, and still referring to FIG. 9 identification of a first reference region may be performed, including selection of a sub-region of a frame or portion thereof. Region may be selected by the means of automatic or expert input. Automatic selection may be achieved, as a non-limiting example, by a computer vision algorithm that detecting certain objects; object detection may include further processing such as object classification or the like. Expert input selection may be achieved, without limitation, using human manual intervention, for example selecting a close-up of a person and/or object of interest in a video, such as a person in a surveillance video. Another possible use case may be to select a maximally salient region that contributes the most to a bit rate reduction. Adaptive cropping may further include selection of a geometric characterization of sub-region; for instance, and without limitation, selection of geometric characterization of sub-region may include selection of a quadruple as described above, such as without limitation (X,Y,W,H). Selection of geometric characterization of sub- region may include updating information and/or information indicating changes to data defining sub-region from one frame to another as described above with regard to dynamic data defining sub -region.
Still referring to FIG. 9, at step 915, block may be encoded and included in the bit stream. Encoding can include utilizing inter prediction and intra prediction modes, for example.
Encoding may include adding bits to the bitstream characterizing (X,Y,W,H), identifying adaptive cropping mode, or the like, for instance as described above. Encoding may include encoding updating information and/or information indicating changes to data defining sub-region from one frame to another as described above with regard to dynamic data defining sub-region.
FIG. 10 is a system block diagram illustrating an example video encoder 1000 capable of adaptive cropping that can enable additional flexibility for the video encoder/decoder allowing bitrate savings in various use cases. The example video encoder 1000 receives an input video 1005, which can be initially segmented or dividing according to a processing scheme, such as a tree-structured macro block partitioning scheme (e.g., quad-tree plus binary tree). An example of a tree-structured macro block partitioning scheme can include partitioning a picture frame into large block elements called coding tree units (CTU). In some implementations, each CTU can be further partitioned one or more times into a number of sub-blocks called coding units (CU). The final result of this portioning can include a group of sub-blocks that can be called predictive units (PU). Transform units (TU) can also be utilized.
Still referring to FIG. 10, example video encoder 1000 includes an intra prediction processor 1015, a motion estimation/compensation processor 1020 (also referred to as an inter- prediction processor) capable of supporting adaptive cropping, a transform /quantization processor 1025, an inverse quantization/inverse transform processor 1030, an in-loop filter 1035, a decoded picture buffer 1040, and an entropy coding processor 1045. Bit stream parameters can be input to the entropy coding processor 1045 for inclusion in the output bit stream 1050.
In operation, and continuing to refer to FIG. 10, for each block of a frame of the input video 1005, whether to process the block via intra picture prediction or using motion estimation / compensation can be determined. The block can be provided to the intra prediction processor 1010 or the motion estimation / compensation processor 1020. If the block is to be processed via intra prediction, the intra prediction processor 1010 can perform the processing to output the predictor. If the block is to be processed via motion estimation / compensation, the motion estimation / compensation processor 1020 can perform the processing including using adaptive cropping, if applicable.
Still referring to FIG. 10, residual can be formed by subtracting the predictor from the input video. The residual can be received by the transform/quantization processor 1025, which can perform transformation processing (e.g., discrete cosine transform (DCT)) to produce coefficients, which can be quantized. The quantized coefficients and any associated signaling information can be provided to the entropy coding processor 1045 for entropy encoding and inclusion in the output bit stream 1050. The entropy encoding processor 1045 can support encoding of signaling information related to encoding the current block. In addition, the quantized coefficients can be provided to the inverse quantization/inverse transformation processor 1030, which can reproduce pixels, which can be combined with the predictor and processed by the in-loop filter 1035, the output of which is stored in the decoded picture buffer 1040 for use by the motion estimation / compensation processor 1020 that is capable of adaptive cropping.
With continued reference to FIG. 10, although a few variations have been described in detail above, other modifications or additions are possible. For example, in some implementations, current blocks can include any symmetric blocks (8x8, 16x16, 32x32, 64x64, 128 x 128, and the like) as well as any asymmetric block (8x4, 16x8, and the like).
Still referring to FIG. 10, in some implementations, a quadtree plus binary decision tree (QTBT) can be implemented. In QTBT, at the Coding Tree Unit level, the partition parameters of QTBT are dynamically derived to adapt to the local characteristics without transmitting any overhead. Subsequently, at the Coding Unit level, a joint-classifier decision tree structure can eliminate unnecessary iterations and control the risk of false prediction. In some implementations, LTR frame block update mode can be available as an additional option available at every leaf node of the QTBT.
In some implementations, and with continued reference to FIG. 10, additional syntax elements can be signaled at different hierarchy levels of the bit stream. For example, a flag can be enabled for an entire sequence by including an enable flag coded in a Sequence Parameter Set (SPS). Further, a CTU flag can be coded at the coding tree unit (CTU) level.
Still referring to FIG. 10, encoder 1000 may include circuitry configured to implement any operations as described above in reference to FIGS. 8 or 10 in any embodiment, in any order and with any degree of repetition. For instance, encoder 1000 may be configured to perform a single step or sequence repeatedly until a desired or commanded outcome is achieved; repetition of a step or a sequence of steps may be performed iteratively and/or recursively using outputs of previous repetitions as inputs to subsequent repetitions, aggregating inputs and/or outputs of repetitions to produce an aggregate result, reduction or decrement of one or more variables such as global variables, and/or division of a larger processing task into a set of iteratively addressed smaller processing tasks. Encoder 1000 may perform any step or sequence of steps as described in this disclosure in parallel, such as simultaneously and/or substantially simultaneously performing a step two or more times using two or more parallel threads, processor cores, or the like; division of tasks between parallel threads and/or processes may be performed according to any protocol suitable for division of tasks between iterations. Persons skilled in the art, upon reviewing the entirety of this disclosure, will be aware of various ways in which steps, sequences of steps, processing tasks, and/or data may be subdivided, shared, or otherwise dealt with using iteration, recursion, and/or parallel processing.
With continued reference to FIG. 10, non-transitory computer program products (i.e., physically embodied computer program products) may store instructions, which when executed by one or more data processors of one or more computing systems, causes at least one data processor to perform operations, and/or steps thereof described in this disclosure, including without limitation any operations described above and/or any operations decoder 700 and/or encoder 1000 may be configured to perform. Similarly, computer systems are also described that may include one or more data processors and memory coupled to the one or more data processors. The memory may temporarily or permanently store instructions that cause at least one processor to perform one or more of the operations described herein. In addition, methods can be implemented by one or more data processors either within a single computing system or distributed among two or more computing systems. Such computing systems can be connected and can exchange data and/or commands or other instructions or the like via one or more connections, including a connection over a network (e.g. the Internet, a wireless wide area network, a local area network, a wide area network, a wired network, or the like), via a direct connection between one or more of the multiple computing systems, or the like.
With continued reference to FIG. 10, encoder 1000 and/or circuitry thereof may be designed and/or configured to perform any method, method step, or sequence of method steps in any embodiment described in this disclosure, in any order and with any degree of repetition. For instance, encoder 1000 and/or circuitry thereof may be configured to perform a single step or sequence repeatedly until a desired or commanded outcome is achieved; repetition of a step or a sequence of steps may be performed iteratively and/or recursively using outputs of previous repetitions as inputs to subsequent repetitions, aggregating inputs and/or outputs of repetitions to produce an aggregate result, reduction or decrement of one or more variables such as global variables, and/or division of a larger processing task into a set of iteratively addressed smaller processing tasks encoder 1000 and/or circuitry thereof may perform any step or sequence of steps as described in this disclosure in parallel, such as simultaneously and/or substantially simultaneously performing a step two or more times using two or more parallel threads, processor cores, or the like; division of tasks between parallel threads and/or processes may be performed according to any protocol suitable for division of tasks between iterations. Persons skilled in the art, upon reviewing the entirety of this disclosure, will be aware of various ways in which steps, sequences of steps, processing tasks, and/or data may be subdivided, shared, or otherwise dealt with using iteration, recursion, and/or parallel processing.
In some embodiments, a decoder includes circuitry configured to receive a coded video bitstream, the coded video stream including a coded reference picture and a coded current picture having a first size, decode the reference picture, identify from the bitstream a sub-region of the reference picture, the sub-region having a second size, wherein the second size is different from the first size, rescale the sub-region to a third size, wherein the third size is equal to the first size, to form a rescaled reference picture, and decode the current picture using the rescaled reference picture.
Sub-region may be characterized by a top offset, a bottom offset, a right offset, and a left offset. Identifying sub-region may include receiving, in bitstream, an indication that the sub- region is present.
In some embodiments, a decoder includes circuitry configured to receive a coded video bitstream including a coded first reference picture and a coded current picture, decode the reference picture, identify from the bit stream a first sub-region of the reference picture, transform the first sub-region to form a second reference picture, and decode the current picture using the second reference picture.
Current picture may have a first size, first sub-region may have a second size that is different from the first size, and decoder may be configured to transform sub-region by scaling the first sub-region to a third size equal to the first size. Decoder may be configured to transform first sub-region by translating the first sub-region. Decoder may be configured to transform first sub-region by applying an affine transformation. Decoder may be further configured to store first reference picture in a buffer. Buffer may include a long-term reference buffer. Buffer may include a reference picture buffer. Decoder may be further configured to locate a second sub- region in first reference picture. Decoder may be further configured to decode a second frame using first reference region and second independent reference region. Decoder may be further configured to store second independent reference region in a buffer. Current picture may be a first picture, and decoder may be further configured to decode a second picture using first sub- region and a second sub-region.
In some embodiments, a method of video coding using reference regions includes receiving, by a decoder, a coded video bitstream, the coded video bitstream including a coded reference picture and a coded current picture having a first size, decoding, by the decoder, the reference picture, identifying, by the decoder and from the bitstream, a sub-region of the reference picture, the sub-region having a second size, wherein the second size is different from the first size, rescaling, by the decoder, the sub-region to a third size, wherein the third size is equal to the first size, to form a rescaled reference picture, and decoding, by the decoder, the current picture using the rescaled reference picture.
Sub-region may be characterized by a height offset, a height, a length offset and a length.
Identifying sub-region may include receiving, in bitstream, an indication that the sub-region is present. Method may include comprising storing reference frame in a buffer. Buffer may include a long-term reference buffer. Buffer may include a reference picture buffer.
In some embodiments, a decoder includes circuitry configured to receive a bitstream, identify a first frame, locate a first independent reference region within the first frame, extract the first independent reference region from the first frame, and decode a second frame using the first independent reference region as a reference for the second frame.
Decoder may be further configured to locate first independent reference region by identifying, in bitstream, a geometric characterization of an independent reference region within the first frame. First independent reference region may be rectangular, and geometric characterization may include a quadruple of numbers characterizing vertices of the first independent reference region. Identifying first independent reference region may include receiving, in bitstream, an indication that the first independent reference region is present. First independent reference region may have a size, and decoder may be configured decode second frame by decoding the second frame having the same size as the first independent reference region. Decoder may be configured decode second frame by transforming first independent reference region. Transforming first independent reference region may include scaling the first independent reference region. Transforming first independent reference region may include flipping the first independent reference region. Transforming first independent reference region may include moving the first independent reference region relative to a location in a video picture. Transforming first independent reference region may include rotating the first independent reference region relative to a location in a video picture.
Decoder may be further configured to store first frame in a buffer. Buffer may include a long-term reference buffer. Buffer may include a reference picture buffer. Decoder may be further configured to locate a second reference region in first frame. Decoder may be further configured to decode second frame using first reference region and second independent reference region. Decoder may be further configured to store second independent reference region in a buffer. Decoder may be further configured to decode second frame using first reference region and a second reference region.
In some embodiments, a method of video coding using reference regions includes receiving a bitstream, identifying a first frame, locating a first independent reference region within the first frame, extracting the first independent reference region from the first frame, and decoding a second frame using the first independent reference region as a reference for the second frame.
Locating first independent reference region may include identifying, in bitstream, a geometric characterization of an independent reference region within first frame. First independent reference region may be rectangular, and geometric characterization may include a quadruple of numbers characterizing vertices of the first independent reference region. Identifying first independent reference region may include receiving, in bitstream, an indication that the first independent reference region is present. First independent reference region may have a size and decoding the second frame may include decoding second frame having the same size as the first independent reference region. Method may include decoding second frame by transforming first independent reference region. Transforming first independent reference region may include scaling the first independent reference region. Transforming first independent reference region may include flipping the first independent reference region. Transforming first independent reference region may include moving the first independent reference region relative to a location in a video picture. Transforming first independent reference region may include rotating the first independent reference region relative to a location in a video picture.
Method may include storing first frame in a buffer. Buffer may include a long-term reference buffer. Buffer may include a reference picture buffer. Decoder may be further configured to locate a second reference region in first frame. Method may include decoding second frame using first reference region and second independent reference region. Method may include storing second independent reference region in a buffer. Method may include decoding second frame using first reference region and a second reference region.
It is to be noted that any one or more of the aspects and embodiments described herein may be conveniently implemented using one or more machines ( e.g ., one or more computing devices that are utilized as a user computing device for an electronic document, one or more server devices, such as a document server, etc.) programmed according to the teachings of the present specification, as will be apparent to those of ordinary skill in the computer art. Appropriate software coding can readily be prepared by skilled programmers based on the teachings of the present disclosure, as will be apparent to those of ordinary skill in the software art. Aspects and implementations discussed above employing software and/or software modules may also include appropriate hardware for assisting in the implementation of the machine executable instructions of the software and/or software module.
Such software may be a computer program product that employs a machine-readable storage medium. A machine-readable storage medium may be any medium that is capable of storing and/or encoding a sequence of instructions for execution by a machine ( e.g ., a computing device) and that causes the machine to perform any one of the methodologies and/or embodiments described herein. Examples of a machine-readable storage medium include, but are not limited to, a magnetic disk, an optical disc (e.g., CD, CD-R, DVD, DVD-R, etc.), a magneto- optical disk, a read-only memory “ROM” device, a random-access memory “RAM” device, a magnetic card, an optical card, a solid-state memory device, an EPROM, an EEPROM, and any combinations thereof. A machine-readable medium, as used herein, is intended to include a single medium as well as a collection of physically separate media, such as, for example, a collection of compact discs or one or more hard disk drives in combination with a computer memory. As used herein, a machine-readable storage medium does not include transitory forms of signal transmission.
Such software may also include information (e.g, data) carried as a data signal on a data carrier, such as a carrier wave. For example, machine-executable information may be included as a data-carrying signal embodied in a data carrier in which the signal encodes a sequence of instruction, or portion thereof, for execution by a machine (e.g., a computing device) and any related information (e.g, data structures and data) that causes the machine to perform any one of the methodologies and/or embodiments described herein.
Examples of a computing device include, but are not limited to, an electronic book reading device, a computer workstation, a terminal computer, a server computer, a handheld device (e.g, a tablet computer, a smartphone, etc.), a web appliance, a network router, a network switch, a network bridge, any machine capable of executing a sequence of instructions that specify an action to be taken by that machine, and any combinations thereof. In one example, a computing device may include and/or be included in a kiosk.
FIG. 11 shows a diagrammatic representation of one embodiment of a computing device in the exemplary form of a computer system 1100 within which a set of instructions for causing a control system to perform any one or more of the aspects and/or methodologies of the present disclosure may be executed. It is also contemplated that multiple computing devices may be utilized to implement a specially configured set of instructions for causing one or more of the devices to perform any one or more of the aspects and/or methodologies of the present disclosure. Computer system 1100 includes a processor 1104 and a memory 1108 that communicate with each other, and with other components, via a bus 1112. Bus 1112 may include any of several types of bus structures including, but not limited to, a memory bus, a memory controller, a peripheral bus, a local bus, and any combinations thereof, using any of a variety of bus architectures.
Processor 1104 may include any suitable processor, such as without limitation a processor incorporating logical circuitry for performing arithmetic and logical operations, such as an arithmetic and logic unit (ALU), which may be regulated with a state machine and directed by operational inputs from memory and/or sensors; processor 1104 may be organized according to Von Neumann and/or Harvard architecture as a non-limiting example. Processor 1104 may include, incorporate, and/or be incorporated in, without limitation, a microcontroller, microprocessor, digital signal processor (DSP), Field Programmable Gate Array (FPGA), Complex Programmable Logic Device (CPLD), Graphical Processing Unit (GPU), general purpose GPU, Tensor Processing Unit (TPU), analog or mixed signal processor, Trusted Platform Module (TPM), a floating-point unit (FPU), and/or system on a chip (SoC).
Memory 1108 may include various components ( e.g ., machine-readable media) including, but not limited to, a random-access memory component, a read only component, and any combinations thereof. In one example, a basic input/output system 1116 (BIOS), including basic routines that help to transfer information between elements within computer system 1100, such as during start-up, may be stored in memory 1108. Memory 1108 may also include (e.g., stored on one or more machine-readable media) instructions (e.g, software) 1120 embodying any one or more of the aspects and/or methodologies of the present disclosure. In another example, memory 1108 may further include any number of program modules including, but not limited to, an operating system, one or more application programs, other program modules, program data, and any combinations thereof.
Computer system 1100 may also include a storage device 1124. Examples of a storage device ( e.g ., storage device 1124) include, but are not limited to, a hard disk drive, a magnetic disk drive, an optical disc drive in combination with an optical medium, a solid-state memory device, and any combinations thereof. Storage device 1124 may be connected to bus 1112 by an appropriate interface (not shown). Example interfaces include, but are not limited to, SCSI, advanced technology attachment (ATA), serial ATA, universal serial bus (USB), IEEE 1394 (FIREWIRE), and any combinations thereof. In one example, storage device 1124 (or one or more components thereof) may be removably interfaced with computer system 1100 (e.g., via an external port connector (not shown)). Particularly, storage device 1124 and an associated machine-readable medium 1128 may provide nonvolatile and/or volatile storage of machine- readable instructions, data structures, program modules, and/or other data for computer system 1100. In one example, software 1120 may reside, completely or partially, within machine- readable medium 1128. In another example, software 1120 may reside, completely or partially, within processor 1104.
Computer system 1100 may also include an input device 1132. In one example, a user of computer system 1100 may enter commands and/or other information into computer system 1100 via input device 1132. Examples of an input device 1132 include, but are not limited to, an alpha-numeric input device (e.g, a keyboard), a pointing device, a joystick, a gamepad, an audio input device (e.g, a microphone, a voice response system, etc.), a cursor control device (e.g, a mouse), a touchpad, an optical scanner, a video capture device (e.g, a still camera, a video camera), a touchscreen, and any combinations thereof. Input device 1132 may be interfaced to bus 1112 via any of a variety of interfaces (not shown) including, but not limited to, a serial interface, a parallel interface, a game port, a USB interface, a FIREWIRE interface, a direct interface to bus 1112, and any combinations thereof. Input device 1132 may include a touch screen interface that may be a part of or separate from display 1136, discussed further below. Input device 1132 may be utilized as a user selection device for selecting one or more graphical representations in a graphical interface as described above. A user may also input commands and/or other information to computer system 1100 via storage device 1124 ( e.g ., a removable disk drive, a flash drive, etc.) and/or network interface device 1140. A network interface device, such as network interface device 1140, may be utilized for connecting computer system 1100 to one or more of a variety of networks, such as network 1144, and one or more remote devices 1148 connected thereto. Examples of a network interface device include, but are not limited to, a network interface card (e.g., a mobile network interface card, a LAN card), a modem, and any combination thereof. Examples of a network include, but are not limited to, a wide area network (e.g, the Internet, an enterprise network), a local area network (e.g, a network associated with an office, a building, a campus or other relatively small geographic space), a telephone network, a data network associated with a telephone/voice provider (e.g, a mobile communications provider data and/or voice network), a direct connection between two computing devices, and any combinations thereof. A network, such as network 1144, may employ a wired and/or a wireless mode of communication. In general, any network topology may be used. Information (e.g, data, software 1120, etc.) may be communicated to and/or from computer system 1100 via network interface device 1140.
Computer system 1100 may further include a video display adapter 1152 for communicating a displayable image to a display device, such as display device 1136. Examples of a display device include, but are not limited to, a liquid crystal display (LCD), a cathode ray tube (CRT), a plasma display, a light emitting diode (LED) display, and any combinations thereof. Display adapter 1152 and display device 1136 may be utilized in combination with processor 1104 to provide graphical representations of aspects of the present disclosure. In addition to a display device, computer system 1100 may include one or more other peripheral output devices including, but not limited to, an audio speaker, a printer, and any combinations thereof. Such peripheral output devices may be connected to bus 1112 via a peripheral interface 1156. Examples of a peripheral interface include, but are not limited to, a serial port, a USB connection, a FIREWIRE connection, a parallel connection, and any combinations thereof.
The foregoing has been a detailed description of illustrative embodiments of the invention. Various modifications and additions can be made without departing from the spirit and scope of this invention. Features of each of the various embodiments described above may be combined with features of other described embodiments as appropriate in order to provide a multiplicity of feature combinations in associated new embodiments. Furthermore, while the foregoing describes a number of separate embodiments, what has been described herein is merely illustrative of the application of the principles of the present invention. Additionally, although particular methods herein may be illustrated and/or described as being performed in a specific order, the ordering is highly variable within ordinary skill to achieve methods, systems, and software according to the present disclosure. Accordingly, this description is meant to be taken only by way of example, and not to otherwise limit the scope of this invention.
Exemplary embodiments have been disclosed above and illustrated in the accompanying drawings. It will be understood by those skilled in the art that various changes, omissions and additions may be made to that which is specifically disclosed herein without departing from the spirit and scope of the present invention.

Claims

WHAT IS CLAIMED IS:
1. A decoder, the decoder comprising circuitry configured to: receive a coded video bitstream, the coded video stream including a coded reference picture and a coded current picture having a first size; decode the reference picture; identify from the bitstream a sub-region of the reference picture, the sub-region having a second size, wherein the second size is different from the first size; rescale the sub-region to a third size, wherein the third size is equal to the first size, to form a rescaled reference picture; and decode the current picture using the rescaled reference picture.
2. The decoder of claim 1 wherein the sub-region is characterized by a top offset, a bottom offset, a right offset, and a left offset.
3. The decoder of claim 1, wherein identifying the sub-region further comprises receiving, in the bitstream, an indication that the sub-region is present.
4. A decoder, the decoder comprising circuitry configured to: receive a coded video bitstream including a coded first reference picture and a coded current picture, decode the reference picture; identify from the bit stream a first sub-region of the reference picture; transform the first sub-region to form a second reference picture; and decode the current picture using the second reference picture.
5. The decoder of claim 4 wherein the current picture has a first size, the first sub-region has a second size that is different from the first size, and the decoder is configured to transform sub-region by scaling the first sub-region to a third size equal to the first size.
6. The decoder of claim 4 wherein the decoder is configured to transform the first sub- region by translating the first sub-region.
7. The decoder of claim 4 wherein the decoder is configured to transform the first sub- region by applying an affine transformation.
8. The decoder of claim 1, further configured to store the first reference picture in a buffer.
9. The decoder of claim 8, wherein the buffer further comprises a long-term reference buffer.
10. The decoder of claim 8, wherein the buffer further comprises a reference picture buffer.
11. The decoder of claim 1, wherein the decoder is further configured to locate a second sub- region in the first reference picture.
12. The decoder of claim 11, further configured to decode a second frame using the first reference region and the second independent reference region
13. The decoder of claim 12, further configured to store the second independent reference region in a buffer.
14. The decoder of claim 1, wherein the current picture is a first picture, and the decoder is further configured to decode a second picture using first sub-region and a second sub- region.
15. A method of video coding using reference regions, the method comprising: receiving, by a decoder, a coded video bitstream, the coded video bitstream including a coded reference picture and a coded current picture having a first size; decoding, by the decoder, the reference picture; identifying, by the decoder and from the bitstream, a sub-region of the reference picture, the sub-region having a second size, wherein the second size is different from the first size; rescaling, by the decoder, the sub-region to a third size, wherein the third size is equal to the first size, to form a rescaled reference picture; and decoding, by the decoder, the current picture using the rescaled reference picture.
16. The method of claim 15 wherein the sub-region is characterized by a height offset, a height, a length offset and a length.
17. The method of claim 15, wherein identifying the sub-region further comprises receiving, in the bitstream, an indication that the sub-region is present.
18. The method of claim 15 further comprising storing the reference frame in a buffer.
19. The method of claim 18, wherein the buffer further comprises a long-term reference buffer.
20. The method of claim 18, wherein the buffer further comprises a reference picture buffer.
21 A decoder, the decoder comprising circuitry configured to: receive a bitstream; identify a first frame; locate a first independent reference region within the first frame; extract the first independent reference region from the first frame; and decode a second frame using the first independent reference region as a reference for the second frame.
22 The decoder of claim 21, wherein the decoder is further configured to locate the first independent reference region by identifying, in the bitstream, a geometric characterization of an independent reference region within the first frame.
23. The decoder of claim 22, wherein the first independent reference region is rectangular, and the geometric characterization further comprises a quadruple of numbers characterizing vertices of the first independent reference region
24. The decoder of claim 21, wherein identifying the first independent reference region further comprises receiving, in the bitstream, an indication that the first independent reference region is present.
25. The decoder of claim 21, wherein the first independent reference region has a size, and the decoder is configured decode the second frame by decoding the second frame having the same size as the first independent reference region.
26. The decoder of claim 21, wherein the decoder is configured decode the second frame by transforming the first independent reference region.
27. The decoder of claim 26, wherein transforming the first independent reference region further comprises scaling the first independent reference region.
28. The decoder of claim 26, wherein transforming the first independent reference region further comprises flipping the first independent reference region.
29 The decoder of claim 26, wherein transforming the first independent reference region further comprises moving the first independent reference region relative to a location in a video picture.
30. The decoder of claim 26, wherein transforming the first independent reference region further comprises rotating the first independent reference region relative to a location in a video picture.
31. The decoder of claim 21, further configured to store first frame in a buffer.
32. The decoder of claim 31, wherein the buffer further comprises a long-term reference buffer.
33. The decoder of claim 31, wherein the buffer further comprises a reference picture buffer.
34. The decoder of claim 21, wherein the decoder is further configured to locate a second reference region in the first frame.
35. The decoder of claim 34, further configured to decode the second frame using the first reference region and the second independent reference region
36. The decoder of claim 35, further configured to store the second independent reference region in a buffer.
37. The decoder of claim 21, further configured to decode second frame using the first reference region and a second reference region.
38. A method of video coding using reference regions, the method comprising: receiving a bitstream; identifying a first frame; locating a first independent reference region within the first frame; extracting the first independent reference region from the first frame; and decoding a second frame using the first independent reference region as a reference for the second frame.
39. The method of claim 38, wherein locating the first independent reference region further comprises identifying, in the bitstream, a geometric characterization of an independent reference region within the first frame.
40. The method of claim 39, wherein the first independent reference region is rectangular, and the geometric characterization further comprises a quadruple of numbers characterizing vertices of the first independent reference region.
41. The method of claim 38, wherein identifying the first independent reference region further comprises receiving, in the bitstream, an indication that the first independent reference region is present.
42. The method of claim 38, wherein the first independent reference region has a size, and decoding the second frame further comprises decoding the second frame having the same size as the first independent reference region.
43. The method of claim 38, further comprising decoding the second frame by transforming the first independent reference region.
44. The method of claim 43, wherein transforming the first independent reference region further comprises scaling the first independent reference region.
45. The method of claim 43, wherein transforming the first independent reference region further comprises flipping the first independent reference region.
46. The method of claim 43, wherein transforming the first independent reference region further comprises moving the first independent reference region relative to a location in a video picture.
47. The method of claim 43, wherein transforming the first independent reference region further comprises rotating the first independent reference region relative to a location in a video picture.
48. The method of claim 38 further comprising storing the first frame in a buffer.
49. The method of claim 48, wherein the buffer further comprises a long-term reference buffer.
50. The method of claim 48, wherein the buffer further comprises a reference picture buffer.
51. The method of claim 48, wherein the decoder is further configured to locate a second reference region in the first frame.
52. The method of claim 31 further comprising decoding the second frame using the first reference region and the second independent reference region.
53. The method of claim 35 further comprising storing the second independent reference region in a buffer.
54. The method of claim 38 further comprising decoding second frame using the first reference region and a second reference region.
PCT/US2021/027183 2020-04-14 2021-04-14 Methods and systems of video coding using reference regions WO2021211651A1 (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
EP21788027.7A EP4136577A4 (en) 2020-04-14 2021-04-14 Methods and systems of video coding using reference regions
CN202410421296.8A CN118450133A (en) 2020-04-14 2021-04-14 Encoder, decoder, and computer-readable recording medium
MX2022012430A MX2022012430A (en) 2020-04-14 2021-04-14 Methods and systems of video coding using reference regions.
JP2022560403A JP2023522845A (en) 2020-04-14 2021-04-14 Video coding method and system using reference region
KR1020227037500A KR20230003491A (en) 2020-04-14 2021-04-14 Methods and systems of video coding using reference regions
CN202180028644.XA CN115917611B (en) 2020-04-14 2021-04-14 Method and system for video encoding and decoding using reference region
BR112022020770A BR112022020770A2 (en) 2020-04-14 2021-04-14 VIDEO CODING METHODS AND SYSTEMS USING REFERENCE REGIONS

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US202063009978P 2020-04-14 2020-04-14
US63/009,978 2020-04-14
US17/229,957 2021-04-14
US17/229,957 US11356660B2 (en) 2020-04-14 2021-04-14 Methods and systems of video coding using reference regions

Publications (1)

Publication Number Publication Date
WO2021211651A1 true WO2021211651A1 (en) 2021-10-21

Family

ID=78006600

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2021/027183 WO2021211651A1 (en) 2020-04-14 2021-04-14 Methods and systems of video coding using reference regions

Country Status (8)

Country Link
US (1) US11356660B2 (en)
EP (1) EP4136577A4 (en)
JP (1) JP2023522845A (en)
KR (1) KR20230003491A (en)
CN (2) CN118450133A (en)
BR (1) BR112022020770A2 (en)
MX (1) MX2022012430A (en)
WO (1) WO2021211651A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11616955B2 (en) * 2020-07-14 2023-03-28 Avago Technologies International Sales Pte. Limited Signaling of rectangular slices in the VVC video compression standard

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120069135A1 (en) * 2005-12-08 2012-03-22 Stephen Cipolli Systems and methods for error resilience and random access in video communication systems
US20190230285A1 (en) * 2016-10-04 2019-07-25 Ki Baek Kim Image data encoding/decoding method and apparatus

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004006585A1 (en) * 2002-07-02 2004-01-15 Matsushita Electric Industrial Co., Ltd. Motion vector deriving method, dynamic image encoding method, and dynamic image decoding method
JP4373702B2 (en) * 2003-05-07 2009-11-25 株式会社エヌ・ティ・ティ・ドコモ Moving picture encoding apparatus, moving picture decoding apparatus, moving picture encoding method, moving picture decoding method, moving picture encoding program, and moving picture decoding program
US8054885B2 (en) * 2006-11-09 2011-11-08 Lg Electronics Inc. Method and apparatus for decoding/encoding a video signal
KR101846603B1 (en) * 2011-02-10 2018-04-06 선 페이턴트 트러스트 Moving picture encoding method, moving picture encoding device, moving picture decoding method, moving picture decoding device, and moving picture encoding decoding device
WO2013111994A1 (en) * 2012-01-26 2013-08-01 Samsung Electronics Co., Ltd. Image processing method and apparatus for 3d video
EP2837187A4 (en) * 2012-04-13 2015-10-21 Sharp Kk Devices for sending and receiving a long-term reference picture indicator
US10230972B2 (en) * 2012-07-01 2019-03-12 Sharp Kabushiki Kaisha Device for signaling a long-term reference picture in a parameter set
US9800857B2 (en) * 2013-03-08 2017-10-24 Qualcomm Incorporated Inter-view residual prediction in multi-view or 3-dimensional video coding
CN105284115B (en) * 2013-04-05 2018-11-23 三星电子株式会社 Method and apparatus for being decoded to multi-layer video and the method and apparatus for being encoded to multi-layer video
US10368097B2 (en) * 2014-01-07 2019-07-30 Nokia Technologies Oy Apparatus, a method and a computer program product for coding and decoding chroma components of texture pictures for sample prediction of depth pictures
CN107005696B (en) * 2014-11-27 2020-06-26 株式会社Kt Video signal processing method and apparatus
EP3354027A1 (en) * 2015-09-25 2018-08-01 Huawei Technologies Co., Ltd. Apparatus and method for video motion compensation
FI20165547A (en) * 2016-06-30 2017-12-31 Nokia Technologies Oy Arrangement, procedure and computer programs for video coding and decoding
US10798376B2 (en) * 2018-07-17 2020-10-06 Tencent America LLC Method and apparatus for video coding
US11533474B2 (en) * 2019-03-11 2022-12-20 Dolby Laboratories Licensing Corporation Video coding using reference picture resampling supporting region of interest
US11206404B2 (en) * 2019-07-08 2021-12-21 Fastvdo Llc Adaptive resolution change in video streams

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120069135A1 (en) * 2005-12-08 2012-03-22 Stephen Cipolli Systems and methods for error resilience and random access in video communication systems
US20190230285A1 (en) * 2016-10-04 2019-07-25 Ki Baek Kim Image data encoding/decoding method and apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4136577A4 *

Also Published As

Publication number Publication date
MX2022012430A (en) 2022-11-30
KR20230003491A (en) 2023-01-06
CN115917611A (en) 2023-04-04
EP4136577A1 (en) 2023-02-22
JP2023522845A (en) 2023-06-01
EP4136577A4 (en) 2024-05-01
CN115917611B (en) 2024-04-26
US11356660B2 (en) 2022-06-07
BR112022020770A2 (en) 2022-11-29
US20210321088A1 (en) 2021-10-14
CN118450133A (en) 2024-08-06

Similar Documents

Publication Publication Date Title
US12101497B2 (en) Adaptive resolution management signaling
US11102498B2 (en) Block-based adaptive resolution management
US20240114161A1 (en) Adaptive resolution management using sub-frames
US12108066B2 (en) Adaptive resolution management prediction rescaling
US20240137532A1 (en) Methods and systems for adaptive cropping
US11356660B2 (en) Methods and systems of video coding using reference regions
US20230388483A1 (en) Methods and Systems of Video Coding Using Reference Regions
WO2021026361A1 (en) Adaptive resolution management using sub-frames
US12132921B2 (en) Block-based adaptive resolution management
WO2021026334A1 (en) Adaptive resolution management signaling
WO2022047117A1 (en) Methods and systems of adaptive geometric partitioning

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21788027

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2022560403

Country of ref document: JP

Kind code of ref document: A

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112022020770

Country of ref document: BR

WWE Wipo information: entry into national phase

Ref document number: 202217064260

Country of ref document: IN

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2021788027

Country of ref document: EP

Effective date: 20221114

ENP Entry into the national phase

Ref document number: 112022020770

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20221013