Method and apparatus of video coding
AssigneeMediatek Inc.
InventorsHan Huang, Shan Liu, Chih-Wei Hsu
Life of this patent
Estimating the term…
Abstract
Aspects of the disclosure provide a method of video coding includes receiving input data associated with a first block and a second block of an image frame. The method further includes identifying a reference size and performing a deblocking process if it is determined that the deblocking process is to be performed. The preforming the deblocking process may include processing pixels adjacent to the block boundary using a first set of deblocking filter settings if a first block size of the first block and a second block size of the second block are greater than the reference size, and processing the pixels using a second set of deblocking filter settings if the first block size or the second block size is not greater than the reference size.
Claims4
A method of video coding, comprising:
- receiving input data associated with a first block and a second block of an image frame, the first block and the second block defining a block boundary there between, the block boundary extending along a first direction, the first block having a first block size along a second direction different from the first direction, and the second block having a second block size along the second direction;
- identifying a reference size along the second direction for coding the image frame;
- determining, by a processing circuit of a video coding apparatus, whether to perform a deblocking process on pixels adjacent to the block boundary;
- and
- performing, by the processing circuit of the video coding apparatus, the deblocking process if it is determined that the deblocking process is to be performed, including
- processing the pixels adjacent to the block boundary using a first set of deblocking filter settings if the first block size and the second block size are greater than the reference size, the first set of deblocking filter settings using at most a first number of pixels on each side of the block boundary;
- and
- processing the pixels adjacent to the block boundary using a second set of deblocking filter settings if the first block size or the second block size is not greater than the reference size, the second set of deblocking filter settings using at most a second number of pixels on each side of the block boundary, and the second number being less than the first number,
- wherein
- the reference size is N pixels, N being a positive integer,
- the second number is equal to or less than N/2,
- at most N/2 pixels on each side of the block boundary are used for the second set of deblocking filter settings, and
- N is equal to 4, 8, or 16.
A video coding apparatus, comprising:
- a processing circuit configured to:
- receive input data associated with a first block and a second block of an image frame, the first block and the second block defining a block boundary therebetween, the block boundary extending along a first direction, the first block having a first block size along a second direction different from the first direction, and the second block having a second block size along the second direction;
- identify a reference size along the second direction for coding the image frame;
- determine whether to perform a deblocking process on pixels adjacent to the block boundary;
- and
- perform the deblocking process if it is determined that the deblocking process is to be performed, including
- processing the pixels adjacent to the block boundary using a first set of deblocking filter settings if the first block size and the second block size are greater than the reference size, the first set of deblocking filter settings using at most a first number of pixels on each side of the block boundary;
- and
- processing the pixels adjacent to the block boundary using a second set of deblocking filter settings if the first block size or the second block size is not greater than the reference size, the second set of deblocking filter settings using at most a second number of pixels on each side of the block boundary, and the second number being less than the first number,
- wherein
- the reference size is N pixels, N being a positive integer,
- the second number is equal to or less than N/2,
- at most N/2 pixels on each side of the block boundary are used for the second set of deblocking filter settings, and
- N is equal to 4, 8, or 16.
Dependencies are inferred from the claim text.