Scaling window in video coding
AssigneesBeijing Bytedance Network Technology Co., Ltd., Bytedance Inc.
InventorsKai Zhang, Li Zhang, Hongbin Liu, Zhipin Deng, Jizheng Xu, Yue Wang
Life of this patent
Estimating the term…
Abstract
An example method of video processing includes determining, for a conversion between a current picture of a video and a bitstream of the video, a scaling ratio based on a first window in the current picture and a second window in a reference picture associated with the current picture; resampling the reference picture by using the determined scaling ratio; and performing the conversion based on the result of the resampling, wherein a dimension of the first window is W×H and a dimension of the second window is W′×H′, where W, H, W′ and H′ are integers, and wherein W, H, W′ and H′ satisfy a constraint.
Claims21
A method of video processing, comprising:
- determining, for a conversion between a current picture of a video and a bitstream of the video,
- a size of a current window of the current picture based on a first set of offset values,
- determining, for a reference picture associated with the current picture, a size of a reference window of the reference picture based on a second set of offset values, and
- performing the conversion based on the size of a current window and the size of the reference window,
- wherein indications of the first set of offset values and the second set of offset values are included in the bitstream,
- wherein the size of a current window and the size of the reference window satisfy a constraint, and
- wherein a width of the current window is W, and a width of the reference window is W′, and the constraint specifies that W′/a≤W≤W′×b, and wherein a and b are positive integers.
An apparatus for processing video data comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to:
- determine, for a conversion between a current picture of a video and a bitstream of the video,
- a size of a current window of the current picture based on a first set of offset values,
- determine, for a reference picture associated with the current picture, a size of a reference window of the reference picture based on a second set of offset values, and
- perform the conversion based on the size of a current window and the size of the reference window,
- wherein indications of the first set of offset values and the second set of offset values are included in the bitstream,
- wherein the size of a current window and the size of the reference window satisfy a constraint, and
- wherein a width of the current window is W, and a width of the reference window is W′, and the constraint specifies that W′/a≤W≤W′×b, and wherein a and b are positive integers.
A non-transitory computer-readable storage medium storing instructions that cause a processor to:
- determine, for a conversion between a current picture of a video and a bitstream of the video,
- a size of a current window of the current picture based on a first set of offset values,
- determine, for a reference picture associated with the current picture, a size of a reference window of the reference picture based on a second set of offset values, and
- perform the conversion based on the size of a current window and the size of the reference window,
- wherein indications of the first set of offset values and the second set of offset values are included in the bitstream,
- wherein the size of a current window and the size of the reference window satisfy a constraint, and
- wherein a width of the current window is W, and a width of the reference window is W′, and the constraint specifies that W′/a≤W≤W′×b, and wherein a and b are positive integers.
A non-transitory computer-readable recording medium storing a bitstream of a video which is generated by a method performed by a video processing apparatus, wherein the method comprises:
- determining, for a current picture of the video, a size of a current window of the current picture based on a first set of offset values,
- determining, for a reference picture associated with the current picture, a size of a reference window of the reference picture based on a second set of offset values, and
- generating the bitstream based on the size of a current window and the size of the reference window,
- wherein indications of the first set of offset values and the second set of offset values are included in the bitstream,
- wherein the size of a current window and the size of the reference window satisfy a constraint, and
- wherein a width of the current window is W, and a width of the reference window is W′, and the constraint specifies that W′/a≤W≤W′×b, and wherein a and b are positive integers.
Dependencies are inferred from the claim text.