Techniques and systems are provided for encoding and decoding video data. For example, a method of encoding video data includes obtaining video data at an encoder, and determining to perform intra-picture prediction on the video data, using intra-block copy prediction, to generate the plurality of encoded video pictures. The method also includes performing the intra-picture prediction on the video data using the intra-block copy prediction, and, in response to determining to perform the intra-picture prediction on the video data using the intra-block copy prediction, disabling at least one of inter-picture bi-prediction or inter-picture uni-prediction for the plurality of encoded video pictures. The method also includes generating the plurality of encoded video pictures based on the received video data according to the performed intra-block copy prediction.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A method of encoding video data to generate one or more encoded video pictures, the method comprising: obtaining video data at an encoder, the video data including a plurality of pictures; determining that inter-picture prediction is enabled for a picture from the plurality of pictures; determining that intra-block copy is enabled as an intra-picture prediction mode for the picture; disabling, in response to determining that intra-block copy is enabled for the picture, bi-prediction as an inter-picture prediction mode for the picture; determining to use intra-block copy to perform intra-picture prediction for a block from the picture to generate the one or more encoded video pictures; determining a set of reference blocks from previously encoded blocks from the picture, wherein the set of reference blocks are determined for performing intra-block copy prediction, and wherein the set of reference blocks do not include reference blocks predicted with bi-prediction due to disabling of bi-prediction for the picture; selecting a reference block from the set of reference blocks; performing intra-block copy prediction with the reference block to generate a prediction unit; and generating the one or more encoded video pictures using the prediction unit.
2. The method of claim 1 , further comprising performing inter-picture uni-prediction on the video data to generate a plurality of P prediction units.
3. The method of claim 1 , further comprising: determining a prediction unit size, wherein disabling bi-prediction is additionally in response to a combination of both: determining to perform the intra-picture prediction on the video data using the intra-block copy prediction and the prediction unit size being less than a threshold.
4. The method of claim 1 , further comprising: determining a prediction unit size; and determining that adaptive motion vector resolution (AMVR) is disabled, wherein disabling bi-prediction is additionally in response to determining that the prediction unit size is less than a threshold and determining that AMVR is disabled.
5. The method of claim 4 , wherein disabling bi-prediction is further based on the bi-prediction resulting in at least one of different reference units or different motion vectors.
6. The method of claim 1 , wherein disabling of bi-prediction is indicated in using a parameter that is included with the one or more encoded video pictures.
7. The method of claim 6 , wherein the parameter further indicates a portion of the video data to which the disabling applies.
8. An apparatus for encoding video data, the apparatus comprising: a memory configured to store video data, the video data including a plurality of pictures; and a processor configured to: determine that inter-picture prediction is enabled for a picture from the plurality of pictures; determine that intra-block copy is enabled as an intra-picture prediction mode for the picture; disable, in response to determining that intra-block copy is enabled for the picture, bi-prediction as an inter-picture prediction mode for the picture; determine to use intra-block copy prediction to perform intra-picture prediction for a block from the picture to generate one or more encoded video pictures; determine a set of reference blocks from previously encoded blocks from the picture, wherein the set of reference blocks are determined for performing the intra-block copy prediction, and wherein the set of reference blocks do not include reference blocks predicted with bi-prediction due to disabling of bi-prediction for the picture; select a reference block from the set of reference blocks; perform the intra-block copy prediction with the reference block to generate a prediction unit; and generate the one or more encoded video pictures using the prediction unit.
9. The apparatus of claim 8 , wherein the processor is further configured to determine: a prediction unit size, wherein disabling bi-prediction is additionally in response to determining that the prediction unit size is less than a threshold.
10. The apparatus of claim 8 , wherein the processor is further configured to: determine a prediction unit size; and determine that adaptive motion vector resolution (AMVR) is disabled, wherein disabling bi-prediction is additionally in response to determining that the prediction unit size is less than a threshold and determining that AMVR is disabled.
11. The apparatus of claim 10 , wherein disabling bi-prediction is further based on the bi-prediction resulting in at least one of different reference units or different motion vectors.
12. The apparatus of claim 8 , wherein disabling of bi-prediction is indicated in using a parameter that is included with the one or more encoded video pictures.
13. The apparatus of claim 12 , wherein the parameter further indicates a portion of the video data to which the disabling applies.
14. A method of decoding video data to generate one or more decoded video pictures, the method comprising: receiving, in a video bitstream, encoded video data, wherein the encoded video data includes a plurality of pictures, and wherein the encoded video data is encoded using a plurality of prediction modes, the plurality of prediction modes including an inter-picture uni-prediction mode, an inter-picture bi-prediction mode, and an intra-picture intra-block copy mode; determining, using data provided in the video bitstream, that bi-prediction is disabled as an inter-picture prediction mode for a picture from the plurality of pictures, wherein bi-prediction is disabled in response to intra-block copy mode being enabled for the picture; determining, using syntax elements in the video bitstream, that a block from the picture was predicted using intra-block copy mode; determining, from the syntax elements, a reference block from among previously decoded blocks of the picture, wherein the reference block was not predicted using bi-prediction due to bi-prediction being disabled for the picture; and reconstructing the block from the reference block based on the block having been predicted using intra-block copy mode.
15. The method of claim 14 , wherein the data provided in the video bitstream includes a parameter that indicates that bi-prediction is disabled.
16. The method of claim 14 , wherein the video bitstream further indicates a portion of the encoded video data to which disabling of bi-prediction applies.
17. An apparatus for decoding video data, the apparatus comprising: a memory configured to store encoded video data received in a video bitstream, wherein the encoded video data includes a plurality of pictures, and wherein the encoded video data is encoded with a plurality of prediction modes, the plurality of prediction modes including an inter-picture uni-prediction mode, an inter-picture bi-prediction mode, and an intra-picture intra-block copy mode; and a processor configured to: determine, using data provided in the video bitstream, that bi-prediction is disabled as an inter-picture prediction mode for a picture from the plurality of pictures, wherein bi-prediction is disabled in response to intra-block copy mode being enabled for the picture determine, using syntax elements in the video bitstream, that a block from the picture was predicted using intra-block copy mode; determine, from the syntax elements, a reference block from among previously decoded blocks of the picture, wherein the reference block was not predicted using bi-prediction due to bi-prediction being disabled for the picture; and reconstruct the block from the reference block based on the block having been predicted using intra-block copy mode.
18. The apparatus of claim 17 , wherein the data provided in the video bitstream includes a parameter that indicates that bi-prediction is disabled.
19. The apparatus of claim 17 , wherein the video bitstream further indicates a portion of the encoded video data to which disabling of bi-prediction applies.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
June 18, 2015
June 18, 2019
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.